diff options
author | krion <krion@FreeBSD.org> | 2005-03-20 09:38:26 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2005-03-20 09:38:26 +0000 |
commit | 7f081f4ac13273edbf10afc89e0355c4e276b05e (patch) | |
tree | 16a256d61e4e6376bfe77b7ab966742d64bf9069 /ports-mgmt | |
parent | c52da467e08b11505d101b9e2020ee3d6385cfc7 (diff) | |
download | FreeBSD-ports-7f081f4ac13273edbf10afc89e0355c4e276b05e.zip FreeBSD-ports-7f081f4ac13273edbf10afc89e0355c4e276b05e.tar.gz |
Update portsnap to version 0.9. This brings the following changes:
* SHA-256 has replaced SHA-1 as a hash function used for verifying
integrity of the ports tree.
* The RSA signature verification is now performed using OpenSSL
rather than "borrowing" code from FreeBSD Update.
* In addition to distributing the ports tree, portsnap now also
produces up-to-date INDEX, INDEX-4, and INDEX-5 files.
* When fetching a series of patches, portsnap now prints a simple
progress indicator.
PR: ports/79044
Submitted by: maintainer
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portsnap/Makefile | 12 | ||||
-rw-r--r-- | ports-mgmt/portsnap/distinfo | 4 | ||||
-rw-r--r-- | ports-mgmt/portsnap/pkg-message | 9 |
3 files changed, 15 insertions, 10 deletions
diff --git a/ports-mgmt/portsnap/Makefile b/ports-mgmt/portsnap/Makefile index 01b2a5d..e0756ec 100644 --- a/ports-mgmt/portsnap/Makefile +++ b/ports-mgmt/portsnap/Makefile @@ -6,26 +6,25 @@ # PORTNAME= portsnap -PORTVERSION= 0.3.1 +PORTVERSION= 0.9 CATEGORIES= sysutils net MASTER_SITES= http://www.daemonology.net/portsnap/ MAINTAINER= cperciva@daemonology.net COMMENT= Provides secure snapshots of the ports directory -RUN_DEPENDS= bspatch:${PORTSDIR}/misc/bsdiff \ - freebsd-update-verify:${PORTSDIR}/security/freebsd-update +RUN_DEPENDS= bspatch:${PORTSDIR}/misc/bsdiff .include <bsd.port.pre.mk> -.if ${OSVERSION} < 491101 || ( ${OSVERSION} > 499999 && ${OSVERSION} < 502114 ) -RUN_DEPENDS+= sha1:${PORTSDIR}/sysutils/freebsd-sha1 +.if ${OSVERSION} < 600021 +RUN_DEPENDS+= sha256:${PORTSDIR}/sysutils/freebsd-sha256 .endif MAN5= portsnap.conf.5 MAN8= portsnap.8 PLIST_FILES= etc/portsnap.conf.sample sbin/portsnap \ - portsnap/.package.this.directory + libexec/make_index portsnap/.package.this.directory PLIST_DIRS= portsnap PKGMESSAGE= ${WRKDIR}/pkg-message @@ -39,6 +38,7 @@ post-extract: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/portsnap ${PREFIX}/sbin + ${INSTALL_PROGRAM} ${WRKSRC}/make_index ${PREFIX}/libexec ${INSTALL_MAN} ${WRKSRC}/portsnap.conf.5 ${PREFIX}/man/man5/ ${INSTALL_MAN} ${WRKSRC}/portsnap.8 ${PREFIX}/man/man8/ ${INSTALL_DATA} ${WRKSRC}/portsnap.conf \ diff --git a/ports-mgmt/portsnap/distinfo b/ports-mgmt/portsnap/distinfo index e112c5f..0cf6600 100644 --- a/ports-mgmt/portsnap/distinfo +++ b/ports-mgmt/portsnap/distinfo @@ -1,2 +1,2 @@ -MD5 (portsnap-0.3.1.tar.gz) = e5fe823c977d016e4891d882b0ddf0f0 -SIZE (portsnap-0.3.1.tar.gz) = 7626 +MD5 (portsnap-0.9.tar.gz) = dd7471355f4cb7027412f67e6575f5ca +SIZE (portsnap-0.9.tar.gz) = 12214 diff --git a/ports-mgmt/portsnap/pkg-message b/ports-mgmt/portsnap/pkg-message index 4bd5cc9..519591a 100644 --- a/ports-mgmt/portsnap/pkg-message +++ b/ports-mgmt/portsnap/pkg-message @@ -1,7 +1,7 @@ Before you can use portsnap, you will have to create an update configuration -file specifying the server from which to fetch snapshots and the sha1 hash -of the RSA public key which is trusted to sign the snapshots. +file specifying the server from which to fetch snapshots and the sha256 hash +of the openssl public key which is trusted to sign the snapshots. A sample configuration file has been installed in @@ -13,3 +13,8 @@ use these updates, copy that file to %%PREFIX%%/etc/portsnap.conf otherwise, create that file as appropriate. + +NOTE TO USERS UPGRADING FROM PORTSNAP 0.3.1 OR EARLIER: The structure +of the portsnap configuration file has changed; you will have to replace +your existing portsnap.conf with a new version. + |