diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-18 09:50:08 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-18 09:50:08 +0000 |
commit | 57a7b6d9fc6c2f480b5c0f56d279b273158a2a4b (patch) | |
tree | 5051314985ad8c2497fdb87cad4d34b3b5356041 /security/yafic | |
parent | 1e21b2a89ae9279874e06c2b917d4d713e21b834 (diff) | |
download | ports-57a7b6d9fc6c2f480b5c0f56d279b273158a2a4b.tar.gz ports-57a7b6d9fc6c2f480b5c0f56d279b273158a2a4b.zip |
- Update to version 1.2
PR: 60359
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=96137
Diffstat (limited to 'security/yafic')
-rw-r--r-- | security/yafic/Makefile | 30 | ||||
-rw-r--r-- | security/yafic/distinfo | 2 | ||||
-rw-r--r-- | security/yafic/pkg-plist | 4 |
3 files changed, 31 insertions, 5 deletions
diff --git a/security/yafic/Makefile b/security/yafic/Makefile index 3384d1826499..2fddb2f0f80b 100644 --- a/security/yafic/Makefile +++ b/security/yafic/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: yafic # Date created: 20 August 2001 -# Whom: asaddi@philosophysw.com +# Whom: allan@saddi.com # # $FreeBSD$ # PORTNAME= yafic -PORTVERSION= 1.1.1 +PORTVERSION= 1.2 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,15 +15,39 @@ MAINTAINER= allan@saddi.com COMMENT= Yet Another File Integrity Checker, similar to Tripwire GNU_CONFIGURE= yes +CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} USE_GMAKE= yes CONFIGURE_ENV= LDFLAGS="-static" +.if defined(WITHOUT_OPENSSL) +CONFIGURE_ARGS= --disable-crypto +PLIST_SUB+= CRYPTO="@comment " +.else +PLIST_SUB+= CRYPTO="" +.endif + MAN1= yafic.1 +.if !defined(WITHOUT_OPENSSL) +MAN1+= yafic-sign.1 +MLINKS= yafic-sign.1 yafic-check.1 +.endif MAN5= yafic.conf.5 +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/yafic ${PREFIX}/bin +.if !defined(WITHOUT_OPENSSL) + ${INSTALL_PROGRAM} ${WRKSRC}/yafic-sign ${PREFIX}/bin + ${LN} -f ${PREFIX}/bin/yafic-sign ${PREFIX}/bin/yafic-check +.endif + ${INSTALL_MAN} ${WRKSRC}/yafic.1 ${PREFIX}/man/man1 +.if !defined(WITHOUT_OPENSSL) + ${INSTALL_MAN} ${WRKSRC}/yafic-sign.1 ${PREFIX}/man/man1 +.endif + ${INSTALL_MAN} ${WRKSRC}/yafic.conf.5 ${PREFIX}/man/man5 + post-install: @${MKDIR} ${PREFIX}/share/examples/yafic - @${CP} ${FILESDIR}/yafic.conf.sample ${PREFIX}/share/examples/yafic + @${CP} ${FILESDIR}/yafic.conf.sample ${EXAMPLESDIR} @${ECHO} @${SED} -e "s%@@PREFIX@@%${PREFIX}%g" ${PKGMESSAGE} @${ECHO} diff --git a/security/yafic/distinfo b/security/yafic/distinfo index 1dd30e10be58..de2fd517f67f 100644 --- a/security/yafic/distinfo +++ b/security/yafic/distinfo @@ -1 +1 @@ -MD5 (yafic-1.1.1.tar.gz) = bcb501913ebea61720d21c62f9e647da +MD5 (yafic-1.2.tar.gz) = ada58bf2b150ced760b1e1a814c152c2 diff --git a/security/yafic/pkg-plist b/security/yafic/pkg-plist index 1f7138aab83a..84ba9fa5f86d 100644 --- a/security/yafic/pkg-plist +++ b/security/yafic/pkg-plist @@ -1,3 +1,5 @@ bin/yafic -share/examples/yafic/yafic.conf.sample +%%CRYPTO%%bin/yafic-sign +%%CRYPTO%%bin/yafic-check +%%EXAMPLESDIR%%/yafic.conf.sample @dirrm share/examples/yafic |