Mon Mar 2 17:40:03 2009 UTC ()
DESTDIR support


(joerg)
diff -r1.1.1.1 -r1.2 pkgsrc/net/chksniff/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/net/chksniff/distinfo
diff -r1.1.1.1 -r1.2 pkgsrc/net/chksniff/patches/patch-aa

cvs diff -r1.1.1.1 -r1.2 pkgsrc/net/chksniff/Makefile (expand / switch to unified diff)

--- pkgsrc/net/chksniff/Makefile 2005/10/29 01:05:17 1.1.1.1
+++ pkgsrc/net/chksniff/Makefile 2009/03/02 17:40:02 1.2
@@ -1,14 +1,18 @@ @@ -1,14 +1,18 @@
1# $NetBSD: Makefile,v 1.1.1.1 2005/10/29 01:05:17 minskim Exp $ 1# $NetBSD: Makefile,v 1.2 2009/03/02 17:40:02 joerg Exp $
2# 2#
3 3
4DISTNAME= chksniff-0.2 4DISTNAME= chksniff-0.2
5CATEGORIES= net security 5CATEGORIES= net security
6MASTER_SITES= http://virtus.ath.cx/chksniff/ 6MASTER_SITES= http://virtus.ath.cx/chksniff/
7 7
8MAINTAINER= virtus@wanadoo.nl 8MAINTAINER= virtus@wanadoo.nl
9HOMEPAGE= http://virtus.ath.cx/chksniff/ 9HOMEPAGE= http://virtus.ath.cx/chksniff/
10COMMENT= Small tool to check for promiscuous interfaces 10COMMENT= Small tool to check for promiscuous interfaces
11 11
 12PKG_DESTDIR_SUPPORT= user-destdir
 13
 14INSTALLATION_DIRS= bin
 15
12GNU_CONFIGURE= YES 16GNU_CONFIGURE= YES
13 17
14.include "../../mk/bsd.pkg.mk" 18.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1.1.1 -r1.2 pkgsrc/net/chksniff/distinfo (expand / switch to unified diff)

--- pkgsrc/net/chksniff/distinfo 2005/10/29 01:05:17 1.1.1.1
+++ pkgsrc/net/chksniff/distinfo 2009/03/02 17:40:02 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.1.1.1 2005/10/29 01:05:17 minskim Exp $ 1$NetBSD: distinfo,v 1.2 2009/03/02 17:40:02 joerg Exp $
2 2
3SHA1 (chksniff-0.2.tar.gz) = 008a63e429dc0c12c0ba760e6476623ca99ad85a 3SHA1 (chksniff-0.2.tar.gz) = 008a63e429dc0c12c0ba760e6476623ca99ad85a
4RMD160 (chksniff-0.2.tar.gz) = ad7475a9c8acc5d527e2abe28b352c1375c6bb11 4RMD160 (chksniff-0.2.tar.gz) = ad7475a9c8acc5d527e2abe28b352c1375c6bb11
5Size (chksniff-0.2.tar.gz) = 28419 bytes 5Size (chksniff-0.2.tar.gz) = 28419 bytes
6SHA1 (patch-aa) = a91144e2178475c2424ce84dbdae4c7e7faacff0 6SHA1 (patch-aa) = 00392a03d68fecea9a9eb4427a77b0093af70adc

cvs diff -r1.1.1.1 -r1.2 pkgsrc/net/chksniff/patches/patch-aa (expand / switch to unified diff)

--- pkgsrc/net/chksniff/patches/patch-aa 2005/10/29 01:05:17 1.1.1.1
+++ pkgsrc/net/chksniff/patches/patch-aa 2009/03/02 17:40:03 1.2
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1$NetBSD: patch-aa,v 1.1.1.1 2005/10/29 01:05:17 minskim Exp $ 1$NetBSD: patch-aa,v 1.2 2009/03/02 17:40:03 joerg Exp $
2 2
3--- src/Makefile.in.orig 2003-04-06 13:22:35.000000000 -0700 3--- src/Makefile.in.orig 2003-04-06 13:22:35.000000000 -0700
4+++ src/Makefile.in 4+++ src/Makefile.in
5@@ -1,4 +1,4 @@ 5@@ -1,4 +1,4 @@
6-CC=gcc 6-CC=gcc
7+CC=@CC@ 7+CC=@CC@
8 CFLAGS=@CFLAGS@ 8 CFLAGS=@CFLAGS@
9 INC=-I../include 9 INC=-I../include
10 INSDIR=@prefix@/bin 10 INSDIR=@prefix@/bin
11@@ -12,7 +12,7 @@ chksniff.o: chksniff.c 11@@ -12,7 +12,7 @@ chksniff.o: chksniff.c
12 $(CC) $(CFLAGS) $(INC) -c chksniff.c 12 $(CC) $(CFLAGS) $(INC) -c chksniff.c
13  13
14 install:  14 install:
15- cp chksniff $(INSDIR) 15- cp chksniff $(INSDIR)
16+ $(BSD_INSTALL_PROGRAM) chksniff $(INSDIR) 16+ $(BSD_INSTALL_PROGRAM) chksniff ${DESTDIR}$(INSDIR)
17  17
18 uninstall:  18 uninstall:
19 rm $(INSDIR)/chksniff 19 rm $(INSDIR)/chksniff