summaryrefslogtreecommitdiff
path: root/security/sniff
diff options
context:
space:
mode:
authorjoerg <joerg>2009-02-16 18:44:40 +0000
committerjoerg <joerg>2009-02-16 18:44:40 +0000
commite6559ad620d497a77bfcfb6f2954bbdad7af1b93 (patch)
treefc7342abe7027bb3bf3435d8dbc8cfe8cd7419ab /security/sniff
parentad721a19f6eb60817b8f0a53747bcb3e59bdfcc1 (diff)
downloadpkgsrc-e6559ad620d497a77bfcfb6f2954bbdad7af1b93.tar.gz
DESTDIR support
Diffstat (limited to 'security/sniff')
-rw-r--r--security/sniff/Makefile6
-rw-r--r--security/sniff/distinfo4
-rw-r--r--security/sniff/patches/patch-aa6
3 files changed, 9 insertions, 7 deletions
diff --git a/security/sniff/Makefile b/security/sniff/Makefile
index 3024feb3ace..99a41d406c0 100644
--- a/security/sniff/Makefile
+++ b/security/sniff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/04/07 18:04:40 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2009/02/16 18:49:58 joerg Exp $
#
DISTNAME= sniff-2.0
@@ -8,7 +8,9 @@ MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= zuntum@NetBSD.org
COMMENT= Program to sniff logins and passwords
-INSTALLATION_DIRS= sbin
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= ${PKGMANDIR}/man1 sbin
.include "../../mk/bsd.prefs.mk"
diff --git a/security/sniff/distinfo b/security/sniff/distinfo
index a5282c9f12a..c91c522c6f0 100644
--- a/security/sniff/distinfo
+++ b/security/sniff/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 13:10:13 agc Exp $
+$NetBSD: distinfo,v 1.5 2009/02/16 18:49:58 joerg Exp $
SHA1 (sniff-2.0.tar.gz) = 9e9ef76eaccaa6cbb3c23054a29a08dd9faed328
RMD160 (sniff-2.0.tar.gz) = 8879f5ffcfc3f59fcde7cbc5c103d7c7f4947c4b
Size (sniff-2.0.tar.gz) = 10720 bytes
-SHA1 (patch-aa) = 8e5d7967940c60f3bb6c53ab053e7c95c7371605
+SHA1 (patch-aa) = 52fa7e4382fa4abe5357af3ad0cbded00939b1e0
diff --git a/security/sniff/patches/patch-aa b/security/sniff/patches/patch-aa
index 40aa34f9aec..c6fd1738370 100644
--- a/security/sniff/patches/patch-aa
+++ b/security/sniff/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2003/10/06 07:53:04 jlam Exp $
+$NetBSD: patch-aa,v 1.4 2009/02/16 18:49:58 joerg Exp $
--- Makefile.orig Thu Feb 15 04:47:36 2001
+++ Makefile
@@ -25,8 +25,8 @@ $NetBSD: patch-aa,v 1.3 2003/10/06 07:53:04 jlam Exp $
install:
- $(CP) sniff2 $(INSTALL_DIR)
- $(CP) sniff2.1 $(INSTALL_MAN)/man1
-+ $(BSD_INSTALL_PROGRAM) sniff2 $(INSTALL_DIR)
-+ $(BSD_INSTALL_MAN) sniff2.1 $(INSTALL_MAN)/man1
++ $(BSD_INSTALL_PROGRAM) sniff2 ${DESTDIR}$(INSTALL_DIR)
++ $(BSD_INSTALL_MAN) sniff2.1 ${DESTDIR}$(INSTALL_MAN)/man1
clean:
$(RM) $(OBJS) sniff2