Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2014 23:50:05 +0900
From:      "Takumi Takahashi" <takumi@privu.tmfam.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        cy@FreeBSD.org
Subject:   ports/189953: [PATCH] sysutils/syslog-ng: fix enable SPOOF option and microfix
Message-ID:  <201405191450.s4JEo58P032653@ms-omx11.plus.so-net.ne.jp>
Resent-Message-ID: <201405191540.s4JFe1cw020581@freefall.freebsd.org>

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

>Number:         189953
>Category:       ports
>Synopsis:       [PATCH] sysutils/syslog-ng: fix enable SPOOF option and microfix
>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 May 19 15:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Takumi Takahashi
>Release:        FreeBSD 10.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD srv.privu.tmfam.com 10.0-STABLE FreeBSD 10.0-STABLE #0 r266389: Sun May 18 11:48:33 JST
>Description:
fix enable SPOOF option and add LICENSE.

Port maintainer (cy@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- syslog-ng-3.5.4.1.patch begins here ---
diff -ruN /usr/ports/sysutils/syslog-ng/Makefile ./Makefile
--- /usr/ports/sysutils/syslog-ng/Makefile	2014-03-25 22:31:11.000000000 +0900
+++ ./Makefile	2014-05-19 23:26:42.884068148 +0900
@@ -11,6 +11,9 @@
 MAINTAINER=	cy@FreeBSD.org
 COMMENT=	A powerful syslogd replacement
 
+LICENSE=	GPLv2 LGPL21
+LICENSE_COMB=	dual
+
 CONFLICTS?=	syslog-ng-[0-9]* syslog-ng[0-9]-[0-9]* \
 		syslog-ng[0-9][0-9]-[0-9]* \
 		syslog-ng-devel-[0-9]*
@@ -76,7 +79,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MSPOOF}
-BUILD_DEPENDS=		${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
+BUILD_DEPENDS+=		${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
 LIBNET_CONFIG?=		${LOCALBASE}/bin/libnet11-config
 CONFIGURE_ARGS+=	--enable-spoof-source --with-libnet=${LOCALBASE}/bin
 CFLAGS+=		`${LIBNET_CONFIG} --cflags` -I${LOCALBASE}/include
@@ -115,9 +118,8 @@
 CONFIGURE_ARGS+=        --disable-redis
 .endif
 
-
 .if ${PORT_OPTIONS:MSMTP}
-CONFIGURE_ARGS+=	--with-libesmtp=/usr/local/
+CONFIGURE_ARGS+=	--with-libesmtp=${LOCALBASE}
 LIB_DEPENDS+=		libesmtp.so:${PORTSDIR}/mail/libesmtp
 PLIST_FILES+=		lib/syslog-ng/libafsmtp.la lib/syslog-ng/libafsmtp.so
 .else
diff -ruN /usr/ports/sysutils/syslog-ng/pkg-descr ./pkg-descr
--- /usr/ports/sysutils/syslog-ng/pkg-descr	2014-01-23 00:44:51.000000000 +0900
+++ ./pkg-descr	2014-05-19 23:20:25.363835682 +0900
@@ -14,4 +14,4 @@
     AMQP), files or databases (like PostgreSQL or MongoDB).
 
 The official home page of syslog-ng is:
-http://www.balabit.com/network-security/syslog-ng/
+WWW: http://www.balabit.com/network-security/syslog-ng/
--- syslog-ng-3.5.4.1.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?201405191450.s4JEo58P032653>