1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Update to 1.2

- Pass maintainer-ship to submitter

PR:		93446
Submitted by:	Babak Farrokhi <babak@farrokhi.net>
This commit is contained in:
Emanuel Haupt 2006-02-20 22:24:33 +00:00
parent cf7e12753c
commit 7cf67db830
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156545
2 changed files with 32 additions and 11 deletions

View File

@ -6,28 +6,49 @@
#
PORTNAME= nefu
PORTVERSION= 0.9.6
PORTVERSION= 1.2
CATEGORIES= net-mgmt
MASTER_SITES= http://rsug.itd.umich.edu/software/nefu/files/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
MAINTAINER= babak@farrokhi.net
COMMENT= A network monitoring daemon
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} --disable-html
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib" \
YACC=${YACC} \
OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} --without-html \
--without-shelltests
USE_OPENSSL= yes
USE_AUTOTOOLS= libtool:15
OPTIONS= LDAP "Enable OpenLDAP support" off
MAN1= nefu.1
MAN4= nefu.conf.4
PLIST_FILES= bin/nefu
.include <bsd.port.pre.mk>
.if defined(WITH_LDAP)
USE_OPENLDAP= yes
CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}/lib
.else
CONFIGURE_ARGS+= --without-ldap
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lsasl2||' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|-lssl|-lssl -lcrypto|' \
${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/nefu.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/nefu.conf.4 ${PREFIX}/man/man4
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (nefu-0.9.6.tar.gz) = 430f9a3d2ea52f865c47895c93375ca3
SHA256 (nefu-0.9.6.tar.gz) = e4795728c79fbb2ec14c82cb4a6da1441550fb1337cc899b74bc1b6af3630c09
SIZE (nefu-0.9.6.tar.gz) = 231745
MD5 (nefu-1.2.tgz) = 93491f365a27f05da389a95d0255a45c
SHA256 (nefu-1.2.tgz) = 9edd4bcb702fe7335abad9393b6bbe6df9200512de30517eee75da1e832b2247
SIZE (nefu-1.2.tgz) = 308978