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

Scott Howard showard314 at gmail.com
Sat Jul 6 19:20:48 UTC 2013


The following commit has been merged in the master branch:
commit 693c7aaaf7fcd48f5e8ed7c33e20507df07d0262
Author: Scott Howard <showard314 at gmail.com>
Date:   Sat Jul 6 15:20:29 2013 -0400

    New upstream release

diff --git a/debian/cgminer-api.1 b/debian/cgminer-api.1
new file mode 100644
index 0000000..b8df72a
--- /dev/null
+++ b/debian/cgminer-api.1
@@ -0,0 +1,7 @@
+.TH CGMINER-API "1" "July 2013" "API access to cgminer" "User Commands"
+.SH NAME
+cgminer-api \- API access to cgminer.
+.SH DESCRIPTION
+usAge: ./cgminer\-api [command [ip/host [port]]]
+.SH MORE INFO
+See: /usr/share/doc/cgminer/API-README
diff --git a/debian/changelog b/debian/changelog
index ddd2395..1a475ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+cgminer (3.3.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Install miner.php to /usr/share/cgminer so users can use a web
+    interface to control cgminer
+  * Install api interface examples (C, python, java, php) to
+    /usr/share/doc/cgminer/examples
+  * Install cgminer-api command to interface with cgminer when run with
+    --api-listen command line argument (See /usr/share/doc/API-README)
+
+ -- Scott Howard <showard at debian.org>  Sat, 06 Jul 2013 14:03:50 -0400
+
 cgminer (3.2.2-1) unstable; urgency=low
 
   * New upstream release
diff --git a/debian/clean b/debian/clean
index b51b733..0b97d0b 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,2 +1,3 @@
 API.class
 *.1
+cgminer-api
diff --git a/debian/docs b/debian/docs
index ae58e56..affb8da 100644
--- a/debian/docs
+++ b/debian/docs
@@ -3,5 +3,5 @@ AUTHORS
 FPGA-README
 README
 SCRYPT-README
-
-
+GPU-README
+ASIC-README
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..fd27eea
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1,4 @@
+api-example.c
+api-example.php
+api-example.py
+API.java
diff --git a/debian/install b/debian/install
index ada7239..57f817a 100644
--- a/debian/install
+++ b/debian/install
@@ -1 +1,3 @@
 01-cgminer.rules lib/udev/rules.d
+miner.php usr/share/cgminer
+cgminer-api usr/bin
diff --git a/debian/rules b/debian/rules
index d8525b8..dbb4597 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,13 @@ override_dh_auto_configure:
                              --enable-bflsc \
                              --disable-silent-rules
 
+override_dh_auto_build:
+	dh_auto_build
+	$(CC) api-example.c $(shell dpkg-buildflags --get CFLAGS) \
+                        $(shell dpkg-buildflags --get LDFLAGS) \
+                        $(shell dpkg-buildflags --get CPPFLAGS) \
+                        -I /usr/include/libusb-1.0/ -o cgminer-api
+
 override_dh_auto_install:
 	dh_auto_install
 	chmod a-x $(CURDIR)/debian/cgminer/*/*/*/*.cl

-- 
cgminer packaging



More information about the Pkg-bitcoin-commits mailing list