Date: Thursday, March 21, 2013 @ 03:08:32 Author: fyan Revision: 86683
archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: cgminer/repos/community-testing-i686/ cgminer/repos/community-testing-i686/PKGBUILD (from rev 86682, cgminer/trunk/PKGBUILD) cgminer/repos/community-testing-i686/cgminer.conf.d (from rev 86682, cgminer/trunk/cgminer.conf.d) cgminer/repos/community-testing-i686/cgminer.service (from rev 86682, cgminer/trunk/cgminer.service) cgminer/repos/community-testing-x86_64/ cgminer/repos/community-testing-x86_64/PKGBUILD (from rev 86682, cgminer/trunk/PKGBUILD) cgminer/repos/community-testing-x86_64/cgminer.conf.d (from rev 86682, cgminer/trunk/cgminer.conf.d) cgminer/repos/community-testing-x86_64/cgminer.service (from rev 86682, cgminer/trunk/cgminer.service) ------------------------------------------+ community-testing-i686/PKGBUILD | 54 +++++++++++++++++++++++++++++ community-testing-i686/cgminer.conf.d | 11 +++++ community-testing-i686/cgminer.service | 8 ++++ community-testing-x86_64/PKGBUILD | 54 +++++++++++++++++++++++++++++ community-testing-x86_64/cgminer.conf.d | 11 +++++ community-testing-x86_64/cgminer.service | 8 ++++ 6 files changed, 146 insertions(+) Copied: cgminer/repos/community-testing-i686/PKGBUILD (from rev 86682, cgminer/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-03-21 02:08:32 UTC (rev 86683) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: monson <holymon...@gmail.com> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: David Manouchehri <da...@davidmanouchehri.com> + +pkgname=cgminer +pkgver=2.11.3 +_build= +pkgrel=2 +pkgdesc="Multi-threaded multi-pool CPU and GPU miner for bitcoin, forked from cpuminer." +url='http://forum.bitcoin.org/index.php?topic=28402.0' +license=('GPL3') +arch=('i686' 'x86_64') +depends=('curl' 'libcl') +makedepends=('opencl-headers') +optdepends=('opencl-nvidia: OpenCL implementation for NVIDIA' + 'opencl-catalyst: OpenCL implementation for AMD') +source=("http://ck.kolivas.org/apps/cgminer/$pkgname-$pkgver.tar.bz2" + "$pkgname.conf.d" + "$pkgname.service") +backup=("etc/conf.d/$pkgname" "etc/$pkgname.conf") + +[ "$CARCH" == "x86_64" ] && makedepends+=('yasm') + +build() { + cd "$srcdir" + cd $pkgname-$pkgver${_build} + + # Use in-tree jansson since it is not compatible with jansson 2.0 + #sed -e 's/^AC_CHECK_LIB(jansson, json_loads, request_jansson=false, request_jansson=true)$/request_jansson=true/' -i configure.ac + + # Here you may want to use custom CFLAGS + #export CFLAGS="-O2 -march=native -mtune=native -msse2" + + ./configure --prefix=/usr --enable-cpumining --enable-scrypt --disable-adl + + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver${_build} + + make DESTDIR="$pkgdir" install + + install -Dm644 "$srcdir"/$pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service + install -Dm644 "$srcdir"/$pkgname.conf.d "$pkgdir"/etc/conf.d/$pkgname + sed 's#/usr/local/bin#/usr/bin#g' example.conf > $pkgname.conf + install -Dm644 $pkgname.conf "$pkgdir"/etc/$pkgname.conf +} + +md5sums=('fd2c69f943353fbc9723a5526d82c1b6' + 'fe4a243fabe24608f5c05e40f0f118f6' + 'bd76fc92fedce18c59ccea2aa79cc664') Copied: cgminer/repos/community-testing-i686/cgminer.conf.d (from rev 86682, cgminer/trunk/cgminer.conf.d) =================================================================== --- community-testing-i686/cgminer.conf.d (rev 0) +++ community-testing-i686/cgminer.conf.d 2013-03-21 02:08:32 UTC (rev 86683) @@ -0,0 +1,11 @@ +# Use JSON-format configuration. (recommended) +CGMINER_CONF="/etc/cgminer.conf" + +# Uncommend this if you prefer simple command-line arguments. +#CGMINER_CONF="" +#CGMINER_PROTOCOL="http" +#CGMINER_IP="127.0.0.1" +#CGMINER_PORT="8332" +#CGMINER_USER="username" +#CGMINER_PASS="password" +CGMINER_ARGS="--syslog" Copied: cgminer/repos/community-testing-i686/cgminer.service (from rev 86682, cgminer/trunk/cgminer.service) =================================================================== --- community-testing-i686/cgminer.service (rev 0) +++ community-testing-i686/cgminer.service 2013-03-21 02:08:32 UTC (rev 86683) @@ -0,0 +1,8 @@ +[Unit] +Description=Multi-threaded multi-pool CPU and GPU miner for bitcoin + +[Service] +ExecStart=/usr/bin/cgminer -T --config /etc/cgminer.conf --syslog + +[Install] +WantedBy=multi-user.target Copied: cgminer/repos/community-testing-x86_64/PKGBUILD (from rev 86682, cgminer/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2013-03-21 02:08:32 UTC (rev 86683) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: monson <holymon...@gmail.com> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: David Manouchehri <da...@davidmanouchehri.com> + +pkgname=cgminer +pkgver=2.11.3 +_build= +pkgrel=2 +pkgdesc="Multi-threaded multi-pool CPU and GPU miner for bitcoin, forked from cpuminer." +url='http://forum.bitcoin.org/index.php?topic=28402.0' +license=('GPL3') +arch=('i686' 'x86_64') +depends=('curl' 'libcl') +makedepends=('opencl-headers') +optdepends=('opencl-nvidia: OpenCL implementation for NVIDIA' + 'opencl-catalyst: OpenCL implementation for AMD') +source=("http://ck.kolivas.org/apps/cgminer/$pkgname-$pkgver.tar.bz2" + "$pkgname.conf.d" + "$pkgname.service") +backup=("etc/conf.d/$pkgname" "etc/$pkgname.conf") + +[ "$CARCH" == "x86_64" ] && makedepends+=('yasm') + +build() { + cd "$srcdir" + cd $pkgname-$pkgver${_build} + + # Use in-tree jansson since it is not compatible with jansson 2.0 + #sed -e 's/^AC_CHECK_LIB(jansson, json_loads, request_jansson=false, request_jansson=true)$/request_jansson=true/' -i configure.ac + + # Here you may want to use custom CFLAGS + #export CFLAGS="-O2 -march=native -mtune=native -msse2" + + ./configure --prefix=/usr --enable-cpumining --enable-scrypt --disable-adl + + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver${_build} + + make DESTDIR="$pkgdir" install + + install -Dm644 "$srcdir"/$pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service + install -Dm644 "$srcdir"/$pkgname.conf.d "$pkgdir"/etc/conf.d/$pkgname + sed 's#/usr/local/bin#/usr/bin#g' example.conf > $pkgname.conf + install -Dm644 $pkgname.conf "$pkgdir"/etc/$pkgname.conf +} + +md5sums=('fd2c69f943353fbc9723a5526d82c1b6' + 'fe4a243fabe24608f5c05e40f0f118f6' + 'bd76fc92fedce18c59ccea2aa79cc664') Copied: cgminer/repos/community-testing-x86_64/cgminer.conf.d (from rev 86682, cgminer/trunk/cgminer.conf.d) =================================================================== --- community-testing-x86_64/cgminer.conf.d (rev 0) +++ community-testing-x86_64/cgminer.conf.d 2013-03-21 02:08:32 UTC (rev 86683) @@ -0,0 +1,11 @@ +# Use JSON-format configuration. (recommended) +CGMINER_CONF="/etc/cgminer.conf" + +# Uncommend this if you prefer simple command-line arguments. +#CGMINER_CONF="" +#CGMINER_PROTOCOL="http" +#CGMINER_IP="127.0.0.1" +#CGMINER_PORT="8332" +#CGMINER_USER="username" +#CGMINER_PASS="password" +CGMINER_ARGS="--syslog" Copied: cgminer/repos/community-testing-x86_64/cgminer.service (from rev 86682, cgminer/trunk/cgminer.service) =================================================================== --- community-testing-x86_64/cgminer.service (rev 0) +++ community-testing-x86_64/cgminer.service 2013-03-21 02:08:32 UTC (rev 86683) @@ -0,0 +1,8 @@ +[Unit] +Description=Multi-threaded multi-pool CPU and GPU miner for bitcoin + +[Service] +ExecStart=/usr/bin/cgminer -T --config /etc/cgminer.conf --syslog + +[Install] +WantedBy=multi-user.target