ports/164750: [PATCH] news/inn: Fix rc script

Joe Horn joehorn at gmail.com
Fri Feb 3 22:20:14 UTC 2012


>Number:         164750
>Category:       ports
>Synopsis:       [PATCH] news/inn: Fix rc script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 03 22:20:14 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Joe Horn
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
Taiwanese User
>Environment:
System: FreeBSD joehorn.idv.tw 9.0-RELEASE FreeBSD 9.0-RELEASE #3: Mon Jan  9 22:14:09 CST
>Description:
- As the change of files/innd.sh.in on 2.4.6_1 , installed rc script becomes :

    innd_enable=${innd_enable-"NO"}
    innd_user=${innd_user-"news"}
    innd_group=${innd_group-"news"}

    required_files="${PREFIX}/news/db/history.dir"

    start_cmd=${name}_start
    stop_cmd=${name}_stop

    command=${PREFIX}/news/bin/rc.news

  This patch maight solve the problem.

- Bump PORTREVISION



Port maintainer (fluffy at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- inn-2.4.6_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/news/inn/Makefile /home/admin/joehorn/inn/Makefile
--- /usr/ports/news/inn/Makefile	2012-01-24 20:05:45.000000000 +0800
+++ /home/admin/joehorn/inn/Makefile	2012-02-04 05:53:21.000000000 +0800
@@ -7,7 +7,7 @@
 
 PORTNAME?=	inn
 PORTVERSION?=	2.4.6
-PORTREVISION?=	2
+PORTREVISION?=	3
 CATEGORIES=	news ipv6
 # Master distribution broken
 #MASTER_SITES?=	${MASTER_SITE_ISC}
diff -ruN --exclude=CVS /usr/ports/news/inn/Makefile.layout /home/admin/joehorn/inn/Makefile.layout
--- /usr/ports/news/inn/Makefile.layout	2006-10-31 11:15:07.000000000 +0800
+++ /home/admin/joehorn/inn/Makefile.layout	2012-02-04 05:40:19.000000000 +0800
@@ -54,7 +54,7 @@
 
 .for sub in NEWSBASE ETCDIR RUNDIR LOGDIR DBDIR TMPDIR NEWSSPOOL
 PLIST_SUB+=		${sub}="${INN_${sub}:C,^${PREFIX},%D,}"
-SUB_LIST+=		${sub}="${INN_${sub}:C,^${PREFIX},\\$\\${PREFIX},}"
+SUB_LIST+=		${sub}="${INN_${sub}:C,^${PREFIX},${PREFIX},}"
 .endfor
 
 PLIST_SUB+=		CWDNEWSBASE="@cwd ${INN_NEWSBASE}"
--- inn-2.4.6_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list