New package: openresolv-3.6.1
This commit is contained in:
parent
f23fa99c91
commit
b2f62d2a21
|
@ -0,0 +1,23 @@
|
|||
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!"
|
|
@ -0,0 +1,12 @@
|
|||
# Template file for 'openresolv'
|
||||
pkgname=openresolv
|
||||
version=3.6.1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
short_desc="Management framework for resolv.conf"
|
||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||
license="BSD"
|
||||
hostmakedepends="runit"
|
||||
homepage="http://roy.marples.name/projects/openresolv/home"
|
||||
distfiles="ftp://roy.marples.name/pub/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=38a6908c07b8474cf489095026808d1c5ea5c53bb299beaecd23c05593b09eab
|
Loading…
Reference in New Issue