From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 30 20:10:26 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05CDD16A4CF for ; Sat, 30 Oct 2004 20:10:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D729243D53 for ; Sat, 30 Oct 2004 20:10:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9UKAPhQ085548 for ; Sat, 30 Oct 2004 20:10:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9UKAPkR085544; Sat, 30 Oct 2004 20:10:25 GMT (envelope-from gnats) Resent-Date: Sat, 30 Oct 2004 20:10:25 GMT Resent-Message-Id: <200410302010.i9UKAPkR085544@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Colin Percival Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22FD916A4D9 for ; Sat, 30 Oct 2004 20:04:46 +0000 (GMT) Received: from tx0.mail.ox.ac.uk (tx0.mail.ox.ac.uk [129.67.1.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ACED43D4C for ; Sat, 30 Oct 2004 20:04:45 +0000 (GMT) (envelope-from cperciva@hexahedron.daemonology.net) Received: from scan0.mail.ox.ac.uk ([129.67.1.162] helo=localhost) by tx0.mail.ox.ac.uk with esmtp (Exim 4.42) id 1CNzSu-0005bu-15 for FreeBSD-gnats-submit@freebsd.org; Sat, 30 Oct 2004 21:04:44 +0100 Received: from rx0.mail.ox.ac.uk ([129.67.1.161]) by localhost (scan0.mail.ox.ac.uk [129.67.1.162]) (amavisd-new, port 25) with ESMTP id 21395-05 for ; Sat, 30 Oct 2004 21:04:43 +0100 (BST) Received: from gateway.wadham.ox.ac.uk ([163.1.161.253]) by rx0.mail.ox.ac.uk with smtp (Exim 4.42) id 1CNzSt-0005br-33 for FreeBSD-gnats-submit@freebsd.org; Sat, 30 Oct 2004 21:04:43 +0100 Received: (qmail 8923 invoked by uid 1004); 30 Oct 2004 20:04:43 -0000 Received: from cperciva@hexahedron.daemonology.net by gateway by uid 71 with qmail-scanner-1.20 (clamscan: 0.67. sweep: 2.18/3.79. Clear:RC:1(163.1.161.203):. Processed in 0.517636 secs); 30 Oct 2004 20:04:43 -0000 Received: from dhcp1203.wadham.ox.ac.uk (HELO hexahedron.daemonology.net) (163.1.161.203) by gateway.wadham.ox.ac.uk with SMTP; 30 Oct 2004 20:04:43 -0000 Received: (qmail 9481 invoked by uid 1001); 30 Oct 2004 20:04:43 -0000 Message-Id: <20041030200443.9480.qmail@hexahedron.daemonology.net> Date: 30 Oct 2004 20:04:43 -0000 From: Colin Percival To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/73323: [NEW PORT] sysutils/portsnap X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Colin Percival List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2004 20:10:26 -0000 >Number: 73323 >Category: ports >Synopsis: [NEW PORT] sysutils/portsnap >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 30 20:10:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Colin Percival >Release: FreeBSD 5.2.1-SECURITY i386 >Organization: >Environment: System: FreeBSD hexahedron.daemonology.net 5.2.1-SECURITY FreeBSD 5.2.1-SECURITY #0: Tue Sep 28 17:27:41 GMT 2004 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: >How-To-Repeat: >Fix: Portsnap is a system for securely updating the ports tree by distributing signed compressed snapshots. This is the client half of that system; it downloads compressed snapshots into /usr/local/portsnap ("portsnap fetch") and uses those to extract a ports tree into /usr/ports ("portsnap extract") or update an existing tree ("portsnap update"). Portsnap uses bandwidth roughly comparable to CVSup, but operates entirely over HTTP. --- portsnap.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # sysutils/portsnap # sysutils/portsnap/pkg-descr # sysutils/portsnap/distinfo # sysutils/portsnap/Makefile # sysutils/portsnap/pkg-message # echo c - sysutils/portsnap mkdir -p sysutils/portsnap > /dev/null 2>&1 echo x - sysutils/portsnap/pkg-descr sed 's/^X//' >sysutils/portsnap/pkg-descr << 'END-of-sysutils/portsnap/pkg-descr' XPortsnap is a system for securely updating the ports tree by Xdistributing signed compressed snapshots. This is the client Xhalf of that system; it downloads compressed snapshots into X/usr/local/portsnap ("portsnap fetch") and uses those to extract Xa ports tree into /usr/ports ("portsnap extract") or update an Xexisting tree ("portsnap update"). X XPortsnap uses bandwidth roughly comparable to CVSup, but operates Xentirely over HTTP. X XWWW: http://www.daemonology.net/portsnap/ X X- Colin Percival Xcperciva@daemonology.net END-of-sysutils/portsnap/pkg-descr echo x - sysutils/portsnap/distinfo sed 's/^X//' >sysutils/portsnap/distinfo << 'END-of-sysutils/portsnap/distinfo' XMD5 (portsnap-0.2.tar.gz) = bd31debcdec8acfc391c880d42ab52dc XSIZE (portsnap-0.2.tar.gz) = 6752 END-of-sysutils/portsnap/distinfo echo x - sysutils/portsnap/Makefile sed 's/^X//' >sysutils/portsnap/Makefile << 'END-of-sysutils/portsnap/Makefile' X# New ports collection makefile for: Ports tree snapshot utility X# Date created: 29 October 2004 X# Whom: cperciva@daemonology.net X# X# $FreeBSD$ X# X XPORTNAME= portsnap XPORTVERSION= 0.2 XCATEGORIES= sysutils net XMASTER_SITES= http://www.daemonology.net/portsnap/ X XMAINTAINER= cperciva@daemonology.net XCOMMENT= Provides secure snapshots of the ports directory. X X# The freebsd-sha1 port is marked IGNORE for some versions of FreeBSD, X# but for those sha1 should be found in /sbin/, so this should be safe. XRUN_DEPENDS= bspatch:${PORTSDIR}/misc/bsdiff \ X sha1:${PORTSDIR}/sysutils/freebsd-sha1 \ X freebsd-update-verify:${PORTSDIR}/security/freebsd-update X XMAN5= portsnap.conf.5 XMAN8= portsnap.8 XPLIST_FILES= etc/portsnap.conf.sample sbin/portsnap XPLIST_DIRS= portsnap X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/portsnap ${PREFIX}/sbin X ${INSTALL_MAN} ${WRKSRC}/portsnap.conf.5 ${PREFIX}/man/man5/ X ${INSTALL_MAN} ${WRKSRC}/portsnap.8 ${PREFIX}/man/man8/ X ${INSTALL_DATA} ${WRKSRC}/portsnap.conf \ X ${PREFIX}/etc/portsnap.conf.sample X ${MKDIR} ${PREFIX}/portsnap X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-sysutils/portsnap/Makefile echo x - sysutils/portsnap/pkg-message sed 's/^X//' >sysutils/portsnap/pkg-message << 'END-of-sysutils/portsnap/pkg-message' X XBefore you can use portsnap, you will have to create an update configuration Xfile specifying the server from which to fetch snapshots and the sha1 hash Xof the RSA public key which is trusted to sign the snapshots. X XA sample configuration file has been installed in X X /usr/local/etc/portsnap.conf.sample X Xwhich will fetch snapshots built and signed by the author. If you want to Xuse these updates, copy that file to X X /usr/local/etc/portsnap.conf X Xotherwise, create that file as appropriate. END-of-sysutils/portsnap/pkg-message exit --- portsnap.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: