diff options
author | spz <spz@pkgsrc.org> | 2009-03-15 15:00:50 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2009-03-15 15:00:50 +0000 |
commit | 9a7bece7a3be2cd7af00d35dc6584709493d96ab (patch) | |
tree | 7a30fd702f6bf4e09c5431dab2bb13711b675f2b | |
parent | 58d7585b6d6683d265dd79f1ee5968b109971caa (diff) | |
download | pkgsrc-9a7bece7a3be2cd7af00d35dc6584709493d96ab.tar.gz |
update to the next minor version of INN; now also uses ln in postinstall
instead of install -l. Plus, fix a nit in the startup script.
-rw-r--r-- | news/inn/Makefile | 19 | ||||
-rw-r--r-- | news/inn/distinfo | 8 | ||||
-rw-r--r-- | news/inn/files/innd.sh | 7 |
3 files changed, 19 insertions, 15 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile index 203d74f3b73..9979ab0f492 100644 --- a/news/inn/Makefile +++ b/news/inn/Makefile @@ -1,13 +1,12 @@ -# $NetBSD: Makefile,v 1.95 2008/12/21 16:00:04 spz Exp $ +# $NetBSD: Makefile,v 1.96 2009/03/15 15:00:50 spz Exp $ -DISTNAME= inn-2.4.5 -PKGREVISION= 3 +DISTNAME= inn-2.4.6 CATEGORIES= news MASTER_SITES= ftp://ftp.isc.org/isc/inn/ \ ftp://ftp.fu-berlin.de/unix/news/inn/ MAINTAINER= spz@NetBSD.org -HOMEPAGE= http://www.isc.org/sw/inn/ +HOMEPAGE= http://www.isc.org/software/inn/ COMMENT= The public release of InterNet News (INN) CONFLICTS+= libradius-[0-9]* nntpclnt-[0-9]* @@ -158,14 +157,14 @@ post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/etc/nntp ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/sbin for FILE in cnfsstat ctlinnd inndstart makehistory ; do \ - ${INSTALL} -l rs ${DESTDIR}${PREFIX}/${INN_PATHBIN}/$$FILE \ - ${DESTDIR}${PREFIX}/sbin/$$FILE ; \ + ${LN} -s ${DESTDIR}${PREFIX}/${INN_PATHBIN}/$$FILE \ + ${DESTDIR}${PREFIX}/sbin ; \ done ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin - ${INSTALL} -l rs ${DESTDIR}${PREFIX}/${INN_PATHBIN}/inews \ - ${DESTDIR}${PREFIX}/bin/inews - ${INSTALL} -l rs ${DESTDIR}${PREFIX}/${INN_PATHBIN}/rnews \ - ${DESTDIR}${PREFIX}/bin/rnews + ${LN} -s ${DESTDIR}${PREFIX}/${INN_PATHBIN}/inews \ + ${DESTDIR}${PREFIX}/bin + ${LN} -s ${DESTDIR}${PREFIX}/${INN_PATHBIN}/rnews \ + ${DESTDIR}${PREFIX}/bin for FILE in libinn.a libstorage.a libinnhist.a ; do \ ${CHMOD} 644 ${DESTDIR}${PREFIX}/lib/$$FILE ; \ done diff --git a/news/inn/distinfo b/news/inn/distinfo index 2ea51b0e96f..ecec6bfe63d 100644 --- a/news/inn/distinfo +++ b/news/inn/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.19 2008/12/21 16:00:04 spz Exp $ +$NetBSD: distinfo,v 1.20 2009/03/15 15:00:50 spz Exp $ -SHA1 (inn-2.4.5.tar.gz) = ca0f96e908633590e5e0e2e8b2f00762f7a97e9a -RMD160 (inn-2.4.5.tar.gz) = ae01b1e793f99a3081cc03c4340c0b89ecba00e6 -Size (inn-2.4.5.tar.gz) = 1908550 bytes +SHA1 (inn-2.4.6.tar.gz) = e9ef0a356c48f14cf89f50d8c9584959e061a795 +RMD160 (inn-2.4.6.tar.gz) = 58c35418a89fe26b1b2f44f6d2114865acce0b14 +Size (inn-2.4.6.tar.gz) = 1942874 bytes SHA1 (patch-aa) = 908b169b944cd10a385428de8897fa55c05b858c SHA1 (patch-ab) = a681fdecf562088cfb25e8625be1380b32331af0 SHA1 (patch-ac) = 586748ecfbe0bb48dd42b422f262a1741cef9e90 diff --git a/news/inn/files/innd.sh b/news/inn/files/innd.sh index 8734017ab8e..7227d9020a8 100644 --- a/news/inn/files/innd.sh +++ b/news/inn/files/innd.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: innd.sh,v 1.16 2008/12/21 16:00:04 spz Exp $ +# $NetBSD: innd.sh,v 1.17 2009/03/15 15:00:51 spz Exp $ # # PROVIDE: inn # REQUIRE: DAEMON @@ -21,6 +21,11 @@ fi if [ -x @INN_PATHBIN@/rc.news -a -s @INN_DATA_DIR@/db/active ] then + if [ ! -d @PREFIX@/etc/nntp ] + then + mkdir @PREFIX@/etc/nntp + fi + if [ ! -f @PREFIX@/etc/nntp/server ] then hostname >@PREFIX@/etc/nntp/server |