Subject: pkg/14649: New package: Hesiod library
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kpneal@pobox.com>
List: netbsd-bugs
Date: 11/19/2001 22:35:28
>Number: 14649
>Category: pkg
>Synopsis: Package for Hesiod library
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Nov 19 19:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Kevin P. Neal
>Release: NetBSD 1.5.2
>Organization:
--
Kevin P. Neal http://www.pobox.com/~kpn/
"You know, I think I can hear the machine screaming from here... \
'help me! hellpp meeee!'" - Heather Flanagan, 14:52:23 Wed Jun 10 1998
>Environment:
System: NetBSD tesseract.neutralgood.org 1.5.2 NetBSD 1.5.2 (TESSERACT) #25: Fri Nov 2 22:36:26 EST 2001 kpneal@pobox.com:/local/kernel/compile/TESSERACT alpha
>Description:
Hesiod is supported by a number of programs (like Zephyr) but our libc
doesn't have the compatibility functions in it. Those functions are
in this library from MIT.
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# hesiod
# hesiod/DESCR
# hesiod/Makefile
# hesiod/PLIST
# hesiod/files
# hesiod/patches
# hesiod/distinfo
#
echo c - hesiod
mkdir -p hesiod > /dev/null 2>&1
echo x - hesiod/DESCR
sed 's/^X//' >hesiod/DESCR << 'END-of-hesiod/DESCR'
X(Description taken directly from http://web.mit.edu/ghudson/info/athena)
X
XHesiod is a simple string lookup service built on top of the Domain
XName System. Conceptually, the service translates a pair of strings
X(the "name" and "type") into a set of result strings. This lookup is
Xdone very simply; a DNS lookup is done for name.type.ns.yourdomain.com
Xand the strings in the resulting TXT records are returned.
X
XThe Hesiod library makes lookups simpler to program.
END-of-hesiod/DESCR
echo x - hesiod/Makefile
sed 's/^X//' >hesiod/Makefile << 'END-of-hesiod/Makefile'
X# $NetBSD: Makefile,v 1.22 2001/06/11 06:34:47 jlam Exp $
X#
X
XDISTNAME= hesiod-3.0.2
XCATEGORIES= net athena
XMASTER_SITES= ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/
X
XMAINTAINER= kpneal@pobox.org
XCOMMENT= Hesiod network database client and library
X
X.include "/usr/pkg/src/mk/bsd.prefs.mk"
X
X# HESIOD_SYSCONFDIR?=/etc
X
X.if defined(HESIOD_SYSCONFDIR)
XCONFIGURE_ARGS+="--sysconfdir=$(HESIOD_SYSCONFDIR)"
X.endif
X
XGNU_CONFIGURE= yes
X
X.include "../../mk/bsd.pkg.mk"
END-of-hesiod/Makefile
echo x - hesiod/PLIST
sed 's/^X//' >hesiod/PLIST << 'END-of-hesiod/PLIST'
X@comment $NetBSD: PLIST,v 1.7 2001/01/26 05:21:47 hubertf Exp $
Xlib/libhesiod.a
Xbin/hesinfo
Xinclude/hesiod.h
Xman/man1/hesinfo.1
Xman/man3/hesiod.3
Xman/man3/hesiod_end.3
Xman/man3/hesiod_free_list.3
Xman/man3/hesiod_free_passwd.3
Xman/man3/hesiod_free_postoffice.3
Xman/man3/hesiod_free_servent.3
Xman/man3/hesiod_getmailhost.3
Xman/man3/hesiod_getpwnam.3
Xman/man3/hesiod_getpwuid.3
Xman/man3/hesiod_getservbyname.3
Xman/man3/hesiod_init.3
Xman/man3/hesiod_resolve.3
Xman/man3/hesiod_to_bind.3
Xman/man5/hesiod_conf.5
END-of-hesiod/PLIST
echo c - hesiod/files
mkdir -p hesiod/files > /dev/null 2>&1
echo c - hesiod/patches
mkdir -p hesiod/patches > /dev/null 2>&1
echo x - hesiod/distinfo
sed 's/^X//' >hesiod/distinfo << 'END-of-hesiod/distinfo'
X$NetBSD$
X
XSHA1 (hesiod-3.0.2.tar.gz) = bc88fc2ae3e7cf96af26d041ec113ab28f112d1d
XSize (hesiod-3.0.2.tar.gz) = 31974 bytes
END-of-hesiod/distinfo
exit
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: