ports/134062: [PATCH] security/expiretable incorrect pkg-plist macroses / stop daemon on deinstall

Alexey V.Degtyarev alexey at renatasystems.org
Tue Apr 28 11:40:05 UTC 2009


>Number:         134062
>Category:       ports
>Synopsis:       [PATCH] security/expiretable incorrect pkg-plist macroses / stop daemon on deinstall
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 28 11:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Alexey V. Degtyarev
>Release:        FreeBSD 7.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD renatasystems.org 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 08:58:24 UTC 2009 root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	1. pkg-plist has an invalid @unexec command to stop the expiretable
	daemon: macroses RC_DIR, RC_SUFX are not defined in Makefile, so this
	causes errors at the deinstall routine:
	%RC_DIR%/etc/rc.d/expiretable%RC_SUFX%: not found

	2. A @stopdaemon feature has a more simple syntax.
>How-To-Repeat:
	Just install and deinstall port/package.
>Fix:

	

--- expiretable.patch begins here ---
diff -u -r expiretable.orig/pkg-plist expiretable/pkg-plist
--- expiretable.orig/pkg-plist	2006-12-28 01:46:05.000000000 +0300
+++ expiretable/pkg-plist	2009-04-28 14:31:22.000000000 +0400
@@ -1,2 +1,2 @@
+ at stopdaemon expiretable
 sbin/expiretable
- at unexec %%RC_DIR%%/etc/rc.d/expiretable%%RC_SUFX%% stop 2>&1 >/dev/null || true
--- expiretable.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list