Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2012 14:16:50 GMT
From:      Geoff Garside <freebsd@geoffgarside.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/164352: [patch] irc/inspircd Makefile fixes
Message-ID:  <201201211416.q0LEGo5n074832@red.freebsd.org>
Resent-Message-ID: <201201211420.q0LEK9gd096826@freefall.freebsd.org>

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

>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:



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