Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2003 01:25:46 -0800 (PST)
From:      Allan Saddi <allan@saddi.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60359: Update port: security/yafic to 1.2
Message-ID:  <20031218092546.6223EFF46@tranquility.saddi.net>
Resent-Message-ID: <200312180930.hBI9UKwb036319@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         60359
>Category:       ports
>Synopsis:       Update port: security/yafic to 1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 18 01:30:20 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Allan Saddi
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
Saddi Enterprises
>Environment:
System: FreeBSD tranquility.saddi.net 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #2: Tue Dec 16 23:13:55 PST 2003 root@tranquility.saddi.net:/usr/obj/usr/src/sys/TRANQUILITY i386

>Description:
Update yafic port to 1.2.

I'm the maintainer.

>How-To-Repeat:
	
>Fix:

diff -ru yafic/Makefile yafic.new/Makefile
--- yafic/Makefile	Sat Sep 27 09:58:34 2003
+++ yafic.new/Makefile	Thu Dec 18 01:12:57 2003
@@ -1,12 +1,12 @@
 # New ports collection makefile for:	yafic
 # Date created:		20 August 2001
-# Whom:			asaddi@philosophysw.com
+# Whom:			allan@saddi.com
 #
 # $FreeBSD: ports/security/yafic/Makefile,v 1.5 2003/09/27 16:58:34 erwin Exp $
 #
 
 PORTNAME=	yafic
-PORTVERSION=	1.1.1
+PORTVERSION=	1.2
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -18,8 +18,31 @@
 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
diff -ru yafic/distinfo yafic.new/distinfo
--- yafic/distinfo	Sat Sep 27 09:58:34 2003
+++ yafic.new/distinfo	Thu Dec 18 01:14:05 2003
@@ -1 +1 @@
-MD5 (yafic-1.1.1.tar.gz) = bcb501913ebea61720d21c62f9e647da
+MD5 (yafic-1.2.tar.gz) = ada58bf2b150ced760b1e1a814c152c2
diff -ru yafic/pkg-plist yafic.new/pkg-plist
--- yafic/pkg-plist	Mon Sep  3 11:30:56 2001
+++ yafic.new/pkg-plist	Thu Dec 18 01:13:18 2003
@@ -1,3 +1,5 @@
 bin/yafic
+%%CRYPTO%%bin/yafic-sign
+%%CRYPTO%%bin/yafic-check
 share/examples/yafic/yafic.conf.sample
 @dirrm share/examples/yafic
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031218092546.6223EFF46>