mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-24 11:47:20 +00:00
Remove remnants of portsnap(8)
This was prompted by noticing that '/var/db/portsnap' still exists on newly-installed machines. With this change, all mentions of portsnap(8) in the tree are gone, except for the historical note in the AUTHORS section of manpage phttpget(8). locate(1) will thus start indexing again '/var/db/portsnap' on machines where this directory still exists, which may be a good way to push administrators to delete it. Reviewed by: cperciva Approved by: emaste (mentor) MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45023
This commit is contained in:
parent
c0b58e65de
commit
9b30b96c1f
|
@ -53,8 +53,6 @@
|
||||||
..
|
..
|
||||||
ports
|
ports
|
||||||
..
|
..
|
||||||
portsnap
|
|
||||||
..
|
|
||||||
zfsd tags=package=zfs
|
zfsd tags=package=zfs
|
||||||
cases
|
cases
|
||||||
..
|
..
|
||||||
|
|
|
@ -49,9 +49,7 @@ small files need to be downloaded.
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Xr freebsd-update 8
|
.Xr freebsd-update 8
|
||||||
and
|
tool uses
|
||||||
.Xr portsnap 8
|
|
||||||
tools use
|
|
||||||
.Nm
|
.Nm
|
||||||
to download binary patch files.
|
to download binary patch files.
|
||||||
.Sh ENVIRONMENT
|
.Sh ENVIRONMENT
|
||||||
|
@ -69,17 +67,16 @@ Timeout for HTTP request in seconds.
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr fetch 1 ,
|
.Xr fetch 1 ,
|
||||||
.Xr freebsd-update 8 ,
|
.Xr freebsd-update 8
|
||||||
.Xr portsnap 8
|
|
||||||
.Sh AUTHORS
|
.Sh AUTHORS
|
||||||
.An -nosplit
|
.An -nosplit
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
utility was written by
|
utility was written by
|
||||||
.An Colin Percival Aq Mt cperciva@FreeBSD.org
|
.An Colin Percival Aq Mt cperciva@FreeBSD.org
|
||||||
for use with
|
initially for use with
|
||||||
.Xr portsnap 8
|
.Xr portsnap 8
|
||||||
and later with
|
(now removed) and has been used by
|
||||||
.Xr freebsd-update 8 .
|
.Xr freebsd-update 8 .
|
||||||
This manual page was written by
|
This manual page was written by
|
||||||
.An Xin LI Aq Mt delphij@FreeBSD.org .
|
.An Xin LI Aq Mt delphij@FreeBSD.org .
|
||||||
|
|
|
@ -3,9 +3,9 @@ How to prepare initiator virtual machines for iSCSI target testing
|
||||||
|
|
||||||
1. Install operating systems.
|
1. Install operating systems.
|
||||||
|
|
||||||
- FreeBSD: Use default settings for everything. Don't install
|
- FreeBSD: Use default settings for everything. Don't install ports
|
||||||
ports from the system installer, use "portsnap fetch extract"
|
from the system installer, fetch a new ports tree after
|
||||||
after installation instead.
|
installation instead.
|
||||||
|
|
||||||
- Fedora: Change the environment to "Minimal install".
|
- Fedora: Change the environment to "Minimal install".
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#SEARCHPATHS="/"
|
#SEARCHPATHS="/"
|
||||||
|
|
||||||
# paths unwanted in output
|
# paths unwanted in output
|
||||||
#PRUNEPATHS="/tmp /usr/tmp /var/tmp /var/db/portsnap /var/db/freebsd-update"
|
#PRUNEPATHS="/tmp /usr/tmp /var/tmp /var/db/freebsd-update"
|
||||||
|
|
||||||
# directories unwanted in output
|
# directories unwanted in output
|
||||||
#PRUNEDIRS=".zfs"
|
#PRUNEDIRS=".zfs"
|
||||||
|
|
|
@ -52,7 +52,7 @@ PATH=$LIBEXECDIR:/bin:/usr/bin:$PATH; export PATH
|
||||||
: ${mklocatedb:=locate.mklocatedb} # make locate database program
|
: ${mklocatedb:=locate.mklocatedb} # make locate database program
|
||||||
: ${FCODES:=/var/db/locate.database} # the database
|
: ${FCODES:=/var/db/locate.database} # the database
|
||||||
: ${SEARCHPATHS="/"} # directories to be put in the database
|
: ${SEARCHPATHS="/"} # directories to be put in the database
|
||||||
: ${PRUNEPATHS="/tmp /usr/tmp /var/tmp /var/db/portsnap /var/db/freebsd-update"} # unwanted directories
|
: ${PRUNEPATHS="/tmp /usr/tmp /var/tmp /var/db/freebsd-update"} # unwanted directories
|
||||||
: ${PRUNEDIRS=".zfs"} # unwanted directories, in any parent
|
: ${PRUNEDIRS=".zfs"} # unwanted directories, in any parent
|
||||||
: ${FILESYSTEMS="$(lsvfs | tail -n +3 | \
|
: ${FILESYSTEMS="$(lsvfs | tail -n +3 | \
|
||||||
egrep -vw "loopback|network|synthetic|read-only|0" | \
|
egrep -vw "loopback|network|synthetic|read-only|0" | \
|
||||||
|
|
|
@ -1105,10 +1105,10 @@ IDS_check_params () {
|
||||||
# a useful answer, use the server name specified by the user.
|
# a useful answer, use the server name specified by the user.
|
||||||
# Put another way... look up _http._tcp.${SERVERNAME} and pick a server
|
# Put another way... look up _http._tcp.${SERVERNAME} and pick a server
|
||||||
# from that; or if no servers are returned, use ${SERVERNAME}.
|
# from that; or if no servers are returned, use ${SERVERNAME}.
|
||||||
# This allows a user to specify "portsnap.freebsd.org" (in which case
|
# This allows a user to specify "update.FreeBSD.org" (in which case
|
||||||
# portsnap will select one of the mirrors) or "portsnap5.tld.freebsd.org"
|
# freebsd-update will select one of the mirrors) or "update1.freebsd.org"
|
||||||
# (in which case portsnap will use that particular server, since there
|
# (in which case freebsd-update will use that particular server, since
|
||||||
# won't be an SRV entry for that name).
|
# there won't be an SRV entry for that name).
|
||||||
#
|
#
|
||||||
# We ignore the Port field, since we are always going to use port 80.
|
# We ignore the Port field, since we are always going to use port 80.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue