summaryrefslogtreecommitdiff
path: root/ports-mgmt/portsnap
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-03-20 09:38:26 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-03-20 09:38:26 +0000
commit4fcee630766767906c7df241d0ac8cb86456546e (patch)
tree3bbcba0acde20e0394e84659cb6385887406d982 /ports-mgmt/portsnap
parentUpdate to version 3.0.12. (diff)
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
Notes
Notes: svn path=/head/; revision=131704
Diffstat (limited to 'ports-mgmt/portsnap')
-rw-r--r--ports-mgmt/portsnap/Makefile12
-rw-r--r--ports-mgmt/portsnap/distinfo4
-rw-r--r--ports-mgmt/portsnap/pkg-message9
3 files changed, 15 insertions, 10 deletions
diff --git a/ports-mgmt/portsnap/Makefile b/ports-mgmt/portsnap/Makefile
index 01b2a5dd3a49..e0756ecc9cb7 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 e112c5f3d0f6..0cf6600b59ac 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 4bd5cc90c830..519591ac4336 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.
+