diff options
author | Wulf Krueger <philantrop@gentoo.org> | 2007-05-19 21:33:41 +0000 |
---|---|---|
committer | Wulf Krueger <philantrop@gentoo.org> | 2007-05-19 21:33:41 +0000 |
commit | 4f90e13cd7245f3ac58043155a4753cc12c4559c (patch) | |
tree | 6f7a60673bffb5472a6398aef0705930110d8d40 /net-nntp | |
parent | Remove a couple of old versions. (diff) | |
download | historical-4f90e13cd7245f3ac58043155a4753cc12c4559c.tar.gz historical-4f90e13cd7245f3ac58043155a4753cc12c4559c.tar.bz2 historical-4f90e13cd7245f3ac58043155a4753cc12c4559c.zip |
Fixed multilib-strict issues and test failures.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'net-nntp')
-rw-r--r-- | net-nntp/inn/ChangeLog | 6 | ||||
-rw-r--r-- | net-nntp/inn/Manifest | 28 | ||||
-rw-r--r-- | net-nntp/inn/files/inn-2.4.3-runtests.patch | 58 | ||||
-rw-r--r-- | net-nntp/inn/inn-2.4.3.ebuild | 27 |
4 files changed, 95 insertions, 24 deletions
diff --git a/net-nntp/inn/ChangeLog b/net-nntp/inn/ChangeLog index ab84862ccbcc..08ee6da3e8dc 100644 --- a/net-nntp/inn/ChangeLog +++ b/net-nntp/inn/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-nntp/inn # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/inn/ChangeLog,v 1.13 2007/04/28 16:29:07 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/inn/ChangeLog,v 1.14 2007/05/19 21:33:41 philantrop Exp $ + + 19 May 2007; Wulf C. Krueger <philantrop@gentoo.org> + +files/inn-2.4.3-runtests.patch, inn-2.4.3.ebuild: + Fixed multilib-strict issues and test failures. 28 Apr 2007; Sven Wegener <swegener@gentoo.org> inn-2.4.1.ebuild, inn-2.4.3.ebuild: diff --git a/net-nntp/inn/Manifest b/net-nntp/inn/Manifest index 0e48ef8d059c..59e977f4c953 100644 --- a/net-nntp/inn/Manifest +++ b/net-nntp/inn/Manifest @@ -9,6 +9,10 @@ AUX inn-2.4.3-berkdb45.patch 2389 RMD160 d0580cc8e2f1cdf60feacd597991edbfb412d3f MD5 27562fa14e8edb492f53487c12e0f2f6 files/inn-2.4.3-berkdb45.patch 2389 RMD160 d0580cc8e2f1cdf60feacd597991edbfb412d3f8 files/inn-2.4.3-berkdb45.patch 2389 SHA256 2e762081a319a898135c98ae5a5f5e0fbcc8b25deeb65814c343a0a6683c62e2 files/inn-2.4.3-berkdb45.patch 2389 +AUX inn-2.4.3-runtests.patch 2543 RMD160 68605c14e225eb8484461d3170e98737198b3c2a SHA1 b365a0c100045bdd3e3338f81de05f8232f89207 SHA256 2efa10ebb0b33630f42bc070d535a99ff6ed1287ecab53b7ca8210ad74f229b0 +MD5 22ecb8ee49d5ee8510df5dd1627e7f29 files/inn-2.4.3-runtests.patch 2543 +RMD160 68605c14e225eb8484461d3170e98737198b3c2a files/inn-2.4.3-runtests.patch 2543 +SHA256 2efa10ebb0b33630f42bc070d535a99ff6ed1287ecab53b7ca8210ad74f229b0 files/inn-2.4.3-runtests.patch 2543 AUX innd 503 RMD160 5631966614d5bb4e1c304195e1e796a1fbc9421e SHA1 85aa86e4fcca7837e32e2e3be31fbd50e96b79c2 SHA256 ab2082ee261d632dafeaaf9ebb459e5afe684597c67b860ca0a7a8ff3bf554ed MD5 c5a9ae6ae97f7cdd4254bf5413fc9e47 files/innd 503 RMD160 5631966614d5bb4e1c304195e1e796a1fbc9421e files/innd 503 @@ -20,14 +24,14 @@ EBUILD inn-2.4.1.ebuild 8124 RMD160 1173e6df1d28e259e494ac057fd35b2198cc245e SHA MD5 bc224d05b4de435e30682d3057ddcde2 inn-2.4.1.ebuild 8124 RMD160 1173e6df1d28e259e494ac057fd35b2198cc245e inn-2.4.1.ebuild 8124 SHA256 cd20e1aed285e200d981c2f7b7a470812f7dbf52cc2a18585b396761489cc3bc inn-2.4.1.ebuild 8124 -EBUILD inn-2.4.3.ebuild 7983 RMD160 e3f072ea3006ae74e8a0024d0a41b573b757071e SHA1 71a7c2ad248ad6b95571f064a6b65a643fc791a1 SHA256 1198679ae8c5bba42308720ffc5f07144975f233a98c6a7c93161a0927d0ee61 -MD5 22e5be130955dfb2c42adb47b9d8d996 inn-2.4.3.ebuild 7983 -RMD160 e3f072ea3006ae74e8a0024d0a41b573b757071e inn-2.4.3.ebuild 7983 -SHA256 1198679ae8c5bba42308720ffc5f07144975f233a98c6a7c93161a0927d0ee61 inn-2.4.3.ebuild 7983 -MISC ChangeLog 4407 RMD160 914a11d81f7d0aa998a8ea401bce1d8c33459c4b SHA1 2d479de2de2d070a8cf3249d4ab5840c10278d89 SHA256 d95a816fb1cb77213fac12f346f9455851edaa9731c22fee18e27cd56766099d -MD5 531c593547d61558e06bf0fd0ba29d36 ChangeLog 4407 -RMD160 914a11d81f7d0aa998a8ea401bce1d8c33459c4b ChangeLog 4407 -SHA256 d95a816fb1cb77213fac12f346f9455851edaa9731c22fee18e27cd56766099d ChangeLog 4407 +EBUILD inn-2.4.3.ebuild 8178 RMD160 70a907c81ce9649219f7087312dfbf84f9a9975a SHA1 1818b063b96bb011720e8120cbbb7c995224cb28 SHA256 41d397c6a73a8c920f19e8e43ccfd5281f08bf8e6cc6ea0c73ebab6b6230d5da +MD5 464879ebe8a821ff19cb471151b9ab96 inn-2.4.3.ebuild 8178 +RMD160 70a907c81ce9649219f7087312dfbf84f9a9975a inn-2.4.3.ebuild 8178 +SHA256 41d397c6a73a8c920f19e8e43ccfd5281f08bf8e6cc6ea0c73ebab6b6230d5da inn-2.4.3.ebuild 8178 +MISC ChangeLog 4568 RMD160 95af7e2396dcea72794d4e28bd8e428f4f4a9443 SHA1 333958e99ec9c010aae290f1303ed00369c14914 SHA256 bcf7ad2a1939e81e7beddc829da1a7db3444854bd7b6616c874ee5e851be3fa0 +MD5 842e11bb528397f6dabd6b96599eb9db ChangeLog 4568 +RMD160 95af7e2396dcea72794d4e28bd8e428f4f4a9443 ChangeLog 4568 +SHA256 bcf7ad2a1939e81e7beddc829da1a7db3444854bd7b6616c874ee5e851be3fa0 ChangeLog 4568 MISC metadata.xml 161 RMD160 f1947f39ceb22269275e1b59023c4eadcdbc1a15 SHA1 5d3eb0725c80eb73d935d7dfbd653a7c1a2103e7 SHA256 8031b551b7913d7c088a55811814db35dad801454d369d05ff365d33cd722153 MD5 d4764f5c17f5e0b416f7ddf271c77d71 metadata.xml 161 RMD160 f1947f39ceb22269275e1b59023c4eadcdbc1a15 metadata.xml 161 @@ -39,9 +43,9 @@ MD5 b2f700070372823c26def2b4b0260144 files/digest-inn-2.4.3 232 RMD160 db230f307dac68998c3c462497ece2808908d8ba files/digest-inn-2.4.3 232 SHA256 e984c0ba5b35e379d2c71f485b898a347dc7225df9b10da1fbaa735e226c5841 files/digest-inn-2.4.3 232 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.3 (GNU/Linux) +Version: GnuPG v2.0.4 (GNU/Linux) -iD8DBQFGM3ZoI1lqEGTUzyQRAsS1AJ4140v4VLrAaVrpZIm9Dj20wZX0gACgjfMX -Kf5G6LXo6o3lYAWtV6QkXeE= -=U4Nf +iD8DBQFGT20/CkvF58q80IkRAikrAKCaUH7g2tPWIn/pawHwOBI4vYB+9wCglQaz +YOToFSel5xmxQxrcQNpdgqs= +=w9x3 -----END PGP SIGNATURE----- diff --git a/net-nntp/inn/files/inn-2.4.3-runtests.patch b/net-nntp/inn/files/inn-2.4.3-runtests.patch new file mode 100644 index 000000000000..d614620bbd78 --- /dev/null +++ b/net-nntp/inn/files/inn-2.4.3-runtests.patch @@ -0,0 +1,58 @@ +diff -Nur inn-2.4.3.orig/tests/runtests.c inn-2.4.3/tests/runtests.c +--- inn-2.4.3.orig/tests/runtests.c 2006-03-20 05:14:57.000000000 +0100 ++++ inn-2.4.3/tests/runtests.c 2007-05-18 21:42:05.000000000 +0200 +@@ -126,13 +126,13 @@ + static void sysdie(const char *format, ...); + static void *x_malloc(size_t, const char *file, int line); + static char *x_strdup(const char *, const char *file, int line); +-static int test_analyze(const struct testset *); ++static int test_analyze(struct testset *); + static int test_batch(const char *testlist); + static void test_checkline(const char *line, struct testset *); + static void test_fail_summary(const struct testlist *); + static int test_init(const char *line, struct testset *); + static int test_print_range(int first, int last, int chars, int limit); +-static void test_summarize(const struct testset *, int status); ++static void test_summarize(struct testset *, int status); + static pid_t test_start(const char *path, int *fd); + static double tv_diff(const struct timeval *, const struct timeval *); + static double tv_seconds(const struct timeval *); +@@ -369,7 +369,7 @@ + with a non-zero status, and a negative integer representing the signal + that terminated it if it was killed by a signal. */ + static void +-test_summarize(const struct testset *ts, int status) ++test_summarize(struct testset *ts, int status) + { + int i; + int missing = 0; +@@ -436,7 +436,7 @@ + few special error messages, and then pass it along to test_summarize() + for the regular output. */ + static int +-test_analyze(const struct testset *ts) ++test_analyze(struct testset *ts) + { + if (ts->reported) return 0; + if (WIFEXITED(ts->status) && WEXITSTATUS(ts->status) != 0) { +@@ -522,7 +522,7 @@ + static void + test_fail_summary(const struct testlist *fails) + { +- const struct testset *ts; ++ struct testset *ts; + int i, chars, total, first, last; + + puts(header); +diff -Nur inn-2.4.3.orig/tests/lib/snprintf-t.c inn-2.4.3/tests/lib/snprintf-t.c +--- inn-2.4.3.orig/tests/lib/snprintf-t.c 2006-03-20 05:14:57.000000000 +0100 ++++ inn-2.4.3/tests/lib/snprintf-t.c 2007-05-19 12:33:14.000000000 +0200 +@@ -125,7 +125,7 @@ + test_format(21, true, "abcdefghij4444", 14, "%.10s%n%d", string, &count, + 4444); + ok(22, count == 10); +- test_format(23, true, "abcdefghijklmnopqrstuvwxyz01234", 36, "%ln%s%n", ++ test_format(23, true, "abcdefghijklmnopqrstuvwxyz01234", 36, "%n%s%ln", + &count, string, &lcount); + ok(24, count == 0); + ok(25, lcount == 31); diff --git a/net-nntp/inn/inn-2.4.3.ebuild b/net-nntp/inn/inn-2.4.3.ebuild index 2e5da35cc8c0..03f0dd27f494 100644 --- a/net-nntp/inn/inn-2.4.3.ebuild +++ b/net-nntp/inn/inn-2.4.3.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/inn/inn-2.4.3.ebuild,v 1.7 2007/04/28 16:29:07 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/inn/inn-2.4.3.ebuild,v 1.8 2007/05/19 21:33:41 philantrop Exp $ WANT_AUTOCONF="2.1" -inherit fixheadtails ssl-cert eutils libtool flag-o-matic autotools +inherit fixheadtails ssl-cert eutils multilib libtool flag-o-matic autotools DESCRIPTION="The Internet News daemon, fully featured NNTP server" HOMEPAGE="http://www.isc.org/products/INN" @@ -43,18 +43,23 @@ src_unpack() { # Fixes compatibility problems with sys-libs/db-4.4 and 4.5, # bug 174680. epatch ${FILESDIR}/${P}-berkdb45.patch + + # Fixes problems with the test suite. + epatch ${FILESDIR}/${P}-runtests.patch } src_compile() { + elibtoolize + append-ldflags $(bindnow-flags) econf \ - --prefix=/usr/lib/news \ + --prefix=/usr/$(get_libdir)/news \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --with-control-dir=/usr/lib/news/bin/control \ + --with-control-dir=/usr/$(get_libdir)/news/bin/control \ --with-etc-dir=/etc/news \ - --with-filter-dir=/usr/lib/news/bin/filter \ + --with-filter-dir=/usr/$(get_libdir)/news/bin/filter \ --with-db-dir=/var/spool/news/db \ --with-doc-dir=/usr/share/doc/${PF} \ --with-spool-dir=/var/spool/news \ @@ -82,7 +87,7 @@ src_compile() { src_install() { make DESTDIR="${D}/" P="" SPECIAL="" install || die "make install failed" - chown -R root:0 "${D}"/usr/{lib/news/{lib,include},share/{doc,man}} + chown -R root:0 "${D}"/usr/{$(get_libdir)/news/{lib,include},share/{doc,man}} chmod 644 "${D}"/etc/news/* for file in control.ctl expire.ctl incoming.conf nntpsend.ctl passwd.nntp readers.conf do @@ -102,7 +107,7 @@ src_install() { use ipv6 && dodoc doc/IPv6-info # So other programs can build against INN. (eg. Suck) - insinto /usr/lib/news/include + insinto /usr/$(get_libdir)/news/include doins include/*.h doinitd "${FILESDIR}"/innd innd @@ -201,12 +206,12 @@ pkg_config() { chown news:news "${NEWSSPOOL_DIR}"/db/history chmod 644 "${NEWSSPOOL_DIR}"/db/history - su - news -c "/usr/lib/news/bin/makedbz -i" + su - news -c "/usr/$(get_libdir)/news/bin/makedbz -i" [[ -f ${NEWSSPOOL_DIR}/db/history.n.dir ]] && mv -f "${NEWSSPOOL_DIR}"/db/history.n.dir "${NEWSSPOOL_DIR}"/db/history.dir [[ -f ${NEWSSPOOL_DIR}/db/history.n.pag ]] && mv -f "${NEWSSPOOL_DIR}"/db/history.n.pag "${NEWSSPOOL_DIR}"/db/history.pag [[ -f ${NEWSSPOOL_DIR}/db/history.n.hash ]] && mv -f "${NEWSSPOOL_DIR}"/db/history.n.hash "${NEWSSPOOL_DIR}"/db/history.hash [[ -f ${NEWSSPOOL_DIR}/db/history.n.index ]] && mv -f "${NEWSSPOOL_DIR}"/db/history.n.index "${NEWSSPOOL_DIR}"/db/history.index - su - news -c /usr/lib/news/bin/makehistory + su - news -c /usr/$(get_libdir)/news/bin/makehistory else NEWS_ERRFLAG="1" eerror @@ -234,13 +239,13 @@ pkg_config() { chmod 644 /etc/news/inn.conf fi - INNCHECK_LINES="$(su - news -c "/usr/lib/news/bin/inncheck | wc -l")" + INNCHECK_LINES="$(su - news -c "/usr/$(get_libdir)/news/bin/inncheck | wc -l")" if [[ ${INNCHECK_LINES} -gt 0 ]] then NEWS_ERRFLAG="1" ewarn "inncheck most certainly found an error." ewarn "Please check its output:" - eerror "`su - news -c /usr/lib/news/bin/inncheck`" + eerror "`su - news -c /usr/$(get_libdir)/news/bin/inncheck`" fi if [[ ${NEWS_ERRFLAG} -gt 0 ]] |