summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-01-28 04:03:24 +0000
committerhubertf <hubertf@pkgsrc.org>2001-01-28 04:03:24 +0000
commit44efc8627d7a466db98536596b83b467e52a2671 (patch)
tree0148887da0dc264cf3fa533187b3568ada22a00c /net
parent46f139dd480c667a389999b8aaf2141ff5c16487 (diff)
downloadpkgsrc-44efc8627d7a466db98536596b83b467e52a2671.tar.gz
Use BSD_INSTALL_* macros to allow stripping via $STRIPFLAG.
Fixes PR 12057 by Greg Woods <woods@planix.com>
Diffstat (limited to 'net')
-rw-r--r--net/fping/Makefile4
-rw-r--r--net/fping/files/patch-sum4
-rw-r--r--net/fping/patches/patch-aa17
3 files changed, 18 insertions, 7 deletions
diff --git a/net/fping/Makefile b/net/fping/Makefile
index ff495695091..8b08bb03523 100644
--- a/net/fping/Makefile
+++ b/net/fping/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/05/19 10:20:35 abs Exp $
+# $NetBSD: Makefile,v 1.2 2001/01/28 04:03:24 hubertf Exp $
# FreeBSD Id: ports/net/fping/Makefile,v 1.10 2000/04/20 20:18:57 mharo Exp
DISTNAME= part01
@@ -17,6 +17,6 @@ EXTRACT_CMD= zcat ${DOWNLOADED_DISTFILE} | ${SED} -e '1,/Archive-Name/d' | ${SH}
NO_WRKSUBDIR= yes
post-install:
- @strip ${PREFIX}/sbin/fping
+ ${CHMOD} 4555 ${PREFIX}/sbin/fping
.include "../../mk/bsd.pkg.mk"
diff --git a/net/fping/files/patch-sum b/net/fping/files/patch-sum
index be2dee4633a..235fa1a528a 100644
--- a/net/fping/files/patch-sum
+++ b/net/fping/files/patch-sum
@@ -1,5 +1,5 @@
-$NetBSD: patch-sum,v 1.1.1.1 2000/05/19 10:20:36 abs Exp $
+$NetBSD: patch-sum,v 1.2 2001/01/28 04:03:25 hubertf Exp $
-MD5 (patch-aa) = a4f9658f461a6dce17f8d65161c9fe2f
+MD5 (patch-aa) = dfeda6ed4b7cd8c3a472969258fe31b5
MD5 (patch-ab) = 5dc3570e2329537a1ea4bf7434f4418f
MD5 (patch-ac) = e068d70c22cd515422429f450195e455
diff --git a/net/fping/patches/patch-aa b/net/fping/patches/patch-aa
index 7f0c5a23a80..1cc6f1766a0 100644
--- a/net/fping/patches/patch-aa
+++ b/net/fping/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/05/19 10:20:36 abs Exp $
+$NetBSD: patch-aa,v 1.2 2001/01/28 04:03:25 hubertf Exp $
---- Makefile.orig Tue Mar 25 01:18:00 1997
-+++ Makefile Tue Mar 25 01:18:58 1997
+--- Makefile.orig Sun Jan 28 04:58:52 2001
++++ Makefile
@@ -2,10 +2,10 @@
PROG= fping
OBJS= fping.o
@@ -16,3 +16,14 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/05/19 10:20:36 abs Exp $
#
# Interval is the minimum amount of time between sending a ping packet to
+@@ -43,8 +43,8 @@
+ #
+
+ install:
+- install -c -m 4555 -o root -s $(PROG) $(BIN)/$(PROG)
+- install -c -m 0444 -o root $(MANSRC) $(MAN)/$(MANDST)
++ ${BSD_INSTALL_PROGRAM} $(PROG) $(BIN)/$(PROG)
++ ${BSD_INSTALL_MAN} $(MANSRC) $(MAN)/$(MANDST)
+
+ clean:
+ rm -f a.out core *~ *.o $(PROG)