diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-10-25 04:03:28 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-10-25 04:03:28 +0000 |
commit | e2c010012543e207d476ce9ea49132fee751794c (patch) | |
tree | 062de485d965ff753b7c7de698e9e8f9cabe3a71 /net | |
parent | Remove extra ":" - it was causing syntax errors. (diff) |
Use our real binary's name in the syslog messages.
On hosts that support it, use LOG_SECURITY rather than LOG_PRIVAUTH.
(why this type of thing needs to be private, I don't understand)
Notes
Notes:
svn path=/head/; revision=22613
Diffstat (limited to 'net')
-rw-r--r-- | net/tdetect/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/net/tdetect/Makefile b/net/tdetect/Makefile index 75f2d135eae4..55bacf9e3d45 100644 --- a/net/tdetect/Makefile +++ b/net/tdetect/Makefile @@ -16,6 +16,14 @@ MASTER_SITES= http://sb.123.org/ \ MAINTAINER= shipley@dis.org +.include <bsd.port.pre.mk> + +pre-configure: + ${PERL} -pi.dist -e 's/trdetect/tdetect/g' ${WRKSRC}/config.h +.if ${OSVERSION} > 330002 + ${PERL} -pi.orig -e 's/LOG_AUTHPRIV/LOG_SECURITY/g' ${WRKSRC}/config.h +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tdetect ${PREFIX}/sbin/tdetect @@ -33,4 +41,4 @@ post-install: ${ECHO} ''; \ fi -.include <bsd.port.mk> +.include <bsd.port.post.mk> |