aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2004-02-07 15:48:29 +0800
committeroliver <oliver@FreeBSD.org>2004-02-07 15:48:29 +0800
commit5678d1b06738e5cb983fdba85398930d9fa71606 (patch)
treed5304dc2c9546398565b6f5e8f239e28dc472d87 /security
parent3c81e98e7dcffbd61a2c4ba47254a89e22f4c885 (diff)
downloadfreebsd-ports-gnome-5678d1b06738e5cb983fdba85398930d9fa71606.tar.gz
freebsd-ports-gnome-5678d1b06738e5cb983fdba85398930d9fa71606.tar.zst
freebsd-ports-gnome-5678d1b06738e5cb983fdba85398930d9fa71606.zip
* Remove duplication of RC_SUBR checking now that it's in bsd.pork.mk
* Use *.conf files in PREFIX/etc rather than /etc * SIZE in distinfo Submitted By: Robin Breathe <robin@isometry.net>
Diffstat (limited to 'security')
-rw-r--r--security/oidentd/Makefile10
-rw-r--r--security/oidentd/distinfo1
2 files changed, 6 insertions, 5 deletions
diff --git a/security/oidentd/Makefile b/security/oidentd/Makefile
index af714c198d81..6d55ae02f356 100644
--- a/security/oidentd/Makefile
+++ b/security/oidentd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= oidentd
PORTVERSION= 2.0.7
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ojnk
@@ -16,6 +16,7 @@ MAINTAINER= oliver@FreeBSD.org
COMMENT= Ident server that supports user-defined ident strings
USE_GMAKE= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -25,11 +26,10 @@ PLIST_FILES= sbin/oidentd
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500038
-RC_SUBR= /etc/rc.subr
-.else
USE_RC_SUBR= yes
-.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,/etc/,${PREFIX}/,g' ${WRKSRC}/src/oidentd.h
post-build:
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
diff --git a/security/oidentd/distinfo b/security/oidentd/distinfo
index cd8ad59303e5..7f8307d4722a 100644
--- a/security/oidentd/distinfo
+++ b/security/oidentd/distinfo
@@ -1 +1,2 @@
MD5 (oidentd-2.0.7.tar.gz) = cf1c017496b066b45ffe3d7a303fd6ad
+SIZE (oidentd-2.0.7.tar.gz) = 196027