diff options
author | 2013-05-21 12:46:50 +0000 | |
---|---|---|
committer | 2013-05-21 12:46:50 +0000 | |
commit | 37b6ede0bf7bc0c623ee6b5324984b75a6b49df5 (patch) | |
tree | b60826c4f8021534cf56e40ed25c4ca7e43690d9 /net-dns | |
parent | Updated coastline maps to 2.4 (diff) | |
download | historical-37b6ede0bf7bc0c623ee6b5324984b75a6b49df5.tar.gz historical-37b6ede0bf7bc0c623ee6b5324984b75a6b49df5.tar.bz2 historical-37b6ede0bf7bc0c623ee6b5324984b75a6b49df5.zip |
Remove old.
Package-Manager: portage-2.1.12.1/cvs/Linux x86_64
Manifest-Sign-Key: 0x675D0D2C
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/hesiod/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/hesiod/Manifest | 19 | ||||
-rw-r--r-- | net-dns/hesiod/files/hesiod-3.0.2-redhat.patch | 223 | ||||
-rw-r--r-- | net-dns/hesiod/hesiod-3.0.2-r2.ebuild | 51 |
4 files changed, 21 insertions, 280 deletions
diff --git a/net-dns/hesiod/ChangeLog b/net-dns/hesiod/ChangeLog index 0d19b064cd95..1ea54798cf9f 100644 --- a/net-dns/hesiod/ChangeLog +++ b/net-dns/hesiod/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dns/hesiod -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/hesiod/ChangeLog,v 1.45 2012/08/08 20:24:42 ranger Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/hesiod/ChangeLog,v 1.46 2013/05/21 12:46:30 kensington Exp $ + + 21 May 2013; Michael Palimaka <kensington@gentoo.org> + -files/hesiod-3.0.2-redhat.patch, -hesiod-3.0.2-r2.ebuild: + Remove old. 08 Aug 2012; Brent Baude <ranger@gentoo.org> hesiod-3.1.0.ebuild: Marking hesiod-3.1.0 ppc for bug 419715 diff --git a/net-dns/hesiod/Manifest b/net-dns/hesiod/Manifest index b2d3c5fb3015..0e1fcae406f5 100644 --- a/net-dns/hesiod/Manifest +++ b/net-dns/hesiod/Manifest @@ -1,8 +1,19 @@ -AUX hesiod-3.0.2-redhat.patch 6867 SHA256 db20848b4c74f30ac3a7b00c7fc2e1e16849d0fde40948be8b564841bb91041f SHA512 dd8bb275218f8bc3863204e266504bc3089fdb9165bd4301b27b7be68dfc2633ceec3c8a5230829ba314e077029f19ea3653ff3649a7964fd76bd2f38b07410a WHIRLPOOL f3e220cc324bfb46aa7489020cb96be54a8b42ed34401fe923dd32f59c45b1f5b72b6a1f93d6cc4005b61dfb0fd6248f2a059420cb8999bd4f54f12a64e23a09 -DIST hesiod-3.0.2.tar.gz 31974 SHA256 ee0ff39ad2445728360e1550de3c18d48813b3f9359ea3ad8a49f71ffb314c25 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST hesiod-3.1.0-patches.tgz 2389 SHA256 0b3d1c6854f7ab4394e116beadacbd4d5d2925aa2d364a50d14c605e97aab055 DIST hesiod-3.1.0.tar.gz 224294 SHA256 57b288ea736614d630677da7b6fa3f46c6b07a0ec7e798860f318e887e2602b6 -EBUILD hesiod-3.0.2-r2.ebuild 1384 SHA256 581cb0139cecd0dde328894ff9bc2aa27557f17840561369b680a65e686a5718 SHA512 c7db24d7abce456da2b3f79090a80fe4a4458c8cd3346c56c5d7652c837e533338a2aee04b53f186b2b22fedae1e1be857826899391435738b8207bdb469d9f7 WHIRLPOOL 2b7a74b01b1080ecc8089312052872510a26f4a05edf0523acd3e4addb5c2752fff57859adbcfcd149f4a409839f97f1cda8b0b7e0aabb4a472be1ec5fe4d094 EBUILD hesiod-3.1.0.ebuild 1150 SHA256 f565ab3c2177e767a30ee9139b9a748132ccf3751c33662d386138b62df85450 SHA512 9dc39cb227b30639162d99837706a6839d1035624c47e794bc82b49e853c4b437fd86b03912e6f06d3eddc3f779aabeaf9473ebd9d13a6839d609343de8bf898 WHIRLPOOL f35411613c75a501632fbdc6b3622672fdaa52583528d99f6557c1315e703699ecb0c6b08e13109e6a191719b299e1ef375d37f04d6b7454959c9b4ec34e2ba8 -MISC ChangeLog 6014 SHA256 eb09777435e3b25f92a9a2401d90669f3981d6c5951ab21c34f33022d9d4a91c SHA512 9c66c3afe5800920024f210bff181fea7c173426c022f22981842e6a7b70c8158827ca1df4787168c0f9312c68d5f7a894cce4885022698bd93864fee6ecbdee WHIRLPOOL c70b7ba84363626f677ea96546ff3e0fe3cad3107140be57fdac78921064e895856a61451e65f86ecc8e4aa8edafb0ace2ccc99a6c4d1be5d1277fe4bed17dc7 +MISC ChangeLog 6150 SHA256 9afd84bec5699ad470fe7a40c4a00acb743f9e4ef136eeb118a98768844115c2 SHA512 a21812af8e47b268df5d33f6dc972bf502187aaac8fb1af87c9596952742a4d27a8785f1ba249b91eb95bab5936083904ea4a43ea5ea35636143ea8f89b328db WHIRLPOOL 1201ef2670e61367a43f680ef0653af24068d5895927d10df03630b4b333247ad4a245f9c8304793d41bf67a4f29289853493411d79260627939c6e99a3316a7 MISC metadata.xml 214 SHA256 0e019c1dee563e5b23815be471ae1b65fcaf721a91ec48037446d41ca787d3e5 SHA512 701b8c51f43f8660d40700929c243a2dae9f19dcbc7b8eca877e20eadc1ae2e0c84f7c7d8c3cb576055c1a49a55e9c759ef469eeda67026ce252d341937f6691 WHIRLPOOL 977119e736e0795137df14faae681f7fa07ba8297a19ef4a7d7b93de7efceaed16f7103f179a762be41b8849c33c535b55d16d2fd0ea795df0525592752e0156 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iQEcBAEBCAAGBQJRm2xfAAoJEMbwO6tnXQ0sb/IIAJfXFnoMRTkql1yW3AbwW1jW +eJaYuRU8sQ2sQwTTW4/EFLi0KKFDjoWzodg93Ly58zTvtFJ0Mpj0E8vBZ093WPUj ++t5gJI+srwrmfVO1dXZ4MwjyRO/LOeCPiSjJx08eMP/rg1shSgaBM5kt0qZzb9Ki +LJK7lk9ZZs5IBvvJ+vDEWkX6LhgPz1FSaO4nDFDXBw3ICPaw5NNMDs53y4FkDn5C +jno+Ux6CIIaaVPVMZVcyHStTjYYwNNBvVTXPto6lmzbBMozsu7iHb5AhVpemSNUz +ljbkDpVYnBZYkH1hyWt/GAXvD+P7ykWnIh56iFOSykhqjz99NcsU9uo3HpxCjRI= +=9BiV +-----END PGP SIGNATURE----- diff --git a/net-dns/hesiod/files/hesiod-3.0.2-redhat.patch b/net-dns/hesiod/files/hesiod-3.0.2-redhat.patch deleted file mode 100644 index 9c2f9a42b41a..000000000000 --- a/net-dns/hesiod/files/hesiod-3.0.2-redhat.patch +++ /dev/null @@ -1,223 +0,0 @@ -Don't choke on responses larger than MAX_HESRESP in size. - ---- hesiod-3.0.2/hesiod.c 2002-10-02 16:40:35.000000000 -0400 -+++ hesiod-3.0.2/hesiod.c 2002-10-02 16:40:35.000000000 -0400 -@@ -336,7 +336,7 @@ - const char *name) - { - HEADER *hp; -- unsigned char qbuf[PACKETSZ], abuf[MAX_HESRESP], *p, *eom, *eor; -+ unsigned char qbuf[PACKETSZ], *abuf, *p, *eom, *eor; - char *dst, **list; - int ancount, qdcount, i, j, n, skip, type, class, len; - -@@ -351,8 +351,20 @@ - return NULL; - - /* Send the query. */ -- n = res_send(qbuf, n, abuf, MAX_HESRESP); -- if (n < 0) -+ abuf = NULL; -+ len = 1024; -+ i = n; -+ do -+ { -+ abuf = realloc(abuf, len); -+ n = res_send(qbuf, i, abuf, len); -+ if (n < len) -+ { -+ break; -+ } -+ len = n + 1024; -+ } while(1); -+ if (n < sizeof(HEADER)) - { - errno = ECONNREFUSED; - return NULL; -@@ -372,6 +384,7 @@ - if (skip < 0 || p + skip + QFIXEDSZ > eom) - { - errno = EMSGSIZE; -+ free(abuf); - return NULL; - } - p += skip + QFIXEDSZ; -@@ -382,6 +395,7 @@ - if (!list) - { - errno = ENOMEM; -+ free(abuf); - return NULL; - } - -@@ -440,6 +454,7 @@ - } - *dst = 0; - } -+ free(abuf); - - /* If we didn't terminate the loop normally, something went wrong. */ - if (i < ancount) -Ignore environment variables in setuid or setgid programs. ---- hesiod-3.0.2/hesiod.c Wed Oct 3 14:53:37 2001 -+++ hesiod-3.0.2/hesiod.c Wed Oct 3 14:55:02 2001 -@@ -52,6 +52,7 @@ - #include <stdio.h> - #include <stdlib.h> - #include <string.h> -+#include <unistd.h> - #include <ctype.h> - #include "hesiod.h" - #include "hesiod_p.h" -@@ -79,13 +80,13 @@ - if (ctx) - { - *context = ctx; -- configname = getenv("HESIOD_CONFIG"); -+ configname = ((getuid() == geteuid()) && (getgid() == getegid())) ? getenv("HESIOD_CONFIG") : NULL; - if (!configname) - configname = SYSCONFDIR "/hesiod.conf"; - if (read_config_file(ctx, configname) >= 0) - { - /* The default rhs can be overridden by an environment variable. */ -- p = getenv("HES_DOMAIN"); -+ p = ((getuid() == geteuid()) && (getgid() == getegid())) ? getenv("HES_DOMAIN") : NULL; - if (p) - { - if (ctx->rhs) -Try to correctly find res_mkquery in libresolv, even in cases where a -preprocessor-based rename in <resolv.h> may screw us up. - ---- hesiod-3.0.2/configure.in 2002-09-25 17:21:41.000000000 -0400 -+++ hesiod-3.0.2/configure.in 2002-09-25 17:24:58.000000000 -0400 -@@ -14,7 +14,11 @@ - AC_EGREP_HEADER(pw_change, pwd.h, AC_DEFINE(HAVE_PW_CHANGE)) - AC_EGREP_HEADER(pw_expire, pwd.h, AC_DEFINE(HAVE_PW_EXPIRE)) - --AC_CHECK_FUNC(res_mkquery, :, [AC_CHECK_LIB(resolv, res_mkquery)]) -+AC_CHECK_FUNC(res_mkquery, :, [AC_CHECK_LIB(resolv, res_mkquery,,[ -+saveLIBS="$LIBS" -+LIBS="-lresolv $LIBS" -+AC_TRY_LINK([#include <resolv.h>],[res_mkquery(0,NULL,0,0,NULL,0,NULL,NULL,0);],[AC_DEFINE(HAVE_RES_MKQUERY,1,[Define if your libresolv provides res_mkquery.])],[LIBS="$saveLIBS"]) -+])]) - AC_CHECK_FUNCS(strerror_r) - - AC_CONFIG_HEADER(config.h) ---- hesiod-3.0.2/Makefile.in Fri Oct 5 15:43:35 2001 -+++ hesiod-3.0.2/Makefile.in Fri Oct 5 15:47:42 2001 -@@ -21,20 +21,24 @@ - CFLAGS=@CFLAGS@ - LDFLAGS=@LDFLAGS@ - LIBS=@LIBS@ --ALL_CFLAGS=-I. -DSYSCONFDIR=\"${sysconfdir}\" ${CPPFLAGS} ${CFLAGS} -+ALL_CFLAGS=-I. -DSYSCONFDIR=\"${sysconfdir}\" ${CPPFLAGS} ${CFLAGS} -fPIC - OBJS=hesiod.o hesmailhost.o hespwnam.o hesservbyname.o hescompat.o -+SOVERSION=0 - --all: libhesiod.a hesinfo hestest -+all: libhesiod.a hesinfo hestest libhesiod.so.$(SOVERSION) -+ -+libhesiod.so.$(SOVERSION): ${OBJS} -+ ${CC} -shared -fPIC -o $@ -Wl,-soname=$@ ${OBJS} ${LIBS} - - libhesiod.a: ${OBJS} - ar cru $@ ${OBJS} - ${RANLIB} $@ - --hesinfo: hesinfo.o libhesiod.a -- ${CC} ${LDFLAGS} -o $@ hesinfo.o libhesiod.a ${LIBS} -+hesinfo: hesinfo.o libhesiod.so.$(SOVERSION) -+ ${CC} ${LDFLAGS} -o $@ hesinfo.o libhesiod.so.$(SOVERSION) ${LIBS} - --hestest: hestest.o libhesiod.a -- ${CC} ${LDFLAGS} -o $@ hestest.o libhesiod.a ${LIBS} -+hestest: hestest.o libhesiod.so.$(SOVERSION) -+ ${CC} ${LDFLAGS} -o $@ hestest.o libhesiod.so.$(SOVERSION) ${LIBS} - - ${OBJS}: hesiod.h resscan.h - -@@ -42,6 +46,7 @@ - ${CC} -c ${ALL_CFLAGS} $< - - check: -+ LD_LIBRARY_PATH="`pwd`":"$(LD_LIBRARY_PATH)" \ - HESIOD_CONFIG=${srcdir}/hesiod.config.sample \ - ./hestest ${srcdir}/hestest.conf - -@@ -55,6 +60,8 @@ - ${INSTALL} -c -m 644 libhesiod.a ${DESTDIR}${libdir} - ${RANLIB} ${DESTDIR}${libdir}/libhesiod.a - chmod u-w ${DESTDIR}${libdir}/libhesiod.a -+ ${INSTALL} -c -m 755 libhesiod.so.$(SOVERSION) ${DESTDIR}${libdir} -+ ln -s libhesiod.so.$(SOVERSION) ${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 -There are a few places where untrusted information could cause problems. -There's a bug in the configuration file parser that might result in an -LHS= modifying the rhs setting. -The case-insensitive comparison routine is probably called safely (with the -second argument at least as long as the first), but it looks weird. ---- hesiod-3.0.2/hesiod.c Wed Oct 3 15:16:17 2001 -+++ hesiod-3.0.2/hesiod.c Wed Oct 3 15:33:41 2001 -@@ -138,7 +138,8 @@ - const char *rhs; - int len; - -- strcpy(bindname, name); -+ strncpy(bindname, name, sizeof(bindname) - 1); -+ bindname[sizeof(bindname) - 1] = 0; - - /* Find the right right hand side to use, possibly truncating bindname. */ - p = strchr(bindname, '@'); -@@ -288,7 +289,7 @@ - - if (cistrcmp(key, "lhs") == 0 || cistrcmp(key, "rhs") == 0) - { -- which = (strcmp(key, "lhs") == 0) ? &ctx->lhs : &ctx->rhs; -+ which = (cistrcmp(key, "lhs") == 0) ? &ctx->lhs : &ctx->rhs; - *which = malloc(strlen(data) + 1); - if (!*which) - { -@@ -462,7 +463,7 @@ - - static int cistrcmp(const char *s1, const char *s2) - { -- while (*s1 && tolower(*s1) == tolower(*s2)) -+ while (*s1 && *s2 && tolower(*s1) == tolower(*s2)) - { - s1++; - s2++; ---- hesiod-3.0.2/hespwnam.c Wed Oct 3 15:29:40 2001 -+++ hesiod-3.0.2/hespwnam.c Wed Oct 3 15:29:43 2001 -@@ -39,9 +39,16 @@ - - struct passwd *hesiod_getpwuid(void *context, uid_t uid) - { -- char uidstr[16]; -+ char uidstr[32]; - -- sprintf(uidstr, "%d", uid); -- return getpwcommon(context, uidstr, 1); -+ if (snprintf(uidstr, sizeof(uidstr), "%ld", (long)uid) < sizeof(uidstr)) -+ { -+ return getpwcommon(context, uidstr, 1); -+ } -+ else -+ { -+ errno = ERANGE; -+ return NULL; -+ } - } - ---- hesiod-3.0.2/hesservbyname.c Wed Oct 3 15:33:25 2001 -+++ hesiod-3.0.2/hesservbyname.c Wed Oct 3 15:33:22 2001 -@@ -188,7 +188,7 @@ - - static int cistrcmp(const char *s1, const char *s2) - { -- while (*s1 && tolower(*s1) == tolower(*s2)) -+ while (*s1 && *s2 && tolower(*s1) == tolower(*s2)) - { - s1++; - s2++; diff --git a/net-dns/hesiod/hesiod-3.0.2-r2.ebuild b/net-dns/hesiod/hesiod-3.0.2-r2.ebuild deleted file mode 100644 index 11e8a11fba70..000000000000 --- a/net-dns/hesiod/hesiod-3.0.2-r2.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/hesiod/hesiod-3.0.2-r2.ebuild,v 1.15 2012/04/25 16:26:58 jlec Exp $ - -inherit flag-o-matic eutils autotools - -DESCRIPTION="system which uses existing DNS functionality to provide access to databases of information that changes infrequently" -HOMEPAGE="ftp://athena-dist.mit.edu/pub/ATHENA/hesiod" -SRC_URI="ftp://athena-dist.mit.edu/pub/ATHENA/${PN}/${P}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="" - -src_unpack() { - unpack ${A} - cd "${S}" - - filter-flags -fstack-protector - - #Patches stolen from RH - epatch "${FILESDIR}"/hesiod-${PV}-redhat.patch - eautoreconf - - for manpage in *.3 - do - if grep -q '^\.so man3/hesiod.3' ${manpage} - then - echo .so hesiod.3 > ${manpage} - elif grep -q '^\.so man3/hesiod_getmailhost.3' ${manpage} - then - echo .so hesiod_getmailhost.3 > ${manpage} - elif grep -q '^\.so man3/hesiod_getpwnam.3' ${manpage} - then - echo .so hesiod_getpwnam.3 > ${manpage} - elif grep -q '^\.so man3/hesiod_getservbyname.3' ${manpage} - then - echo .so hesiod_getservbyname.3 > ${manpage} - fi - done -} - -src_compile() { - econf --sysconfdir /etc - emake || die 'emake failed' -} - -src_install() { - make DESTDIR="${D}" install || die -} |