summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <itojun>1999-12-28 18:15:43 +0000
committeritojun <itojun>1999-12-28 18:15:43 +0000
commit365dc76af627d3d24e099a939dde2a13e915f2c6 (patch)
tree9a2c2b3d489e32408aa0dad10b65d7ec839c102e
parent194140283e294813230cb40ea2c0f7d3f38ab7aa (diff)
downloadpkgsrc-365dc76af627d3d24e099a939dde2a13e915f2c6.tar.gz
make mirrormaster works independently from cwd. previously
it assumed that: - bin/mirror is in cwd (so cwd must be ${PREFIX}/bin) - generate logs into ./logs (so logs will be generated into ${PREFIX}/bin/logs) but it is very annoying. let us invoke bin/mirror with full pathname. add rcsid to patches/patch-a[de].
-rw-r--r--net/mirror/Makefile7
-rw-r--r--net/mirror/files/patch-sum6
-rw-r--r--net/mirror/patches/patch-ad2
-rw-r--r--net/mirror/patches/patch-ae2
4 files changed, 13 insertions, 4 deletions
diff --git a/net/mirror/Makefile b/net/mirror/Makefile
index 000f0aea444..e4f46ad22c8 100644
--- a/net/mirror/Makefile
+++ b/net/mirror/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1998/08/29 18:05:56 kim Exp $
+# $NetBSD: Makefile,v 1.8 1999/12/28 18:15:43 itojun Exp $
# FreeBSD Id: Makefile,v 1.6 1996/12/01 01:22:54 obrien Exp
#
@@ -13,6 +13,11 @@ USE_PERL5= yes
NO_WRKSUBDIR= yes
MAKEFILE= makefile
+post-patch:
+ ${MV} ${WRKDIR}/mm ${WRKDIR}/mm-
+ ${SED} -e "s#exec \./mirror#exec ${PREFIX}/bin/mirror#" \
+ < ${WRKDIR}/mm- > ${WRKDIR}/mm
+
pre-install:
${MKDIR} ${PREFIX}/lib/mirror
diff --git a/net/mirror/files/patch-sum b/net/mirror/files/patch-sum
index fd9c582c566..ce56367f9ce 100644
--- a/net/mirror/files/patch-sum
+++ b/net/mirror/files/patch-sum
@@ -1,7 +1,7 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 14:12:22 agc Exp $
+$NetBSD: patch-sum,v 1.2 1999/12/28 18:15:43 itojun Exp $
MD5 (patch-aa) = 34d6e30142c6f3e1e3e79f90298961be
MD5 (patch-ab) = 35196337dca0d5761d4e96503dce3671
MD5 (patch-ac) = 23632c3bcd65f5e0a71ccda0a636ed2e
-MD5 (patch-ad) = 3e9e3141ac78b2b4ecf62791ba82c315
-MD5 (patch-ae) = 3a1aed580e8d31b87efab02f881e4163
+MD5 (patch-ad) = 02f9cc76255af7ba20ea4c379426ca78
+MD5 (patch-ae) = aa4aa1a7d91c014653f241d6dd0bcd23
diff --git a/net/mirror/patches/patch-ad b/net/mirror/patches/patch-ad
index 8ef7b653735..7d0b7e4a6b7 100644
--- a/net/mirror/patches/patch-ad
+++ b/net/mirror/patches/patch-ad
@@ -1,3 +1,5 @@
+$NetBSD: patch-ad,v 1.5 1999/12/28 18:15:43 itojun Exp $
+
--- lchat.pl.orig Wed Jun 7 22:19:22 1995
+++ lchat.pl Wed May 12 18:10:54 1999
@@ -79,7 +79,7 @@
diff --git a/net/mirror/patches/patch-ae b/net/mirror/patches/patch-ae
index 6c34e76f7b3..fdde88e1fec 100644
--- a/net/mirror/patches/patch-ae
+++ b/net/mirror/patches/patch-ae
@@ -1,3 +1,5 @@
+$NetBSD: patch-ae,v 1.4 1999/12/28 18:15:43 itojun Exp $
+
--- ftp.pl.orig Tue May 23 23:53:25 1995
+++ ftp.pl Wed May 12 18:10:21 1999
@@ -430,7 +430,7 @@