Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2013 02:42:17 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/177910: dns/hesiod: Update to version 3.2.1
Message-ID:  <20130418024217.73c4b5f7e05d2b164a424e48@yahoo.com>
Resent-Message-ID: <201304171810.r3HIA1W4003530@freefall.freebsd.org>

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

>Number:         177910
>Category:       ports
>Synopsis:       dns/hesiod: Update to version 3.2.1
>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:   Wed Apr 17 18:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update to version 3.2.1

Remove file:
files/patch-hestest.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/dns/hesiod/Makefile dns/hesiod/Makefile
--- /usr/ports/dns/hesiod/Makefile	2012-11-08 11:00:35.000000000 +0900
+++ dns/hesiod/Makefile	2013-04-04 02:21:22.000000000 +0900
@@ -1,35 +1,44 @@
-# Ports collection Makefile for:	Hesiod
-# Date created:				6/11/1998
-# Whom:					n@nectar.com
-#
+# Created by: n@nectar.com
 # $FreeBSD: head/dns/hesiod/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
-PORTNAME=		hesiod
-PORTVERSION=		3.1.0
-CATEGORIES=		dns
-MASTER_SITES=		ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/
-
-MAINTAINER=		ports@FreeBSD.org
-COMMENT=		A directory service built on DNS and BIND
-
-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_free_string.3 hesiod_parse_result.3
-MAN5=			hesiod.conf.5
+PORTNAME=	hesiod
+PORTVERSION=	3.2.1
+CATEGORIES=	dns
+MASTER_SITES=	ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/
 
-USE_AUTOTOOLS=	libtool
-GNU_CONFIGURE=		yes
-USE_LDCONFIG=		yes
+MAINTAINER=	ports@FreeBSD.org
+COMMENT=	Directory service built on DNS and BIND
+
+LICENSE=	BSD
 
-post-patch:
-	@${REINPLACE_CMD} -E \
-		-e "s,\$${INSTALL} -m 444,\$${BSD_INSTALL_MAN}," \
-		-e "s,\$${INSTALL} -m 644,\$${BSD_INSTALL_DATA}," \
-		${WRKSRC}/Makefile.in
+OPTIONS_DEFINE=	IDN
+OPTIONS_DEFAULT=IDN
+
+USES=		pathfix
+USE_AUTOTOOLS=	libtool
+CONFIGURE_ARGS=	--disable-silent-rules
+USE_LDCONFIG=	yes
+MAKE_JOBS_SAFE=	yes
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+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_free_string.3 hesiod_parse_result.3
+MAN5=		hesiod.conf.5
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MIDN}
+LIB_DEPENDS+=	idn:${PORTSDIR}/dns/libidn
+.else
+CONFIGURE_ARGS+=--without-libidn
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/dns/hesiod/distinfo dns/hesiod/distinfo
--- /usr/ports/dns/hesiod/distinfo	2012-11-08 11:00:35.000000000 +0900
+++ dns/hesiod/distinfo	2013-04-04 01:23:29.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (hesiod-3.1.0.tar.gz) = 57b288ea736614d630677da7b6fa3f46c6b07a0ec7e798860f318e887e2602b6
-SIZE (hesiod-3.1.0.tar.gz) = 224294
+SHA256 (hesiod-3.2.1.tar.gz) = bad72fcd1761601eee244153739c8829c71dcc30dd33300f5111a9a9ed5b4076
+SIZE (hesiod-3.2.1.tar.gz) = 368075
diff -urN /usr/ports/dns/hesiod/files/patch-hestest.c dns/hesiod/files/patch-hestest.c
--- /usr/ports/dns/hesiod/files/patch-hestest.c	2012-11-08 11:00:35.000000000 +0900
+++ dns/hesiod/files/patch-hestest.c	1970-01-01 09:00:00.000000000 +0900
@@ -1,12 +0,0 @@
-*** hestest.c.orig	Sat Sep  7 10:33:20 2002
---- hestest.c	Sat Sep  7 10:33:26 2002
-***************
-*** 24,29 ****
---- 24,30 ----
-  #include <netdb.h>
-  #include <errno.h>
-  #include <pwd.h>
-+ #include <sys/types.h>
-  #include <sys/socket.h>
-  #include <netinet/in.h>
-  #include <stdarg.h>
diff -urN /usr/ports/dns/hesiod/pkg-plist dns/hesiod/pkg-plist
--- /usr/ports/dns/hesiod/pkg-plist	2012-11-08 11:00:35.000000000 +0900
+++ dns/hesiod/pkg-plist	2013-04-04 02:20:00.000000000 +0900
@@ -1,5 +1,7 @@
+bin/hesinfo
 include/hesiod.h
 lib/libhesiod.a
 lib/libhesiod.la
 lib/libhesiod.so
 lib/libhesiod.so.0
+libdata/pkgconfig/hesiod.pc
>Release-Note:
>Audit-Trail:
>Unformatted:



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