aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dante
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-17 20:37:41 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-17 21:03:41 +0000
commit0357653b544ccdb04cde84ea7d1f58e65d583fc6 (patch)
treeab67a562ef30a541a76a26ea07382cdca7cd47cb /testing/dante
parentb85309d36852cc7919785fd983d56518508f45e0 (diff)
downloadaports-0357653b544ccdb04cde84ea7d1f58e65d583fc6.tar.bz2
aports-0357653b544ccdb04cde84ea7d1f58e65d583fc6.tar.xz
testing/dante: update initd and update config.guess
Diffstat (limited to 'testing/dante')
-rw-r--r--testing/dante/APKBUILD26
-rw-r--r--testing/dante/sockd.initd2
2 files changed, 12 insertions, 16 deletions
diff --git a/testing/dante/APKBUILD b/testing/dante/APKBUILD
index 6d4fc3a988..70c535f264 100644
--- a/testing/dante/APKBUILD
+++ b/testing/dante/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Paul Kilar <pkilar@gmail.com>
pkgname=dante
pkgver="1.4.0"
-pkgrel=2
+pkgrel=3
pkgdesc="Dante is SOCKS server and a SOCKS client"
url="http://www.inet.no/dante/index.html"
arch="all"
@@ -16,32 +16,28 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-server"
source="http://www.inet.no/dante/files/$pkgname-$pkgver.tar.gz
sockd.initd
sockd.confd"
-_builddir="$srcdir"/$pkgname-$pkgver
+
+builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ default_prepare || return 1
+ update_config_guess || return 1
}
build() {
- cd "$_builddir"
+ cd "$builddir"
ac_cv_func_sched_setscheduler=no ./configure --prefix=/usr
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make install DESTDIR=$pkgdir || return 1
}
server() {
depends=
- cd "$_builddir"
+ cd "$builddir"
install -D -m644 "example/sockd.conf" \
"$subpkgdir/etc/sockd.conf" || return 1
install -D -m644 "$srcdir"/sockd.confd \
@@ -54,11 +50,11 @@ server() {
}
md5sums="c117a3ce25afb936f13b76f1d2524879 dante-1.4.0.tar.gz
-b556d2aed497062eb866bae4a647f748 sockd.initd
+20ec1920ddf6a48e24f847a228001248 sockd.initd
cb49c2fc52c777cc313b089f9d333160 sockd.confd"
sha256sums="55d448f2d523e69b5637ef12c05556f39201a2c397b4671a2aaaa914ba65684b dante-1.4.0.tar.gz
-a23e2cc43a1a7c14804816e6410045b06981bbcaf31696b11c76cb2c0aff6555 sockd.initd
+ba3d27294d0039112fe6740c660ffeab45ef1d7faf43d60b84d3e43c3076daef sockd.initd
0b25fe45b5b4315ef3958b89d6b63fd77004ea26d9f5160380c34bbc6e7bbd9f sockd.confd"
sha512sums="978a70eb789dd2d00a9ac4a7671d13450f9ac96344ae41382c38de7a12e98c2e24159c2e140c95caff0cc9119f7cf409a8716130b34957020706a17c0f96de38 dante-1.4.0.tar.gz
-ee5359f94858adaafa5ebea3f7b773cf2760a36c6e9bf01bc78f8644e39c07164a8bc1376977fd2f3cb796c7d5edb7c245513ea4e92ab0640ef213d820089a2a sockd.initd
+9ec0c32f6bfb3fbd266f89ccb0ffff0356b88d679bf3099ff4c78e7f4ca78de9b8fb9f6ff136ca333f148c16f9fcb502ac3f5469c106494846e4aa3192d79c4e sockd.initd
09b744340c03369983a9b07e50215288e5a43d15497db479867132bee46f34a7a8e451c980e064f751ad50e5231d77fa5ae9fd5cf2efe3274ae50168bfceaa67 sockd.confd"
diff --git a/testing/dante/sockd.initd b/testing/dante/sockd.initd
index 94311ddf7c..f77df213ee 100644
--- a/testing/dante/sockd.initd
+++ b/testing/dante/sockd.initd
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
#
# startup script for sockd daemon
#