diff options
-rw-r--r-- | community/dante/APKBUILD (renamed from testing/dante/APKBUILD) | 39 | ||||
-rw-r--r-- | community/dante/dante-server.pre-install (renamed from testing/dante/dante-server.pre-install) | 0 | ||||
-rw-r--r-- | community/dante/ifdev.patch (renamed from testing/dante/ifdev.patch) | 0 | ||||
-rw-r--r-- | community/dante/sockd.confd (renamed from testing/dante/sockd.confd) | 0 | ||||
-rw-r--r-- | community/dante/sockd.initd (renamed from testing/dante/sockd.initd) | 0 |
5 files changed, 15 insertions, 24 deletions
diff --git a/testing/dante/APKBUILD b/community/dante/APKBUILD index b8f3dad3ba..44c18b697c 100644 --- a/testing/dante/APKBUILD +++ b/community/dante/APKBUILD @@ -1,51 +1,42 @@ # Contributor: Paul Kilar <pkilar@gmail.com> # Maintainer: Paul Kilar <pkilar@gmail.com> pkgname=dante -pkgver="1.4.2" +pkgver=1.4.2 pkgrel=3 pkgdesc="Dante is SOCKS server and a SOCKS client" -url="http://www.inet.no/dante/index.html" +url="https://www.inet.no/dante/" arch="all" -license="BSD CMU" -depends="" -depends_dev="" +license="BSD-3-Clause" makedepends="bison flex" install="$pkgname-server.pre-install" -options="libtool" subpackages="$pkgname-dev $pkgname-doc $pkgname-server" -source="http://www.inet.no/dante/files/$pkgname-$pkgver.tar.gz -ifdev.patch -sockd.initd -sockd.confd" - -builddir="$srcdir"/$pkgname-$pkgver +source="http://www.inet.no/dante/files/dante-$pkgver.tar.gz + ifdev.patch + sockd.initd + sockd.confd + " prepare() { - default_prepare || return 1 - update_config_guess || return 1 + default_prepare + update_config_guess } build() { - cd "$builddir" subpackages="$pkgname-dev $pkgname-doc" ac_cv_func_sched_setscheduler=no ./configure --prefix=/usr - make || return 1 + make } package() { - cd "$builddir" - make install DESTDIR=$pkgdir || return 1 + make install DESTDIR=$pkgdir } server() { depends= cd "$builddir" - install -D -m644 "example/sockd.conf" \ - "$subpkgdir/etc/sockd.conf" || return 1 - install -D -m644 "$srcdir"/sockd.confd \ - "$subpkgdir"/etc/conf.d/sockd || return 1 - install -D -m755 "$srcdir"/sockd.initd \ - "$subpkgdir"/etc/init.d/sockd || return 1 + install -D -m644 "example/sockd.conf" "$subpkgdir/etc/sockd.conf" + install -D -m644 "$srcdir"/sockd.confd "$subpkgdir"/etc/conf.d/sockd + install -D -m755 "$srcdir"/sockd.initd "$subpkgdir"/etc/init.d/sockd install -d "$subpkgdir/usr/sbin" mv "$pkgdir/usr/sbin/sockd" "$subpkgdir/usr/sbin/sockd" diff --git a/testing/dante/dante-server.pre-install b/community/dante/dante-server.pre-install index 8bf90b40cf..8bf90b40cf 100644 --- a/testing/dante/dante-server.pre-install +++ b/community/dante/dante-server.pre-install diff --git a/testing/dante/ifdev.patch b/community/dante/ifdev.patch index 541edefe03..541edefe03 100644 --- a/testing/dante/ifdev.patch +++ b/community/dante/ifdev.patch diff --git a/testing/dante/sockd.confd b/community/dante/sockd.confd index 37628d38d0..37628d38d0 100644 --- a/testing/dante/sockd.confd +++ b/community/dante/sockd.confd diff --git a/testing/dante/sockd.initd b/community/dante/sockd.initd index f77df213ee..f77df213ee 100644 --- a/testing/dante/sockd.initd +++ b/community/dante/sockd.initd |