update to leafnode 1.9.49
from rohee@
This commit is contained in:
parent
3e2241b0cb
commit
ff32a0834b
@ -1,8 +1,8 @@
|
|||||||
# $OpenBSD: Makefile,v 1.30 2003/11/08 21:55:50 sturm Exp $
|
# $OpenBSD: Makefile,v 1.31 2004/01/12 21:33:12 sturm Exp $
|
||||||
|
|
||||||
COMMENT= "USENET software package designed for small sites"
|
COMMENT= "USENET software package designed for small sites"
|
||||||
|
|
||||||
VERSION= 1.9.46
|
VERSION= 1.9.49
|
||||||
DISTNAME= leafnode-${VERSION}.rel
|
DISTNAME= leafnode-${VERSION}.rel
|
||||||
PKGNAME= leafnode-${VERSION}
|
PKGNAME= leafnode-${VERSION}
|
||||||
CATEGORIES= news
|
CATEGORIES= news
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
MD5 (leafnode-1.9.46.rel.tar.bz2) = d756a475c6be11d932ec21a8eb94f2be
|
MD5 (leafnode-1.9.49.rel.tar.bz2) = cbaedb673882d90ee4301dc29728e7dc
|
||||||
RMD160 (leafnode-1.9.46.rel.tar.bz2) = 29fc3f033ca8a548998fd2111eade4044a722690
|
RMD160 (leafnode-1.9.49.rel.tar.bz2) = e437671fa3698a6c338f62da41741e79f46110bb
|
||||||
SHA1 (leafnode-1.9.46.rel.tar.bz2) = a1112d399f4803db69784c3df336f9dc32ced128
|
SHA1 (leafnode-1.9.49.rel.tar.bz2) = fbf69b03e6e535ce780ccf542fc75cc0a5913901
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
$OpenBSD: patch-Makefile_in,v 1.11 2003/11/08 21:55:50 sturm Exp $
|
$OpenBSD: patch-Makefile_in,v 1.12 2004/01/12 21:33:12 sturm Exp $
|
||||||
--- Makefile.in.orig 2003-10-30 16:00:28.000000000 +0100
|
--- Makefile.in.orig 2004-01-09 17:18:28.000000000 +0100
|
||||||
+++ Makefile.in 2003-10-30 21:07:38.000000000 +0100
|
+++ Makefile.in 2004-01-12 18:38:27.000000000 +0100
|
||||||
@@ -1378,15 +1378,7 @@ install-data-hook: quickmkdir amiroot
|
@@ -1346,15 +1346,7 @@ install-data-hook: quickmkdir amiroot
|
||||||
set -e ; for i in . leaf.node failed.postings interesting.groups \
|
set -e ; for i in . leaf.node failed.postings interesting.groups \
|
||||||
out.going message.id temp.files ; do \
|
out.going message.id temp.files ; do \
|
||||||
mkdir -p $(DESTDIR)$(SPOOLDIR)/$$i ; \
|
mkdir -p $(DESTDIR)$(SPOOLDIR)/$$i ; \
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
$OpenBSD: patch-configure,v 1.3 2003/11/08 21:55:50 sturm Exp $
|
$OpenBSD: patch-configure,v 1.4 2004/01/12 21:33:12 sturm Exp $
|
||||||
--- configure.orig 2003-10-30 16:00:30.000000000 +0100
|
--- configure.orig 2004-01-09 17:18:31.000000000 +0100
|
||||||
+++ configure 2003-10-30 21:07:39.000000000 +0100
|
+++ configure 2004-01-12 18:38:27.000000000 +0100
|
||||||
@@ -1765,7 +1765,7 @@ echo "$as_me: WARNING: *** use --sysconf
|
@@ -1818,7 +1818,7 @@ echo "$as_me: WARNING: *** use --sysconf
|
||||||
echo "$as_me: WARNING: ***" >&2;}
|
echo "$as_me: WARNING: ***" >&2;}
|
||||||
sleep 1
|
sleep 1
|
||||||
fi
|
fi
|
||||||
|
12
news/leafnode/patches/patch-configutil_c
Normal file
12
news/leafnode/patches/patch-configutil_c
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
$OpenBSD: patch-configutil_c,v 1.1 2004/01/12 21:33:12 sturm Exp $
|
||||||
|
--- configutil.c.orig 2004-01-12 18:38:47.000000000 +0100
|
||||||
|
+++ configutil.c 2004-01-12 18:39:03.000000000 +0100
|
||||||
|
@@ -484,7 +484,7 @@ readconfig(int logtostderr)
|
||||||
|
debug = debugmode;
|
||||||
|
|
||||||
|
if (!newsadmin) {
|
||||||
|
- const char t[] = "news@";
|
||||||
|
+ const char t[] = "_news@";
|
||||||
|
newsadmin = critmalloc(strlen(fqdn) + strlen(t) + 1, "readconfig");
|
||||||
|
strcpy(newsadmin, t); /* RATS: ignore */
|
||||||
|
strcat(newsadmin, fqdn); /* RATS: ignore */
|
@ -1,46 +0,0 @@
|
|||||||
$OpenBSD: patch-nntpd_c,v 1.3 2003/07/26 13:24:08 sturm Exp $
|
|
||||||
--- nntpd.c.orig Wed Jul 23 09:08:24 2003
|
|
||||||
+++ nntpd.c Wed Jul 23 09:09:54 2003
|
|
||||||
@@ -294,7 +294,7 @@ buildpseudoart(const char *grp)
|
|
||||||
|
|
||||||
fprintf(f, "Path: %s\n", fqdn);
|
|
||||||
fprintf(f, "Newsgroups: %s\n", grp);
|
|
||||||
- fprintf(f, "From: Leafnode <news@%s>\n", fqdn);
|
|
||||||
+ fprintf(f, "From: Leafnode <_news@%s>\n", fqdn);
|
|
||||||
fprintf(f, "Subject: Leafnode placeholder for group %s\n", grp);
|
|
||||||
fprintf(f, "Date: %s\n", rfctime());
|
|
||||||
fprintf(f, "Message-ID: <leafnode:placeholder:%s@%s>\n", grp, fqdn);
|
|
||||||
@@ -838,7 +838,7 @@ list(struct newsgroup *g, int what, cons
|
|
||||||
printf("%s\t%s\r\n", g->name, g->desc ? g->desc : "-x-");
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
- printf("%s %lu news@%s\r\n", g->name, (unsigned long)g->age, fqdn);
|
|
||||||
+ printf("%s %lu _news@%s\r\n", g->name, (unsigned long)g->age, fqdn);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
@@ -1469,7 +1469,7 @@ doxhdr(char *arg)
|
|
||||||
if (n == 0) /* Subject: */
|
|
||||||
printf("Leafnode placeholder for group %s\r\n", group->name);
|
|
||||||
else if (n == 1) /* From: */
|
|
||||||
- printf("Leafnode <news@%s>\r\n", fqdn);
|
|
||||||
+ printf("Leafnode <_news@%s>\r\n", fqdn);
|
|
||||||
else if (n == 2) /* Date: */
|
|
||||||
printf("%s\r\n", rfctime());
|
|
||||||
else if (n == 3) /* Message-ID: */
|
|
||||||
@@ -1657,13 +1657,13 @@ doxover(char *arg)
|
|
||||||
"postings %lu-%lu:", group->first, group->first);
|
|
||||||
printf("%lu\t"
|
|
||||||
"Leafnode placeholder for group %s\t"
|
|
||||||
- "news@%s (Leafnode)\t%s\t"
|
|
||||||
+ "_news@%s (Leafnode)\t%s\t"
|
|
||||||
"<leafnode:placeholder:%s@%s>\t\t1000\t40\r\n", group->first,
|
|
||||||
group->name, fqdn, rfctime(), group->name, fqdn);
|
|
||||||
printf(".\r\n");
|
|
||||||
if (debugmode)
|
|
||||||
syslog(LOG_DEBUG, ">%lu\tLeafnode placeholder for group %s\t"
|
|
||||||
- "news@%s (Leafnode)\t%s\t<leafnode:placeholder:%s@%s>\t\t1000\t40",
|
|
||||||
+ "_news@%s (Leafnode)\t%s\t<leafnode:placeholder:%s@%s>\t\t1000\t40",
|
|
||||||
group->first, group->name, fqdn, rfctime(), group->name, fqdn);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user