mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
- use %%RC_SUBR%% instead of hardcoded /etc/rc.subr [1]
- fix coredump when parsing user:pass@host in nntpcache.servers [2] - bump PORTREVISION PR: 94550 [1], 94549 [2] Submitted by: tps at vr-web.de [1][2]
This commit is contained in:
parent
d051daecb1
commit
c1b52ea0f0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157468
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= nntpcache
|
||||
PORTVERSION= 3.0.2
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= news
|
||||
MASTER_SITES= http://www.nntpcache.com/pub/nntpcache/
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# nntpcached_enable="YES"
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name=nntpcached
|
||||
rcvar=`set_rcvar`
|
||||
|
11
news/nntpcache/files/patch-src-nntpcache.c
Normal file
11
news/nntpcache/files/patch-src-nntpcache.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/nntpcache.c.orig Fri Mar 17 07:53:45 2006
|
||||
+++ src/nntpcache.c Fri Mar 17 07:53:51 2006
|
||||
@@ -810,7 +810,7 @@
|
||||
loge (("missing password in %s:%d: %s", file, n, buf));
|
||||
continue;
|
||||
}
|
||||
- if ((hostname = strrchr(password-2, '@')) != NULL) {
|
||||
+ if ((hostname = strrchr(password, '@')) != NULL) {
|
||||
*(hostname++) = '\0';
|
||||
username = host;
|
||||
list->user = Sstrdup (username);
|
Loading…
Reference in New Issue
Block a user