From ad3c0192c707a7d3b676d30cf28177d85cfe49cf Mon Sep 17 00:00:00 2001 From: nushor Date: Sat, 5 May 2012 23:47:01 -0500 Subject: [PATCH] Import Debian packaging configs --- debian/changelog | 85 ++++++++++++++++++++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 13 +++++++ debian/copyright | 44 +++++++++++++++++++++++ debian/rules | 20 +++++++++++ debian/source/format | 1 + 6 files changed, 164 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..fecf2f2d --- /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 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 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 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 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 Tue, 01 May 2012 13:26:09 -0500 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..45a4fb75 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..1938a261 --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: cgminer +Priority: optional +Section: misc +Maintainer: Con Kolivas +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 00000000..85699f0d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,44 @@ +This package was debianized by Nick Bushor on +Sat, 05 May 2012 12:08:35 -0500. + +It was downloaded from https://github.com/ckolivas/cgminer + +Upstream Author: Con Kolivas + + +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 00000000..0de6b002 --- /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 00000000..163aaf8d --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)