DESTDIR support
This commit is contained in:
parent
60c6715172
commit
c82e7bfacd
3 changed files with 20 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.26 2011/03/20 12:15:28 obache Exp $
|
||||
# $NetBSD: Makefile,v 1.27 2011/03/23 18:22:28 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= sendfile-20010216
|
||||
|
@ -13,6 +13,8 @@ HOMEPAGE= http://fex.rus.uni-stuttgart.de/saft/sendfile.html
|
|||
COMMENT= Implementation of the Simple asynchronous file transfer protocol
|
||||
LICENSE= gnu-gpl-v2
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
WRKSRC= ${WRKDIR}/sendfile-2.1a
|
||||
|
||||
PKG_SYSCONFSUBDIR= sendfile
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
$NetBSD: distinfo,v 1.9 2011/03/20 12:13:44 obache Exp $
|
||||
$NetBSD: distinfo,v 1.10 2011/03/23 18:22:28 joerg Exp $
|
||||
|
||||
SHA1 (sendfile-20010216.tar.gz) = cdf6ff67bdc11709209c5f93ac94d380fa1abac3
|
||||
RMD160 (sendfile-20010216.tar.gz) = 3e1f9648875b1844d391b86b733c8d04318c4d90
|
||||
Size (sendfile-20010216.tar.gz) = 292130 bytes
|
||||
SHA1 (patch-aa) = 3b61185e0d0a4e792945cdfc1ec1e318b77869c5
|
||||
SHA1 (patch-ab) = c74cf201573068d8e1afa8e285831181d1be789e
|
||||
SHA1 (patch-ac) = 14f393e122870cd4246ddbb6534e7568dbed5968
|
||||
SHA1 (patch-ac) = 7be6dc20569f54d6c2405c63c218bdc3acc31516
|
||||
SHA1 (patch-ad) = ec9cf6dd79b6856c196058cb3117f2b140fffa31
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue