Bug 53119 - [patch] port: security/libfwbuilder Fix build errors under 5.x
Summary: [patch] port: security/libfwbuilder Fix build errors under 5.x
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Foxfair Hu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-09 20:50 UTC by Vadim Kurland
Modified: 2003-06-10 17:19 UTC (History)
1 user (show)

See Also:


Attachments
libfwbuilder-port.diff (964 bytes, patch)
2003-06-09 20:50 UTC, Vadim Kurland
no flags Details | Diff
libfwbuilder-port.diff (2.29 KB, patch)
2003-06-10 08:55 UTC, Vadim Kurland
no flags Details | Diff
libfwbuilder-port.diff (2.38 KB, patch)
2003-06-10 09:04 UTC, Vadim Kurland
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Kurland 2003-06-09 20:50:05 UTC
	This port needed a dependency on aclocal:${PORTSDIR}/devel/automake
	to build on 5.x properly

	Also I am taking over maintainership of this port. I am the author
	of the original software (Firewall Builder API library)
Comment 1 Foxfair Hu freebsd_committer freebsd_triage 2003-06-10 00:28:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->foxfair

I'll handle this.
Comment 2 Foxfair Hu 2003-06-10 02:32:42 UTC
Another patch against to libfwbuilder Makefile v1.8, the latest version in
ports CVS. You can also obtain it at this link:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/libfwbuilder/

  Note that I bump PORTREVISION too. I sill have some trouble with
port package issue, and you can reproduce the problem by doing
`make package` and pkg_add / pkg_delete things. There are several
errors in the last two steps in my boxes.

foxfair
======= patch start ========
diff --exclude=work -ruN /usr/ports/security/libfwbuilder/Makefile ./Makefile
--- /usr/ports/security/libfwbuilder/Makefile	Mon Jun  2 12:56:09 2003
+++ ./Makefile	Mon Jun  9 23:24:39 2003
@@ -6,32 +6,30 @@
 
 PORTNAME=	libfwbuilder
 PORTVERSION=	1.0.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	fwbuilder
 
-MAINTAINER=	devnull@uptsoft.com
+MAINTAINER=	vadim@fwbuilder.org
 COMMENT=	Firewall Builder API
 
 BUILD_DEPENDS=	autoconf:${PORTSDIR}/devel/autoconf \
-		automake:${PORTSDIR}/devel/automake
+		aclocal:${PORTSDIR}/devel/automake
 LIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2 \
 		xslt.1:${PORTSDIR}/textproc/libxslt \
-		netsnmp.5:${PORTSDIR}/net/net-snmp \
-		isc.1:${PORTSDIR}/net/bind9
-
+		netsnmp.5:${PORTSDIR}/net/net-snmp
 .if !defined(USE_OPENSSL)
 LIB_DEPENDS+=	crypto.3:${PORTSDIR}/security/openssl
 .endif
 
 CONFIGURE_SCRIPT= autogen.sh
-CONFIGURE_ARGS=
-
+#CONFIGURE_ARGS=
 USE_AUTOCONF=	yes
 USE_GMAKE=	yes
 USE_LIBTOOL=	yes
 USE_GTK=	no
+USE_XLIB=	yes
 INSTALLS_SHLIB=	yes
 PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
===== patch end =====

  To Vadim: Another patch made only for your tarball file is also
availble here:
  
http://people.freebsd.org/~foxfair/patch.libfwbuilder-orig 

Comment 3 Vadim Kurland 2003-06-10 08:55:05 UTC
New patch against current port security/libfwbuilder

Added dependency on openssl back, libfwbuilder needs it.
Do not need USE_XLIB

Tested on the brand new 5.1-RELEASE system specifically installed from 
CD for this test. Sequence "make package", "make deinstall", "pkg_add 
libfwbuilder-1.0.0_2.tbz" , "pkg_delete libfwbuilder-1.0.0_2" works 
flawlessly.

Comment 4 Vadim Kurland 2003-06-10 09:04:49 UTC

New patch against current port security/libfwbuilder

Added dependency on openssl back, libfwbuilder needs it.
Do not need USE_XLIB

Tested on the brand new 5.1-RELEASE system specifically installed from CD 
for this test. Sequence "make package", "make deinstall", "pkg_add 
libfwbuilder-1.0.0_2.tbz" , "pkg_delete libfwbuilder-1.0.0_2" works 
flawlessly.

--vk
Comment 5 Foxfair Hu freebsd_committer freebsd_triage 2003-06-10 17:12:48 UTC
State Changed
From-To: open->closed

Committed, thanks!