Date: Saturday, March 9, 2013 @ 07:25:06 Author: fyan Revision: 85936
archrelease: copy trunk to community-i686, community-x86_64 Added: cgminer/repos/community-i686/PKGBUILD (from rev 85935, cgminer/trunk/PKGBUILD) cgminer/repos/community-i686/cgminer.conf.d (from rev 85935, cgminer/trunk/cgminer.conf.d) cgminer/repos/community-i686/cgminer.service (from rev 85935, cgminer/trunk/cgminer.service) cgminer/repos/community-x86_64/PKGBUILD (from rev 85935, cgminer/trunk/PKGBUILD) cgminer/repos/community-x86_64/cgminer.conf.d (from rev 85935, cgminer/trunk/cgminer.conf.d) cgminer/repos/community-x86_64/cgminer.service (from rev 85935, cgminer/trunk/cgminer.service) Deleted: cgminer/repos/community-i686/PKGBUILD cgminer/repos/community-x86_64/PKGBUILD ----------------------------------+ community-i686/PKGBUILD | 108 ++++++++++++++++++------------------- community-i686/cgminer.conf.d | 11 +++ community-i686/cgminer.service | 8 ++ community-x86_64/PKGBUILD | 108 ++++++++++++++++++------------------- community-x86_64/cgminer.conf.d | 11 +++ community-x86_64/cgminer.service | 8 ++ 6 files changed, 146 insertions(+), 108 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-03-09 06:05:05 UTC (rev 85935) +++ community-i686/PKGBUILD 2013-03-09 06:25:06 UTC (rev 85936) @@ -1,54 +0,0 @@ -# $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.1 -_build= -pkgrel=1 -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 --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=('aa2199a9756cbca5582c03e8c1a98dd1' - 'fe4a243fabe24608f5c05e40f0f118f6' - 'bd76fc92fedce18c59ccea2aa79cc664') Copied: cgminer/repos/community-i686/PKGBUILD (from rev 85935, cgminer/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-03-09 06:25:06 UTC (rev 85936) @@ -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.2 +_build= +pkgrel=1 +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 --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=('f3deb2205ff53318dd65f9dfd26b99aa' + 'fe4a243fabe24608f5c05e40f0f118f6' + 'bd76fc92fedce18c59ccea2aa79cc664') Copied: cgminer/repos/community-i686/cgminer.conf.d (from rev 85935, cgminer/trunk/cgminer.conf.d) =================================================================== --- community-i686/cgminer.conf.d (rev 0) +++ community-i686/cgminer.conf.d 2013-03-09 06:25:06 UTC (rev 85936) @@ -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-i686/cgminer.service (from rev 85935, cgminer/trunk/cgminer.service) =================================================================== --- community-i686/cgminer.service (rev 0) +++ community-i686/cgminer.service 2013-03-09 06:25:06 UTC (rev 85936) @@ -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 Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2013-03-09 06:05:05 UTC (rev 85935) +++ community-x86_64/PKGBUILD 2013-03-09 06:25:06 UTC (rev 85936) @@ -1,54 +0,0 @@ -# $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.1 -_build= -pkgrel=1 -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 --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=('aa2199a9756cbca5582c03e8c1a98dd1' - 'fe4a243fabe24608f5c05e40f0f118f6' - 'bd76fc92fedce18c59ccea2aa79cc664') Copied: cgminer/repos/community-x86_64/PKGBUILD (from rev 85935, cgminer/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-03-09 06:25:06 UTC (rev 85936) @@ -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.2 +_build= +pkgrel=1 +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 --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=('f3deb2205ff53318dd65f9dfd26b99aa' + 'fe4a243fabe24608f5c05e40f0f118f6' + 'bd76fc92fedce18c59ccea2aa79cc664') Copied: cgminer/repos/community-x86_64/cgminer.conf.d (from rev 85935, cgminer/trunk/cgminer.conf.d) =================================================================== --- community-x86_64/cgminer.conf.d (rev 0) +++ community-x86_64/cgminer.conf.d 2013-03-09 06:25:06 UTC (rev 85936) @@ -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-x86_64/cgminer.service (from rev 85935, cgminer/trunk/cgminer.service) =================================================================== --- community-x86_64/cgminer.service (rev 0) +++ community-x86_64/cgminer.service 2013-03-09 06:25:06 UTC (rev 85936) @@ -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