ports/164352: [patch] irc/inspircd Makefile fixes

Geoff Garside freebsd at geoffgarside.co.uk
Sat Jan 21 14:20:09 UTC 2012


>Number:         164352
>Category:       ports
>Synopsis:       [patch] irc/inspircd Makefile fixes
>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:   Sat Jan 21 14:20:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Geoff Garside
>Release:        8.2
>Organization:
>Environment:
>Description:
The irc/inspircd Makefile is currently missing the INSPIRCD_LOG and INSPIRCD_RUN  variables in the SUB_PLIST which results in a malformed etc/rc.d/inspircd file.

Additionally when built with the GNUTLS option enabled the port fails to build due to a missing libgcrypt dependency for the m_ssl_gnutls.cpp file.

I've left the option of bumping the port revision to the committer as no actual source changes have been made.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN /usr/ports/irc/inspircd/Makefile inspircd/Makefile
--- /usr/ports/irc/inspircd/Makefile	2011-07-24 19:24:47.000000000 +0100
+++ inspircd/Makefile	2012-01-21 01:29:06.000000000 +0000
@@ -31,6 +31,8 @@
 SUB_LIST+=	PORTNAME=${PORTNAME}         \
 		INSPIRCD_USR=${INSPIRCD_USR} \
 		INSPIRCD_GRP=${INSPIRCD_GRP} \
+		INSPIRCD_LOG=${INSPIRCD_LOG} \
+		INSPIRCD_RUN=${INSPIRCD_RUN}
 PLIST_SUB+=	INSPIRCD_GRP=${INSPIRCD_GRP}
 SUB_FILES+=	pkg-deinstall
 
@@ -90,7 +92,8 @@
 .endif
 
 .if defined(WITH_GNUTLS) && !defined(WITHOUT_GNUTLS)
-LIB_DEPENDS+=	gnutls.47:${PORTSDIR}/security/gnutls
+LIB_DEPENDS+=	gnutls.47:${PORTSDIR}/security/gnutls \
+		gcrypt.18:${PORTSDIR}/security/libgcrypt
 CONFIGURE_ARGS+=	--enable-gnutls
 PLIST_SUB+=	GNUTLS=""
 .else


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list