diff options
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/aolserver-nsmcrypt/Makefile | 49 | ||||
-rw-r--r-- | security/aolserver-nsmcrypt/distinfo | 3 | ||||
-rw-r--r-- | security/aolserver-nsmcrypt/pkg-descr | 6 | ||||
-rw-r--r-- | security/aolserver-nsmcrypt/pkg-plist | 3 |
5 files changed, 62 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 3ee9bddd9ef6..80972d8cee77 100644 --- a/security/Makefile +++ b/security/Makefile @@ -19,6 +19,7 @@ SUBDIR += amavisd-milter SUBDIR += amavisd-new SUBDIR += aolserver-nsencrypt + SUBDIR += aolserver-nsmcrypt SUBDIR += apg SUBDIR += arirang SUBDIR += audit diff --git a/security/aolserver-nsmcrypt/Makefile b/security/aolserver-nsmcrypt/Makefile new file mode 100644 index 000000000000..c0399a4348a8 --- /dev/null +++ b/security/aolserver-nsmcrypt/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: aolserver-nsmcrypt +# Date created: 12 Oct 2006 +# Whom: Martin Matuska <martin@matuska.org> +# +# $FreeBSD$ +# + +PORTNAME= aolserver-nsmcrypt +PORTVERSION= 1.0 +CATEGORIES= security www +MASTER_SITES= http://www.aolserver.cz/download/ +DISTFILES= nsmcrypt-${PORTVERSION}.tgz +DIST_SUBDIR= aolserver + +MAINTAINER= martin@matuska.org +COMMENT= AOLserver interface to mcrypt library + +WRKSRC= ${WRKDIR} + +AOLSERVERBASE?= ${PREFIX}/aolserver +LIB_DEPENDS+= mcrypt.8:${PORTSDIR}/security/mcrypt +BUILD_DEPENDS+= ${AOLSERVERBASE}/bin/nsd:${PORTSDIR}/www/aolserver +RUN_DEPENDS+= ${BUILD_DEPENDS} +PLIST_SUB+= AOLSERVERBASE=${AOLSERVERBASE:S/${PREFIX}\///} + +USE_GMAKE= yes +USE_TCL_BUILD= yes + +.include <bsd.port.pre.mk> + +MAKE_ARGS= NSHOME=${AOLSERVERBASE} MODLIBS="-L${LOCALBASE}/lib -lmcrypt" \ + CFLAGS="-I. -I${AOLSERVERBASE}/include -I${LOCALBASE}/include -I${TCL_INCLUDEDIR} -DAOL4=1 -fPIC" + +.if !defined(NOPORTDOCS) +PORTDOCS= AUTHORS COPYING README +.endif + +post-patch: + @ ${REINPLACE_CMD} -e 's|OBJS|MODOBJS|' ${WRKSRC}/Makefile + +post-install: +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${DOCSDIR} +.for FILE in ${PORTDOCS} + @ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.post.mk> diff --git a/security/aolserver-nsmcrypt/distinfo b/security/aolserver-nsmcrypt/distinfo new file mode 100644 index 000000000000..d98c37a140f1 --- /dev/null +++ b/security/aolserver-nsmcrypt/distinfo @@ -0,0 +1,3 @@ +MD5 (aolserver/nsmcrypt-1.0.tgz) = bf768b58f78ef93cc306c2a671ae0c03 +SHA256 (aolserver/nsmcrypt-1.0.tgz) = 1783f2167da0c699a95ae9c5e6412ccbf29e36d8fbd510e81c5e227af927b41b +SIZE (aolserver/nsmcrypt-1.0.tgz) = 19297 diff --git a/security/aolserver-nsmcrypt/pkg-descr b/security/aolserver-nsmcrypt/pkg-descr new file mode 100644 index 000000000000..aa30111d590a --- /dev/null +++ b/security/aolserver-nsmcrypt/pkg-descr @@ -0,0 +1,6 @@ +AOLserver interface to mcrypt library + +WWW: http://www.aolserver.cz/ + +- Martin Matuska +martin@matuska.org diff --git a/security/aolserver-nsmcrypt/pkg-plist b/security/aolserver-nsmcrypt/pkg-plist new file mode 100644 index 000000000000..b5af92014b50 --- /dev/null +++ b/security/aolserver-nsmcrypt/pkg-plist @@ -0,0 +1,3 @@ +%%AOLSERVERBASE%%/bin/nsmcrypt.so +%%AOLSERVERBASE%%/lib/libnsmcrypt.a +%%AOLSERVERBASE%%/lib/libnsmcrypt.so |