Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 15:41:28 +0200 (CEST)
From:      Robin Gruyters <r.gruyters@yirdis.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        systemoperator@gmail.com
Subject:   ports/104618: [PATCH] net/nepenthes: update include WITH_PRELUDE option
Message-ID:  <200610201341.k9KDfSuH045333@server.yirdis.net>
Resent-Message-ID: <200610201350.k9KDoG0d038510@freefall.freebsd.org>

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

>Number:         104618
>Category:       ports
>Synopsis:       [PATCH] net/nepenthes: update include WITH_PRELUDE option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 20 13:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Robin Gruyters
>Release:        FreeBSD 5.4-RELEASE-p16 i386
>Organization:
YIRDIS B.V.
>Environment:
System: FreeBSD server.yirdis.net 5.4-RELEASE-p16 FreeBSD 5.4-RELEASE-p16 #7: Thu Jun 15 14:16:11 CEST 2006
>Description:
- Update to 0.1.7

Added WITH_PRELUDE option. Also added a patch to fix the 'missing prelude.h'
message.

For this to work, need to commit the following problem report:
http://www.freebsd.org/cgi/query-pr.cgi?pr=104328

Port maintainer (systemoperator@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- nepenthes-0.1.7_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/nepenthes/Makefile /data2/FreeBSD/custom_ports/security/nepenthes/Makefile
--- /usr/ports/net/nepenthes/Makefile	Fri Aug  4 16:04:13 2006
+++ /data2/FreeBSD/custom_ports/security/nepenthes/Makefile	Fri Oct 20 15:34:47 2006
@@ -7,7 +7,7 @@
 
 PORTNAME=	nepenthes
 PORTVERSION=	0.1.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	nepenthes
@@ -19,6 +19,12 @@
 		magic.1:${PORTSDIR}/sysutils/file \
 		pcre.0:${PORTSDIR}/devel/pcre \
 		adns.1:${PORTSDIR}/dns/adns
+
+.if defined(WITH_PRELUDE)
+LIB_DEPENDS+=		prelude.10:${PORTSDIR}/security/libprelude
+CONFIGURE_ARGS+=	--enable-prelude
+EXTRA_PATCHES=		${FILESDIR}/prelude_modules_log-prelude_Makefile.in.patch
+.endif
 
 USE_PERL5=	yes
 GNU_CONFIGURE=	yes
diff -ruN --exclude=CVS /usr/ports/net/nepenthes/files/prelude_modules_log-prelude_Makefile.in.patch /data2/FreeBSD/custom_ports/security/nepenthes/files/prelude_modules_log-prelude_Makefile.in.patch
--- /usr/ports/net/nepenthes/files/prelude_modules_log-prelude_Makefile.in.patch	Thu Jan  1 01:00:00 1970
+++ /data2/FreeBSD/custom_ports/security/nepenthes/files/prelude_modules_log-prelude_Makefile.in.patch	Fri Oct 20 15:35:12 2006
@@ -0,0 +1,11 @@
+--- modules/log-prelude/Makefile.in.orig	Sun Apr 23 19:49:07 2006
++++ modules/log-prelude/Makefile.in	Fri Oct 20 15:01:06 2006
+@@ -195,7 +195,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ AUTOMAKE_OPTIONS = foreign
+-AM_CPPFLAGS = -I/usr/include/libprelude -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
++AM_CPPFLAGS = -I/usr/local/include/libprelude -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+ AM_CXXFLAGS = -Wall
+ AM_LDFLAGS = 
+ pkglib_LTLIBRARIES = logprelude.la
--- nepenthes-0.1.7_2.patch ends here ---

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



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