ports/72308: [MAINTAINER] dns/posadis: unbreak under 5.x

Sergei Kolobov sergei at FreeBSD.org
Mon Oct 4 13:30:31 UTC 2004


>Number:         72308
>Category:       ports
>Synopsis:       [MAINTAINER] dns/posadis: unbreak under 5.x
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 04 13:30:30 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 5.3-BETA7 i386
>Organization:
>Environment:
System: FreeBSD arnor.elendil.ru 5.3-BETA7 FreeBSD 
>Description:
- Unbreak dns/posadis build under 5.x by upgrading to the latest version: 
  0.60.5
- Update its dependency devel/poslib to 1.0.5 (prerequisite)

>How-To-Repeat:
>Fix:

--- posadis-0.60.5.patch begins here ---
Index: posadis/Makefile
===================================================================
RCS file: /FreeBSD/cvs/ports/dns/posadis/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- posadis/Makefile	26 Sep 2004 02:15:41 -0000	1.9
+++ posadis/Makefile	4 Oct 2004 13:19:23 -0000
@@ -6,18 +6,22 @@
 #
 
 PORTNAME=	posadis
-PORTVERSION=	0.60.1
-PORTREVISION=	2
+PORTVERSION=	0.60.5
 CATEGORIES=	dns
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	sergei at FreeBSD.org
-COMMENT=	"Domain Name Server (DNS) implementation"
+COMMENT=	Domain Name Server (DNS) implementation
 
 LIB_DEPENDS=	poslib.0:${PORTSDIR}/devel/poslib
 
+USE_AUTOCONF_VER=	259
+USE_INC_LIBTOOL_VER=	15
 USE_LIBLTDL=	yes
+INSTALLS_SHLIB=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
 
 .if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so)
 CONFIGURE_ARGS=	--enable-fam
@@ -29,27 +33,16 @@
 PLIST_SUB=	FAM="@comment "
 .endif
 
-USE_LIBTOOL_VER=	13
-CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
-INSTALLS_SHLIB=	yes
-
 PLIST_SUB+=	VERSION="${PORTVERSION}"
 
 MAN1=		getzone.1 posadis.1 posadis-getroots.1 posask.1 poshost.1
 MAN5=		posadisrc.5
 DOCS=		AUTHORS ChangeLog README TODO
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN=		"Does not compile on FreeBSD >= 5.x"
-.endif
-
 .if !defined(NOPORTDOCS)
 post-install:
 	@${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: posadis/distinfo
===================================================================
RCS file: /FreeBSD/cvs/ports/dns/posadis/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- posadis/distinfo	30 Jan 2004 16:03:26 -0000	1.3
+++ posadis/distinfo	4 Oct 2004 08:35:27 -0000
@@ -1,2 +1,2 @@
-MD5 (posadis-0.60.1.tar.gz) = feccf256162504785e994e5394594615
-SIZE (posadis-0.60.1.tar.gz) = 489050
+MD5 (posadis-0.60.5.tar.gz) = 8b13be1332a67f74b1ae36b3ab5dc80a
+SIZE (posadis-0.60.5.tar.gz) = 438025
Index: posadis/pkg-plist
===================================================================
RCS file: /FreeBSD/cvs/ports/dns/posadis/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- posadis/pkg-plist	14 Oct 2003 14:39:55 -0000	1.4
+++ posadis/pkg-plist	4 Oct 2004 10:52:47 -0000
@@ -1,3 +1,4 @@
+ at comment $FreeBSD$
 bin/getzone
 bin/posadis
 bin/posadis-config
@@ -12,6 +13,7 @@
 include/posadis-%%VERSION%%/lib.h
 include/posadis-%%VERSION%%/masterfile.h
 include/posadis-%%VERSION%%/pbl.h
+include/posadis-%%VERSION%%/posadisrc.h
 include/posadis-%%VERSION%%/query.h
 include/posadis-%%VERSION%%/recursive.h
 include/posadis-%%VERSION%%/resolver.h
@@ -21,7 +23,6 @@
 include/posadis-%%VERSION%%/vector.h
 include/posadis-%%VERSION%%/zones.h
 include/posadis-%%VERSION%%/zonetransfer.h
- at dirrm include/posadis-%%VERSION%%
 %%FAM%%lib/posadis/fam.la
 %%FAM%%lib/posadis/fam.so
 %%FAM%%lib/posadis/fam.so.0
@@ -31,12 +32,13 @@
 lib/posadis/revmap.la
 lib/posadis/revmap.so
 lib/posadis/revmap.so.0
- at dirrm lib/posadis
 lib/posadis-%%VERSION%%/include/posadis-config.h
- at dirrm lib/posadis-%%VERSION%%/include
- at dirrm lib/posadis-%%VERSION%%
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/TODO
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrm include/posadis-%%VERSION%%
+ at dirrm lib/posadis-%%VERSION%%/include
+ at dirrm lib/posadis-%%VERSION%%
+ at dirrm lib/posadis
Index: posadis/files/patch-Makefile.in
===================================================================
RCS file: posadis/files/patch-Makefile.in
diff -N posadis/files/patch-Makefile.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ posadis/files/patch-Makefile.in	4 Oct 2004 09:56:16 -0000
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Mon Oct  4 13:52:11 2004
++++ Makefile.in	Mon Oct  4 13:52:19 2004
+@@ -89,7 +89,7 @@ poslib_srvcxxflags = @poslib_srvcxxflags
+ poslib_srvldflags = @poslib_srvldflags@
+ poslib_version = @poslib_version@
+ 
+-SUBDIRS = libltdl pos6 tools
++SUBDIRS = pos6 tools
+ 
+ EXTRA_DIST = pos6.kdevprj AUTHORS COPYING ChangeLog INSTALL README TODO              posadis-config.in posadis.1 posadisrc.5 posadisrc              zn.acdam.com.example db.acdam.net.example
+ 
Index: posadis/files/patch-configure.in
===================================================================
RCS file: posadis/files/patch-configure.in
diff -N posadis/files/patch-configure.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ posadis/files/patch-configure.in	4 Oct 2004 08:57:03 -0000
@@ -0,0 +1,11 @@
+--- configure.in.orig	Mon Oct  4 12:52:42 2004
++++ configure.in	Mon Oct  4 12:52:54 2004
+@@ -27,8 +27,6 @@ AC_ENABLE_STATIC(no)
+ 
+ AC_LIBLTDL_INSTALLABLE
+ 
+-AC_CONFIG_SUBDIRS(libltdl)
+-
+ AC_SUBST(LTDLINCL)
+ AC_SUBST(LIBLTDL)
+ 
Index: poslib/Makefile
===================================================================
RCS file: /FreeBSD/cvs/ports/devel/poslib/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- poslib/Makefile	14 Mar 2004 06:16:24 -0000	1.6
+++ poslib/Makefile	4 Oct 2004 08:15:21 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	poslib
-PORTVERSION=	1.0.1
-PORTREVISION=	2
+PORTVERSION=	1.0.5
 CATEGORIES=	devel dns
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	posadis
@@ -16,8 +15,9 @@
 COMMENT=	Posadis C++ DNS library
 
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	LIBS="${PTHREAD_LIBS}"
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-USE_LIBTOOL_VER=	13
+USE_INC_LIBTOOL_VER=	15
 INSTALLS_SHLIB=	yes
 
 PLIST_SUB=	VERSION="${PORTVERSION}"
Index: poslib/distinfo
===================================================================
RCS file: /FreeBSD/cvs/ports/devel/poslib/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- poslib/distinfo	30 Jan 2004 16:03:26 -0000	1.3
+++ poslib/distinfo	4 Oct 2004 08:08:58 -0000
@@ -1,2 +1,2 @@
-MD5 (poslib-1.0.1.tar.gz) = 7023b9142f89266762418283bac6df7b
-SIZE (poslib-1.0.1.tar.gz) = 292970
+MD5 (poslib-1.0.5.tar.gz) = 9470b991bcaace0b1c00f32cbeda0cff
+SIZE (poslib-1.0.5.tar.gz) = 258380
Index: poslib/pkg-plist
===================================================================
RCS file: /FreeBSD/cvs/ports/devel/poslib/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- poslib/pkg-plist	6 Oct 2003 17:58:51 -0000	1.2
+++ poslib/pkg-plist	27 Mar 2004 22:40:38 -0000
@@ -21,7 +21,6 @@
 include/poslib-%%VERSION%%/poslib/server/server.h
 include/poslib-%%VERSION%%/poslib/server/serverthread.h
 include/poslib-%%VERSION%%/poslib/server/srvresolver.h
- at dirrm include/poslib-%%VERSION%%/poslib/server
 include/poslib-%%VERSION%%/poslib/socket.h
 include/poslib-%%VERSION%%/poslib/syssocket.h
 include/poslib-%%VERSION%%/poslib/sysstl.h
@@ -29,8 +28,6 @@
 include/poslib-%%VERSION%%/poslib/types.h
 include/poslib-%%VERSION%%/poslib/vsnprintf.h
 include/poslib-%%VERSION%%/poslib/w32poll.h
- at dirrm include/poslib-%%VERSION%%/poslib
- at dirrm include/poslib-%%VERSION%%
 lib/libposlib.a
 lib/libposlib.la
 lib/libposlib.so
@@ -40,8 +37,6 @@
 lib/libposserver.so
 lib/libposserver.so.0
 lib/poslib-%%VERSION%%/include/poslib-config.h
- at dirrm lib/poslib-%%VERSION%%/include
- at dirrm lib/poslib-%%VERSION%%
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
@@ -52,3 +47,8 @@
 %%EXAMPLESDIR%%/host.cpp
 %%EXAMPLESDIR%%/server.cpp
 @dirrm %%EXAMPLESDIR%%
+ at dirrm include/poslib-%%VERSION%%/poslib/server
+ at dirrm include/poslib-%%VERSION%%/poslib
+ at dirrm include/poslib-%%VERSION%%
+ at dirrm lib/poslib-%%VERSION%%/include
+ at dirrm lib/poslib-%%VERSION%%
--- posadis-0.60.5.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list