aboutsummaryrefslogtreecommitdiffstats
path: root/security/yafic
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-12-18 17:50:08 +0800
committerkrion <krion@FreeBSD.org>2003-12-18 17:50:08 +0800
commit65483bc663deaae5854019fdeeab09cd8406680a (patch)
treea99fc361c0b88be145c5c8c84ab8994c64d752d6 /security/yafic
parent691917d0c8f206a98ca5238a0051fa6fec052652 (diff)
downloadfreebsd-ports-gnome-65483bc663deaae5854019fdeeab09cd8406680a.tar.gz
freebsd-ports-gnome-65483bc663deaae5854019fdeeab09cd8406680a.tar.zst
freebsd-ports-gnome-65483bc663deaae5854019fdeeab09cd8406680a.zip
- Update to version 1.2
PR: 60359 Submitted by: maintainer
Diffstat (limited to 'security/yafic')
-rw-r--r--security/yafic/Makefile30
-rw-r--r--security/yafic/distinfo2
-rw-r--r--security/yafic/pkg-plist4
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