update to leafnode 1.9.46

from rohee@
This commit is contained in:
sturm 2003-11-08 21:55:50 +00:00
parent 7a016835ee
commit 8d9d38e244
7 changed files with 37 additions and 29 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.29 2003/07/26 13:24:08 sturm Exp $
# $OpenBSD: Makefile,v 1.30 2003/11/08 21:55:50 sturm Exp $
COMMENT= "USENET software package designed for small sites"
VERSION= 1.9.40
VERSION= 1.9.46
DISTNAME= leafnode-${VERSION}.rel
PKGNAME= leafnode-${VERSION}p1
PKGNAME= leafnode-${VERSION}
CATEGORIES= news
HOMEPAGE= http://www.leafnode.org/

View File

@ -1,3 +1,3 @@
MD5 (leafnode-1.9.40.rel.tar.bz2) = a1d2c1c6eab5c06b370a1000a3acdd5c
RMD160 (leafnode-1.9.40.rel.tar.bz2) = b1c6a3502e8c257a679af2d8fd06c80ddb131e8e
SHA1 (leafnode-1.9.40.rel.tar.bz2) = b11e81d4f67cd2d9a7477ad9512f59e90d74a08f
MD5 (leafnode-1.9.46.rel.tar.bz2) = d756a475c6be11d932ec21a8eb94f2be
RMD160 (leafnode-1.9.46.rel.tar.bz2) = 29fc3f033ca8a548998fd2111eade4044a722690
SHA1 (leafnode-1.9.46.rel.tar.bz2) = a1112d399f4803db69784c3df336f9dc32ced128

View File

@ -1,6 +1,5 @@
$OpenBSD: patch-INSTALL,v 1.5 2003/06/23 19:11:10 sturm Exp $
--- INSTALL.orig Thu Mar 13 13:31:10 2003
+++ INSTALL Sat Jun 21 21:18:40 2003
--- INSTALL.orig Tue Oct 7 12:48:18 2003
+++ INSTALL Thu Oct 30 21:13:11 2003
@@ -26,7 +26,7 @@
the lock file (defaults to leaf.node/lock.file below the spooldir).
@ -107,7 +106,7 @@ $OpenBSD: patch-INSTALL,v 1.5 2003/06/23 19:11:10 sturm Exp $
fetchnews reads a list of all newsgroups from your upstream server. With
an 28.8 modem, it can take as long as 60 minutes (depending on how many
newsgroups your provider offers). To see fetchnews working, run it with
@@ -348,7 +347,7 @@
@@ -358,7 +357,7 @@
After this, you should have empty files in
/var/spool/news/interesting.groups/ for every group you want to read.

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Makefile_in,v 1.10 2003/05/21 06:51:43 marcm Exp $
--- Makefile.in.orig Thu May 8 02:45:27 2003
+++ Makefile.in Fri May 16 09:45:41 2003
@@ -1360,15 +1360,7 @@ install-data-hook: quickmkdir amiroot
$OpenBSD: patch-Makefile_in,v 1.11 2003/11/08 21:55:50 sturm Exp $
--- Makefile.in.orig 2003-10-30 16:00:28.000000000 +0100
+++ Makefile.in 2003-10-30 21:07:38.000000000 +0100
@@ -1378,15 +1378,7 @@ install-data-hook: quickmkdir amiroot
set -e ; for i in . leaf.node failed.postings interesting.groups \
out.going message.id temp.files ; do \
mkdir -p $(DESTDIR)$(SPOOLDIR)/$$i ; \

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure,v 1.2 2003/05/21 06:51:43 marcm Exp $
--- configure.orig Thu May 8 02:45:29 2003
+++ configure Fri May 16 09:45:41 2003
@@ -1763,7 +1763,7 @@ echo "$as_me: WARNING: *** use --sysconf
$OpenBSD: patch-configure,v 1.3 2003/11/08 21:55:50 sturm Exp $
--- configure.orig 2003-10-30 16:00:30.000000000 +0100
+++ configure 2003-10-30 21:07:39.000000000 +0100
@@ -1765,7 +1765,7 @@ echo "$as_me: WARNING: *** use --sysconf
echo "$as_me: WARNING: ***" >&2;}
sleep 1
fi

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-miscutil_c,v 1.1 2003/07/26 13:24:08 sturm Exp $
--- miscutil.c.orig Wed Jul 23 09:05:30 2003
+++ miscutil.c Wed Jul 23 09:06:01 2003
@@ -106,9 +106,9 @@ initvars(char *progname)
$OpenBSD: patch-miscutil_c,v 1.2 2003/11/08 21:55:50 sturm Exp $
--- miscutil.c.orig 2003-10-14 20:46:47.000000000 +0200
+++ miscutil.c 2003-10-30 21:07:40.000000000 +0100
@@ -107,9 +107,9 @@ initvars(char *progname)
}
#ifndef TESTMODE
@ -13,7 +13,7 @@ $OpenBSD: patch-miscutil_c,v 1.1 2003/07/26 13:24:08 sturm Exp $
return FALSE;
}
#endif
@@ -129,7 +129,7 @@ initvars(char *progname)
@@ -130,7 +130,7 @@ initvars(char *progname)
|| st.st_uid != pw->pw_uid
#endif
) {
@ -22,7 +22,7 @@ $OpenBSD: patch-miscutil_c,v 1.1 2003/07/26 13:24:08 sturm Exp $
syslog(LOG_WARNING, "Warning: cannot create %s with proper ownership: %s", s, strerror(e));
suicide();
}
@@ -152,8 +152,8 @@ initvars(char *progname)
@@ -153,8 +153,8 @@ initvars(char *progname)
setreuid(pw->pw_uid, pw->pw_uid);
#endif
if (getuid() != pw->pw_uid || getgid() != pw->pw_gid) {

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: INSTALL,v 1.7 2003/06/23 19:11:10 sturm Exp $
# $OpenBSD: INSTALL,v 1.8 2003/11/08 21:55:50 sturm Exp $
P_NAME=leafnode
@ -33,7 +33,16 @@ do_create_user()
echo "User _news already exists... ok"
else
echo -n "Adding user _news..."
user add -m -d /var/spool/news -g news -c 'NNTP server' -s /sbin/nologin -u 519 _news
if [ -d /var/spool/news ]
then
echo " Giving /var/spool/news to _news"
else
echo " Creating /var/spool/news"
mkdir -p /var/spool/news
fi
chown 519:news /var/spool/news
user add -d /var/spool/news -g news -c 'NNTP server' -s /sbin/nologin -u 519 _news
echo "ok"
fi
}