diff options
author | cperciva <cperciva@FreeBSD.org> | 2005-08-08 20:10:06 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2005-08-08 20:10:06 +0000 |
commit | 7d8af51fdcf9b077da486bdb2f6d70ba885d1aab (patch) | |
tree | 957b70742d3c4cf9d900360e9c50e543d96402a8 /etc | |
parent | 65c3a00587493225fc55992441c13a31c2f09232 (diff) | |
download | FreeBSD-src-7d8af51fdcf9b077da486bdb2f6d70ba885d1aab.zip FreeBSD-src-7d8af51fdcf9b077da486bdb2f6d70ba885d1aab.tar.gz |
Add portsnap to the base system. This is a secure, easy to use,
fast, lightweight, and generally good way for users to keep their
ports trees up to date.
This is version 0.9.4 from the ports tree (sysutils/portsnap) with
the following changes:
1. The experimental pipelined http code is enabled. No seatbelts
in -CURRENT. (^_^)
2. The working directory has moved from /usr/local/portsnap to
/var/db/portsnap (as discussed on -arch two days ago).
3. Portsnap now fetches a list of mirrors (distributed as DNS SRV
records) and selects one randomly. This should help to avoid the
uneven loading which plagues the cvsup mirror network.
4. The license is now 2-clause BSD instead of 3-clause BSD.
5. Various incidental changes to make portsnap fit into the base
system's build mechanics.
X-MFC-After: 6.0-RELEASE
X-MFC-Before: 5.5-RELEASE
X-MFC-To: RELENG_6, RELENG_5, ports
discussed on: -arch and several other places
"yes please" from: simon, remko, flz, Diane Bruce
thinks this is a great idea: bsdimp
Hopes he didn't forget any files: cperciva
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile | 2 | ||||
-rw-r--r-- | etc/mtree/BSD.var.dist | 2 | ||||
-rw-r--r-- | etc/portsnap.conf | 18 |
3 files changed, 21 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile index f47abef..f37cb34 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -11,7 +11,7 @@ BIN1= amd.map apmd.conf auth.conf \ hosts hosts.allow hosts.equiv hosts.lpd \ inetd.conf login.access login.conf \ mac.conf motd netconfig network.subr networks newsyslog.conf \ - pf.conf pf.os phones profile protocols \ + portsnap.conf pf.conf pf.os phones profile protocols \ rc rc.bsdextended rc.firewall rc.firewall6 rc.initdiskless \ rc.sendmail rc.shutdown \ rc.subr remote rpc services shells \ diff --git a/etc/mtree/BSD.var.dist b/etc/mtree/BSD.var.dist index 56c1426..7586b2a 100644 --- a/etc/mtree/BSD.var.dist +++ b/etc/mtree/BSD.var.dist @@ -34,6 +34,8 @@ .. ports .. + portsnap + .. .. empty mode=0555 flags=schg .. diff --git a/etc/portsnap.conf b/etc/portsnap.conf new file mode 100644 index 0000000..665061e --- /dev/null +++ b/etc/portsnap.conf @@ -0,0 +1,18 @@ +# $FreeBSD$ + +# Default directory where compressed snapshots are stored. +# WORKDIR=/var/db/portsnap + +# Default location of the ports tree (target for "update" and "extract"). +# PORTSDIR=/usr/ports + +# Server or server pool from which to fetch updates. You can change +# this to point at a specific server if you want, but in most cases +# using a "nearby" server won't provide a measurable improvement in +# performance. +SERVERNAME=portsnap.FreeBSD.org + +# Trusted keyprint. Changing this is a Bad Idea unless you've received +# a PGP-signed email from <security-officer@FreeBSD.org> telling you to +# change it and explaining why. +KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 |