ports/164339: sysutils/heartbeat : post-deinstall considered harmful

Chris Rees crees at FreeBSD.org
Fri Jan 20 18:10:10 UTC 2012


>Number:         164339
>Category:       ports
>Synopsis:       sysutils/heartbeat : post-deinstall considered harmful
>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:   Fri Jan 20 18:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Rees
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 8.2-STABLE FreeBSD 8.2-STABLE #5 r227907: Wed Nov 23 21:55:50 UTC 2011 simon at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


	
>Description:
	post-deinstall target is bogus; make deinstall calls pkg_delete -f, which executes the pkg-deinstall script anyway.
>How-To-Repeat:
	
>Fix:

	

--- patch.txt begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/heartbeat/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile	1 Nov 2011 21:59:38 -0000	1.42
+++ Makefile	20 Jan 2012 18:00:07 -0000
@@ -208,7 +208,4 @@
 
 	@${CAT} ${PKGMESSAGE}
 
-post-deinstall:
-	@${SH} ${PKGINSTALL} ${PKGNAME} DEINSTALL
-
 .include <bsd.port.post.mk>
--- patch.txt ends here ---


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



More information about the freebsd-ports-bugs mailing list