From 7a5f0eb56566201302f8894ce7e9163cdb3d7e6f Mon Sep 17 00:00:00 2001 From: Alexander Gabert Date: Sat, 4 Oct 2003 10:46:20 +0000 Subject: removed sandbox violations from absolute paths in mk/Linux Makefile --- net-analyzer/p0f/Manifest | 4 ++-- net-analyzer/p0f/p0f-2.0.2.ebuild | 12 +++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'net-analyzer/p0f') 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 } + -- cgit v1.2.3-65-gdbad