diff options
author | TBK <tbk@jjtc.dk> | 2018-04-08 04:23:09 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-04-09 11:24:08 +0000 |
commit | ad9fa061c2dfd12bd872d2899167999a22faea1e (patch) | |
tree | 51888b42460150eea62de7b02894d9a73d0842ee /testing | |
parent | f92596b5d7c8f82c0a2736d268c07220180ed868 (diff) | |
download | aports-ad9fa061c2dfd12bd872d2899167999a22faea1e.tar.bz2 aports-ad9fa061c2dfd12bd872d2899167999a22faea1e.tar.xz |
testing/3proxy: upgrade to 0.8.11, modernize
Diffstat (limited to 'testing')
-rw-r--r-- | testing/3proxy/APKBUILD | 50 |
1 files changed, 18 insertions, 32 deletions
diff --git a/testing/3proxy/APKBUILD b/testing/3proxy/APKBUILD index bf66020bba..6f8e6a524b 100644 --- a/testing/3proxy/APKBUILD +++ b/testing/3proxy/APKBUILD @@ -1,50 +1,36 @@ # Contributor: sillysausage <sillysausage@privatedemail.net> # Maintainer: pkgname=3proxy -pkgver=0.7.1.3 -pkgrel=1 +pkgver=0.8.11 +pkgrel=0 pkgdesc="Really tiny cross-platform proxy servers set" -url="http://3proxy.ru" +url="https://3proxy.ru" arch="all" -license="3proxy" +license="Apache-2.0 GPL-2.0-or-later LGPL-2.1-or-later" pkgusers="3proxy" pkggroups="3proxy" -depends= +options="!check" # No test suite makedepends="linux-headers" install="3proxy.pre-install" -subpackages="$pkgname-doc" -source="https://github.com/z3APA3A/$pkgname/archive/$pkgname-$pkgver.tar.gz - $pkgname.initd" - -_builddir=$srcdir/$pkgname-$pkgname-$pkgver - -prepare() { - cd "$srcdir/$pkgname-$pkgname-$pkgver" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +subpackages="$pkgname-doc $pkgname-openrc" +source="$pkgname-$pkgver.tar.gz::https://github.com/z3APA3A/$pkgname/archive/$pkgver.tar.gz + $pkgname.initd + " build() { - cd "$_builddir" - make -f Makefile.Linux prefix="/usr" || return 1 + cd "$builddir" + make -f Makefile.Linux prefix="/usr" } package() { - cd "$_builddir" - make -f Makefile.Linux DESTDIR="$pkgdir" prefix="/usr" install || return 1 - install -Dm755 "$srcdir"/3proxy.initd "$pkgdir"/etc/init.d/3proxy || return 1 - mv "$pkgdir"/usr/etc/3proxy "$pkgdir"/etc/3proxy || return 1 - chown -R 3proxy:3proxy "$pkgdir"/etc/3proxy || return 1 - install -Dm644 copying "$pkgdir"/usr/share/licenses/$pkgname/COPYING || return 1 + cd "$builddir" + make -f Makefile.Linux DESTDIR="$pkgdir" prefix="/usr" install + install -Dm755 "$srcdir"/3proxy.initd "$pkgdir"/etc/init.d/3proxy + mv "$pkgdir"/usr/etc/3proxy "$pkgdir"/etc/3proxy + chown -R 3proxy:3proxy "$pkgdir"/etc/3proxy + install -Dm644 copying "$pkgdir"/usr/share/licenses/$pkgname/COPYING } -md5sums="4754d5cf7071db9eb8013bbd739836f8 3proxy-0.7.1.3.tar.gz -debcf0b8c2a6827e438ad3addec5fbc4 3proxy.initd" -sha256sums="4d1f3cf539c8a32f5845b54e8a3fdbabef6fe8a6bbb06dfc80f7361804f6cb60 3proxy-0.7.1.3.tar.gz -b7837c5817cbb45a96c92fa119ba623f3a1a5ca6849dfd85518bbea163baefe8 3proxy.initd" -sha512sums="d72e5ca79a55ad9cde6c9becfc1674aa7a38fb52ee73b479aee8747d52bb9966c8cf73f348f2a2c8319afcbedb9e7ba8bea485a785204d7ee1a9ab21e3a1d9ef 3proxy-0.7.1.3.tar.gz +sha512sums="82da185a80885f8e076e6c02bf32e44fe34aa836d18e10f126a3bdda3540465803e71259a0e740c6f23769f873b022636593c69aaf760235cba57c0d890e9c23 3proxy-0.8.11.tar.gz 5425792d0babc75221b5a35996a1fa47a6d0b9a435edde7b63e0344b7d58ab96b18f1c5fb28e798df36cb342d9793d530dbcdd0102cc5fb04a70ca525c924576 3proxy.initd" |