ports/65996: Update port: security/shishi
KATO Tsuguru
tkato at prontomail.com
Mon Apr 26 13:10:20 UTC 2004
>Number: 65996
>Category: ports
>Synopsis: Update port: security/shishi
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 26 06:10:19 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.9-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Fix LIB_DEPENDS
- Fix handling PKGMESSAGE
New file:
files/pkg-message.in
Remove file:
pkg-message
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/security/shishi/Makefile security/shishi/Makefile
--- /usr/ports/security/shishi/Makefile Mon Apr 19 11:41:48 2004
+++ security/shishi/Makefile Mon Apr 19 20:07:38 2004
@@ -8,6 +8,7 @@
PORTNAME= shishi
PORTVERSION= 0.0.15
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://josefsson.org/${PORTNAME}/releases/
@@ -15,35 +16,40 @@
COMMENT= A free implementation of the Kerberos 5 network security system
LIB_DEPENDS= idn.13:${PORTSDIR}/devel/libidn \
+ gcrypt.10:${PORTSDIR}/security/libgcrypt-devel \
tasn1.2:${PORTSDIR}/security/libtasn1
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
USE_PERL5_BUILD= yes
USE_GNOME= gnomehack gnometarget pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
MAKEINFO="makeinfo --no-split"
-CONFIGURE_ARGS= --without-libgcrypt --disable-starttls \
+CONFIGURE_ARGS= --disable-starttls \
--with-db-dir=/var/shishi
INSTALLS_SHLIB= yes
INFO= shishi
-.if !defined(WITHOUT_NLS)
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
.endif
-SED_SCRIPT+= -e 's,%%PREFIX%%,${PREFIX},g'
-
post-extract:
@${RM} -f ${WRKSRC}/doc/shishi.info*
+post-patch:
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
+ ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
+
post-install:
- @${SED} ${SED_SCRIPT} < ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include "Makefile.man"
.include <bsd.port.mk>
diff -urN /usr/ports/security/shishi/files/pkg-message.in security/shishi/files/pkg-message.in
--- /usr/ports/security/shishi/files/pkg-message.in Thu Jan 1 09:00:00 1970
+++ security/shishi/files/pkg-message.in Mon Apr 19 19:51:16 2004
@@ -0,0 +1,7 @@
+=================================================================
+NOTE: To finish installing this port, you need to execute the
+following commands:
+
+# mkdir -m 0700 -p /var/shishi
+# %%PREFIX%%/bin/shisa -a > %%PREFIX%%/etc/shishi/shishi.keys
+=================================================================
diff -urN /usr/ports/security/shishi/pkg-message security/shishi/pkg-message
--- /usr/ports/security/shishi/pkg-message Mon Apr 19 11:41:48 2004
+++ security/shishi/pkg-message Thu Jan 1 09:00:00 1970
@@ -1,7 +0,0 @@
-=================================================================
-NOTE: To finish installing this port, you need to execute the
-following commands:
-
-# mkdir -m 0700 -p /var/shishi
-# %%PREFIX%%/bin/shisa -a > %%PREFIX%%/etc/shishi/shishi.keys
-=================================================================
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list