Date: 14 Oct 2003 20:25:17 -0000 From: Colin Percival <cperciva@daemonology.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/58028: [MAINTAINER UPDATE] security/freebsd-update Message-ID: <20031014202517.76132.qmail@beastie.daemonology.net> Resent-Message-ID: <200310142040.h9EKe4vC076260@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 58028 >Category: ports >Synopsis: [MAINTAINER UPDATE] security/freebsd-update >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Oct 14 13:40:04 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Colin Percival >Release: FreeBSD 4.7-SECURITY i386 >Organization: >Environment: System: FreeBSD beastie.daemonology.net 4.7-SECURITY FreeBSD 4.7-SECURITY #0: Fri Oct 3 17:51:37 GMT 2003 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERICMP i386 >Description: Update of FreeBSD Update to version 1.4. Improvements include: * Much cleaner code (FreeBSD Update is now a shell script, rather than a huge ugly makefile), * Better performance, * Reduced bandwidth usage when no updates are available, * Warnings about files which have been affected by security updates, but cannot be updated because they have been modified locally, * An "intrusion detection" mode which compares every file which can be installed as part of a RELEASE against a (signed) database of known good hashes. >How-To-Repeat: >Fix: In addition to the following patch, please remove the following files: security/freebsd-update/files/freebsd-update security/freebsd-update/files/freebsd-update.8 security/freebsd-update/files/freebsd-update.conf.5 security/freebsd-update/files/patch-aa-rmverify security/freebsd-update/files/patch-ab-path --- freebsd-update.diff.4 begins here --- diff -ru security/freebsd-update.orig/Makefile security/freebsd-update/Makefile --- security/freebsd-update.orig/Makefile Sat Aug 23 14:42:21 2003 +++ security/freebsd-update/Makefile Tue Oct 14 20:18:26 2003 @@ -6,11 +6,9 @@ # PORTNAME= freebsd-update -PORTVERSION= 1.3 -PORTREVISION= 1 +PORTVERSION= 1.4 CATEGORIES= security MASTER_SITES= http://www.daemonology.net/freebsd-update/ -DISTNAME= ${PORTNAME}-client-${PORTVERSION:S/./_/} MAINTAINER= cperciva@daemonology.net COMMENT= Fetches and installs binary updates to FreeBSD @@ -20,32 +18,18 @@ MAN5= freebsd-update.conf.5 MAN8= freebsd-update.8 -NO_WRKSUBDIR= yes -ALL_TARGET= verify - PKGMESSAGE= ${WRKDIR}/pkg-message +.ifdef NOPORTDOCS +MAKE_ENV+= NODOCS=yes +.endif + post-extract: - @${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/freebsd-update \ - > ${WRKSRC}/freebsd-update + ${SED} -e "s#PREFIX=/usr/local#PREFIX=${PREFIX}#g" \ + ${WRKSRC}/freebsd-update > ${WRKSRC}/freebsd-update.new + ${MV} ${WRKSRC}/freebsd-update.new ${WRKSRC}/freebsd-update @${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/pkg-message \ > ${PKGMESSAGE} - @${CP} ${FILESDIR}/freebsd-update.8 ${WRKSRC} - @${CP} ${FILESDIR}/freebsd-update.conf.5 ${WRKSRC} - -do-install: - @${MKDIR} ${PREFIX}/freebsd-update - ${INSTALL_SCRIPT} ${WRKSRC}/freebsd-update ${PREFIX}/sbin - ${INSTALL_PROGRAM} ${WRKSRC}/verify ${PREFIX}/freebsd-update - ${INSTALL_DATA} ${WRKSRC}/Makefile ${PREFIX}/freebsd-update - ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${PREFIX}/freebsd-update - ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/freebsd-update - ${INSTALL_DATA} ${WRKSRC}/update.conf \ - ${PREFIX}/etc/freebsd-update.conf.sample -.if !defined(WITHOUT_MAN) - ${INSTALL_MAN} ${WRKSRC}/freebsd-update.conf.5 ${PREFIX}/man/man5/ - ${INSTALL_MAN} ${WRKSRC}/freebsd-update.8 ${PREFIX}/man/man8/ -.endif post-install: @${CAT} ${PKGMESSAGE} diff -ru security/freebsd-update.orig/distinfo security/freebsd-update/distinfo --- security/freebsd-update.orig/distinfo Tue Jun 24 20:55:26 2003 +++ security/freebsd-update/distinfo Tue Oct 14 20:28:18 2003 @@ -1 +1 @@ -MD5 (freebsd-update-client-1_3.tar.gz) = 2c10a7384de7cba56802511738564c2f +MD5 (freebsd-update-1.4.tar.gz) = 49cfac58933c47887bf954a109747c96 diff -ru security/freebsd-update.orig/pkg-plist security/freebsd-update/pkg-plist --- security/freebsd-update.orig/pkg-plist Sat May 17 21:51:26 2003 +++ security/freebsd-update/pkg-plist Tue Oct 14 20:18:27 2003 @@ -1,7 +1,8 @@ sbin/freebsd-update -freebsd-update/Makefile -freebsd-update/CHANGELOG -freebsd-update/LICENSE +sbin/freebsd-update-verify etc/freebsd-update.conf.sample -freebsd-update/verify +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/VERSION +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm freebsd-update --- freebsd-update.diff.4 ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031014202517.76132.qmail>