Import Debian packaging configs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fecf2f2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,85 @@
+cgminer (2.4.0-2) stable; urgency=low
+ Version 2.4.0-2 - May 4, 2012
+
+ - Fix the benchmark feature by bypassing the new networking code.
+ - Reset sequential reject counter after a pool is disabled for when it is re-enabled.
+ - Don't try to reap curls if benchmarking is enabled.
+
+ -- nushor <nushor11@gmail.com> Thurs, 03 May 2012 23:18:42 -0500
+
+cgminer (2.4.0-1) stable; urgency=low
+ Version 2.4.0 - May 3, 2012
+
+ - Only show longpoll warning once when it has failed.
+ - Convert hashes to an unsigned long long as well.
+ - Detect pools that have issues represented by endless rejected shares and
+ disable them, with a parameter to optionally disable this feature.
+ - Bugfix: Use a 64-bit type for hashes_done (miner_thread) since it can overflow
+ 32-bit on some FPGAs
+ - Implement an older header fix for a label existing before the pthread_cleanup
+ macro.
+ - Limit the number of curls we recruit on communication failures and with
+ delaynet enabled to 5 by maintaining a per-pool curl count, and using a pthread
+ conditional that wakes up when one is returned to the ring buffer.
+ - Generalise add_pool() functions since they're repeated in add_pool_details.
+ - Bugfix: Return failure, rather than quit, if BFwrite fails
+ - Disable failing devices such that the user can attempt to re-enable them
+ - Bugfix: thread_shutdown shouldn't try to free the device, since it's needed
+ afterward
+ - API bool's and 1TBS fixes
+ - Icarus - minimise code delays and name timer variables
+ - api.c V1.9 add 'restart' + redesign 'quit' so thread exits cleanly
+ - api.c bug - remove extra ']'s in notify command
+ - Increase pool watch interval to 30 seconds.
+ - Reap curls that are unused for over a minute. This allows connections to be
+ closed, thereby allowing the number of curl handles to always be the minimum
+ necessary to not delay networking.
+ - Use the ringbuffer of curls from the same pool for submit as well as getwork
+ threads. Since the curl handles were already connected to the same pool and are
+ immediately available, share submission will not be delayed by getworks.
+ - Implement a scaleable networking framework designed to cope with any sized
+ network requirements, yet minimise the number of connections being reopened. Do
+ this by create a ring buffer linked list of curl handles to be used by getwork,
+ recruiting extra handles when none is immediately available.
+ - There is no need for the submit and getwork curls to be tied to the pool
+ struct.
+ - Do not recruit extra connection threads if there have been connection errors
+ to the pool in question.
+ - We should not retry submitting shares indefinitely or we may end up with a
+ huge backlog during network outages, so discard stale shares if we failed to
+ submit them and they've become stale in the interim.
+
+ -- nushor <nushor11@gmail.com> Thurs, 03 May 2012 10:43:22 -0500
+
+cgminer (2.3.6-3) stable; urgency=low
+ Version 2.3.6-3 - may 3, 2012
+ - More bug fixes, Pre 2.4.1 release.
+
+ -- nushor <nushor11@gmail.com> Thurs, 03 May 2012 00:36:50 -0500
+
+cgminer (2.3.6-2) stable; urgency=low
+ Version 2.3.6-2 - May 2, 2012
+ - Various bug fixes, latest build from repository.
+
+ -- nushor <nushor11@gmail.com> Wed, 02 May 2012 18:17:49 -0500
+
+cgminer (2.3.6-1) stable; urgency=low
+
+ Version 2.3.6 - April 29, 2012
+ - Shorten stale share messages slightly.
+ - Protect the freeing of current_hash under mutex_lock to prevent racing on it
+ when set_curblock is hit concurrently.
+ - Change default behaviour to submitting stale, removing the --submit-stale
+ option and adding a --no-submit-stale option.
+ - Make sure to start the getwork and submit threads when a pool is added on the
+ fly. This fixes a crash when a pool is added to running cgminer and then
+ switched to.
+ - Faster hardware can easily outstrip the speed we can get work and submit
+ shares when using only one connection per pool.
+ - Test the queued list to see if any get/submits are already queued and if they
+ are, start recruiting extra connections by generating new threads.
+ - This allows us to reuse network connections at low loads but recuit new open
+ connections as they're needed, so that cgminer can scale to hardware of any
+ size.
+
+ -- nushor <nushor11@gmail.com> Tue, 01 May 2012 13:26:09 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..1938a26
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,13 @@
+Source: cgminer
+Priority: optional
+Section: misc
+Maintainer: Con Kolivas <kernel@kolivas.org>
+Standards-Version: 2.4.0
+Build-Depends: build-essential, libssl-dev, yasm, pkg-config, libudev-dev, libcurl3, curl, libncurses5, libncurses5-dev
+
+Package: cgminer
+Architecture: any
+Depends: ${shlibs:Depends}, libssl-dev (>=1.0.0), yasm, pkg-config, libudev0, curl (>=7.0.0), ncurses-bin (>=5), ${misc:Depends}
+Description: This is a multi-threaded multi-pool GPU, FPGA and CPU miner with ATI GPU
+ monitoring, (over)clocking and fanspeed support for bitcoin and derivative
+ coins.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..85699f0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,44 @@
+This package was debianized by Nick Bushor <nushor11@gmail.com> on
+Sat, 05 May 2012 12:08:35 -0500.
+
+It was downloaded from https://github.com/ckolivas/cgminer
+
+Upstream Author: Con Kolivas <kernel@kolivas.org>
+
+
+Distributed under the terms of the GNU General Public License.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in the /usr/share/common-licenses/GPL file.
+
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+3. The names of the authors may not be used to endorse or promote
+ products derived from this software without specific prior
+ written permission.
+
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0de6b00
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+%:
+ dh $@
+
+
+override_dh_auto_configure:
+ ./autogen.sh
+ wget -O ADL_SDK/adl.zip http://download2-developer.amd.com/amd/GPU/zip/ADL_SDK_4.0.zip;
+ unzip ADL_SDK/adl.zip include/* -d ADL_SDK/;
+ mv ADL_SDK/include/* ADL_SDK/;
+ rm -rf ADL_SDK/adl.zip ADL_SDK/include/;
+ dh_auto_configure -- --enable-ztex --enable-bitforce --enable-icarus
+
+
+override_dh_auto_install:
+ $(MAKE) DESTDIR=$$(pwd)/debian/cgminer install
+
+
+override_dh_shlibdeps:
+ dh_shlibdeps -Xcgminer
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)