summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-07-29 21:45:46 +0000
committernetchild <netchild@FreeBSD.org>2005-07-29 21:45:46 +0000
commit3ca6ec249e9e773dbe91afe3cc9bf0eb941517fa (patch)
tree408990cf48c97b90b7224e127900945207bd647c
parent46ccea61c3ad6a4579fd2a92965c2cf31f63431c (diff)
downloadFreeBSD-src-3ca6ec249e9e773dbe91afe3cc9bf0eb941517fa.zip
FreeBSD-src-3ca6ec249e9e773dbe91afe3cc9bf0eb941517fa.tar.gz
- Move recently added dir into the correct section.
- Add a note about the organisation of the sections. - Expand shell globs (they worked in a previous version of the delete-old target, but not in this one). - Use the correct way of checking for a native environment. [1] - Add some more obsolete files. - Fix some bad english. [1] Suggested by: ru [1] Approved by: mentor (joerg)
-rw-r--r--Makefile.inc112
-rw-r--r--ObsoleteFiles.inc66
-rw-r--r--share/man/man7/build.74
3 files changed, 68 insertions, 14 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 08130a4..ff253dd 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1067,7 +1067,7 @@ RM_I=-i
.endif
delete-old-files:
-.if defined(${TARGET_ARCH})
+.if ${TARGET_ARCH} != ${MACHINE_ARCH}
.error "You have to run this in a native environment!"
.endif
@echo ">>> Removing old files (only deletes safe to delete libs)"
@@ -1083,7 +1083,7 @@ delete-old-files:
@echo ">>> Old files removed"
check-old-files:
-.if defined(${TARGET_ARCH})
+.if ${TARGET_ARCH} != ${MACHINE_ARCH}
.error "You have to run this in a native environment!"
.endif
@echo ">>> Checking for old files"
@@ -1092,7 +1092,7 @@ check-old-files:
.endfor
delete-old-libs:
-.if defined(${TARGET_ARCH})
+.if ${TARGET_ARCH} != ${MACHINE_ARCH}
.error "You have to run this in a native environment!"
.endif
@echo ">>> Removing old libraries"
@@ -1107,7 +1107,7 @@ delete-old-libs:
@echo ">>> Old libraries removed"
check-old-libs:
-.if defined(${TARGET_ARCH})
+.if ${TARGET_ARCH} != ${MACHINE_ARCH}
.error "You have to run this in a native environment!"
.endif
@echo ">>> Checking for old libraries"
@@ -1116,7 +1116,7 @@ check-old-libs:
.endfor
delete-old-dirs:
-.if defined(${TARGET_ARCH})
+.if ${TARGET_ARCH} != ${MACHINE_ARCH}
.error "You have to run this in a native environment!"
.endif
@echo ">>> Removing old directories"
@@ -1127,7 +1127,7 @@ delete-old-dirs:
@echo ">>> Old directories removed"
check-old-dirs:
-.if defined(${TARGET_ARCH})
+.if ${TARGET_ARCH} != ${MACHINE_ARCH}
.error "You have to run this in a native environment!"
.endif
@echo ">>> Checking for old directories"
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 26e9dbc..40da088 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -11,6 +11,8 @@
# In case of a complete directory hierarchy the sorting is in depth first
# order.
#
+# The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last.
+#
# 20050721: moved to ports
OLD_FILES+=usr/sbin/vttest
@@ -43,7 +45,27 @@ OLD_FILES+=usr/sbin/named.restart
OLD_FILES+=usr/sbin/ndc
OLD_FILES+=usr/sbin/nslookup
OLD_FILES+=usr/sbin/nsupdate
-OLD_DIRS+=usr/share/doc/bind
+OLD_FILES+=usr/share/doc/bind/html/acl.html
+OLD_FILES+=usr/share/doc/bind/html/address_list.html
+OLD_FILES+=usr/share/doc/bind/html/comments.html
+OLD_FILES+=usr/share/doc/bind/html/config.html
+OLD_FILES+=usr/share/doc/bind/html/controls.html
+OLD_FILES+=usr/share/doc/bind/html/docdef.html
+OLD_FILES+=usr/share/doc/bind/html/example.html
+OLD_FILES+=usr/share/doc/bind/html/include.html
+OLD_FILES+=usr/share/doc/bind/html/index.html
+OLD_FILES+=usr/share/doc/bind/html/key.html
+OLD_FILES+=usr/share/doc/bind/html/logging.html
+OLD_FILES+=usr/share/doc/bind/html/master.html
+OLD_FILES+=usr/share/doc/bind/html/options.html
+OLD_FILES+=usr/share/doc/bind/html/server.html
+OLD_FILES+=usr/share/doc/bind/html/trusted-keys.html
+OLD_FILES+=usr/share/doc/bind/html/zone.html
+OLD_FILES+=usr/share/doc/bind/misc/DynamicUpdate
+OLD_FILES+=usr/share/doc/bind/misc/FAQ.1of2
+OLD_FILES+=usr/share/doc/bind/misc/FAQ.2of2
+OLD_FILES+=usr/share/doc/bind/misc/rfc2317-notes.txt
+OLD_FILES+=usr/share/doc/bind/misc/style.txt
# 2004XXYY: OS internal libs, no ports use them, no need to use OLD_LIBS
OLD_FILES+=lib/geom/geom_concat.so.1
OLD_FILES+=lib/geom/geom_label.so.1
@@ -147,7 +169,7 @@ OLD_FILES+=usr/lib/libg++_p.a
# 20001006
OLD_FILES+=usr/bin/miniperl
# 20000810
-OLD_FILES+=usr/bin/sperl*
+OLD_FILES+=usr/bin/sperl
# 199909XX
OLD_FILES+=usr/lib/libdesrypt_p.a
## unsorted
@@ -235,12 +257,41 @@ OLD_LIBS+=usr/lib/libusbhid.so.1
OLD_LIBS+=usr/lib/libvgl.so.3
OLD_LIBS+=usr/lib/libwrap.so.3
OLD_LIBS+=usr/lib/libypclnt.so.1
-OLD_LIBS+=usr/lib/pam_*.so.2
-OLD_LIBS+=usr/lib/snmp_*.so.3
+OLD_LIBS+=usr/lib/pam_chroot.so.2
+OLD_LIBS+=usr/lib/pam_deny.so.2
+OLD_LIBS+=usr/lib/pam_echo.so.2
+OLD_LIBS+=usr/lib/pam_exec.so.2
+OLD_LIBS+=usr/lib/pam_ftpusers.so.2
+OLD_LIBS+=usr/lib/pam_group.so.2
+OLD_LIBS+=usr/lib/pam_guest.so.2
+OLD_LIBS+=usr/lib/pam_krb5.so.2
+OLD_LIBS+=usr/lib/pam_ksu.so.2
+OLD_LIBS+=usr/lib/pam_lastlog.so.2
+OLD_LIBS+=usr/lib/pam_login_access.so.2
+OLD_LIBS+=usr/lib/pam_nologin.so.2
+OLD_LIBS+=usr/lib/pam_opie.so.2
+OLD_LIBS+=usr/lib/pam_opieaccess.so.2
+OLD_LIBS+=usr/lib/pam_passwdqc.so.2
+OLD_LIBS+=usr/lib/pam_permit.so.2
+OLD_LIBS+=usr/lib/pam_radius.so.2
+OLD_LIBS+=usr/lib/pam_rhosts.so.2
+OLD_LIBS+=usr/lib/pam_rootok.so.2
+OLD_LIBS+=usr/lib/pam_securetty.so.2
+OLD_LIBS+=usr/lib/pam_self.so.2
+OLD_LIBS+=usr/lib/pam_ssh.so.2
+OLD_LIBS+=usr/lib/pam_tacplus.so.2
+OLD_LIBS+=usr/lib/pam_unix.so.2
+OLD_LIBS+=usr/lib/snmp_atm.so.3
+OLD_LIBS+=usr/lib/snmp_mibII.so.3
+OLD_LIBS+=usr/lib/snmp_netgraph.so.3
+OLD_LIBS+=usr/lib/snmp_pf.so.3
# 20050603: network related ABI change on 64bit systems
OLD_LIBS+=usr/lib/libpcap.so.3
# 200505XX: ?
-OLD_LIBS+=usr/lib/snmp_*.so.2
+OLD_LIBS+=usr/lib/snmp_atm.so.2
+OLD_LIBS+=usr/lib/snmp_mibII.so.2
+OLD_LIBS+=usr/lib/snmp_netgraph.so.2
+OLD_LIBS+=usr/lib/snmp_pf.so.2
# 2005XXXX: not ready for primetime yet
OLD_LIBS+=usr/lib/libautofs.so.1
# 200410XX: libm compatibility fix
@@ -337,5 +388,8 @@ OLD_LIBS+=usr/lib/libwrap.so.2
# 199909XX
OLD_LIBS+=usr/lib/libc_r.so.3
-OLD_DIRS+=
+# 20040925: bind9 import
+OLD_DIRS+=usr/share/doc/bind/html
+OLD_DIRS+=usr/share/doc/bind/misc
+OLD_DIRS+=usr/share/doc/bind/
diff --git a/share/man/man7/build.7 b/share/man/man7/build.7
index e37e241..be04b78 100644
--- a/share/man/man7/build.7
+++ b/share/man/man7/build.7
@@ -98,12 +98,12 @@ followed by
.It Cm delete-old
Delete obsolete base system files and directories interactively.
When -DBATCH_DELETE_OLD_FILES is specified at the command line,
-the delete operation will be non-interactively.
+the delete operation will be non-interactive.
.It Cm delete-old-libs
Delete obsolete base system libraries interactively.
This should only be used if no 3rd party software uses the libraries anymore.
When -DBATCH_DELETE_OLD_FILES is specified at the command line,
-the delete operation will be non-interactively.
+the delete operation will be non-interactive.
.El
.Pp
For more information about the ports build process, see
OpenPOWER on IntegriCloud