summaryrefslogtreecommitdiff
path: root/net/sendfile/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2011-03-23 18:22:28 +0000
committerjoerg <joerg>2011-03-23 18:22:28 +0000
commitb9313523a5badf4e382c2e54279d5095d78d2714 (patch)
tree29b064aea03530ec758a861ed6704bc794711b36 /net/sendfile/patches
parent23ce24485423b149bea3f675c1155c2c040a36fe (diff)
downloadpkgsrc-b9313523a5badf4e382c2e54279d5095d78d2714.tar.gz
DESTDIR support
Diffstat (limited to 'net/sendfile/patches')
-rw-r--r--net/sendfile/patches/patch-ac18
1 files changed, 15 insertions, 3 deletions
diff --git a/net/sendfile/patches/patch-ac b/net/sendfile/patches/patch-ac
index a9b041dfbde..bf721d88dc2 100644
--- a/net/sendfile/patches/patch-ac
+++ b/net/sendfile/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.3 2003/05/01 15:44:44 jmmv Exp $
+$NetBSD: patch-ac,v 1.4 2011/03/23 18:22:28 joerg Exp $
--- develop/install.orig 1999-12-07 10:40:11.000000000 +0100
+++ develop/install
@@ -10,7 +10,19 @@ $NetBSD: patch-ac,v 1.3 2003/05/01 15:44:44 jmmv Exp $
/define CONFIG/ {print "CONFIG="$2}
/define DENY/ {print "DENY="$2}
/define ALLOW/ {print "ALLOW="$2}
-@@ -126,6 +127,9 @@ if [ "$OUTLOG" = "" ]; then OUTLOG=$SPOO
+@@ -113,6 +114,11 @@ eval `awk -F\" '/define BINDIR/ {prin
+ /define OUTLOG/ {print "OUTLOG="$2}
+ ' src/globals.h`
+
++BINDIR=$DESTDIR$BINDIR
++MANDIR=$DESTDIR$MANDIR
++SERVERDIR=$DESTDIR$SERVERDIR
++EGDIR=$DESTDIR$EGDIR
++
+ if [ "$BINDIR" = "" ]; then BINDIR=/usr/local/bin; fi
+ if [ "$MANDIR" = "" ]; then MANDIR=/usr/local/man; fi
+ if [ "$SERVERDIR" = "" ]; then SERVERDIR=/usr/local/sbin; fi
+@@ -126,6 +132,9 @@ if [ "$OUTLOG" = "" ]; then OUTLOG=$SPOO
if [ "$INETDCONF" = "" ]; then INETDCONF=/etc/inetd.conf; fi
if [ "$SERVICES" = "" ]; then SERVICES=/etc/services; fi
@@ -20,7 +32,7 @@ $NetBSD: patch-ac,v 1.3 2003/05/01 15:44:44 jmmv Exp $
case "$SYSTEM" in
*BSD*) manmisc=7; manadmin=8;;
*) manmisc=5; manadmin=1m;;
-@@ -165,14 +169,6 @@ In /etc/profile and /etc/csh.login a cal
+@@ -165,14 +174,6 @@ In /etc/profile and /etc/csh.login a cal
To deinstall the sendfile-daemon, simply type: rm -f $SERVERDIR/sendfiled
EOD