mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Remove portsnap port, it's now integrated into the base system
This commit is contained in:
parent
a351950aad
commit
dd28440c64
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225409
1
MOVED
1
MOVED
@ -3732,3 +3732,4 @@ audio/dream||2009-01-06|Has expired: Needs DRM enabled in FAAD
|
||||
emulators/mupen64plus-sound||2009-01-06|No supported anymore by mupen64plus team
|
||||
misc/heyu||2009-01-07|Has expired: no longer under development, use misc/heyu2
|
||||
sysutils/pkill||2009-01-07|Part of the base system since FreeBSD 5.3
|
||||
ports-mgmt/portsnap||2009-01-07|Part of the base system since FreeBSD 5.5
|
||||
|
@ -50,7 +50,6 @@
|
||||
SUBDIR += portscout
|
||||
SUBDIR += portsearch
|
||||
SUBDIR += portsman
|
||||
SUBDIR += portsnap
|
||||
SUBDIR += portsopt
|
||||
SUBDIR += porttools
|
||||
SUBDIR += portupdate-scan
|
||||
|
@ -1,55 +0,0 @@
|
||||
# New ports collection makefile for: Ports tree snapshot utility
|
||||
# Date created: 29 October 2004
|
||||
# Whom: cperciva@daemonology.net
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= portsnap
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= ports-mgmt 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
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 600021 && ( ${OSVERSION} < 504102 || ${OSVERSION} > 599999 )
|
||||
RUN_DEPENDS+= sha256:${PORTSDIR}/sysutils/freebsd-sha256
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} > 600033 || ( ${OSVERSION} > 504103 && ${OSVERSION} < 600000 )
|
||||
IGNORE= is now contained in the base system
|
||||
.endif
|
||||
|
||||
MAN5= portsnap.conf.5
|
||||
MAN8= portsnap.8
|
||||
PLIST_FILES= etc/portsnap.conf.sample sbin/portsnap \
|
||||
libexec/phttpget \
|
||||
libexec/make_index portsnap/.package.this.directory
|
||||
PLIST_DIRS= portsnap
|
||||
SUB_FILES= pkg-message
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" \
|
||||
${WRKSRC}/portsnap ${WRKSRC}/portsnap.8
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/portsnap ${PREFIX}/sbin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/make_index ${PREFIX}/libexec
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/phttpget ${PREFIX}/libexec
|
||||
${INSTALL_MAN} ${WRKSRC}/portsnap.conf.5 ${PREFIX}/man/man5/
|
||||
${INSTALL_MAN} ${WRKSRC}/portsnap.8 ${PREFIX}/man/man8/
|
||||
${INSTALL_DATA} ${WRKSRC}/portsnap.conf \
|
||||
${PREFIX}/etc/portsnap.conf.sample
|
||||
${MKDIR} ${PREFIX}/portsnap
|
||||
${TOUCH} ${PREFIX}/portsnap/.package.this.directory
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (portsnap-1.1.tar.gz) = 76b20b3ef870961045d9a8d82e15b77d
|
||||
SHA256 (portsnap-1.1.tar.gz) = 08bf6db8738d5c4fe757737d97366e7e899a6d0cfb244a46055f97f4b116b36c
|
||||
SIZE (portsnap-1.1.tar.gz) = 20875
|
@ -1,11 +0,0 @@
|
||||
--- portsnap.orig Thu Jul 20 09:00:57 2006
|
||||
+++ portsnap Thu Jul 20 09:01:14 2006
|
||||
@@ -81,7 +81,7 @@
|
||||
NDEBUG=""
|
||||
DDSTATS=""
|
||||
INDEXONLY=""
|
||||
- PREFIX="/usr/local"
|
||||
+ PREFIX="%%PREFIX%%"
|
||||
SERVERNAME=""
|
||||
REFUSE=""
|
||||
LOCALDESC=""
|
@ -1,41 +0,0 @@
|
||||
--- portsnap.8.orig Sat May 27 09:21:29 2006
|
||||
+++ portsnap.8 Thu Jul 20 09:06:29 2006
|
||||
@@ -57,13 +57,13 @@
|
||||
Store working files (e.g. downloaded updates) in
|
||||
.Ar workdir .
|
||||
(default:
|
||||
-.Pa $PREFIX/portsnap ,
|
||||
+.Pa %%PREFIX%%/portsnap ,
|
||||
or as given in the configuration file.)
|
||||
.It Fl f Ar conffile
|
||||
Read the configuration from from
|
||||
.Ar conffile .
|
||||
(default:
|
||||
-.Pa $PREFIX/etc/portsnap.conf )
|
||||
+.Pa %%PREFIX%%/etc/portsnap.conf )
|
||||
.It Fl I
|
||||
For the
|
||||
.Cm update
|
||||
@@ -157,7 +157,7 @@
|
||||
.It
|
||||
If your clock is set to local time, adding the line
|
||||
.Pp
|
||||
-.Dl 0 3 * * * root /usr/local/sbin/portsnap cron
|
||||
+.Dl 0 3 * * * root /foo/sbin/portsnap cron
|
||||
.Pp
|
||||
to /etc/crontab is a good way to make sure you always have
|
||||
an up-to-date snapshot of the ports tree available which
|
||||
@@ -218,10 +218,10 @@
|
||||
may be published, but only in aggregate and after anonymizing the
|
||||
individual systems.
|
||||
.Sh FILES
|
||||
-.Bl -tag -width "$PREFIX/etc/portsnap.conf"
|
||||
-.It $PREFIX/etc/portsnap.conf
|
||||
+.Bl -tag -width "%%PREFIX%%/etc/portsnap.conf"
|
||||
+.It %%PREFIX%%/etc/portsnap.conf
|
||||
Default location of the portsnap configuration file.
|
||||
-.It $PREFIX/portsnap
|
||||
+.It %%PREFIX%%/portsnap
|
||||
Default location where compressed snapshots are stored.
|
||||
.It /usr/ports
|
||||
Default location where the ports tree is extracted.
|
@ -1,20 +0,0 @@
|
||||
|
||||
Before you can use portsnap, you will have to create an update configuration
|
||||
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
|
||||
|
||||
%%PREFIX%%/etc/portsnap.conf.sample
|
||||
|
||||
which will fetch snapshots built and signed by the author. If you want to
|
||||
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.
|
||||
|
@ -1,15 +0,0 @@
|
||||
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").
|
||||
|
||||
In addition to operating entirely over HTTP, portsnap can use under
|
||||
a tenth of the bandwidth required by CVSup if a copy of the ports
|
||||
tree is being updated every few days.
|
||||
|
||||
WWW: http://www.daemonology.net/portsnap/
|
||||
|
||||
- Colin Percival
|
||||
cperciva@daemonology.net
|
Loading…
Reference in New Issue
Block a user