Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  7 Aug 2006 21:12:49 +0400 (MSD)
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101601: [PATCH] dns/hesiod: update to 3.1.0, take maintainership
Message-ID:  <20060807171249.9E77712C61@fonon.realnet>
Resent-Message-ID: <200608071720.k77HKGQE059863@freefall.freebsd.org>

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

>Number:         101601
>Category:       ports
>Synopsis:       [PATCH] dns/hesiod: update to 3.1.0, take maintainership
>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:   Mon Aug 07 17:20:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug  2 21:44:37 MSD
>Description:
- Update to 3.1.0
- Take maintainership

I removed the following files:
- files/patch-aa

>How-To-Repeat:
>Fix:

--- hesiod-3.1.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/dns/hesiod/Makefile /var/tmp/ruby/hesiod/Makefile
--- /usr/ports/dns/hesiod/Makefile	Fri Mar 24 08:44:36 2006
+++ /var/tmp/ruby/hesiod/Makefile	Mon Aug  7 21:12:00 2006
@@ -6,35 +6,29 @@
 #
 
 PORTNAME=		hesiod
-PORTVERSION=		3.0.2
+PORTVERSION=		3.1.0
 CATEGORIES=		dns
 MASTER_SITES=		ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/
 
-MAINTAINER=		ports@FreeBSD.org
+MAINTAINER=		ssedov@mbsd.msk.ru
 COMMENT=		A directory service built on DNS and BIND
 
-MAN1=			hesinfo.1
 MAN3=			hesiod.3 hesiod_end.3 hesiod_free_list.3 	\
 			hesiod_free_passwd.3 hesiod_free_postoffice.3 	\
 			hesiod_free_servent.3 hesiod_getmailhost.3 	\
 			hesiod_getpwnam.3 hesiod_getpwuid.3 		\
 			hesiod_getservbyname.3 hesiod_init.3 		\
-			hesiod_resolve.3 hesiod_to_bind.3
+			hesiod_resolve.3 hesiod_to_bind.3 		\
+			hesiod_free_string.3 hesiod_parse_result.3
 MAN5=			hesiod.conf.5
 
 GNU_CONFIGURE=		yes
-INSTALLS_SHLIB=		yes
+USE_LDCONFIG=		yes
 
-.include <bsd.port.pre.mk>
+post-patch:
+	@${REINPLACE_CMD} -E \
+		-e "s,\$${INSTALL} -m 444,\$${BSD_INSTALL_MAN}," \
+		-e "s,\$${INSTALL} -m 644,\$${BSD_INSTALL_DATA}," \
+		${WRKSRC}/Makefile.in
 
-.if ${PORTOBJFORMAT} == elf
-VERSION=3
-SONAME="-Wl,-soname,libhesiod.so.${VERSION}"
-.else
-VERSION=3.0
-.endif
-
-MAKE_ENV+=		VERSION="${VERSION}" SONAME="${SONAME}"
-CFLAGS+=	-fPIC
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/dns/hesiod/distinfo /var/tmp/ruby/hesiod/distinfo
--- /usr/ports/dns/hesiod/distinfo	Sun Jan 22 11:31:42 2006
+++ /var/tmp/ruby/hesiod/distinfo	Mon Aug  7 14:41:27 2006
@@ -1,3 +1,3 @@
-MD5 (hesiod-3.0.2.tar.gz) = 0362311e80fb1e029a1588cbbd09ad57
-SHA256 (hesiod-3.0.2.tar.gz) = ee0ff39ad2445728360e1550de3c18d48813b3f9359ea3ad8a49f71ffb314c25
-SIZE (hesiod-3.0.2.tar.gz) = 31974
+MD5 (hesiod-3.1.0.tar.gz) = 89c785d350e75d6628754659ee4583e8
+SHA256 (hesiod-3.1.0.tar.gz) = 57b288ea736614d630677da7b6fa3f46c6b07a0ec7e798860f318e887e2602b6
+SIZE (hesiod-3.1.0.tar.gz) = 224294
diff -ruN --exclude=CVS /usr/ports/dns/hesiod/files/patch-aa /var/tmp/ruby/hesiod/files/patch-aa
--- /usr/ports/dns/hesiod/files/patch-aa	Mon Oct  4 21:34:16 1999
+++ /var/tmp/ruby/hesiod/files/patch-aa	Thu Jan  1 03:00:00 1970
@@ -1,52 +0,0 @@
---- Makefile.in.orig	Fri Jan  3 15:02:55 1997
-+++ Makefile.in	Mon Oct  4 12:29:32 1999
-@@ -24,17 +24,24 @@
- ALL_CFLAGS=-I. -DSYSCONFDIR=\"${sysconfdir}\" ${CPPFLAGS} ${CFLAGS}
- OBJS=hesiod.o hesmailhost.o hespwnam.o hesservbyname.o hescompat.o
- 
--all: libhesiod.a hesinfo hestest
-+all: libhesiod.so.${VERSION} libhesiod.so hesinfo hestest libhesiod.a
- 
- libhesiod.a: ${OBJS}
- 	ar cru $@ ${OBJS}
- 	${RANLIB} $@
- 
--hesinfo: hesinfo.o libhesiod.a
--	${CC} ${LDFLAGS} -o $@ hesinfo.o libhesiod.a ${LIBS}
-+libhesiod.so.${VERSION}: ${OBJS}
-+	${CC} -shared ${LDFLAGS} ${SONAME} ${OBJS} -o $@
- 
--hestest: hestest.o libhesiod.a
--	${CC} ${LDFLAGS} -o $@ hestest.o libhesiod.a ${LIBS}
-+libhesiod.so: libhesiod.so.${VERSION}
-+	rm -f $@
-+	ln $> $@
-+
-+hesinfo: hesinfo.o ${SHLIB}
-+	${CC} ${LDFLAGS} -o $@ hesinfo.o -L. -lhesiod ${LIBS}
-+
-+hestest: hestest.o ${SHLIB}
-+	${CC} ${LDFLAGS} -o $@ hestest.o -L. -lhesiod ${LIBS}
- 
- ${OBJS}: hesiod.h resscan.h
- 
-@@ -55,6 +62,9 @@
- 	${INSTALL} -c -m 644 libhesiod.a ${DESTDIR}${libdir}
- 	${RANLIB} ${DESTDIR}${libdir}/libhesiod.a
- 	chmod u-w ${DESTDIR}${libdir}/libhesiod.a
-+	${INSTALL} -c -m 444 libhesiod.so.${VERSION} ${DESTDIR}${libdir}
-+	ln -f -s ${DESTDIR}${libdir}/libhesiod.so.${VERSION} \
-+		${DESTDIR}${libdir}/libhesiod.so
- 	${INSTALL_PROGRAM} -c -m 555 hesinfo ${DESTDIR}${lbindir}
- 	${INSTALL} -c -m 444 ${srcdir}/hesiod.h ${DESTDIR}${includedir}
- 	${INSTALL} -c -m 444 ${srcdir}/hesinfo.1 ${DESTDIR}${mandir}/man1
-@@ -85,7 +95,8 @@
- 	${INSTALL} -c -m 444 ${srcdir}/hesiod.conf.5 ${DESTDIR}${mandir}/man5
- 
- clean:
--	rm -f ${OBJS} libhesiod.a hesinfo.o hesinfo hestest.o hestest
-+	rm -f ${OBJS} libhesiod.a hesinfo.o hesinfo hestest.o hestest \
-+		libhesiod.so.3
- 
- distclean: clean
- 	rm -f config.cache config.log config.status Makefile config.h
diff -ruN --exclude=CVS /usr/ports/dns/hesiod/pkg-plist /var/tmp/ruby/hesiod/pkg-plist
--- /usr/ports/dns/hesiod/pkg-plist	Fri Jun 16 14:38:24 2000
+++ /var/tmp/ruby/hesiod/pkg-plist	Mon Aug  7 21:07:29 2006
@@ -1,5 +1,5 @@
-bin/hesinfo
 include/hesiod.h
 lib/libhesiod.a
+lib/libhesiod.la
 lib/libhesiod.so
-lib/libhesiod.so.3.0
+lib/libhesiod.so.0
--- hesiod-3.1.0.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?20060807171249.9E77712C61>