openresolv: update to 3.7.0.

This commit is contained in:
Andrea Brancaleoni 2015-05-10 04:08:42 +02:00
parent a0918c133f
commit 0bd79422bd
2 changed files with 2 additions and 25 deletions

View file

@ -1,23 +0,0 @@
diff --git configure configure
index a32cc1c..fefad31 100755
--- configure
+++ configure
@@ -194,6 +194,18 @@ if [ -z "$RESTARTCMD" ]; then
fi
done
fi
+if [ -z "$RESTARTCMD" ]; then
+ printf "Checking for runit... "
+ if [ -x /bin/sv ]; then
+ RESTARTCMD="/bin/sv restart \1"
+ echo "yes"
+ elif [ -x /usr/bin/sv ]; then
+ RESTARTCMD="/usr/bin/sv restart \1"
+ echo "yes"
+ else
+ echo "no"
+ fi
+fi
if [ -z "$RESTARTCMD" ]; then
echo "$0: WARNING: No means of interacting with system services detected!"

View file

@ -1,6 +1,6 @@
# Template file for 'openresolv'
pkgname=openresolv
version=3.6.2
version=3.7.0
revision=2
noarch=yes
build_style=gnu-configure
@ -10,5 +10,5 @@ license="BSD"
hostmakedepends="runit"
homepage="http://roy.marples.name/projects/openresolv/home"
distfiles="ftp://roy.marples.name/pub/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=b0fd1ca59d2ee407db5e9b35d1ef8b670bc808fcc9db7aa31b0784cdd01825d0
checksum=8b7c0b2f6165b51893bceeb2ea1d3e85c08cbd1afc65319003a912166f8c35de
configure_args="--bindir=/usr/bin"