[Pkg-bitcoin-commits] [SCM] cgminer packaging branch, master, updated. debian/3.2.0-1-1-g7d29a93

Scott Howard showard314 at gmail.com
Mon Jun 3 15:51:38 UTC 2013


The following commit has been merged in the master branch:
commit 7d29a93d3b59196f1086671d98afbc5ec5244870
Author: Scott Howard <showard314 at gmail.com>
Date:   Mon Jun 3 11:51:23 2013 -0400

    cpu mining is disabled, no need to build arch-specific manpages

diff --git a/debian/cgminer.1 b/debian/cgminer.1
new file mode 100644
index 0000000..36aacc1
--- /dev/null
+++ b/debian/cgminer.1
@@ -0,0 +1,218 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.1.
+.TH CGMINER "1" "June 2013" "cgminer 3.2.0" "User Commands"
+.SH NAME
+cgminer \- multi-threaded multi-pool GPU, FPGA and CPU bitcoin miner.
+.SH SYNOPSIS
+.B cgminer
+[\fI-DdGEgIKklmpPQqsTouvwOchnV\fR]
+.SH DESCRIPTION
+multi-threaded multi-pool GPU, FPGA and CPU bitcoin miner.
+Built with bflsc GPU bitforce icarus avalon modminer scrypt mining support.
+.PP
+.SH OPTIONS
+
+
+.SS
+Options for both config file and command line:
+.TP
+\fB\-\-api\-allow\fR <arg>   
+Allow API access only to the given list of [G:]IP[/Prefix] addresses[/subnets]
+.TP
+\fB\-\-api\-description\fR <arg> 
+Description placed in the API status header, default: cgminer version
+.TP
+\fB\-\-api\-groups\fR <arg>  
+API one letter groups G:cmd:cmd[,P:cmd:*...] defining the cmds a groups can use
+.TP
+\fB\-\-api\-listen\fR        
+Enable API, default: disabled
+.TP
+\fB\-\-api\-network\fR       
+Allow API (if enabled) to listen on/for any address, default: only 127.0.0.1
+.TP
+\fB\-\-api\-port\fR <arg>    
+Port number of miner API (default: 4028)
+.TP
+\fB\-\-balance\fR           
+Change multipool strategy from failover to even share balance
+.TP
+\fB\-\-benchmark\fR         
+Run cgminer in benchmark mode \- produces no shares
+.TP
+\fB\-\-bfl\-range\fR         
+Use nonce range on bitforce devices if supported
+.TP
+\fB\-\-compact\fR           
+Use compact display without per device statistics
+.TP
+\fB\-\-debug\fR|\-D          
+Enable debug output
+.TP
+\fB\-\-device\fR|\-d <arg>   
+Select device to use, (Use repeat \fB\-d\fR for multiple devices, default: all)
+.TP
+\fB\-\-disable\-gpu\fR|\-G    
+Disable GPU mining even if suitable devices exist
+.TP
+\fB\-\-disable\-rejecting\fR 
+Automatically disable pools that continually reject shares
+.TP
+\fB\-\-expiry\fR|\-E <arg>   
+Upper bound on how many seconds after getting work we consider a share from it stale (default: 120)
+.TP
+\fB\-\-failover\-only\fR     
+Don't leak work to backup pools when primary pool is lagging
+.TP
+\fB\-\-fix\-protocol\fR      
+Do not redirect to a different getwork protocol (eg. stratum)
+.TP
+\fB\-\-gpu\-dyninterval\fR <arg> 
+Set the refresh interval in ms for GPUs using dynamic intensity (default: 7)
+.TP
+\fB\-\-gpu\-platform\fR <arg> 
+Select OpenCL platform ID to use for GPU mining (default: \fB\-1\fR)
+.TP
+\fB\-\-gpu\-threads\fR|\-g <arg> 
+Number of threads per GPU (1 \- 10) (default: \fB\-1\fR)
+.TP
+\fB\-\-lookup\-gap\fR <arg>  
+Set GPU lookup gap for scrypt mining, comma separated
+.TP
+\fB\-\-intensity\fR|\-I <arg> 
+Intensity of GPU scanning (d or \fB\-10\fR \-> 20, default: d to maintain desktop interactivity)
+.TP
+\fB\-\-hotplug\fR <arg>     
+Seconds between hotplug checks (0 means never check)
+.TP
+\fB\-\-kernel\-path\fR|\-K <arg> 
+Specify a path to where bitstream and kernel files are (default: "/usr/lib/cgminer")
+.TP
+\fB\-\-kernel\fR|\-k <arg>   
+Override sha256 kernel to use (diablo, poclbm, phatk or diakgcn) \- one value or comma separated
+.TP
+\fB\-\-load\-balance\fR      
+Change multipool strategy from failover to efficiency based balance
+.TP
+\fB\-\-log\fR|\-l <arg>      
+Interval in seconds between log output (default: 5)
+.TP
+\fB\-\-lowmem\fR            
+Minimise caching of shares for low memory applications
+.TP
+\fB\-\-monitor\fR|\-m <arg>  
+Use custom pipe cmd for output messages
+.TP
+\fB\-\-net\-delay\fR         
+Impose small delays in networking to not overload slow routers
+.TP
+\fB\-\-no\-restart\fR        
+Do not attempt to restart GPUs that hang
+.TP
+\fB\-\-no\-submit\-stale\fR   
+Don't submit shares if they are detected as stale
+.TP
+\fB\-\-pass\fR|\-p <arg>     
+Password for bitcoin JSON\-RPC server
+.TP
+\fB\-\-per\-device\-stats\fR  
+Force verbose mode and output per\-device statistics
+.TP
+\fB\-\-protocol\-dump\fR|\-P  
+Verbose dump of protocol\-level activities
+.TP
+\fB\-\-queue\fR|\-Q <arg>    
+Minimum number of work items to have queued (0+) (default: 1)
+.TP
+\fB\-\-quiet\fR|\-q          
+Disable logging output, display status and errors
+.TP
+\fB\-\-real\-quiet\fR        
+Disable all output
+.TP
+\fB\-\-remove\-disabled\fR   
+Remove disabled devices entirely, as if they didn't exist
+.TP
+\fB\-\-rotate\fR <arg>      
+Change multipool strategy from failover to regularly rotate at N minutes (default: 0)
+.TP
+\fB\-\-round\-robin\fR       
+Change multipool strategy from failover to round robin on failure
+.TP
+\fB\-\-scan\-time\fR|\-s <arg> 
+Upper bound on time spent scanning current work, in seconds (default: \fB\-1\fR)
+.TP
+\fB\-\-sched\-start\fR <arg> 
+Set a time of day in HH:MM to start mining (a once off without a stop time)
+.TP
+\fB\-\-sched\-stop\fR <arg>  
+Set a time of day in HH:MM to stop mining (will quit without a start time)
+.TP
+\fB\-\-scrypt\fR            
+Use the scrypt algorithm for mining (litecoin only)
+.TP
+\fB\-\-shaders\fR <arg>     
+GPU shaders per card for tuning scrypt, comma separated
+.TP
+\fB\-\-sharelog\fR <arg>    
+Append share log to file
+.TP
+\fB\-\-shares\fR <arg>      
+Quit after mining N shares (default: unlimited)
+.TP
+\fB\-\-socks\-proxy\fR <arg> 
+Set socks4 proxy (host:port)
+.TP
+\fB\-\-syslog\fR            
+Use system log for output messages (default: standard error)
+.TP
+\fB\-\-temp\-cutoff\fR <arg> 
+Temperature where a device will be automatically disabled, one value or comma separated list (default: 95)
+.TP
+\fB\-\-text\-only\fR|\-T      
+Disable ncurses formatted screen output
+.TP
+\fB\-\-thread\-concurrency\fR <arg> 
+Set GPU thread concurrency for scrypt mining, comma separated
+.TP
+\fB\-\-url\fR|\-o <arg>      
+URL for bitcoin JSON\-RPC server
+.TP
+\fB\-\-user\fR|\-u <arg>     
+Username for bitcoin JSON\-RPC server
+.TP
+\fB\-\-usb\fR <arg>         
+USB device selection
+.TP
+\fB\-\-vectors\fR|\-v <arg>  
+Override detected optimal vector (1, 2 or 4) \- one value or comma separated list
+.TP
+\fB\-\-verbose\fR           
+Log verbose output to stderr as well as status output
+.TP
+\fB\-\-worksize\fR|\-w <arg> 
+Override detected optimal worksize \- one value or comma separated list
+.TP
+\fB\-\-userpass\fR|\-O <arg> 
+Username:Password pair for bitcoin JSON\-RPC server
+.TP
+\fB\-\-worktime\fR          
+Display extra work time debug information
+.SS
+Options for command line only:
+.TP
+\fB\-\-config\fR|\-c <arg>   
+Load a JSON\-format configuration file
+See example.conf for an example configuration.
+.TP
+\fB\-\-default\-config\fR <arg> 
+Specify the filename of the default config file
+Loaded at start and used when saving without a name.
+.TP
+\fB\-\-help\fR|\-h           
+Print this message
+.TP
+\fB\-\-ndevs\fR|\-n          
+Display number of detected GPUs, OpenCL platform information, all USB devices, and exit
+.TP
+\fB\-\-version\fR|\-V        
+Display version and exit
diff --git a/debian/changelog b/debian/changelog
index b0c7b05..1e482df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+cgminer (3.2.0-2) unstable; urgency=low
+
+  * cpu mining is disabled, no need to build arch-specific manpages
+    - added debian/cgminer.1
+    - dropped B-D on help2man, yasm
+
+ -- Scott Howard <showard at debian.org>  Mon, 03 Jun 2013 11:30:02 -0400
+
 cgminer (3.2.0-1) unstable; urgency=low
 
   [ Dmitry Smirnov ]
diff --git a/debian/control b/debian/control
index 2095a6b..68c2b92 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: net
 Priority: optional
 Maintainer: Debian Bitcoin Packaging Team <pkg-bitcoin-devel at lists.alioth.debian.org>
 Uploaders: Dmitry Smirnov <onlyjob at debian.org>, Scott Howard <showard at debian.org>
-Build-Depends: debhelper (>= 9), dh-autoreconf, help2man
+Build-Depends: debhelper (>= 9), dh-autoreconf
  ,libcurl4-gnutls-dev | libcurl4-dev
  ,libncurses5-dev
  ,libusb-1.0-0-dev
@@ -13,7 +13,6 @@ Build-Depends: debhelper (>= 9), dh-autoreconf, help2man
 # ,nvidia-opencl-dev | opencl-dev
  ,ocl-icd-opencl-dev | opencl-dev
  ,pkg-config
- ,yasm
 Standards-Version: 3.9.4
 Homepage: https://github.com/ckolivas/cgminer
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-bitcoin/cgminer.git
diff --git a/debian/manpages b/debian/manpages
index f7e585b..0f65186 100644
--- a/debian/manpages
+++ b/debian/manpages
@@ -1 +1 @@
-*.1
+debian/*.1
diff --git a/debian/rules b/debian/rules
index cf0b55f..d8525b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,12 +29,11 @@ override_dh_auto_install:
 	dh_auto_install
 	chmod a-x $(CURDIR)/debian/cgminer/*/*/*/*.cl
 
-override_dh_installman: cgminer.1
-	dh_installman
-
+#generates manpage, we used to do it at build time but now that CPU mining is
+#disabled we can generate this prior to upload
 MAN_NAME=multi-threaded multi-pool GPU, FPGA and CPU bitcoin miner.
 cgminer.1:
-	help2man --no-info --name="$(MAN_NAME)" ./cgminer > cgminer.1
+	help2man --no-discard-stderr --no-info --name="$(MAN_NAME)" cgminer > cgminer.1
 	perl \
              -E 's{\s+(It was generated by help2man)}{ $$1};   # correcting help2man comment'               \
              -E 's{^cgminer\s+[\d.]+$$}{$(MAN_NAME)};          # correcting DESCRIPTION section'            \

-- 
cgminer packaging



More information about the Pkg-bitcoin-commits mailing list