summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2003-10-04 10:46:20 +0000
committerAlexander Gabert <pappy@gentoo.org>2003-10-04 10:46:20 +0000
commit7a5f0eb56566201302f8894ce7e9163cdb3d7e6f (patch)
tree4d3c9d8e0155dc412693f4db7cfa08c70dbf7a17 /net-analyzer/p0f
parentremoved sandbox violations from absolute paths in mk/Linux Makefile (diff)
downloadhistorical-7a5f0eb56566201302f8894ce7e9163cdb3d7e6f.tar.gz
historical-7a5f0eb56566201302f8894ce7e9163cdb3d7e6f.tar.bz2
historical-7a5f0eb56566201302f8894ce7e9163cdb3d7e6f.zip
removed sandbox violations from absolute paths in mk/Linux Makefile
Diffstat (limited to 'net-analyzer/p0f')
-rw-r--r--net-analyzer/p0f/Manifest4
-rw-r--r--net-analyzer/p0f/p0f-2.0.2.ebuild12
2 files changed, 11 insertions, 5 deletions
diff --git a/net-analyzer/p0f/Manifest b/net-analyzer/p0f/Manifest
index b8228120c419..050e9978b5ac 100644
--- a/net-analyzer/p0f/Manifest
+++ b/net-analyzer/p0f/Manifest
@@ -1,6 +1,6 @@
MD5 994925b7f99fb96fafe52a0c4de0eadf p0f-1.8.2.ebuild 824
-MD5 ee099488d27f2a19642acdc468808168 ChangeLog 739
-MD5 0671f4aa4c3c76b95b82155abbbd1632 p0f-2.0.2.ebuild 924
+MD5 fe35630de6f123f62438cd55c1d2b2f1 ChangeLog 739
+MD5 98fb955d98b1b9bbaa8712cfc44b6652 p0f-2.0.2.ebuild 924
MD5 f184953061e4a88dad985e15eb2b4f22 files/p0f-1.8.2-makefile.patch 377
MD5 4300ad8d7b84f6ecbde6eae906925700 files/p0f-1.8.2.rc 1292
MD5 f6ee2143700cca09dfededeef39ed216 files/digest-p0f-1.8.2 57
diff --git a/net-analyzer/p0f/p0f-2.0.2.ebuild b/net-analyzer/p0f/p0f-2.0.2.ebuild
index a482c8521d38..3a0cb9470a8b 100644
--- a/net-analyzer/p0f/p0f-2.0.2.ebuild
+++ b/net-analyzer/p0f/p0f-2.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/p0f-2.0.2.ebuild,v 1.1 2003/10/03 23:57:42 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/p0f-2.0.2.ebuild,v 1.2 2003/10/04 10:46:13 pappy Exp $
DESCRIPTION="p0f performs passive OS detection based on SYN packets."
SRC_URI="http://lcamtuf.coredump.cx/p0f.tgz"
@@ -11,12 +11,18 @@ KEYWORDS="~x86"
DEPEND="net-libs/libpcap"
-src_compile() {
+src_compile () {
cd ${WORKDIR}/p0f
+ sed -i "s: /usr/sbin/: ../../image/usr/sbin/:g" ${WORKDIR}/p0f/mk/Linux
+ sed -i "s: /etc/p0f: ../../image/etc/p0f:g" ${WORKDIR}/p0f/mk/Linux
+ sed -i "s: /usr/man/man1/: ../../image/usr/man/man1/:g" ${WORKDIR}/p0f/mk/Linux
make || die
}
src_install () {
cd ${WORKDIR}/p0f
- make DESTDIR=${D} install || die
+ dodir /usr/sbin; dodir /etc/p0f; dodir /usr/man/man1
+ mkdir -p ../../image/usr/sbin ../../image/etc/p0f ../../image/usr/man/man1
+ make install || die
}
+