From 03470baae95f87879f0df09ef1924006b64bef51 Mon Sep 17 00:00:00 2001 From: cjep Date: Sun, 11 Jan 2004 16:45:51 +0000 Subject: Update of news/leafnode to 1.9.49. Pkgsrc changes since previous version: * Add the news user if necessary (and be compatible with the INN package). * Use bsd.pkg.install.mk. Vendor changes since previous version: (see the Changelog for more details) * Security fix. Do not lock up when the news header ends prematurely. * Revise some memory handling and catch out-of-memory conditions. * Fixes to syslog handling. * Support XOVER without argument. * Fix SEGV in fetchnews.c. --- news/leafnode/DEINSTALL | 22 +++++++++----- news/leafnode/INSTALL | 69 ++++++++++++++++++++++-------------------- news/leafnode/Makefile | 41 ++++++++++++++----------- news/leafnode/PLIST | 8 ++++- news/leafnode/distinfo | 8 ++--- news/leafnode/patches/patch-aa | 14 ++++----- 6 files changed, 92 insertions(+), 70 deletions(-) (limited to 'news') diff --git a/news/leafnode/DEINSTALL b/news/leafnode/DEINSTALL index a8659d524b0..d2ab0860285 100644 --- a/news/leafnode/DEINSTALL +++ b/news/leafnode/DEINSTALL @@ -1,14 +1,22 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2003/05/06 17:42:21 jmmv Exp $ +# $NetBSD: DEINSTALL,v 1.3 2004/01/11 16:45:51 cjep Exp $ -case "$2" in - DEINSTALL) cat < ${WRKDIR}/$${F}; done - post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/leafnode ${INSTALL_DATA} ${WRKSRC}/config.example \ ${PREFIX}/share/examples/leafnode - PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/leafnode + + ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README-FQDN \ + ${WRKSRC}/README-MAINTAINER \ + ${WRKSRC}/README-daemontools \ + ${WRKSRC}/README.FIRST ${PREFIX}/share/doc/leafnode .include "../../devel/pcre/buildlink2.mk" +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" diff --git a/news/leafnode/PLIST b/news/leafnode/PLIST index b0273f29e90..27ac1ba21ae 100644 --- a/news/leafnode/PLIST +++ b/news/leafnode/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2002/12/08 12:44:13 cjep Exp $ +@comment $NetBSD: PLIST,v 1.4 2004/01/11 16:45:51 cjep Exp $ bin/leafnode-version bin/newsq man/man1/leafnode-version.1 @@ -13,5 +13,11 @@ sbin/checkgroups sbin/fetchnews sbin/leafnode sbin/texpire +share/doc/leafnode/README +share/doc/leafnode/README-FQDN +share/doc/leafnode/README-MAINTAINER +share/doc/leafnode/README-daemontools +share/doc/leafnode/README.FIRST share/examples/leafnode/config.example @dirrm share/examples/leafnode +@dirrm share/doc/leafnode diff --git a/news/leafnode/distinfo b/news/leafnode/distinfo index fa7c2d82a1c..b4a7fa3ca9b 100644 --- a/news/leafnode/distinfo +++ b/news/leafnode/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.9 2003/09/05 16:16:23 wiz Exp $ +$NetBSD: distinfo,v 1.10 2004/01/11 16:45:51 cjep Exp $ -SHA1 (leafnode-1.9.43.rel.tar.bz2) = 40e19de39e2081bde4d4a161b733bdd1a9d936c7 -Size (leafnode-1.9.43.rel.tar.bz2) = 628364 bytes -SHA1 (patch-aa) = d1aa900eb9040f8810afd7dbe4f26551c7dad99e +SHA1 (leafnode-1.9.49.rel.tar.bz2) = fbf69b03e6e535ce780ccf542fc75cc0a5913901 +Size (leafnode-1.9.49.rel.tar.bz2) = 666698 bytes +SHA1 (patch-aa) = 830794c3739401b359d369730a754e54ea1a8e14 diff --git a/news/leafnode/patches/patch-aa b/news/leafnode/patches/patch-aa index 0ba738f7af1..baab2ae156e 100644 --- a/news/leafnode/patches/patch-aa +++ b/news/leafnode/patches/patch-aa @@ -1,13 +1,13 @@ -$NetBSD: patch-aa,v 1.2 2002/09/22 10:35:48 cjep Exp $ +$NetBSD: patch-aa,v 1.3 2004/01/11 16:45:51 cjep Exp $ ---- Makefile.in.orig Fri Sep 20 11:49:58 2002 +--- Makefile.in.orig 2004-01-07 01:49:26.000000000 +0000 +++ Makefile.in -@@ -623,14 +623,14 @@ +@@ -815,14 +815,14 @@ uninstall-man8: + rm -f $(DESTDIR)$(man8dir)/$$inst; \ done - sysconfDATA_INSTALL = $(INSTALL_DATA) install-sysconfDATA: $(sysconf_DATA) - @$(NORMAL_INSTALL) -- $(mkinstalldirs) $(DESTDIR)$(sysconfdir) +- $(mkdir_p) $(DESTDIR)$(sysconfdir) - @list='$(sysconf_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f="`echo $$p | sed -e 's|^.*/||'`"; \ @@ -15,7 +15,7 @@ $NetBSD: patch-aa,v 1.2 2002/09/22 10:35:48 cjep Exp $ - $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \ - done +# @$(NORMAL_INSTALL) -+# $(mkinstalldirs) $(DESTDIR)$(sysconfdir) ++# $(mkdir_p) $(DESTDIR)$(sysconfdir) +# @list='$(sysconf_DATA)'; for p in $$list; do \ +# if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +# f="`echo $$p | sed -e 's|^.*/||'`"; \ @@ -25,7 +25,7 @@ $NetBSD: patch-aa,v 1.2 2002/09/22 10:35:48 cjep Exp $ uninstall-sysconfDATA: @$(NORMAL_UNINSTALL) -@@ -1059,18 +1059,18 @@ +@@ -1343,18 +1343,18 @@ rpm: rpm -ba leafnode.spec install-data-hook: quickmkdir amiroot -- cgit v1.2.3