ports/55869: [MAINTAINER UPDATE] security/freebsd-update

Colin Percival cperciva at daemonology.net
Fri Aug 22 15:40:13 UTC 2003


>Number:         55869
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] security/freebsd-update
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 22 08:40:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Colin Percival
>Release:        FreeBSD 4.7-SECURITY i386
>Organization:
>Environment:
FreeBSD beastie.daemonology.net 4.7-SECURITY FreeBSD 4.7-SECURITY #0: Tue Aug 12 16:54:33 GMT 2003 root at builder.daemonology.net:/usr/obj/usr/src/sys/GENERICMP i386
>Description:
Call bspatch with a full path; this fixes problems where people
are running freebsd-update with a PATH which doesn't include /usr/local/bin
>How-To-Repeat:
>Fix:

--- freebsd-update.diff.3 begins here ---
--- /usr/ports/security/freebsd-update/Makefile	Fri Aug 22 15:30:01 2003
+++ /usr/ports/security/freebsd-update/Makefile	Fri Aug 22 15:49:07 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	freebsd-update
 PORTVERSION=	1.3
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://www.daemonology.net/freebsd-update/
 DISTNAME=	${PORTNAME}-client-${PORTVERSION:S/./_/}
--- /usr/ports/security/freebsd-update/files/patch-ab-path	Thu Jan  1 01:00:00 1970
+++ /usr/ports/security/freebsd-update/files/patch-ab-path	Fri Aug 22 16:02:45 2003
@@ -0,0 +1,20 @@
+--- Makefile.orig	Sat Mar 22 15:44:03 2003
++++ Makefile	Fri Aug 22 15:58:45 2003
+@@ -14,6 +14,7 @@
+ 		uname -r | cut -f 1 -d '-' ) | lam - -
+ WORKDIR?=${.CURDIR}/work
+ MAILTO?=root
++BSPATCH!=which bspatch || echo /usr/local/bin/bspatch
+ 
+ daily:
+ 	@sleep `jot -r 1 0 3600`
+@@ -78,7 +79,8 @@
+ 		rmdir ${WORKDIR}/${NUM}/install$$f;			\
+ 		( fetch -qo ${WORKDIR}/${NUM}/$$z-$$y			\
+ 			${FETCHROOT}/$$z-$$y &&				\
+-			bspatch $$f ${WORKDIR}/${NUM}/install$$f.tmp	\
++			${BSPATCH} $$f					\
++				${WORKDIR}/${NUM}/install$$f.tmp	\
+ 				${WORKDIR}/${NUM}/$$z-$$y &&		\
+ 			rm ${WORKDIR}/${NUM}/$$z-$$y ) ||		\
+ 			touch ${WORKDIR}/${NUM}/install$$f.tmp;		\
--- freebsd-update.diff.3 ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list