cvs commit: ports/security/snoopy Makefile distinfo
ports/security/snoopy/files patch-README
Sahil Tandon
sahil at FreeBSD.org
Wed Aug 11 22:24:03 UTC 2010
On Wed, 2010-08-11 at 15:15:03 +0000, Baptiste Daroussin wrote:
[ .. ]
> Revision Changes Path
> 1.7 +2 -2 ports/security/snoopy/Makefile
> 1.3 +3 -3 ports/security/snoopy/distinfo
> 1.3 +7 -5 ports/security/snoopy/files/patch-README
Would you consider removing files/patch-README since the '/usr/local' ->
${PREFIX} replacement can be done in a single step from the Makefile?
Patch attached.
--
Sahil Tandon <sahil at FreeBSD.org>
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/snoopy/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile 11 Aug 2010 15:15:02 -0000 1.7
+++ Makefile 11 Aug 2010 21:53:40 -0000
@@ -20,7 +20,7 @@
GNU_CONFIGURE= yes
post-patch:
- @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/README
+ @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|g' ${WRKSRC}/README
@${REINPLACE_CMD} '/^LIBS.*/d' ${WRKSRC}/Makefile.in
do-install:
Index: files/patch-README
===================================================================
RCS file: files/patch-README
diff -N files/patch-README
--- files/patch-README 11 Aug 2010 15:15:03 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,20 +0,0 @@
---- ./README.orig 2010-08-05 01:02:04.000000000 +0200
-+++ ./README 2010-08-11 12:10:05.170201000 +0200
-@@ -51,14 +51,14 @@
- Snoopy is placed in /etc/ld.so.preload to trap all occurances of exec,
- if you wish to monitor only certain applications you can do so through
- the $LD_PRELOAD environment variable - simply set it to
-- /usr/local/lib/snoopy.so before loading the application. For example:
-+ %%PREFIX%%/lib/snoopy.so before loading the application. For example:
-
-- export LD_PRELOAD=/usr/local/lib/snoopy.so
-+ export LD_PRELOAD=%%PREFIX%%/lib/snoopy.so
- lynx http://linux.com/
- unset LD_PRELOAD
-
- To remove snoopy later, simply edit /etc/ld.so.preload and remove the
-- reference to snoopy.so and delete /usr/local/lib/snoopy.so.
-+ reference to snoopy.so and delete %%PREFIX%%/lib/snoopy.so.
-
-
-
More information about the cvs-all
mailing list