summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile33
-rw-r--r--sysutils/barry/Makefile35
-rw-r--r--sysutils/barry/distinfo3
-rw-r--r--sysutils/barry/files/patch-Makefile.in11
-rw-r--r--sysutils/barry/files/patch-history.h92
-rw-r--r--sysutils/barry/files/patch-orphanedfilesdialog.cc11
-rw-r--r--sysutils/barry/files/patch-port.cc11
-rw-r--r--sysutils/barry/files/patch-portlistview.cc11
-rw-r--r--sysutils/barry/pkg-descr3
-rw-r--r--sysutils/barry/pkg-plist36
-rw-r--r--sysutils/bpm/Makefile39
-rw-r--r--sysutils/bpm/distinfo3
-rw-r--r--sysutils/bpm/files/bpm.desktop.in9
-rw-r--r--sysutils/bpm/files/patch-src::refresh.c57
-rw-r--r--sysutils/bpm/files/patch-src_install.c19
-rw-r--r--sysutils/bpm/pkg-descr17
-rw-r--r--sysutils/bpm/pkg-plist17
-rw-r--r--sysutils/bsdadminscripts/Makefile2
-rw-r--r--sysutils/desktopbsd-tools/Makefile4
-rw-r--r--sysutils/kports/Makefile38
-rw-r--r--sysutils/kports/distinfo3
-rw-r--r--sysutils/kports/pkg-descr10
-rw-r--r--sysutils/kports/pkg-plist12
-rw-r--r--sysutils/managepkg/Makefile28
-rw-r--r--sysutils/managepkg/distinfo3
-rw-r--r--sysutils/managepkg/pkg-descr17
-rw-r--r--sysutils/newportsversioncheck/Makefile41
-rw-r--r--sysutils/newportsversioncheck/distinfo3
-rw-r--r--sysutils/newportsversioncheck/files/pkg-message.in15
-rw-r--r--sysutils/newportsversioncheck/pkg-descr5
-rw-r--r--sysutils/newportsversioncheck/pkg-plist22
-rw-r--r--sysutils/p5-FreeBSD-Portindex/Makefile65
-rw-r--r--sysutils/p5-FreeBSD-Portindex/distinfo3
-rw-r--r--sysutils/p5-FreeBSD-Portindex/pkg-descr13
-rw-r--r--sysutils/p5-FreeBSD-Portindex/pkg-plist16
-rw-r--r--sysutils/pib/Makefile28
-rw-r--r--sysutils/pib/distinfo3
-rw-r--r--sysutils/pib/files/patch-Makefile10
-rw-r--r--sysutils/pib/files/patch-pib71
-rw-r--r--sysutils/pib/files/patch-tkPort.h12
-rw-r--r--sysutils/pib/pkg-descr5
-rw-r--r--sysutils/pib/pkg-plist5
-rw-r--r--sysutils/pkg-orphan/Makefile28
-rw-r--r--sysutils/pkg-orphan/distinfo3
-rw-r--r--sysutils/pkg-orphan/pkg-descr22
-rw-r--r--sysutils/pkg_cutleaves/Makefile48
-rw-r--r--sysutils/pkg_cutleaves/distinfo3
-rw-r--r--sysutils/pkg_cutleaves/pkg-descr3
-rw-r--r--sysutils/pkg_install-devel/Makefile109
-rw-r--r--sysutils/pkg_install-devel/distinfo3
-rw-r--r--sysutils/pkg_install-devel/files/Makefile.inc4
-rw-r--r--sysutils/pkg_install-devel/pkg-deinstall28
-rw-r--r--sysutils/pkg_install-devel/pkg-descr17
-rw-r--r--sysutils/pkg_install-devel/pkg-install46
-rw-r--r--sysutils/pkg_install-devel/pkg-plist7
-rw-r--r--sysutils/pkg_install-devel/pkg-req21
-rw-r--r--sysutils/pkg_install/Makefile63
-rw-r--r--sysutils/pkg_install/distinfo3
-rw-r--r--sysutils/pkg_install/files/Makefile.inc4
-rw-r--r--sysutils/pkg_install/files/patch-Makefile.inc15
-rw-r--r--sysutils/pkg_install/files/patch-lib_Makefile19
-rw-r--r--sysutils/pkg_install/pkg-descr6
-rw-r--r--sysutils/pkg_install/pkg-plist5
-rw-r--r--sysutils/pkg_remove/Makefile29
-rw-r--r--sysutils/pkg_remove/pkg-descr18
-rw-r--r--sysutils/pkg_remove/src/pkg_remove.txt34
-rw-r--r--sysutils/pkg_rmleaves/Makefile28
-rw-r--r--sysutils/pkg_rmleaves/distinfo3
-rw-r--r--sysutils/pkg_rmleaves/pkg-descr3
-rw-r--r--sysutils/pkg_trackinst/Makefile28
-rw-r--r--sysutils/pkg_trackinst/distinfo3
-rw-r--r--sysutils/pkg_trackinst/pkg-descr13
-rw-r--r--sysutils/pkg_trackinst/pkg-plist41
-rw-r--r--sysutils/pkg_tree/Makefile27
-rw-r--r--sysutils/pkg_tree/distinfo3
-rw-r--r--sysutils/pkg_tree/files/patch-Makefile13
-rw-r--r--sysutils/pkg_tree/files/patch-pkg_tree65
-rw-r--r--sysutils/pkg_tree/pkg-descr13
-rw-r--r--sysutils/pkgfe/Makefile44
-rw-r--r--sysutils/pkgfe/distinfo3
-rw-r--r--sysutils/pkgfe/pkg-descr5
-rw-r--r--sysutils/pkgfe/pkg-plist4
-rw-r--r--sysutils/port-authoring-tools/Makefile29
-rw-r--r--sysutils/port-authoring-tools/pkg-descr2
-rw-r--r--sysutils/port-maintenance-tools/Makefile32
-rw-r--r--sysutils/port-maintenance-tools/pkg-descr5
-rw-r--r--sysutils/portbrowser/Makefile30
-rw-r--r--sysutils/portbrowser/distinfo3
-rw-r--r--sysutils/portbrowser/pkg-descr4
-rw-r--r--sysutils/portcheck/Makefile37
-rw-r--r--sysutils/portcheck/distinfo3
-rw-r--r--sysutils/portcheck/pkg-descr6
-rw-r--r--sysutils/portconf/Makefile34
-rw-r--r--sysutils/portconf/files/pkg-message.in19
-rw-r--r--sysutils/portconf/files/portconf.sh.in41
-rw-r--r--sysutils/portconf/pkg-deinstall15
-rw-r--r--sysutils/portconf/pkg-descr6
-rw-r--r--sysutils/portconf/pkg-install19
-rw-r--r--sysutils/portdowngrade/Makefile48
-rw-r--r--sysutils/portdowngrade/distinfo3
-rw-r--r--sysutils/portdowngrade/pkg-descr8
-rw-r--r--sysutils/portmanager/Makefile61
-rw-r--r--sysutils/portmanager/distinfo3
-rw-r--r--sysutils/portmanager/files/patch-libMGPM__src__MGPMrGetPortName.c12
-rw-r--r--sysutils/portmanager/files/patch-libMGPM__src__MGPMrInitialize.c11
-rw-r--r--sysutils/portmanager/files/patch-libMGPM__src__MGPMrPortBrokeCheck.c11
-rw-r--r--sysutils/portmanager/files/patch-libMGPM__src__MGPMrReadConfigure.c11
-rw-r--r--sysutils/portmanager/files/patch-libMGPM__src__MGPMrShowLeavesDelete.c252
-rw-r--r--sysutils/portmanager/files/patch-libMGPM__src__MGPMrUpdate.c349
-rw-r--r--sysutils/portmanager/files/patch-libMGPM__src__libMGPM.h10
-rw-r--r--sysutils/portmanager/files/patch-libMG__src__MGdbAdd.c30
-rw-r--r--sysutils/portmanager/files/patch-libMG__src__MGdbRead.c18
-rw-r--r--sysutils/portmanager/files/patch-libMG__src__Makefile.am11
-rw-r--r--sysutils/portmanager/files/patch-libMG__src__libMG.h44
-rw-r--r--sysutils/portmanager/files/patch-portmanager__patch-bsd.port.mk-0.3.611
-rw-r--r--sysutils/portmanager/files/patch-portmanager__portmanager.c17
-rw-r--r--sysutils/portmanager/pkg-descr18
-rw-r--r--sysutils/portmanager/pkg-message21
-rw-r--r--sysutils/portmanager/pkg-plist28
-rw-r--r--sysutils/portmaster/Makefile33
-rw-r--r--sysutils/portmaster/files/portmaster.8272
-rw-r--r--sysutils/portmaster/files/portmaster.sh.in1587
-rw-r--r--sysutils/portmaster/pkg-descr24
-rw-r--r--sysutils/portscout/Makefile91
-rw-r--r--sysutils/portscout/distinfo3
-rw-r--r--sysutils/portscout/pkg-descr20
-rw-r--r--sysutils/portscout/pkg-plist17
-rw-r--r--sysutils/portsearch/Makefile20
-rw-r--r--sysutils/portsearch/distinfo3
-rw-r--r--sysutils/portsearch/pkg-descr8
-rw-r--r--sysutils/portsman/Makefile33
-rw-r--r--sysutils/portsman/distinfo3
-rw-r--r--sysutils/portsman/files/patch-freebsd520
-rw-r--r--sysutils/portsman/pkg-descr7
-rw-r--r--sysutils/portsman/pkg-plist3
-rw-r--r--sysutils/portsnap/Makefile55
-rw-r--r--sysutils/portsnap/distinfo3
-rw-r--r--sysutils/portsnap/files/patch-portsnap11
-rw-r--r--sysutils/portsnap/files/patch-portsnap.841
-rw-r--r--sysutils/portsnap/files/pkg-message.in20
-rw-r--r--sysutils/portsnap/pkg-descr15
-rw-r--r--sysutils/portsopt/Makefile23
-rw-r--r--sysutils/portsopt/distinfo3
-rw-r--r--sysutils/portsopt/pkg-descr4
-rw-r--r--sysutils/portupgrade-devel/Makefile93
-rw-r--r--sysutils/portupgrade-devel/distinfo3
-rw-r--r--sysutils/portupgrade-devel/files/patch-portsdb.rb13
-rw-r--r--sysutils/portupgrade-devel/files/patch-portupgrade11
-rw-r--r--sysutils/portupgrade-devel/pkg-descr22
-rw-r--r--sysutils/portupgrade-devel/pkg-plist42
-rw-r--r--sysutils/portupgrade/Makefile95
-rw-r--r--sysutils/portupgrade/distinfo3
-rw-r--r--sysutils/portupgrade/files/patch-portsdb.rb13
-rw-r--r--sysutils/portupgrade/files/patch-portupgrade11
-rw-r--r--sysutils/portupgrade/pkg-descr22
-rw-r--r--sysutils/portupgrade/pkg-plist43
-rw-r--r--sysutils/psearch/Makefile26
-rw-r--r--sysutils/psearch/distinfo3
-rw-r--r--sysutils/psearch/pkg-descr7
-rw-r--r--sysutils/qtpkg/Makefile26
-rw-r--r--sysutils/qtpkg/distinfo3
-rw-r--r--sysutils/qtpkg/files/patch-Makefile25
-rw-r--r--sysutils/qtpkg/pkg-descr4
163 files changed, 3 insertions, 5718 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index af06766cda9f..091e0c55e10a 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -40,7 +40,6 @@
SUBDIR += bacula-docs
SUBDIR += bacula-server
SUBDIR += bacula-server-devel
- SUBDIR += barry
SUBDIR += batmon
SUBDIR += battfink
SUBDIR += battmond
@@ -54,7 +53,6 @@
SUBDIR += bksh
SUBDIR += blimitd
SUBDIR += boxbackup
- SUBDIR += bpm
SUBDIR += brasero
SUBDIR += bsd-splash-changer
SUBDIR += bsdadminscripts
@@ -320,7 +318,6 @@
SUBDIR += kmilo
SUBDIR += knutclient
SUBDIR += komparator
- SUBDIR += kports
SUBDIR += krename
SUBDIR += kshutdown
SUBDIR += ksynaptics
@@ -367,7 +364,6 @@
SUBDIR += magicrescue
SUBDIR += maint
SUBDIR += makefs
- SUBDIR += managepkg
SUBDIR += manck
SUBDIR += mapchan
SUBDIR += mbmon
@@ -408,7 +404,6 @@
SUBDIR += nctop
SUBDIR += ndir
SUBDIR += netdump-server
- SUBDIR += newportsversioncheck
SUBDIR += no-login
SUBDIR += npadmin
SUBDIR += nrg2iso
@@ -435,7 +430,6 @@
SUBDIR += p5-Filesys-DiskSpace
SUBDIR += p5-Filesys-DiskUsage
SUBDIR += p5-Filesys-Statvfs
- SUBDIR += p5-FreeBSD-Portindex
SUBDIR += p5-Fuse
SUBDIR += p5-Fuse-Simple
SUBDIR += p5-LJ-Cache
@@ -489,44 +483,18 @@
SUBDIR += phantom
SUBDIR += php4-posix
SUBDIR += php5-posix
- SUBDIR += pib
SUBDIR += pidof
SUBDIR += pipemeter
- SUBDIR += pkg-orphan
- SUBDIR += pkg_cutleaves
- SUBDIR += pkg_install
- SUBDIR += pkg_install-devel
- SUBDIR += pkg_remove
SUBDIR += pkg_replace
- SUBDIR += pkg_rmleaves
- SUBDIR += pkg_trackinst
- SUBDIR += pkg_tree
- SUBDIR += pkgfe
SUBDIR += pkill
SUBDIR += plconfig
SUBDIR += plod
SUBDIR += pmap
SUBDIR += policykit
- SUBDIR += port-authoring-tools
- SUBDIR += port-maintenance-tools
- SUBDIR += portbrowser
- SUBDIR += portcheck
- SUBDIR += portconf
- SUBDIR += portdowngrade
- SUBDIR += portmanager
- SUBDIR += portmaster
- SUBDIR += portscout
- SUBDIR += portsearch
- SUBDIR += portsman
- SUBDIR += portsnap
- SUBDIR += portsopt
- SUBDIR += portupgrade
- SUBDIR += portupgrade-devel
SUBDIR += powerman
SUBDIR += prips
SUBDIR += procmap
SUBDIR += progsreiserfs
- SUBDIR += psearch
SUBDIR += psgconf
SUBDIR += pslist
SUBDIR += psmisc
@@ -540,7 +508,6 @@
SUBDIR += pwsafe
SUBDIR += qlogtools
SUBDIR += qpxtool
- SUBDIR += qtpkg
SUBDIR += radeontool
SUBDIR += radmind
SUBDIR += raincoat
diff --git a/sysutils/barry/Makefile b/sysutils/barry/Makefile
deleted file mode 100644
index 0bb507024a8f..000000000000
--- a/sysutils/barry/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# New ports collection makefile for: barry
-# Date created: 19 September 2002
-# Whom: Brad Davis <so14k@so14k.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= barry
-PORTVERSION= 0.7
-PORTREVISION= 2
-CATEGORIES= sysutils kde
-MASTER_SITES= http://www.student.uni-oldenburg.de/frerich.raabe/barry/ \
- http://freebsd.so14k.com/barry/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A nice KDE frontend to the ports system
-
-BUILD_DEPENDS= ${LOCALBASE}/sbin/portsdb:${PORTSDIR}/sysutils/portupgrade
-RUN_DEPENDS= ${LOCALBASE}/sbin/portsdb:${PORTSDIR}/sysutils/portupgrade
-
-USE_BZIP2= yes
-USE_KDELIBS_VER=3
-USE_AUTOTOOLS= libtool:15
-INSTALLS_ICONS= yes
-USE_GETTEXT= yes
-
-post-patch:
- @${FIND} ${WRKSRC} -name "*.h" -and -not -name "linklocator.h" | \
- ${XARGS} ${REINPLACE_CMD} -e 's/^};/}/g'
- @${REINPLACE_CMD} "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
-
-pre-install:
- @${MKDIR} ${DESTDIR}${PREFIX}/share/applnk/Utilities
-
-.include <bsd.port.mk>
diff --git a/sysutils/barry/distinfo b/sysutils/barry/distinfo
deleted file mode 100644
index efac49f2966e..000000000000
--- a/sysutils/barry/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (barry-0.7.tar.bz2) = 7224ce33ef28b4938b4731f4e4a4cb93
-SHA256 (barry-0.7.tar.bz2) = a8591f64b631ed7b7bf06b31135acf3c98cba6779325284e9c8d337d4e1d8fb6
-SIZE (barry-0.7.tar.bz2) = 705508
diff --git a/sysutils/barry/files/patch-Makefile.in b/sysutils/barry/files/patch-Makefile.in
deleted file mode 100644
index 5b741ce02b5f..000000000000
--- a/sysutils/barry/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig Sun Apr 24 02:27:28 2005
-+++ src/Makefile.in Sun Apr 24 02:27:43 2005
-@@ -240,7 +240,7 @@
- INCLUDES = $(all_includes)
-
- barry_LDFLAGS = $(KDE_RPATH) $(all_libraries)
--barry_LDADD = $(LIB_KIO) $(LIB_KHTML)
-+barry_LDADD = $(LIB_KIO) $(LIB_KHTML) $(LIBPTHREAD)
-
- barry_SOURCES = actionprogressdialog.cc application.cc configdialog.cc \
- databaseinfodialog.cc databasewrapper.cc dependlistview.cc \
diff --git a/sysutils/barry/files/patch-history.h b/sysutils/barry/files/patch-history.h
deleted file mode 100644
index 8d02392e68d8..000000000000
--- a/sysutils/barry/files/patch-history.h
+++ /dev/null
@@ -1,92 +0,0 @@
---- src/history.h.bak Sun Jun 8 22:09:10 2003
-+++ src/history.h Sun Apr 24 02:18:42 2005
-@@ -22,44 +22,7 @@
-
- namespace Barry
- {
-- class History;
--
-- class Command
-- {
-- public:
-- enum CreationFlags {
-- None = 0x0, Run = 0x1, Register = 0x2
-- };
-- virtual ~Command();
--
-- template <class T>
-- static T *create( CreationFlags flags = None )
-- {
-- T *cmd = new T;
-- if ( flags & Register )
-- History::self().registerCommand( cmd );
-- if ( flags & Run )
-- cmd->exec();
-- return cmd;
-- }
--
-- void unexec();
-- void exec();
-- virtual QString text() const = 0;
--
-- protected:
-- Command();
-- bool executed() const { return m_executed; }
--
-- private:
-- Command( const Command &rhs );
-- Command &operator=( const Command &rhs );
--
-- virtual void doExec() = 0;
-- virtual void doUnexec() = 0;
--
-- bool m_executed;
-- };
-+ class Command;
-
- class History : public QObject
- {
-@@ -100,6 +63,43 @@
- unsigned int m_maxEntries;
- KToolBarPopupAction *m_backAction;
- KToolBarPopupAction *m_forwardAction;
-+ };
-+
-+ class Command
-+ {
-+ public:
-+ enum CreationFlags {
-+ None = 0x0, Run = 0x1, Register = 0x2
-+ };
-+ virtual ~Command();
-+
-+ template <class T>
-+ static T *create( CreationFlags flags = None )
-+ {
-+ T *cmd = new T;
-+ if ( flags & Register )
-+ History::self().registerCommand( cmd );
-+ if ( flags & Run )
-+ cmd->exec();
-+ return cmd;
-+ }
-+
-+ void unexec();
-+ void exec();
-+ virtual QString text() const = 0;
-+
-+ protected:
-+ Command();
-+ bool executed() const { return m_executed; }
-+
-+ private:
-+ Command( const Command &rhs );
-+ Command &operator=( const Command &rhs );
-+
-+ virtual void doExec() = 0;
-+ virtual void doUnexec() = 0;
-+
-+ bool m_executed;
- };
- };
-
diff --git a/sysutils/barry/files/patch-orphanedfilesdialog.cc b/sysutils/barry/files/patch-orphanedfilesdialog.cc
deleted file mode 100644
index 9b8df25563c1..000000000000
--- a/sysutils/barry/files/patch-orphanedfilesdialog.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/orphanedfilesdialog.cc.orig Sun Apr 24 02:21:02 2005
-+++ src/orphanedfilesdialog.cc Sun Apr 24 02:21:10 2005
-@@ -52,7 +52,7 @@
- ++i;
- return i;
- }
--};
-+}
-
- using namespace Barry;
-
diff --git a/sysutils/barry/files/patch-port.cc b/sysutils/barry/files/patch-port.cc
deleted file mode 100644
index 6b04f6133751..000000000000
--- a/sysutils/barry/files/patch-port.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/port.cc.orig Sun Apr 24 02:21:49 2005
-+++ src/port.cc Sun Apr 24 02:21:55 2005
-@@ -64,7 +64,7 @@
- QString m_link;
- long long m_size;
- };
--};
-+}
-
- // This would be nice in Qt
- template <class Container>
diff --git a/sysutils/barry/files/patch-portlistview.cc b/sysutils/barry/files/patch-portlistview.cc
deleted file mode 100644
index 0681fd041528..000000000000
--- a/sysutils/barry/files/patch-portlistview.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/portlistview.cc.orig Sun Apr 24 02:22:33 2005
-+++ src/portlistview.cc Sun Apr 24 02:22:41 2005
-@@ -42,7 +42,7 @@
- QListViewItem *m_oldItem;
- QListViewItem *m_newItem;
- };
--};
-+}
-
- using namespace Barry;
-
diff --git a/sysutils/barry/pkg-descr b/sysutils/barry/pkg-descr
deleted file mode 100644
index 5eff7c940b5d..000000000000
--- a/sysutils/barry/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-A nice KDE frontend to the ports system.
-
-WWW: http://www.student.uni-oldenburg.de/frerich.raabe/barry/
diff --git a/sysutils/barry/pkg-plist b/sysutils/barry/pkg-plist
deleted file mode 100644
index 46dd9b7601c9..000000000000
--- a/sysutils/barry/pkg-plist
+++ /dev/null
@@ -1,36 +0,0 @@
-bin/barry
-share/applnk/Utilities/barry.desktop
-share/apps/barry/background.png
-share/apps/barry/barryui.rc
-share/apps/barry/bgtable.png
-share/apps/barry/deinstall-port.png
-share/apps/barry/eventsrc
-share/apps/barry/install-port.png
-share/apps/barry/kdelogo2.png
-share/apps/barry/khelpcenter.png
-share/apps/barry/konq.css
-share/apps/barry/lines.png
-share/apps/barry/lines2.png
-share/apps/barry/pointers.png
-share/apps/barry/port-installed.png
-share/apps/barry/port-not-installed.png
-share/apps/barry/shadow1.png
-share/apps/barry/splashscreen.html
-share/apps/barry/upgrade-port.png
-share/icons/crystalsvg/16x16/apps/barry.png
-share/icons/crystalsvg/32x32/apps/barry.png
-share/icons/crystalsvg/48x48/apps/barry.png
-share/locale/de/LC_MESSAGES/barry.mo
-share/locale/es/LC_MESSAGES/barry.mo
-share/locale/ko/LC_MESSAGES/barry.mo
-share/locale/pl/LC_MESSAGES/barry.mo
-share/locale/sv/LC_MESSAGES/barry.mo
-@dirrm share/applnk/Utilities
-@dirrm share/apps/barry
-@dirrm share/icons/crystalsvg/16x16/apps
-@dirrm share/icons/crystalsvg/32x32/apps
-@dirrm share/icons/crystalsvg/48x48/apps
-@dirrmtry share/locale/ko/LC_MESSAGES
-@dirrmtry share/locale/ko
-@dirrmtry share/locale/pl/LC_MESSAGES
-@dirrmtry share/locale/pl
diff --git a/sysutils/bpm/Makefile b/sysutils/bpm/Makefile
deleted file mode 100644
index 812315f8a08e..000000000000
--- a/sysutils/bpm/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# New ports collection makefile for: bpm
-# Date created: 23 July 2004
-# Whom: sethk
-#
-# $FreeBSD$
-#
-
-PORTNAME= bpm
-PORTVERSION= 0.4.1b
-PORTREVISION= 10
-CATEGORIES= sysutils
-MASTER_SITES= http://www.meowfishies.com/code/bpm/
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= sethk@meowfishies.com
-COMMENT= A graphical BSD ports collection manager
-
-RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade \
- gdialog:${PORTSDIR}/x11/zenity
-
-USE_X_PREFIX= yes
-USE_GNOME= gtk20 desktopfileutils
-
-MAKE_ENV+= OSTYPE="${OPSYS}"
-
-SUB_FILES= bpm.desktop
-
-post-patch:
- @${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
- ${REINPLACE_CMD} -e "s|-lintl|-lintl -L${LOCALBASE}/lib|g"
-# GnomeVFS needs pthread; bpm may use GnomeVFS (via GtkFileChooser)
- @${REINPLACE_CMD} -e 's|^CFLAGS+=|& ${PTHREAD_CFLAGS}|; \
- s|^LDLIBS+=|& ${PTHREAD_LIBS}|' ${WRKSRC}/src/Makefile
-
-post-install:
- ${INSTALL_DATA} ${WRKDIR}/bpm.desktop ${PREFIX}/share/applications/bpm.desktop
- @-update-desktop-database
-
-.include <bsd.port.mk>
diff --git a/sysutils/bpm/distinfo b/sysutils/bpm/distinfo
deleted file mode 100644
index 14a3de79bfdb..000000000000
--- a/sysutils/bpm/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (bpm-0.4.1b.tgz) = 2704ba7b6f6935a93b2973aa0e82028d
-SHA256 (bpm-0.4.1b.tgz) = 8ed675ad6f572fd2872e40ab5d037f9175ce23020cd0abab403665f3a6935fc1
-SIZE (bpm-0.4.1b.tgz) = 98457
diff --git a/sysutils/bpm/files/bpm.desktop.in b/sysutils/bpm/files/bpm.desktop.in
deleted file mode 100644
index ad773b9d6038..000000000000
--- a/sysutils/bpm/files/bpm.desktop.in
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Comment=The BSD Ports Manipulator
-Name=BPM
-Exec=gnomesu %%PREFIX%%/bin/bpm
-Encoding=UTF-8
-Terminal=false
-Type=Application
-Icon=%%PREFIX%%/share/bpm/pixmaps/pkg_48.png
-Categories=Application;System;
diff --git a/sysutils/bpm/files/patch-src::refresh.c b/sysutils/bpm/files/patch-src::refresh.c
deleted file mode 100644
index 619e8f024972..000000000000
--- a/sysutils/bpm/files/patch-src::refresh.c
+++ /dev/null
@@ -1,57 +0,0 @@
---- src/refresh.c.orig Mon Aug 23 19:40:08 2004
-+++ src/refresh.c Thu Nov 24 15:11:48 2005
-@@ -62,8 +62,14 @@
- __RCSID("$Id: refresh.c,v 1.32 2004/08/24 02:40:08 sethk Exp $");
-
- /* XXX use libinstall/lib.h */
-+#if __FreeBSD_version >= 600000
-+#define INDEX_FN PORTS_BASE "/INDEX-6"
-+#elif __FreeBSD_version >= 500036
-+#define INDEX_FN PORTS_BASE "/INDEX-5"
-+#else
- #define INDEX_FN PORTS_BASE "/INDEX"
--#define INDEX_MAXLN 4096
-+#endif
-+#define INDEX_MAXLN 8192
- #define DB_DIR "/var/db/pkg"
- #define ITER_BYTES (128 * 1024)
- #define ITER_ENTS 32
-@@ -183,10 +189,12 @@
- if (*sp == '|')
- ++i;
-
-- if (i != (PFIELD_NFIELD - 1))
-+ if (i < (PFIELD_NFIELD - 1))
- {
- #ifdef DEBUG
-- warnx("invalid number of fields");
-+ warnx("invalid number of fields (%d should be %d)",
-+ i + 1,
-+ PFIELD_NFIELD);
- #endif /* DEBUG */
- return FALSE;
- }
-@@ -195,12 +203,9 @@
-
- for (i = 0; i < PFIELD_NFIELD; ++i)
- {
-- if (i < PFIELD_NFIELD - 1)
-- {
-- if (!(sp = strchr(line, '|')))
-- break;
-- *sp++ = '\0';
-- }
-+ if (!(sp = strchr(line, '|')) && i < PFIELD_NFIELD - 1)
-+ break;
-+ *sp++ = '\0';
-
- switch (i)
- {
-@@ -320,7 +325,6 @@
-
- if (_refresh_index_parse(ln, portdp, rdp) != TRUE)
- {
-- _refresh_portfree(portdp);
- #ifdef DEBUG
- warnx("%s:%u: invalid format", INDEX_FN, rdp->rd_linec);
- #endif /* DEBUG */
diff --git a/sysutils/bpm/files/patch-src_install.c b/sysutils/bpm/files/patch-src_install.c
deleted file mode 100644
index cb53d8ce28f0..000000000000
--- a/sysutils/bpm/files/patch-src_install.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/install.c.orig Sun Apr 2 14:09:25 2006
-+++ src/install.c Sun Apr 2 14:12:03 2006
-@@ -958,6 +958,8 @@
- av[ac++] = "SU_CMD=" SU_CMD;
- av[ac++] = "-M";
- av[ac++] = "FETCH_CMD=" FETCH_CMD;
-+ av[ac++] = "-M";
-+ av[ac++] = "DIALOG=gdialog";
- av[ac++] = "-s";
- av[ac++] = "-S";
- av[ac++] = SU_CMD " '%s'";
-@@ -971,6 +973,7 @@
- av[ac++] = "make";
- av[ac++] = "SU_CMD=" SU_CMD;
- av[ac++] = "FETCH_CMD=" FETCH_CMD;
-+ av[ac++] = "DIALOG=gdialog";
-
- if (iadp->ia_action == INSTACT_PACKAGE)
- {
diff --git a/sysutils/bpm/pkg-descr b/sysutils/bpm/pkg-descr
deleted file mode 100644
index 8400a536e1f0..000000000000
--- a/sysutils/bpm/pkg-descr
+++ /dev/null
@@ -1,17 +0,0 @@
-BSD Ports Manipuator (BPM) is a graphical ports collection manager for
-FreeBSD. It has a GTK+ 2.0 interface and allows you to add, remove, or
-upgrade software packages on your system without requiring you to use a
-command-line. In addition, it can display details about available,
-installed, and out-of-date ports, as well as allowing you to search
-based on port descriptions.
-
-BPM uses the existing ports collection structure, allowing it to build
-ports from source and integrate seamlessly with other tools.
-
-This project started out as a clone of Ports Manager.app for
-DarwinPorts.
-
-WWW: http://www.meowfishies.com/bpm.rhtml
-
-- Seth
-sethk@meowfishies.com
diff --git a/sysutils/bpm/pkg-plist b/sysutils/bpm/pkg-plist
deleted file mode 100644
index e1f9ea3fb0a0..000000000000
--- a/sysutils/bpm/pkg-plist
+++ /dev/null
@@ -1,17 +0,0 @@
-bin/bpm
-bin/gtk-su
-libexec/bpm/term
-libexec/bpm/fetch-wrapper
-%%DATADIR%%/pixmaps/term_16.png
-%%DATADIR%%/pixmaps/term_24.png
-%%DATADIR%%/pixmaps/pkg_16.png
-%%DATADIR%%/pixmaps/pkg_24.png
-%%DATADIR%%/pixmaps/pkg_48.png
-%%DATADIR%%/pixmaps/lock_48.png
-share/locale/en_CA/LC_MESSAGES/bpm.mo
-share/applications/bpm.desktop
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-@dirrm libexec/bpm
-@dirrm %%DATADIR%%/pixmaps
-@dirrm %%DATADIR%%
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
diff --git a/sysutils/bsdadminscripts/Makefile b/sysutils/bsdadminscripts/Makefile
index d116b3b1efec..62ee56f3f243 100644
--- a/sysutils/bsdadminscripts/Makefile
+++ b/sysutils/bsdadminscripts/Makefile
@@ -30,7 +30,7 @@ MAN1+= rcstart.1
.endif
.if !defined(WITHOUT_PORTCONFIG)
-RUN_DEPENDS+= portupgrade:${PORTSDIR}/sysutils/portupgrade
+RUN_DEPENDS+= portupgrade:${PORTSDIR}/ports-mgmt/portupgrade
PLIST_FILES+= ${PORT_SCRIPTS:S,^,sbin/port,}
MAN1+= portconfig.1
.endif
diff --git a/sysutils/desktopbsd-tools/Makefile b/sysutils/desktopbsd-tools/Makefile
index a4dd5653a417..909f59f7934f 100644
--- a/sysutils/desktopbsd-tools/Makefile
+++ b/sysutils/desktopbsd-tools/Makefile
@@ -17,7 +17,7 @@ RUN_DEPENDS= xterm:${PORTSDIR}/x11/xterm \
bash:${PORTSDIR}/shells/bash \
fastest_cvsup:${PORTSDIR}/sysutils/fastest_cvsup \
portupgrade:${PORTSDIR}/sysutils/portupgrade \
- portaudit:${PORTSDIR}/security/portaudit
+ portaudit:${PORTSDIR}/ports-mgmt/portaudit
INSTALLS_SHLIB= yes
USE_BZIP2= yes
@@ -41,7 +41,7 @@ RUN_DEPENDS+= csup:${PORTSDIR}/net/csup
.endif
.if ${OSVERSION} < 504103 || ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600033 )
-RUN_DEPENDS+= portsnap:${PORTSDIR}/sysutils/portsnap
+RUN_DEPENDS+= portsnap:${PORTSDIR}/ports-mgmt/portsnap
.endif
post-patch:
diff --git a/sysutils/kports/Makefile b/sysutils/kports/Makefile
deleted file mode 100644
index 389fd0f6aaee..000000000000
--- a/sysutils/kports/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# New ports collection makefile for: kports
-# Date created: Thu Jan 12 12:47:58 UTC 2006
-# Whom: Hannes Hauswedell <hannes.hauswedell@gmail.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= kports
-PORTVERSION= 0.6.1
-CATEGORIES= sysutils kde
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
-
-MAINTAINER= hannes.hauswedell@gmail.com
-COMMENT= Powerful KDE-Frontend to the Ports
-
-USE_BZIP2= yes
-USE_GMAKE= yes
-USE_KDELIBS_VER=3
-USE_AUTOTOOLS= libtool:15
-PREFIX= ${KDE_PREFIX}
-
-RUN_DEPENDS+= portupgrade:${PORTSDIR}/sysutils/portupgrade
-RUN_DEPENDS+= kdehier>=0:${PORTSDIR}/misc/kdehier
-
-OPTIONS= PORTAUDIT "Require Portaudit" on
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= doesn't compile properly on 4.x systems
-.endif
-
-.if !defined(WITHOUT_PORTAUDIT)
-RUN_DEPENDS+= portaudit:${PORTSDIR}/security/portaudit
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/kports/distinfo b/sysutils/kports/distinfo
deleted file mode 100644
index 5d0767ed54eb..000000000000
--- a/sysutils/kports/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (kports-0.6.1.tar.bz2) = c02cb4cdcfd8112bcb5ff0bfc1fe94b6
-SHA256 (kports-0.6.1.tar.bz2) = c06e7fd25f5c0c63dcbff1b2a569f185d2252e8b16c2f7ccadfa1cbcfab902fa
-SIZE (kports-0.6.1.tar.bz2) = 620443
diff --git a/sysutils/kports/pkg-descr b/sysutils/kports/pkg-descr
deleted file mode 100644
index f99677b37f4c..000000000000
--- a/sysutils/kports/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-KPorts is KDE-Frontend to the FreeBSD-Ports and in future also to the
-OpenBsd-Ports, PkgSrc and maybe others.
-You can browse and search through your Portstree and perform actions
-like Upgrades, Installs, Uninstall a.s.o. More advanced features like
-setting Options and Vulnerability checking are also available. For a
-complete list, check the Homepage or the Changelog.
-Functionality is KPorts' main goal, not simplification by reducing
-options; however KPorts should be rather easy to use.
-
-WWW: http://kports.sf.net
diff --git a/sysutils/kports/pkg-plist b/sysutils/kports/pkg-plist
deleted file mode 100644
index 7ac0e9d0590e..000000000000
--- a/sysutils/kports/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-bin/kports
-bin/kports_client
-share/applnk/System/kports.desktop
-share/apps/kports/kports-splash.jpg
-share/apps/kports/kportsui.rc
-share/doc/HTML/en/kports/index.cache.bz2
-share/doc/HTML/en/kports/index.docbook
-share/icons/hicolor/16x16/apps/kports.png
-share/icons/hicolor/32x32/apps/kports.png
-@dirrm share/doc/HTML/en/kports/common
-@dirrm share/doc/HTML/en/kports
-@dirrm share/apps/kports
diff --git a/sysutils/managepkg/Makefile b/sysutils/managepkg/Makefile
deleted file mode 100644
index a9ad75191fe4..000000000000
--- a/sysutils/managepkg/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# New ports collection makefile for: managepkg
-# Date created: 2005-09-04
-# Whom: Andreas Fehlner <fehlner@gmx.de>
-#
-# $FreeBSD$
-#
-
-PORTNAME= managepkg
-PORTVERSION= 1.1
-CATEGORIES= sysutils
-MASTER_SITES= http://www.cul.de/data/\
- http://home.arcor.de/fehlner/fbsd_ports/\
- http://home.arcor.de/teambushido/fbsd_ports/
-EXTRACT_SUFX= .gz
-
-MAINTAINER= fehlner@gmx.de
-COMMENT= Script for maintining ports
-# Any ideas for a better comment?
-
-EXTRACT_AFTER_ARGS= ${DISTDIR}/${DISTFILES} > ${WRKSRC}/${PORTNAME}
-WRKSRC= ${WRKDIR}
-NO_BUILD= yes
-PLIST_FILES= sbin/managepkg
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/
-
-.include <bsd.port.mk>
diff --git a/sysutils/managepkg/distinfo b/sysutils/managepkg/distinfo
deleted file mode 100644
index 8a0701f48bf4..000000000000
--- a/sysutils/managepkg/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (managepkg-1.1.gz) = 7e698db45723cb0a933363cc5a6cb718
-SHA256 (managepkg-1.1.gz) = 1b4d1f8df01b8da54f9b083de1789396d4f5efa69d19c264b1c5a08c6f008089
-SIZE (managepkg-1.1.gz) = 2497
diff --git a/sysutils/managepkg/pkg-descr b/sysutils/managepkg/pkg-descr
deleted file mode 100644
index 568903156d13..000000000000
--- a/sysutils/managepkg/pkg-descr
+++ /dev/null
@@ -1,17 +0,0 @@
-This script runs though the complete ports tree without stopping after a make
-error occured.
-If you call make with any parameter in one of the directories of the ports tree
-in FreeBSD the run will stop if make returns with a code bigger than zero. That
-means, that it is (in opposite to NetBSD or OpenBSD impossible to run a echo
-complete build with \"make\" in FreeBSD.
-
-Warning: The run of the script may last days (but you may stop it any time).
-
-Call the script with the parameter you want to give to make, for instance fetch,
-build, install, or package.
-
-
-WWW: http://www.cul.de/data/
-
--Andreas Fehlner
-fehlner@gmx.de
diff --git a/sysutils/newportsversioncheck/Makefile b/sysutils/newportsversioncheck/Makefile
deleted file mode 100644
index 359881bafd3e..000000000000
--- a/sysutils/newportsversioncheck/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-# New ports collection makefile for: newportsversioncheck
-# Date created: 12 October 2005
-# Whom: Edwin Groothuis <edwin@mavetju.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= newportsversioncheck
-PORTVERSION= 1.3
-PORTREVISION= 1
-CATEGORIES= sysutils
-MASTER_SITES= http://www.mavetju.org/download/
-
-MAINTAINER= edwin@mavetju.org
-COMMENT= Ports new version checker
-
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \
- ${SITE_PERL}/MIME/Lite.pm:${PORTSDIR}/mail/p5-MIME-Lite \
- ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
-
-USE_PERL5_RUN= yes
-USE_SQLITE= yes
-NO_BUILD= yes
-SUB_FILES= pkg-message
-PKGMESSAGE= ${WRKDIR}/pkg-message
-
-do-install:
- ${MKDIR} ${PREFIX}/newportsversioncheck/bin
-.for f in apply_restrictions.pl check_data.pl check_find_new_versions.sh delete_dupes.pl filter_ports_alreadychecked.pl find_new_versions.pl find_new_versions.sh init_db.sh mail_maintainers.pl make_html.pl maketarball.sh manage_restriction.pl restart_database.pl README CHANGES
- ${INSTALL_SCRIPT} ${WRKDIR}/newportsversioncheck/bin/${f} ${PREFIX}/newportsversioncheck/bin
-.endfor
-
- ${MKDIR} ${PREFIX}/newportsversioncheck/etc
-.for f in email_footer.txt email_header.txt
- ${INSTALL_DATA} ${WRKDIR}/newportsversioncheck/etc/${f} ${PREFIX}/newportsversioncheck/etc
-.endfor
-
-post-install:
- ${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/sysutils/newportsversioncheck/distinfo b/sysutils/newportsversioncheck/distinfo
deleted file mode 100644
index 92a7028353b4..000000000000
--- a/sysutils/newportsversioncheck/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (newportsversioncheck-1.3.tar.gz) = 0297043d90dfaeffafe1089ac1406e4b
-SHA256 (newportsversioncheck-1.3.tar.gz) = a2296c9817208aa87e74b05cac31b183c38157928f3f86fdc9669363d192ddac
-SIZE (newportsversioncheck-1.3.tar.gz) = 10927
diff --git a/sysutils/newportsversioncheck/files/pkg-message.in b/sysutils/newportsversioncheck/files/pkg-message.in
deleted file mode 100644
index 24ea2d1dba16..000000000000
--- a/sysutils/newportsversioncheck/files/pkg-message.in
+++ /dev/null
@@ -1,15 +0,0 @@
-To continue the installation of sysutils/newportsversioncheck...
-
-$ mkdir %%PREFIX%%/newportsversioncheck/html
-$ mkdir %%PREFIX%%/newportsversioncheck/db
-$ cd %%PREFIX%%/newportsversioncheck
-$ bin/init_db.sh db/newports.db
-
-And then edit bin/mail_maintainers.pl and set the variable $ME to
-your name and email address. Don't forget the \ in front of the @.
-
-Then read the file bin/README with regarding to the "Running" section.
-
-Note: for this tool to work you need to have the first patch in ports/86776
-(http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/86776) applied
-to bsd.port.mk.
diff --git a/sysutils/newportsversioncheck/pkg-descr b/sysutils/newportsversioncheck/pkg-descr
deleted file mode 100644
index 1a2b4f88edba..000000000000
--- a/sysutils/newportsversioncheck/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-New ports distfiles version checker
-
-Toolset to determine if new distfiles are available for a port.
-
-Author: edwin@mavetju.org
diff --git a/sysutils/newportsversioncheck/pkg-plist b/sysutils/newportsversioncheck/pkg-plist
deleted file mode 100644
index 02abe6d2a1af..000000000000
--- a/sysutils/newportsversioncheck/pkg-plist
+++ /dev/null
@@ -1,22 +0,0 @@
-newportsversioncheck/bin/CHANGES
-newportsversioncheck/bin/README
-newportsversioncheck/bin/apply_restrictions.pl
-newportsversioncheck/bin/check_data.pl
-newportsversioncheck/bin/check_find_new_versions.sh
-newportsversioncheck/bin/delete_dupes.pl
-newportsversioncheck/bin/filter_ports_alreadychecked.pl
-newportsversioncheck/bin/find_new_versions.pl
-newportsversioncheck/bin/find_new_versions.sh
-newportsversioncheck/bin/init_db.sh
-newportsversioncheck/bin/mail_maintainers.pl
-newportsversioncheck/bin/make_html.pl
-newportsversioncheck/bin/maketarball.sh
-newportsversioncheck/bin/manage_restriction.pl
-newportsversioncheck/bin/restart_database.pl
-
-newportsversioncheck/etc/email_footer.txt
-newportsversioncheck/etc/email_header.txt
-
-@dirrm newportsversioncheck/bin
-@dirrm newportsversioncheck/etc
-@dirrmtry newportsversioncheck
diff --git a/sysutils/p5-FreeBSD-Portindex/Makefile b/sysutils/p5-FreeBSD-Portindex/Makefile
deleted file mode 100644
index b526813222ae..000000000000
--- a/sysutils/p5-FreeBSD-Portindex/Makefile
+++ /dev/null
@@ -1,65 +0,0 @@
-# New ports collection Makefile for: FreeBSD::Portindex
-# Date created: 5 Nov 2004
-# Whom: Matthew Seaman <m.seaman@infracaninophile.co.uk>
-#
-# $FreeBSD$
-
-PORTNAME= FreeBSD-Portindex
-PORTVERSION= 1.9
-CATEGORIES= sysutils perl5
-MASTER_SITES= http://www.infracaninophile.co.uk/portindex/
-PKGNAMEPREFIX= p5-
-
-MAINTAINER= m.seaman@infracaninophile.co.uk
-COMMENT= Incremental FreeBSD ports INDEX file generation
-
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
-USE_BZIP2= yes
-PERL_CONFIGURE= yes
-
-CACHE_DIR?= ${DESTDIR}/var/db/portindex
-CACHE_OWNER?= root
-CACHE_GROUP?= operator
-CACHE_MODE?= 0775
-
-CFG_FILE= portindex.cfg
-
-MAN1= find-updated.1 cache-init.1 cache-update.1 portindex.1
-
-.include <bsd.port.pre.mk>
-
-##
-## Needs a recent version of perl, preferably 5.8.8, but 5.6.1 should work
-##
-.if ${PERL_LEVEL} < 500601
-IGNORE= requires perl 5.6.x or (preferably) later. Install lang/perl5.8 and try again
-.endif
-
-.if ${PERL_LEVEL} < 500800
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
-.endif
-
-post-install: install-conf install-cache
-
-install-conf:
- cd ${WRKSRC} ; \
- ${INSTALL_DATA} ${CFG_FILE}.sample ${TARGETDIR}/etc/${CFG_FILE}.sample
- cd ${TARGETDIR}/etc ; \
- if ${TEST} ! -f ${CFG_FILE} ; then \
- ${CP} -p ${CFG_FILE}.sample ${CFG_FILE} ; \
- fi
-
-# Create the cache directory and make it writable by group 'operator'
-# by default. Only if the cache directory doesn't already exist.
-# Have to do this by hand if installing via pkg.
-
-install-cache:
- if ${TEST} ! -d ${CACHE_DIR} ; then \
- ${MKDIR} ${CACHE_DIR} ; \
- ${CHOWN} ${CACHE_OWNER}:${CACHE_GROUP} ${CACHE_DIR} ; \
- ${CHMOD} ${CACHE_MODE} ${CACHE_DIR} ; \
- fi
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/p5-FreeBSD-Portindex/distinfo b/sysutils/p5-FreeBSD-Portindex/distinfo
deleted file mode 100644
index 576997b66867..000000000000
--- a/sysutils/p5-FreeBSD-Portindex/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (FreeBSD-Portindex-1.9.tar.bz2) = ac9aeb593ca69716e0b9f9392f06519e
-SHA256 (FreeBSD-Portindex-1.9.tar.bz2) = 3ca432d675b82a732d914f7060a15137dc177e215b4faaf7dcde51208a59bd7e
-SIZE (FreeBSD-Portindex-1.9.tar.bz2) = 29297
diff --git a/sysutils/p5-FreeBSD-Portindex/pkg-descr b/sysutils/p5-FreeBSD-Portindex/pkg-descr
deleted file mode 100644
index 684bba33590d..000000000000
--- a/sysutils/p5-FreeBSD-Portindex/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-
-cache-init, cache-update, find-updated and portindex are a set of perl
-scripts built around the common core of the FreeBSD::Portindex
-modules. Their use is to generate and maintain the ports INDEX or
-INDEX-5 files speedily and efficiently. Ultimately they work in a very
-similar way to the standard make index command, except that the
-FreeBSD::Portindex tools keep a cache of the make describe output from
-each port, and can update that cached data incrementally as the ports
-tree itself is updated.
-
-WWW: http://www.infracaninophile.co.uk/portindex/
-
-- Matthew Seaman <m.seaman@infracaninophile.co.uk>
diff --git a/sysutils/p5-FreeBSD-Portindex/pkg-plist b/sysutils/p5-FreeBSD-Portindex/pkg-plist
deleted file mode 100644
index 20f2fe832be6..000000000000
--- a/sysutils/p5-FreeBSD-Portindex/pkg-plist
+++ /dev/null
@@ -1,16 +0,0 @@
-bin/cache-init
-bin/cache-update
-bin/find-updated
-bin/portindex
-@unexec if cmp -s %D/etc/portindex.cfg.sample %D/etc/portindex.cfg ; then rm -f %D/etc/portindex.cfg ; fi
-etc/portindex.cfg.sample
-@exec [ ! -f %B/portindex.cfg ] && cp -p %B/%f %B/portindex.cfg || true
-%%SITE_PERL%%/FreeBSD/Portindex/Config.pm
-%%SITE_PERL%%/FreeBSD/Portindex/Category.pm
-%%SITE_PERL%%/FreeBSD/Portindex/Port.pm
-%%SITE_PERL%%/FreeBSD/Portindex/Tree.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/FreeBSD/Portindex/.packlist
-@dirrm %%SITE_PERL%%/FreeBSD/Portindex
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/FreeBSD/Portindex
-@dirrmtry %%SITE_PERL%%/FreeBSD
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/FreeBSD
diff --git a/sysutils/pib/Makefile b/sysutils/pib/Makefile
deleted file mode 100644
index 970acd68edd6..000000000000
--- a/sysutils/pib/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# New ports collection makefile for: pib
-# Date created: 30 December 1996
-# Whom: Mike Smith <msmith@freebsd.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= pib
-PORTVERSION= 1.2
-CATEGORIES= sysutils tk82
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= msmith
-
-MAINTAINER= .@babolo.ru
-COMMENT= GUI Ports Collection management tool
-
-BUILD_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
-RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
-
-.include <bsd.port.pre.mk>
-
-do-install:
- ${MKDIR} ${PREFIX}/lib/pib
- ${INSTALL_SCRIPT} ${WRKSRC}/*.tcl ${PREFIX}/lib/pib
- ${INSTALL_DATA} ${WRKSRC}/libTkSteal.so.2* ${PREFIX}/lib/pib
- ${LN} -fs ${PREFIX}/lib/pib/pib.tcl ${PREFIX}/bin/pib
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/pib/distinfo b/sysutils/pib/distinfo
deleted file mode 100644
index d6a18ad39678..000000000000
--- a/sysutils/pib/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pib-1.2.tar.gz) = fa095bd1f9854aa296b4d35f8ba029f5
-SHA256 (pib-1.2.tar.gz) = b588bbef9f491bae2d2715bcb1533bebf8eb4d447770253cbf53bbed7b6e665a
-SIZE (pib-1.2.tar.gz) = 33286
diff --git a/sysutils/pib/files/patch-Makefile b/sysutils/pib/files/patch-Makefile
deleted file mode 100644
index 2d9793630bbc..000000000000
--- a/sysutils/pib/files/patch-Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile Sat Oct 28 12:55:08 2000
-+++ Makefile Mon Oct 21 04:40:15 2002
-@@ -8,7 +8,6 @@
- X11BASE?= /usr/X11R6
-
- LIB= TkSteal
--INTERNALLIB= YES # inhibits unuseful static library
- SHLIB_MAJOR= 2
- SHLIB_MINOR= 0
- NOPROFILE= yes
diff --git a/sysutils/pib/files/patch-pib b/sysutils/pib/files/patch-pib
deleted file mode 100644
index d0b9b13f39d8..000000000000
--- a/sysutils/pib/files/patch-pib
+++ /dev/null
@@ -1,71 +0,0 @@
---- pib.tcl Sat Oct 28 13:01:12 2000
-+++ pib.tcl Sat Apr 28 04:05:37 2001
-@@ -309,22 +309,11 @@
- #
- proc init_options {} {
-
-- # listboxes
-- option add *Listbox.background white;
-- option add *Listbox.selectForeground white;
-- option add *Listbox.selectBackground darkblue;
--
- # scrollbars
- option add *Scrollbar.width 11;
-
- # textboxes
-- option add *Text.background white;
-- option add *Text.selectForeground white;
-- option add *Text.selectBackground darkblue;
- option add *Text.font fixed;
--
-- # entries
-- option add *Entry.background white;
-
- }
-
-@@ -1931,36 +1920,19 @@
- update_pwin df_getdinfo [format "%d/%d ports, %dK/sec" $pports $Status(nports) $rate];
-
- # Find the md5 file.
-- if {[catch {set fh [open "$path/files/md5" "r"]}]} {
-+ if {[catch {set fh [open "$path/distinfo" "r"]}]} {
-
-- # Nope. Perhaps we're dealing with US ITAR braindamage
-- if {[op_elookup USA_RESIDENT]} {
-- set aname "$path/files.usa/md5";
-+ # Can't find an distinfo file; give up
-+ if {[file isdirectory "$path"]} {
-+ if {$Options(warn_no_md5)} {
-+ lappend errs "$pname: '$path/distinfo' not found";
-+ }
- } else {
-- set aname "$path/files.non_usa/md5";
-- }
--
-- # try again with a new name
-- if {[catch {set fh [open $aname "r"]}]} {
--
-- # Can't find an md5 file; give up
-- if {[file isdirectory "$path/files"]} {
-- if {$Options(warn_no_md5)} {
-- lappend errs "$pname: '$path/files/md5' not found";
-- }
-- } else {
-- if {[file isdirectory $path]} {
-- if {$Options(warn_no_fdir)} {
-- lappend errs "$pname: '$path/files' not found";
-- }
-- } else {
-- if {$Options(warn_no_port)} {
-- lappend errs "$pname: directory missing.";
-- }
-- }
-+ if {$Options(warn_no_port)} {
-+ lappend errs "$pname: directory missing.";
- }
-- continue ; # if no port info, assume it's not wanted
- }
-+ continue ; # if no port info, assume it's not wanted
- }
-
- # initialise state for this port
diff --git a/sysutils/pib/files/patch-tkPort.h b/sysutils/pib/files/patch-tkPort.h
deleted file mode 100644
index f06866b80a73..000000000000
--- a/sysutils/pib/files/patch-tkPort.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- tkPort.h.orig Wed Apr 13 17:30:58 2005
-+++ tkPort.h Wed Apr 13 17:30:13 2005
-@@ -133,8 +133,6 @@ extern int errno;
- * in any other header file.
- */
-
--extern void panic();
--
- /*
- * These functions do nothing under Unix, so we just eliminate calls them.
- */
-
diff --git a/sysutils/pib/pkg-descr b/sysutils/pib/pkg-descr
deleted file mode 100644
index b71d74e66030..000000000000
--- a/sysutils/pib/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-The Ports Index Browser provides a quick and powerful means for browsing the
-FreeBSD Ports Collection INDEX file and performing related functions.
-
-It provides an intuitive GUI interface, online help and useful distfile
-management functions.
diff --git a/sysutils/pib/pkg-plist b/sysutils/pib/pkg-plist
deleted file mode 100644
index 5af3e9ca784f..000000000000
--- a/sysutils/pib/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/pib
-lib/pib/pib.tcl
-lib/pib/tkSteal.tcl
-lib/pib/libTkSteal.so.2
-@dirrm lib/pib
diff --git a/sysutils/pkg-orphan/Makefile b/sysutils/pkg-orphan/Makefile
deleted file mode 100644
index 81f8e6a08146..000000000000
--- a/sysutils/pkg-orphan/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# New ports collection makefile for: pkg-orphan
-# Date created: 26 November 2005
-# Whom: Victor Semionov <semionov@mail.bg>
-#
-# $FreeBSD$
-#
-
-PORTNAME= pkg-orphan
-PORTVERSION= 0.1.1
-CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=${PORTNAME}
-
-MAINTAINER= vsemionov@gmail.com
-COMMENT= A console utility for managing unreferenced FreeBSD packages
-
-NO_BUILD= yes
-USE_PERL5= yes
-
-MAN1= pkg-orphan.1
-
-PLIST_FILES= sbin/pkg-orphan
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/pkg-orphan.pl ${PREFIX}/sbin/pkg-orphan
- ${INSTALL_MAN} ${WRKSRC}/pkg-orphan.1 ${MAN1PREFIX}/man/man1
-
-.include <bsd.port.mk>
diff --git a/sysutils/pkg-orphan/distinfo b/sysutils/pkg-orphan/distinfo
deleted file mode 100644
index e71c2ae2136e..000000000000
--- a/sysutils/pkg-orphan/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pkg-orphan-0.1.1.tar.gz) = 4be6c6921db432177870e6b00aec55ee
-SHA256 (pkg-orphan-0.1.1.tar.gz) = a2dc15fd04b7672017fbab32e0f46421b67e6ec6f73db9329f82313ee68aeb21
-SIZE (pkg-orphan-0.1.1.tar.gz) = 5948
diff --git a/sysutils/pkg-orphan/pkg-descr b/sysutils/pkg-orphan/pkg-descr
deleted file mode 100644
index 76cd402acbc2..000000000000
--- a/sysutils/pkg-orphan/pkg-descr
+++ /dev/null
@@ -1,22 +0,0 @@
-pkg-orphan is a console utility for managing orphan, i.e. unreferenced FreeBSD
-packages. It finds all or selected orphans and lets the user choose which ones
-to remove and which ones to keep. It maintains a keep-list file, so previously
-kept packages will be skipped automatically. In batch mode, all packages, not
-present in the keep-list are either deleted or kept in the list.
-
-Since orphan packages are usually much fewer than non-orphan ones, it can be
-useful for quickly finding and deleting unused packages, even on a system with
-hundreds of them installed.
-
-Features:
- - interactive and batch modes
- - maintains a kept package list, to avoid asking for the same package again
- - can delete packages recursively, but without deleting shared dependencies or
- previously kept packages
- - the keep-list file does not contain package versions, so upgrades generally
- don't require editing of the file
-
-WWW: http://sourceforge.net/projects/pkg-orphan/
-
-- Victor Semionov
-vsemionov@gmail.com
diff --git a/sysutils/pkg_cutleaves/Makefile b/sysutils/pkg_cutleaves/Makefile
deleted file mode 100644
index e14a3377cc1a..000000000000
--- a/sysutils/pkg_cutleaves/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-# New ports collection makefile for: pkg_cutleaves
-# Date created: 27 July 2003
-# Whom: Stefan Walter <sw@gegenunendlich.de>
-#
-# $FreeBSD$
-#
-
-PORTNAME= pkg_cutleaves
-PORTVERSION= 20061113
-CATEGORIES= sysutils
-MASTER_SITES= http://www.gegenunendlich.de/projects/${PORTNAME}/
-
-MAINTAINER= stefan@FreeBSD.org
-COMMENT= Interactive script for deinstalling 'leaf' packages
-
-NO_BUILD= yes
-USE_PERL5= yes
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-MAN1= pkg_cutleaves.1
-
-PLIST_FILES= sbin/pkg_cutleaves
-
-post-patch:
- @${REINPLACE_CMD} -e \
- 's,/usr/local/etc/pkg_leaves.exclude,${PREFIX}/etc/pkg_leaves.exclude,' \
- ${WRKSRC}/pkg_cutleaves.1
- @${REINPLACE_CMD} -e \
- 's,/usr/local/etc/pkg_leaves.exclude,${PREFIX}/etc/pkg_leaves.exclude,' \
- ${WRKSRC}/pkg_cutleaves
- @${REINPLACE_CMD} -e \
- 's,/usr/sbin/pkg_delete,${PKG_DELETE},' \
- ${WRKSRC}/pkg_cutleaves
- @${REINPLACE_CMD} -e \
- 's,/usr/local/sbin/pkgdb,${LOCALBASE}/sbin/pkgdb,' \
- ${WRKSRC}/pkg_cutleaves
- @${REINPLACE_CMD} -e \
- 's,/var/db/pkg,${PKG_DBDIR},' \
- ${WRKSRC}/pkg_cutleaves
- @${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},' \
- ${WRKSRC}/pkg_cutleaves
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/pkg_cutleaves ${PREFIX}/sbin/pkg_cutleaves
- ${INSTALL_MAN} ${WRKSRC}/pkg_cutleaves.1 ${MAN1PREFIX}/man/man1
-
-.include <bsd.port.mk>
diff --git a/sysutils/pkg_cutleaves/distinfo b/sysutils/pkg_cutleaves/distinfo
deleted file mode 100644
index 3cf70827a11e..000000000000
--- a/sysutils/pkg_cutleaves/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pkg_cutleaves-20061113.tar.gz) = 5a8f40683f33aaabdfb2215a36c7747c
-SHA256 (pkg_cutleaves-20061113.tar.gz) = 130795f1abe381c3a80c3f1af9ffa95fdd4268f9ffeb9d0cf097d1698d0b73c7
-SIZE (pkg_cutleaves-20061113.tar.gz) = 5997
diff --git a/sysutils/pkg_cutleaves/pkg-descr b/sysutils/pkg_cutleaves/pkg-descr
deleted file mode 100644
index 7aa045b16eac..000000000000
--- a/sysutils/pkg_cutleaves/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-pkg_cutleaves finds installed 'leaf' packages, i.e. packages that are
-not referenced by any other installed package, and lets you decide for
-each one if you want to keep or deinstall it (via pkg_deinstall(1)).
diff --git a/sysutils/pkg_install-devel/Makefile b/sysutils/pkg_install-devel/Makefile
deleted file mode 100644
index 6e7d688b42c0..000000000000
--- a/sysutils/pkg_install-devel/Makefile
+++ /dev/null
@@ -1,109 +0,0 @@
-# New ports collection makefile for: pkg_install
-# Date created: 25 Jan 2004
-# Whom: Oliver Eikemeier
-#
-# $FreeBSD$
-#
-
-PORTNAME= pkg_install
-PORTVERSION= 20040811
-CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= eik
-PKGNAMESUFFIX= -devel
-
-MAINTAINER= clement@FreeBSD.org
-COMMENT= Development version of the FreeBSD 5.x package tools
-
-CONFLICTS= pkg_install-[0-9]*
-
-MANCOMPRESSED= yes
-
-MAN1= pkg_add.1 pkg_create.1 pkg_delete.1 \
- pkg_info.1 pkg_version.1
-
-PKGREQ= ${WRKDIR}/pkg-req
-
-.if defined(PREFIX)
-.if ${PREFIX} == "/usr"
-PKGNAMESUFFIX= -base-devel
-.endif
-.endif
-
-BACKUPDIR?= /var/backups
-
-.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
-USE_OPENSSL= yes
-MAN1+= pkg_check.1 pkg_sign.1
-PLIST_SUB+= OPENSSL=""
-CFLAGS+= -I${OPENSSLINC}
-LDFLAGS+= -L${OPENSSLLIB}
-.else
-MAKE_ARGS= -DNO_OPENSSL
-PLIST_SUB+= OPENSSL="@comment "
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if defined(DFOSVERSION)
-PKG_OSVERSION= ${DFOSVERSION}
-SED_SCRIPT= -e 's/%%OSVERSIONCHK%%/"$$OSVERSION" -ge 110000/g'
-.else
-PKG_OSVERSION= ${OSVERSION}
-SED_SCRIPT= -e 's/%%OSVERSIONCHK%%/"$$OSVERSION" -ge 491101 -a "$$OSVERSION" -lt 500000 -o "$$OSVERSION" -ge 502120/g'
-.endif
-
-pre-everything::
- @${ECHO} "======================================================================================="
- @${ECHO}
- @${ECHO} "Build ${PKGNAME} with PREFIX=/usr to replace the base package tools"
- @${ECHO}
- @${ECHO} "======================================================================================="
-
-.if !defined(DFOSVERSION) && ${OSVERSION} < 460102
-check-already-installed:
-.if !defined(NO_PKG_REGISTER) && !defined(FORCE_PKG_REGISTER)
- @if [ -d ${PKG_DBDIR}/${PKGNAME} ]; then \
- ${ECHO_CMD} "===> ${PKGNAME} is already installed - perhaps an older version?"; \
- ${ECHO_CMD} " If so, you may wish to \`\`make deinstall'' and install"; \
- ${ECHO_CMD} " this port again by \`\`make reinstall'' to upgrade it properly."; \
- ${ECHO_CMD} " If you really wish to overwrite the old port of ${PKGNAME}"; \
- ${ECHO_CMD} " without deleting it first, set the variable \"FORCE_PKG_REGISTER\""; \
- ${ECHO_CMD} " in your environment or the \"make install\" command line."; \
- exit 1; \
- fi
-.else
- @${DO_NADA}
-.endif
-.endif
-
-pre-configure:
- @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
- -e 's|%%MANPREFIX%%|${MANPREFIX}|g' \
- ${FILESDIR}/Makefile.inc > ${WRKDIR}/Makefile.inc
-
-# __FBSDID is undefied for old FreeBSD versions and DragonFlyBSD
-.if defined(DFOSVERSION) || ${OSVERSION} < 440001 || ${OSVERSION} >= 500000 && ${OSVERSION} < 500024
-post-patch:
- @${FIND} ${WRKSRC} -name '*.c' \
- | ${XARGS} ${PERL} -pi.orig -e 's/__FBSDID\(("[^"]*")\)/static const char rcsid[] = $$1/'
-.endif
-
-post-build:
- @${SED} ${SED_SCRIPT} ${PKGDIR}/pkg-req >${WRKDIR}/pkg-req
-
-.if !defined(PACKAGE_BUILDING)
-pre-install:
- @${SETENV} PKG_PREFIX=${PREFIX:Q} OSVERSION=${PKG_OSVERSION:Q} ${SH} ${PKGREQ} ${PKGNAME} INSTALL
-.endif
-
-# Call pkg-install in `do-install:' instead of `pre-install:' because it might
-# deinstall pkg_info, which is fatal during `check-already-installed:'.
-do-install:
- ${SETENV} PKG_PREFIX=${PREFIX:Q} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
- @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
-
-test: build
- @(cd ${BUILD_WRKSRC}/version && ${SH} test-pkg_version.sh)
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/pkg_install-devel/distinfo b/sysutils/pkg_install-devel/distinfo
deleted file mode 100644
index bb4af1ce463d..000000000000
--- a/sysutils/pkg_install-devel/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pkg_install-20040811.tar.gz) = d95f6a6a11cfba51cd4ea451f444ae47
-SHA256 (pkg_install-20040811.tar.gz) = c7c0f67e52c2758272a4e81d8dcb4ac1eaaf314bac677cf8f1026b22baad7367
-SIZE (pkg_install-20040811.tar.gz) = 88003
diff --git a/sysutils/pkg_install-devel/files/Makefile.inc b/sysutils/pkg_install-devel/files/Makefile.inc
deleted file mode 100644
index 3f26acacff36..000000000000
--- a/sysutils/pkg_install-devel/files/Makefile.inc
+++ /dev/null
@@ -1,4 +0,0 @@
-# $FreeBSD$
-
-BINDIR=%%PREFIX%%/sbin
-MANDIR=%%MANPREFIX%%/man/man
diff --git a/sysutils/pkg_install-devel/pkg-deinstall b/sysutils/pkg_install-devel/pkg-deinstall
deleted file mode 100644
index 32c71c3ad15f..000000000000
--- a/sysutils/pkg_install-devel/pkg-deinstall
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-PAX=/bin/pax
-ECHO_CMD=echo
-RM=/bin/rm
-BACKUPDIR=/var/backups
-
-PREFIX=${PKG_PREFIX:-/usr/local}
-if [ "${PREFIX}" = "/usr" ]; then
- MANPREFIX="${TARGETDIR}/share"
-else
- MANPREFIX="${TARGETDIR}"
-fi
-
-case $2 in
-POST-DEINSTALL)
- if [ "${PREFIX}" = "/usr" ]; then
- if [ -e "${BACKUPDIR}/pkg_install.tgz" ]; then
- ${PAX} -r -pe -z -f "${BACKUPDIR}/pkg_install.tgz"
- ${RM} "${BACKUPDIR}/pkg_install.tgz"
- ${ECHO_CMD} "===> Base pkg_install restored."
- fi
- fi
- ;;
-esac
diff --git a/sysutils/pkg_install-devel/pkg-descr b/sysutils/pkg_install-devel/pkg-descr
deleted file mode 100644
index abe2ae1d30b3..000000000000
--- a/sysutils/pkg_install-devel/pkg-descr
+++ /dev/null
@@ -1,17 +0,0 @@
-Development version of the FreeBSD 5.x pkg_install suite of tools
-
-This version fixes some bugs of the -CURRENT tools. You should
-only install it it you have problems with the current version
-or want to test the new features.
-
-If you want to replace the base system tools, install via:
- make install PREFIX=/usr
-You can revert to the normal tools simply by uninstalling the
-port or restoring them with:
- cd /usr/src/usr.sbin/pkg_install; make install
-if you have the sources installed.
-
-WWW: http://cvs.sf.net/viewcvs.py/portaudit/pkg_install/
-
--- Oliver Eikemeier
-eik@FreeBSD.org
diff --git a/sysutils/pkg_install-devel/pkg-install b/sysutils/pkg_install-devel/pkg-install
deleted file mode 100644
index f29172829e88..000000000000
--- a/sysutils/pkg_install-devel/pkg-install
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-PAX=/bin/pax
-ECHO_CMD=echo
-MKDIR="/bin/mkdir -p"
-RM=/bin/rm
-BACKUPDIR=/var/backups
-
-TOOLS="add check create delete info sign update version"
-
-PREFIX=${PKG_PREFIX:-/usr/local}
-if [ "${PREFIX}" = "/usr" ]; then
- MANPREFIX="${TARGETDIR}/share"
-else
- MANPREFIX="${TARGETDIR}"
-fi
-
-case $2 in
-PRE-INSTALL)
- if [ "${PREFIX}" = "/usr" ]; then
- if [ -e "${BACKUPDIR}/pkg_install.tgz" ]; then
- ${ECHO_CMD} "===> Please remove \`\`${BACKUPDIR}/pkg_install.tgz'' manually."
- exit 1
- fi
- if [ "${PREFIX}" = "/usr" ]; then
- files=""
- for tool in ${TOOLS}; do
- if [ -e "${PREFIX}/sbin/pkg_${tool}" ]; then
- files="${files} ${PREFIX}/sbin/pkg_${tool}"
- fi
- if [ -e "${MANPREFIX}/man/man1/pkg_${tool}.1.gz" ]; then
- files="${files} ${MANPREFIX}/man/man1/pkg_${tool}.1.gz"
- ${RM} -f "${MANPREFIX}/man/cat1/pkg_${tool}.1.gz"
- fi
- done
- ${MKDIR} ${BACKUPDIR}
- ${PAX} -w -z -f "${BACKUPDIR}/pkg_install.tgz" ${files}
- ${RM} -f ${files}
- ${ECHO_CMD} "===> Base pkg_install saved."
- fi
- fi
- ;;
-esac
diff --git a/sysutils/pkg_install-devel/pkg-plist b/sysutils/pkg_install-devel/pkg-plist
deleted file mode 100644
index 565e68ca0ecf..000000000000
--- a/sysutils/pkg_install-devel/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-sbin/pkg_add
-%%OPENSSL%%sbin/pkg_check
-sbin/pkg_create
-sbin/pkg_delete
-sbin/pkg_info
-%%OPENSSL%%sbin/pkg_sign
-sbin/pkg_version
diff --git a/sysutils/pkg_install-devel/pkg-req b/sysutils/pkg_install-devel/pkg-req
deleted file mode 100644
index caf4ed361cf9..000000000000
--- a/sysutils/pkg_install-devel/pkg-req
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-if [ -z "$OSVERSION" ]; then
- if [ -x /sbin/sysctl ]; then
- OSVERSION=`/sbin/sysctl -n kern.osreldate`
- else
- OSVERSION=`/usr/sbin/sysctl -n kern.osreldate`
- fi
-fi
-
-case $2 in
-INSTALL)
- if [ %%OSVERSIONCHK%% ]; then
- echo "$1: Your base pkg_install tools are already up-to-date."
- exit 1
- fi
- ;;
-esac
diff --git a/sysutils/pkg_install/Makefile b/sysutils/pkg_install/Makefile
deleted file mode 100644
index 069bdd76c2cf..000000000000
--- a/sysutils/pkg_install/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-# New ports collection makefile for: pkg_install
-# Date created: 14 Jul 2003
-# Whom: Oliver Eikemeier
-#
-# $FreeBSD$
-#
-
-PORTNAME= pkg_install
-PORTVERSION= 20060113
-CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
- http://people.FreeBSD.org/~marcus/
-MASTER_SITE_SUBDIR= marcus
-
-MAINTAINER= portmgr@freebsd.org
-COMMENT= FreeBSD -CURRENT version of the pkg tools for older system releases
-
-MANCOMPRESSED= yes
-
-MAN1= pkg_add.1 pkg_create.1 pkg_delete.1 \
- pkg_info.1 pkg_version.1
-
-MAKE_ARGS= -DNOOBJ -DNOCRYPT -DNO_OPENSSL
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 460102
-check-already-installed:
-.if !defined(NO_PKG_REGISTER) && !defined(FORCE_PKG_REGISTER)
- @if [ -d ${PKG_DBDIR}/${PKGNAME} ]; then \
- ${ECHO_CMD} "===> ${PKGNAME} is already installed - perhaps an older version?"; \
- ${ECHO_CMD} " If so, you may wish to \`\`make deinstall'' and install"; \
- ${ECHO_CMD} " this port again by \`\`make reinstall'' to upgrade it properly."; \
- ${ECHO_CMD} " If you really wish to overwrite the old port of ${PKGNAME}"; \
- ${ECHO_CMD} " without deleting it first, set the variable \"FORCE_PKG_REGISTER\""; \
- ${ECHO_CMD} " in your environment or the \"make install\" command line."; \
- exit 1; \
- fi
-.else
- @${DO_NADA}
-.endif
-.endif
-
-pre-configure:
- @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
- -e 's,%%MANPREFIX%%,${MANPREFIX},g' \
- ${FILESDIR}/Makefile.inc > ${WRKDIR}/Makefile.inc
-
-post-patch:
-.if ${OSVERSION} < 440001 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500024 )
- @${FIND} ${WRKSRC} -name '*.c' \
- | ${XARGS} ${PERL} -pi.orig -e 's/__FBSDID\(("[^"]*")\)/static const char rcsid[] = $$1/'
-.endif
-
-deinstall:
- @if ${PKG_INFO} -e ${PKGNAME}; then \
- ${PKG_DELETE} -f ${PKGNAME}; \
- else \
- ${ECHO_MSG} "===> ${PKGNAME} not installed; skipping"; \
- fi
- @${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/pkg_install/distinfo b/sysutils/pkg_install/distinfo
deleted file mode 100644
index 15cd8d9f157c..000000000000
--- a/sysutils/pkg_install/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pkg_install-20060113.tar.gz) = c9668c92370637bea76afcb2c40a441e
-SHA256 (pkg_install-20060113.tar.gz) = f1e17d29be6206de5012b64b0eec3095ed5d9a2af1b52c9597867e118d8aa356
-SIZE (pkg_install-20060113.tar.gz) = 89977
diff --git a/sysutils/pkg_install/files/Makefile.inc b/sysutils/pkg_install/files/Makefile.inc
deleted file mode 100644
index 3f26acacff36..000000000000
--- a/sysutils/pkg_install/files/Makefile.inc
+++ /dev/null
@@ -1,4 +0,0 @@
-# $FreeBSD$
-
-BINDIR=%%PREFIX%%/sbin
-MANDIR=%%MANPREFIX%%/man/man
diff --git a/sysutils/pkg_install/files/patch-Makefile.inc b/sysutils/pkg_install/files/patch-Makefile.inc
deleted file mode 100644
index 2f032e6e7d86..000000000000
--- a/sysutils/pkg_install/files/patch-Makefile.inc
+++ /dev/null
@@ -1,15 +0,0 @@
---- Makefile.inc.orig Tue Dec 21 05:16:03 2004
-+++ Makefile.inc Sat Feb 26 17:02:17 2005
-@@ -7,9 +7,11 @@
- .endif
-
- .if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && \
-- defined(LDADD) && ${LDADD:M-lfetch} != ""
-+ defined(LDADD)
-+.if ${LDADD:M-lfetch} != ""
- DPADD+= ${LIBSSL} ${LIBCRYPTO}
- LDADD+= -lssl -lcrypto
-+.endif
- .endif
-
- # Inherit BINDIR from one level up.
diff --git a/sysutils/pkg_install/files/patch-lib_Makefile b/sysutils/pkg_install/files/patch-lib_Makefile
deleted file mode 100644
index 08886b2b87a6..000000000000
--- a/sysutils/pkg_install/files/patch-lib_Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
---- lib/Makefile.orig Sun Oct 24 11:33:07 2004
-+++ lib/Makefile Sat Feb 26 17:03:27 2005
-@@ -1,11 +1,15 @@
- # $FreeBSD: /tmp/pcvs/ports/sysutils/pkg_install/files/Attic/patch-lib_Makefile,v 1.4 2005-02-26 22:06:42 marcus Exp $
-
- LIB= install
--INTERNALLIB=
- SRCS= file.c msg.c plist.c str.c exec.c global.c pen.c match.c \
- deps.c version.c pkgwrap.c url.c
-+NOPROFILE= yes
-+NOPIC= yes
-
- WARNS?= 3
- WFORMAT?= 1
-+
-+install:
-+ @echo -n
-
- .include <bsd.lib.mk>
diff --git a/sysutils/pkg_install/pkg-descr b/sysutils/pkg_install/pkg-descr
deleted file mode 100644
index eeac25195052..000000000000
--- a/sysutils/pkg_install/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-FreeBSD -CURRENT version of the pkg_install suite of tools for doing
-maintainance of software packages.
-
-This is mainly useful on FreeBSD systems <= 4.10.
-
-WWW: http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/pkg_install/
diff --git a/sysutils/pkg_install/pkg-plist b/sysutils/pkg_install/pkg-plist
deleted file mode 100644
index f4c62b027a74..000000000000
--- a/sysutils/pkg_install/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-sbin/pkg_add
-sbin/pkg_create
-sbin/pkg_delete
-sbin/pkg_info
-sbin/pkg_version
diff --git a/sysutils/pkg_remove/Makefile b/sysutils/pkg_remove/Makefile
deleted file mode 100644
index 944303a7ba87..000000000000
--- a/sysutils/pkg_remove/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# New ports collection makefile for: pkg_remove
-# Date created: 8 Jan 2000
-# Whom: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
-#
-# $FreeBSD$
-#
-
-PORTNAME= pkg_remove
-PORTVERSION= 1.1
-CATEGORIES= sysutils
-MASTER_SITES= # none
-DISTFILES= # none
-
-MAINTAINER= nakaji@jp.freebsd.org
-COMMENT= Utility to uninstall packages
-
-NO_BUILD= yes
-NO_WRKSUBDIR= yes
-
-PLIST_FILES= bin/pkg_remove
-SRC= ${.CURDIR}/src
-
-do-fetch:
- @${DO_NADA}
-
-do-install:
- ${INSTALL_SCRIPT} ${SRC}/pkg_remove.txt ${PREFIX}/bin/pkg_remove
-
-.include <bsd.port.mk>
diff --git a/sysutils/pkg_remove/pkg-descr b/sysutils/pkg_remove/pkg-descr
deleted file mode 100644
index 84f68848781d..000000000000
--- a/sysutils/pkg_remove/pkg-descr
+++ /dev/null
@@ -1,18 +0,0 @@
-Utility to uninstall packages.
-Unlike pkg_delete, pkg_remove removes all packages which depend to
-the packages you specify, in proper order, by one command line.
-
-For example:
-# pkg_remove netscape
- Remove all netscape related packages.
-# pkg_remove xemacs
- Same as above about xemacs.
-# pkg_remove tiff
- Remove tiff library and whole packages which use it.
-# pkg_remove '^ja-'
- Remove all japanese packages.
-# pkg_remove ALL
- Remove all packages.
-
-- SADA Kenji
-sada@FreeBSD.org
diff --git a/sysutils/pkg_remove/src/pkg_remove.txt b/sysutils/pkg_remove/src/pkg_remove.txt
deleted file mode 100644
index f45f81c7bfff..000000000000
--- a/sysutils/pkg_remove/src/pkg_remove.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/perl
-# $Id: pkg_remove,v 1.3 1999/11/06 15:47:49 sada Exp $
-use Getopt::Std;
-getopts('n');
-die("usage: x [-n] ALL | <package-name> [, <package-name> [..]]\n -n : only tell what will take place.\n") if (@ARGV < 1);
-$pkg_dbdir = "/var/db/pkg";
-opendir(PKG_DBDIR, $pkg_dbdir);
-while ($pkg = readdir(PKG_DBDIR)) {
- next if $pkg =~ m/^\./;
- $req_by{$pkg} = '';
- if (-f "$pkg_dbdir/$pkg/+REQUIRED_BY") {
- open(REQ_B, "$pkg_dbdir/$pkg/+REQUIRED_BY");
- $req_by{$pkg} = join('', <REQ_B>);
- }
-}
-while ($a = shift) {
- while (($key, $val) = each(%req_by)) {
- if ($a eq 'ALL' || $key =~ m/$a/) {
- &remove_package($key);
- }
- }
-}
-
-sub remove_package
-{
- my ($pkg) = @_;
- return if ($pkg_removed{$pkg});
- my @r = split(/\n/, $req_by{$pkg});
- my $p;
- &remove_package($p) while $p = shift(@r);
- print "remove: $pkg\n";
- system "pkg_delete $pkg" unless ($opt_n);
- $pkg_removed{$pkg} = 'YES';
-}
diff --git a/sysutils/pkg_rmleaves/Makefile b/sysutils/pkg_rmleaves/Makefile
deleted file mode 100644
index 3780d2d46bf1..000000000000
--- a/sysutils/pkg_rmleaves/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# New ports collection makefile for: pkg_rmleaves
-# Date created: 26 December 2004
-# Whom: Timothy Redaelli <drizzt@gufi.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= pkg_rmleaves
-PORTVERSION= 20050922
-CATEGORIES= sysutils
-MASTER_SITES= http://utenti.gufi.org/~drizzt/codes/ports/${PORTNAME}/
-
-MAINTAINER= drizzt@gufi.org
-COMMENT= Interactive script for deinstalling 'leaf' packages
-
-NO_BUILD= yes
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-MAN1= pkg_rmleaves.1
-
-PLIST_FILES= sbin/pkg_rmleaves
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/pkg_rmleaves ${PREFIX}/sbin/pkg_rmleaves
- ${INSTALL_MAN} ${WRKSRC}/pkg_rmleaves.1 ${MAN1PREFIX}/man/man1
-
-.include <bsd.port.mk>
diff --git a/sysutils/pkg_rmleaves/distinfo b/sysutils/pkg_rmleaves/distinfo
deleted file mode 100644
index 4ee435288006..000000000000
--- a/sysutils/pkg_rmleaves/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pkg_rmleaves-20050922.tar.gz) = 8d701666cb440cf4447b8a882221aada
-SHA256 (pkg_rmleaves-20050922.tar.gz) = 624d29588d6456bf0082216bf5a10f6955056a4d2cb958b6b7a39d999e4afb08
-SIZE (pkg_rmleaves-20050922.tar.gz) = 2571
diff --git a/sysutils/pkg_rmleaves/pkg-descr b/sysutils/pkg_rmleaves/pkg-descr
deleted file mode 100644
index 18db9a6e3cec..000000000000
--- a/sysutils/pkg_rmleaves/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-pkg_rmleaves finds packages that are not requested by any other installed
-package and lets you decide (in a beauty dialog interface) for each one
-if you want to keep it or delete it.
diff --git a/sysutils/pkg_trackinst/Makefile b/sysutils/pkg_trackinst/Makefile
deleted file mode 100644
index 1d483e7e4124..000000000000
--- a/sysutils/pkg_trackinst/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# New ports collection makefile for: pkg_trackinst
-# Date created: 3 May 2005
-# Whom: Hye-Shik Chang <perky@FreeBSD.org>
-#
-# $FreeBSD$
-
-PORTNAME= pkg_trackinst
-PORTVERSION= 1.2.3
-CATEGORIES= sysutils
-MASTER_SITES= http://people.freebsd.org/~perky/distfiles/
-
-MAINTAINER= perky@FreeBSD.org
-COMMENT= PkgDB/pkg-plist generator by tracking installation
-
-USE_PYTHON= 2.3+
-MAKE_ENV= PYTHON_CMD=${PYTHON_CMD}
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 501105
-IGNORE= requires dynamically-linked base programs
-.endif
-
-post-patch:
- ${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \
- ${WRKSRC}/PkgTrackInst/cmd_support.py
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/pkg_trackinst/distinfo b/sysutils/pkg_trackinst/distinfo
deleted file mode 100644
index d064fcef7ddb..000000000000
--- a/sysutils/pkg_trackinst/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pkg_trackinst-1.2.3.tar.gz) = 5f9862a4c0c99290b589f6102823c289
-SHA256 (pkg_trackinst-1.2.3.tar.gz) = dba8eaff03f848c3ea591d152c353d3023a0792696cd55b8bbcf0cded8bba641
-SIZE (pkg_trackinst-1.2.3.tar.gz) = 14273
diff --git a/sysutils/pkg_trackinst/pkg-descr b/sysutils/pkg_trackinst/pkg-descr
deleted file mode 100644
index 8a269dee84b4..000000000000
--- a/sysutils/pkg_trackinst/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-This package provides two commands:
-
- * pkg_trackinst:
- Tracks installation of unpackaged software and writes pkgdb
- entry using the install log. Then, it also creates a binary
- package for the installed package.
-
- * pkg_genplist:
- Tests a port installation and generates `pkg-plist' of a port
- in current directory.
-
- * pkg_checkplist:
- Tests a port installation and checks `pkg-plist' errors.
diff --git a/sysutils/pkg_trackinst/pkg-plist b/sysutils/pkg_trackinst/pkg-plist
deleted file mode 100644
index f59afb8697d3..000000000000
--- a/sysutils/pkg_trackinst/pkg-plist
+++ /dev/null
@@ -1,41 +0,0 @@
-bin/pkg_checkplist
-bin/pkg_genplist
-bin/pkg_trackinst
-lib/insthook.so
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.py
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.pyc
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.pyo
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbInfoForm.py
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbInfoForm.pyc
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbInfoForm.pyo
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbWriter.py
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbWriter.pyc
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbWriter.pyo
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/PlistWriter.py
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/PlistWriter.pyc
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/PlistWriter.pyo
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/TerminalSlider.py
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/TerminalSlider.pyc
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/TerminalSlider.pyo
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/Trackers.py
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/Trackers.pyc
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/Trackers.pyo
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/__init__.py
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/__init__.pyc
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/__init__.pyo
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/checkplist_main.py
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/checkplist_main.pyc
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/checkplist_main.pyo
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/cmd_support.py
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/cmd_support.pyc
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/cmd_support.pyo
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/compat23.py
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/compat23.pyc
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/compat23.pyo
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/genplist_main.py
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/genplist_main.pyc
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/genplist_main.pyo
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.py
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.pyc
-%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/PkgTrackInst
diff --git a/sysutils/pkg_tree/Makefile b/sysutils/pkg_tree/Makefile
deleted file mode 100644
index 87841c41d6a3..000000000000
--- a/sysutils/pkg_tree/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# New ports collection makefile for: pkg_tree
-# Date created: 24 September 2001
-# Whom: Edwin Groothuis (edwin@mavetju.org)
-#
-# $FreeBSD$
-#
-
-PORTNAME= pkg_tree
-PORTVERSION= 1.1
-PORTREVISION= 1
-CATEGORIES= sysutils
-MASTER_SITES= http://www.mavetju.org/download/
-
-MAINTAINER= edwin@mavetju.org
-COMMENT= Get a 'graphical' tree-overview of installed packages
-
-USE_PERL5= yes
-
-MAN7= pkg_tree.7
-PLIST_FILES= bin/pkg_tree
-
-post-patch:
- @${REINPLACE_CMD} -e 's|__PREFIX__|${PREFIX}|g ; \
- s|__INSTALL_MAN__|${INSTALL_MAN}|g ; \
- s|__INSTALL_SCRIPT__|${INSTALL_SCRIPT}|g' ${WRKSRC}/Makefile
-
-.include <bsd.port.mk>
diff --git a/sysutils/pkg_tree/distinfo b/sysutils/pkg_tree/distinfo
deleted file mode 100644
index f0af29c7dfea..000000000000
--- a/sysutils/pkg_tree/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pkg_tree-1.1.tar.gz) = b41c4a28a7ed727962bb137914f81030
-SHA256 (pkg_tree-1.1.tar.gz) = f82a68ab0fda053654cc35a0864b55a9529287f58017b4a1b500e91076a458be
-SIZE (pkg_tree-1.1.tar.gz) = 5006
diff --git a/sysutils/pkg_tree/files/patch-Makefile b/sysutils/pkg_tree/files/patch-Makefile
deleted file mode 100644
index 5caa17d2e87d..000000000000
--- a/sysutils/pkg_tree/files/patch-Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.orig Wed Dec 12 23:06:13 2001
-+++ Makefile Wed Dec 12 23:07:35 2001
-@@ -11,8 +11,8 @@
- --date="December 15, 2001" pkg_tree.pod > pkg_tree.7
-
- install:
-- install -o root -g wheel -m 755 -c pkg_tree /usr/local/bin
-- install -o root -g wheel -m 644 -c pkg_tree.7 /usr/local/man/man7
-+ __INSTALL_SCRIPT__ pkg_tree __PREFIX__/bin
-+ __INSTALL_MAN__ pkg_tree.7 __PREFIX__/man/man7
-
- clean:
- rm pkg_tree.7
diff --git a/sysutils/pkg_tree/files/patch-pkg_tree b/sysutils/pkg_tree/files/patch-pkg_tree
deleted file mode 100644
index b2b81728e81b..000000000000
--- a/sysutils/pkg_tree/files/patch-pkg_tree
+++ /dev/null
@@ -1,65 +0,0 @@
---- pkg_tree.orig Wed Dec 12 13:44:40 2001
-+++ pkg_tree Mon Jan 6 23:02:31 2003
-@@ -26,7 +26,7 @@
- # updated by a newer version. In case of tcl-8.3.3_3, this is tcl-8.3.3_4.
- #
- # PKG-TREE is (c) Edwin Groothuis, edwin@mavetju.org
--# For license issues, see the file LICESE.
-+# For license issues, see the file LICENSE.
- # For more information, see the website: http://www.mavetju.org
- #
-
-@@ -34,10 +34,13 @@
-
- use Getopt::Std;
-
--use vars qw/ $opt_v /;
-+use vars qw/ $opt_b $opt_q $opt_t $opt_v /;
-
- $opt_v=0;
--getopts("v");
-+$opt_t=0;
-+$opt_b=0;
-+$opt_q=0;
-+getopts("bqtv");
-
- my $PKGDIR="/var/db/pkg";
-
-@@ -46,6 +49,7 @@
- closedir DIR;
-
- @dirs=grep !/^\./,@dirs;
-+@dirs=grep !/^pkgdb.db$/,@dirs;
- @dirs=sort @dirs;
-
- my @args=@ARGV;
-@@ -150,8 +154,10 @@
- }
- next if (!$found);
- }
-+ next if ($opt_t && $required{$pkg}[0]!=0);
-+ next if ($opt_b && $requires{$pkg}[0]!=0);
- print "$pkg\n";
-- if ($requires{$pkg}[0]!=0) {
-+ if (!$opt_q && $requires{$pkg}[0]!=0) {
- print_deps("|"," ",1,$pkg);
- }
- }
---- patch-aa ends here ---
-
---- patch-ab begins here ---
---- pkg_tree.pod.orig Wed Dec 12 13:44:40 2001
-+++ pkg_tree.pod Mon Jan 6 23:20:49 2003
-@@ -53,6 +53,12 @@
- |\__ freetype2-2.0.5
- \__ XFree86-libraries-4.1.0 (unknown)
-
-+Use the B<-t> parameter to show only top level packages,
-+and B<-b> to show only bottom level packages. And B<-t> B<-q>
-+together will give the list of top level packages without their
-+dependencies, installing only these packages should install all
-+currently installed packages.
-+
- =head1 RETURN VALUES
-
- Always 0.
diff --git a/sysutils/pkg_tree/pkg-descr b/sysutils/pkg_tree/pkg-descr
deleted file mode 100644
index 4c214909ec25..000000000000
--- a/sysutils/pkg_tree/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-Get a 'graphical' tree-overview of installed packages
-
-Generates a ascii-art-graphical tree of packages and their dependancies.
-For example for itk-3.2_1:
-
- [~] edwin@k7>pkg_tree tk-8
- tk-8.3.3
- |\__ tcl-8.3.3_3 (unknown)
- |\__ imake-4.1.0 (unknown)
- |\__ freetype2-2.0.4
- \__ XFree86-libraries-4.1.0 (unknown)
-
-WWW: http://www.mavetju.org/
diff --git a/sysutils/pkgfe/Makefile b/sysutils/pkgfe/Makefile
deleted file mode 100644
index 5d9bf2ddf27a..000000000000
--- a/sysutils/pkgfe/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# New ports collection makefile for: pkgfe
-# Date created: 2006-01-14
-# Whom: Sulev-Madis Silber <madis555@hot.ee>
-#
-# $FreeBSD$
-#
-
-PORTNAME= pkgfe
-PORTVERSION= 20061204
-CATEGORIES= sysutils
-MASTER_SITES= http://helpfreebsd.net/pkgfe/releases/ \
- http://kodu.neti.ee/~madis555/pkgfe/releases/ \
- http://ketas.life.ee/pkgfe/releases/ \
- http://ketas.si.pri.ee/pkgfe/releases/ \
- http://pkgfe2.si.pri.ee/pkgfe/releases/
-
-MAINTAINER= madis555@hot.ee
-COMMENT= Ncurses frontend for ports collection
-
-RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade \
- portaudit:${PORTSDIR}/security/portaudit
-
-MAN8= pkgfe.8
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600033 && ( ${OSVERSION} < 504103 || ${OSVERSION} > 600000 )
-RUN_DEPENDS+= portsnap:${PORTSDIR}/sysutils/portsnap
-.endif
-
-NO_BUILD= yes
-
-do-install:
- ${REINPLACE_CMD} -e 's|%PREFIX%|${PREFIX}|g' ${WRKSRC}/pkgfe
- ${INSTALL_SCRIPT} ${WRKSRC}/pkgfe ${PREFIX}/sbin/pkgfe
- ${INSTALL_DATA} ${WRKSRC}/pkgfe.conf ${PREFIX}/etc/pkgfe.conf.sample
- ${INSTALL_MAN} ${WRKSRC}/pkgfe.8 ${PREFIX}/man/man8
-
-post-install:
- @if [ ! -f ${PREFIX}/etc/pkgfe.conf ]; then \
- ${CP} -p ${PREFIX}/etc/pkgfe.conf.sample ${PREFIX}/etc/pkgfe.conf ; \
- fi
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/pkgfe/distinfo b/sysutils/pkgfe/distinfo
deleted file mode 100644
index 65fc2baf48b8..000000000000
--- a/sysutils/pkgfe/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pkgfe-20061204.tar.gz) = 7b698788e5fbbd0b378e24e308b39897
-SHA256 (pkgfe-20061204.tar.gz) = bef09c0daa4508c14a7e0909ed74fd96088e4b086a1c6726a7cd4fdeabbc53b9
-SIZE (pkgfe-20061204.tar.gz) = 7099
diff --git a/sysutils/pkgfe/pkg-descr b/sysutils/pkgfe/pkg-descr
deleted file mode 100644
index c5bbe9733173..000000000000
--- a/sysutils/pkgfe/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Package Frontend is a ncurses based, graphical frontend for
-the FreeBSD ports collection.
-
-Author: Sulev-Madis Silber <madis555@hot.ee>
-WWW: http://helpfreebsd.net/pkgfe/
diff --git a/sysutils/pkgfe/pkg-plist b/sysutils/pkgfe/pkg-plist
deleted file mode 100644
index 273713147e4e..000000000000
--- a/sysutils/pkgfe/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-sbin/pkgfe
-@unexec if cmp -s %D/etc/pkgfe.conf.sample %D/etc/pkgfe.conf; then rm -f %D/etc/pkgfe.conf; fi
-etc/pkgfe.conf.sample
-@exec if [ ! -f %B/pkgfe.conf ]; then cp -p %D/%F %B/pkgfe.conf; fi
diff --git a/sysutils/port-authoring-tools/Makefile b/sysutils/port-authoring-tools/Makefile
deleted file mode 100644
index ec3939be0205..000000000000
--- a/sysutils/port-authoring-tools/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# New ports collection makefile for: port-authoring-tools
-# Date created: 3 April 2004
-# Whom: Mark Linimon <linimon@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= port-authoring-tools
-PORTVERSION= 1.0
-CATEGORIES= sysutils
-MASTER_SITES= # empty
-DISTFILES= # empty
-EXTRACT_ONLY= # empty
-
-MAINTAINER= linimon@FreeBSD.org
-COMMENT= "meta-port" for tools to test and submit changes to ports
-
-# note: portlint is brought in by porttools
-RUN_DEPENDS= \
- ${LOCALBASE}/bin/cvsup:${PORTSDIR}/net/cvsup-without-gui \
- ${LOCALBASE}/bin/fastest_cvsup:${PORTSDIR}/sysutils/fastest_cvsup \
- ${LOCALBASE}/sbin/libchk:${PORTSDIR}/sysutils/libchk \
- ${LOCALBASE}/bin/port:${PORTSDIR}/devel/porttools
-
-NO_BUILD= yes
-
-do-install: # empty
-
-.include <bsd.port.mk>
diff --git a/sysutils/port-authoring-tools/pkg-descr b/sysutils/port-authoring-tools/pkg-descr
deleted file mode 100644
index c2c9017f93cb..000000000000
--- a/sysutils/port-authoring-tools/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-Here is a meta-port for a set of tools that will help port maintainers
-to test and submit changes to the FreeBSD Ports Collection.
diff --git a/sysutils/port-maintenance-tools/Makefile b/sysutils/port-maintenance-tools/Makefile
deleted file mode 100644
index 4e1b575c9870..000000000000
--- a/sysutils/port-maintenance-tools/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# New ports collection makefile for: port-maintenance-tools
-# Date created: 3 April 2004
-# Whom: Mark Linimon <linimon@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= port-maintenance-tools
-PORTVERSION= 1.0
-CATEGORIES= sysutils
-MASTER_SITES= # empty
-DISTFILES= # empty
-EXTRACT_ONLY= # empty
-
-MAINTAINER= linimon@FreeBSD.org
-COMMENT= "meta-port" for administrative tools to maintain ports
-
-# note: portuprade is brought in by pkg_cutleaves
-RUN_DEPENDS= \
- ${LOCALBASE}/bin/cvsup:${PORTSDIR}/net/cvsup-without-gui \
- ${LOCALBASE}/bin/fastest_cvsup:${PORTSDIR}/sysutils/fastest_cvsup \
- ${LOCALBASE}/sbin/pkg_cutleaves:${PORTSDIR}/sysutils/pkg_cutleaves \
- ${LOCALBASE}/bin/pkg_tree:${PORTSDIR}/sysutils/pkg_tree \
- ${LOCALBASE}/bin/porteasy:${PORTSDIR}/misc/porteasy \
- ${LOCALBASE}/bin/portell:${PORTSDIR}/misc/portell \
- ${LOCALBASE}/sbin/portdowngrade:${PORTSDIR}/sysutils/portdowngrade
-
-NO_BUILD= yes
-
-do-install: # empty
-
-.include <bsd.port.mk>
diff --git a/sysutils/port-maintenance-tools/pkg-descr b/sysutils/port-maintenance-tools/pkg-descr
deleted file mode 100644
index e2f2646f3e94..000000000000
--- a/sysutils/port-maintenance-tools/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Here is a meta-port for a collection of tools that will help you
-manage your ports tree, both for installation, deinstallation,
-updating, and browsing. Many FreeBSD administrators and users
-find these tools to be helpful, especially when working with
-building ports from their sources.
diff --git a/sysutils/portbrowser/Makefile b/sysutils/portbrowser/Makefile
deleted file mode 100644
index fdd60b045b5b..000000000000
--- a/sysutils/portbrowser/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# New ports collection makefile for: portbrowser
-# Date created: 8 November, 2004
-# Whom: hrs
-#
-# $FreeBSD$
-
-PORTNAME= portbrowser
-PORTVERSION= 0.3
-PORTREVISION= 3
-CATEGORIES= sysutils
-MASTER_SITES= http://www.bytelabs.org/
-DISTNAME= pb-browser-${PORTVERSION}
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= hrs@FreeBSD.org
-COMMENT= Graphical frontend for the BSD ports system
-
-USE_GNOME= gtk20
-MAKE_ENV= MANDIR=${PREFIX}/man/man \
- BINDIR=${PREFIX}/bin \
- NOMANCOMPRESS=YES
-PLIST_FILES= bin/pbrowser
-
-MAN1= pbrowser.1
-
-post-patch:
- @${REINPLACE_CMD} -e 's|"INDEX"|"${INDEXFILE}"|' \
- ${WRKSRC}/src/pkgobject.h
-
-.include <bsd.port.mk>
diff --git a/sysutils/portbrowser/distinfo b/sysutils/portbrowser/distinfo
deleted file mode 100644
index cdf834622f5d..000000000000
--- a/sysutils/portbrowser/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pb-browser-0.3.tgz) = 5ea939c43b382e4a3e05ed6a5b7de48e
-SHA256 (pb-browser-0.3.tgz) = 59b979e9f2e784b7a8aace1a74250bfa27945a7ecf3959d333ada62c8215689c
-SIZE (pb-browser-0.3.tgz) = 44706
diff --git a/sysutils/portbrowser/pkg-descr b/sysutils/portbrowser/pkg-descr
deleted file mode 100644
index a087512f4817..000000000000
--- a/sysutils/portbrowser/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-The PortBrowser is a FREE, easy to use implementation
-of a frontend written for the BSD ports system.
-
-WWW: http://www.bytelabs.org/devel.html
diff --git a/sysutils/portcheck/Makefile b/sysutils/portcheck/Makefile
deleted file mode 100644
index ef45650db19c..000000000000
--- a/sysutils/portcheck/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# New ports collection makefile for: portcheck
-# Date created: 01 January 2007
-# Whom: Kim Naim Lesmer <naim@usebsd.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= portcheck
-PORTVERSION= 1.12
-CATEGORIES= sysutils
-MASTER_SITES= http://www.usebsd.com/pub/portcheck/files/ \
- http://www.bitcare.dk/pub/portcheck/files/
-EXTRACT_SUFX= .tbz
-
-MAINTAINER= naim@usebsd.com
-COMMENT= Maintains the ports tree and checks up the installed packages
-
-RUN_DEPENDS= ${LOCALBASE}/sbin/portaudit:${PORTSDIR}/security/portaudit
-
-PLIST_FILES= bin/portcheck
-MAN1= portcheck.1
-NO_WRKSUBDIR= yes
-NO_BUILD= yes
-
-do-install:
- @${INSTALL_SCRIPT} ${WRKDIR}/portcheck ${PREFIX}/bin
- @${INSTALL_MAN} ${WRKDIR}/portcheck.1 ${MAN8PREFIX}/man/man1
- @${ECHO} ""
- @${ECHO} "See 'man portcheck' for information about usage."
- @${ECHO} ""
-
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 504104
-IGNORE= doesn't work on our sstem, it needs portsnap, please update your system to at least 5-STABLE
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/portcheck/distinfo b/sysutils/portcheck/distinfo
deleted file mode 100644
index aa6e108e3ab5..000000000000
--- a/sysutils/portcheck/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (portcheck-1.12.tbz) = 6e557bb8d1cb8a36442bbf375faaeac5
-SHA256 (portcheck-1.12.tbz) = 2c7d177825a0380790d89f38cc0026a391705ec2344f0b5d4d2d14b9f1095039
-SIZE (portcheck-1.12.tbz) = 2379
diff --git a/sysutils/portcheck/pkg-descr b/sysutils/portcheck/pkg-descr
deleted file mode 100644
index fb807fc9e279..000000000000
--- a/sysutils/portcheck/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Portcheck is a simple and small script for FreeBSD
-which first updates the ports tree and then runs an
-update and a security checkup of all the installed packages.
-Portcheck depends on portsnap, portaudit and pkg_version.
-
-WWW: http://www.usebsd.com/pub/portcheck/
diff --git a/sysutils/portconf/Makefile b/sysutils/portconf/Makefile
deleted file mode 100644
index 2ef7a2244422..000000000000
--- a/sysutils/portconf/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# New ports collection makefile for: portconf
-# Date created: 7 Jun 2006
-# Whom: Alex Dupre <ale@FreeBSD.org>
-#
-# $FreeBSD$
-#
-# This port is self contained in the files directory.
-#
-
-PORTNAME= portconf
-PORTVERSION= 1.2
-CATEGORIES= sysutils
-MASTER_SITES= # none
-DISTFILES= # none
-
-MAINTAINER= ale@FreeBSD.org
-COMMENT= A universal tool to set specific port knobs
-
-NO_BUILD= yes
-SUB_FILES= pkg-message ${PORTNAME}.sh
-
-PLIST_FILES= libexec/${PORTNAME}
-
-do-fetch:
- @${DO_NADA}
-
-do-install:
- @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/libexec/${PORTNAME}
-.if !defined(PACKAGE_BUILDING)
- @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.endif
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/sysutils/portconf/files/pkg-message.in b/sysutils/portconf/files/pkg-message.in
deleted file mode 100644
index 859391f9f049..000000000000
--- a/sysutils/portconf/files/pkg-message.in
+++ /dev/null
@@ -1,19 +0,0 @@
-*********************************************************
-
-To set port-specific make variables, create the
-%%PREFIX%%/etc/ports.conf configuration file
-with the following syntax:
-
----------------------------------------------------------
-# this is a comment
-editors/openoffice*: WITH_CCACHE|LOCALIZED_LANG=it
-www/firefox-i18n: WITHOUT_SWITCHER | FIREFOX_I18N=fr it
-x11/fakeport: CONFIGURE_ARGS=--with-modules="aaa bbb ccc"
----------------------------------------------------------
-
-Global port directory patterns and blanks around the
-pipe "|" symbol are allowed.
-Values shouldn't be quoted even if they contain spaces.
-Lines beginning with a '#' are comments.
-
-*********************************************************
diff --git a/sysutils/portconf/files/portconf.sh.in b/sysutils/portconf/files/portconf.sh.in
deleted file mode 100644
index 7ac900d3c823..000000000000
--- a/sysutils/portconf/files/portconf.sh.in
+++ /dev/null
@@ -1,41 +0,0 @@
-#! /bin/sh
-#
-# Copyright (c) 2006 Florent Thoumie <flz@FreeBSD.org>,
-# Alex Dupre <ale@FreeBSD.org>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-# SUCH DAMAGE.
-#
-# $FreeBSD$
-#
-
-_conf=%%PREFIX%%/etc/ports.conf
-if [ ! -r "${_conf}" ]; then
- exit
-fi
-_pwd=`pwd`
-sed '/^#/d;/^[[:space:]]*$/d' "${_conf}" | while read _line; do
- _port=${_line%%:*}
- if [ "${_pwd%%${_port}}" != "${_pwd}" ]; then
- echo ${_line#*:} | sed -E 's/([A-Z0-9_]+)(=([^|]+))?/\1=\3/g;s/ *\| */|/g;s/ /%/g'
- fi
-done
diff --git a/sysutils/portconf/pkg-deinstall b/sysutils/portconf/pkg-deinstall
deleted file mode 100644
index 1f90cf2c820a..000000000000
--- a/sysutils/portconf/pkg-deinstall
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-MAKE_CONF=/etc/make.conf
-
-if [ "$2" = "POST-DEINSTALL" ]; then
-echo -n "Cleaning up ${MAKE_CONF}..."
-if [ -f ${MAKE_CONF} ]; then
- sed -e "/# Begin portconf settings/,/# End portconf settings/d" \
- -i "" ${MAKE_CONF}
- if [ ! -s ${MAKE_CONF} ]; then
- rm ${MAKE_CONF}
- fi
-fi
-echo " Done."
-fi
diff --git a/sysutils/portconf/pkg-descr b/sysutils/portconf/pkg-descr
deleted file mode 100644
index 9a1b1809edcd..000000000000
--- a/sysutils/portconf/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Portconf is a simple framework to set ports options in an
-universal way. Knobs set to specific ports are honoured
-by portmaster, portupgrade, portmanager and 'make install'.
-
-- Alex Dupre
-ale@FreeBSD.org
diff --git a/sysutils/portconf/pkg-install b/sysutils/portconf/pkg-install
deleted file mode 100644
index 7c3938211b01..000000000000
--- a/sysutils/portconf/pkg-install
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-MAKE_CONF=/etc/make.conf
-
-if [ "$2" = "POST-INSTALL" ]; then
-echo -n "Spamming ${MAKE_CONF}..."
-cat >> ${MAKE_CONF} << EOF
-# Begin portconf settings
-# Do not touch these lines
-.if !empty(.CURDIR:M/usr/ports*) && exists(${PKG_PREFIX}/libexec/portconf)
-_PORTCONF!=${PKG_PREFIX}/libexec/portconf
-.for i in \${_PORTCONF:S/|/ /g}
-\${i:S/%/ /g}
-.endfor
-.endif
-# End portconf settings
-EOF
-echo " Done."
-fi
diff --git a/sysutils/portdowngrade/Makefile b/sysutils/portdowngrade/Makefile
deleted file mode 100644
index 7ebf370b9eee..000000000000
--- a/sysutils/portdowngrade/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-# New ports collection makefile for: portdowngrade
-# Date created: 2003/02/13
-# Whom: Heiner <h.eichmann@gmx.de>
-#
-# $FreeBSD$
-#
-
-PORTNAME= portdowngrade
-PORTVERSION= 0.6
-CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
-
-MAINTAINER= h.eichmann@gmx.de
-COMMENT= Sets a port back to a previous version
-
-LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
-
-POPT_INCLUDE= `pkg_info -xL ^popt | ${GREP} popt.h | ${SED} -e 's?/popt.h??'`
-POPT_LIB= `pkg_info -xL ^popt | ${GREP} libpopt.a | ${SED} -e 's?/libpopt.a??'`
-CONFIGURE_ENV= CPPFLAGS="-I${POPT_INCLUDE}" \
- LIBS="-lpopt -L${POPT_LIB}"
-.if defined(DEFAULT_CVS_SERVER)
-CONFIGURE_ARGS+= --enable-default-server=${DEFAULT_CVS_SERVER}
-.endif
-
-GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-USE_GMAKE= yes
-
-USE_BZIP2= yes
-
-MAN1= portdowngrade.1
-PLIST_FILES= sbin/portdowngrade
-
-pre-everything::
-.if !defined(DEFAULT_CVS_SERVER)
- @${ECHO_MSG} ""
- @${ECHO_MSG} "Press CTRL-C and define DEFAULT_CVS_SERVER"
- @${ECHO_MSG} "(e.g. make DEFAULT_CVS_SERVER=\":pserver:anoncvs@anoncvs. ... .FreeBSD.org:/home/ncvs\" install)"
- @${ECHO_MSG} "if you want to use a special CVS server as default. See"
- @${ECHO_MSG} "http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html"
- @${ECHO_MSG} "for a list of possible cvs server"
- @${ECHO_MSG} ""
- @sleep 3
-.endif
-
-.include <bsd.port.mk>
diff --git a/sysutils/portdowngrade/distinfo b/sysutils/portdowngrade/distinfo
deleted file mode 100644
index d4732ac7c1e5..000000000000
--- a/sysutils/portdowngrade/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (portdowngrade-0.6.tar.bz2) = 4f7b2cfa79dd9d320b2442b49aef62ce
-SHA256 (portdowngrade-0.6.tar.bz2) = cc8a60ae6b9a4b78dc388759cecc0b2232aab8ca4c36a72546402a4a8b52f02a
-SIZE (portdowngrade-0.6.tar.bz2) = 84926
diff --git a/sysutils/portdowngrade/pkg-descr b/sysutils/portdowngrade/pkg-descr
deleted file mode 100644
index 94e505406b16..000000000000
--- a/sysutils/portdowngrade/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Portdowngrade helps to downgrade FreeBSD ports by analyzing the history
-of commits to the port and presenting the user the list of changes. By
-selecting one, the port can be set back to a previous version easily.
-
-WWW: http://sourceforge.net/projects/portdowngrade/
-
---
-h.eichmann@gmx.de
diff --git a/sysutils/portmanager/Makefile b/sysutils/portmanager/Makefile
deleted file mode 100644
index 691aedd351c5..000000000000
--- a/sysutils/portmanager/Makefile
+++ /dev/null
@@ -1,61 +0,0 @@
-# New ports collection makefile for: portmanager
-# Date created: April 23, 2004
-# Whom: Michael C. Shultz <reso3w83@verizon.net>
-#
-# $FreeBSD$
-#
-
-PORTNAME= portmanager
-PORTVERSION= 0.4.1
-PORTREVISION= 7
-CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= portmanager
-
-MAINTAINER= rnoland@2hip.net
-COMMENT= FreeBSD installed ports status and safe update utility
-
-MAN1= portmanager.1
-MAN3= libMG.3 MGdbAdd.3 MGdbCreate.3 MGdbDelete.3 \
- MGdbGetRecordQty.3 MGdbGoTop.3 MGdbSeek.3
-
-GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-INSTALL_TARGET= install info
-
-#
-# if --with-bin=something then withvar=${PREFIX} + something
-# else defaults to withvar=${PREFIX} + /bin
-#
-# so --with-bindir=/bin will become ${PREFIX}/bin at configure
-# time.
-#
-CONFIGURE_ARGS= --with-prefix=${PREFIX} --with-bindir=/bin \
- --with-etcdir=/etc --with-pkgdbdir=/var/db/pkg \
- --with-portsdir=${PORTSDIR} --with-sharedir=/share/portmanager \
- --with-tempdir=/tmp
-
-OPTIONS= DEBUG "Enable debug support and warnings" off \
- BUILD_DEPENDS_ARE_LEAVES "Treat build dependencies as leaves" off
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --with-debug=yes
-.endif
-
-.if defined(WITH_BUILD_DEPENDS_ARE_LEAVES)
-CONFIGURE_ARGS+= --with-treatBuildDependsAsLeaves=yes
-.endif
-
-# Keep this in post-configure. After run configure, this value is changed.
-post-configure:
- @${REINPLACE_CMD} -e \
- 's|PACKAGE_VERSION "${PORTVERSION}"|PACKAGE_VERSION "${PORTVERSION}_${PORTREVISION}"|g' \
- ${WRKSRC}/externVars.h
-
-post-install:
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/portmanager/distinfo b/sysutils/portmanager/distinfo
deleted file mode 100644
index 96889bdd2194..000000000000
--- a/sysutils/portmanager/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (portmanager-0.4.1.tar.gz) = 97274b1b2859c234f9c1901bb67c35e6
-SHA256 (portmanager-0.4.1.tar.gz) = 7b387b5338575c4f328881f9b2d21ee4b36797b888b1c0ebdfe8697527ee7c37
-SIZE (portmanager-0.4.1.tar.gz) = 492297
diff --git a/sysutils/portmanager/files/patch-libMGPM__src__MGPMrGetPortName.c b/sysutils/portmanager/files/patch-libMGPM__src__MGPMrGetPortName.c
deleted file mode 100644
index e8cfc5c56b3e..000000000000
--- a/sysutils/portmanager/files/patch-libMGPM__src__MGPMrGetPortName.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./libMGPM/src/MGPMrGetPortName.c.orig Wed Dec 14 10:27:41 2005
-+++ ./libMGPM/src/MGPMrGetPortName.c Fri Dec 8 17:13:00 2006
-@@ -180,7 +180,8 @@
- }
- else
- {
-- fclose( property->STDIN );
-+ if( property->autoMoved == 0 )
-+ fclose( property->STDIN );
- MGPMlogAdd( property, "installed ", portName,
- " removed from system: no longer in ports tree: see /usr/ports/MOVED", " ", " " );
- }
diff --git a/sysutils/portmanager/files/patch-libMGPM__src__MGPMrInitialize.c b/sysutils/portmanager/files/patch-libMGPM__src__MGPMrInitialize.c
deleted file mode 100644
index bb8f5552991e..000000000000
--- a/sysutils/portmanager/files/patch-libMGPM__src__MGPMrInitialize.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./libMGPM/src/MGPMrInitialize.c.orig Mon Dec 12 15:32:34 2005
-+++ ./libMGPM/src/MGPMrInitialize.c Fri Dec 8 17:13:00 2006
-@@ -47,7 +47,7 @@
- */
- property->configConfFileName = calloc( stringSize + 1, 1 );
- MGmStrcpy(property->configConfFileName, ETCDIR);
-- MGmStrcat(property->configConfFileName, "/portmanager/" );
-+ MGmStrcat(property->configConfFileName, "/portmanager" );
- MGmStrcat(property->configConfFileName, CONFIGURE_CONF);
-
- /*
diff --git a/sysutils/portmanager/files/patch-libMGPM__src__MGPMrPortBrokeCheck.c b/sysutils/portmanager/files/patch-libMGPM__src__MGPMrPortBrokeCheck.c
deleted file mode 100644
index a59d29f8fd00..000000000000
--- a/sysutils/portmanager/files/patch-libMGPM__src__MGPMrPortBrokeCheck.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./libMGPM/src/MGPMrPortBrokeCheck.c.orig Tue Dec 13 17:08:27 2005
-+++ ./libMGPM/src/MGPMrPortBrokeCheck.c Fri Dec 8 17:13:00 2006
-@@ -78,7 +78,7 @@
- }
- buffer[0] = 0;
- fread( buffer, MAXBUFFERSIZE, 1, pHandle );
-- if( ferror( pHandle ) == 0 && MGrStrlen( buffer ) > 1 )
-+ if( ferror( pHandle ) == 0 && MGrBufferlen( buffer, MAXBUFFERSIZE ) > 1 )
- {
- fprintf( stdout, "%s %s error: %s %s marked %s, adding to ignore.db\n", id, PACKAGE_VERSION, oldPortName, oldPortDir, brokeCheckType );
- while( fflush( stdout ) );
diff --git a/sysutils/portmanager/files/patch-libMGPM__src__MGPMrReadConfigure.c b/sysutils/portmanager/files/patch-libMGPM__src__MGPMrReadConfigure.c
deleted file mode 100644
index 46ec1afd3d10..000000000000
--- a/sysutils/portmanager/files/patch-libMGPM__src__MGPMrReadConfigure.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./libMGPM/src/MGPMrReadConfigure.c.orig Wed Dec 14 00:12:40 2005
-+++ ./libMGPM/src/MGPMrReadConfigure.c Fri Dec 8 17:13:00 2006
-@@ -156,7 +156,7 @@
-
- MGmStrcpy( cmd[0], "/bin/cp" );
- MGmStrcpy( cmd[1], property->configConfFileName );
-- MGmStrcat( cmd[1], ".SAMPLE " );
-+ MGmStrcat( cmd[1], ".SAMPLE" );
- MGmStrcpy( cmd[2], property->configConfFileName );
-
- MGmSystem( cmd, NULL );
diff --git a/sysutils/portmanager/files/patch-libMGPM__src__MGPMrShowLeavesDelete.c b/sysutils/portmanager/files/patch-libMGPM__src__MGPMrShowLeavesDelete.c
deleted file mode 100644
index 459c65cf1926..000000000000
--- a/sysutils/portmanager/files/patch-libMGPM__src__MGPMrShowLeavesDelete.c
+++ /dev/null
@@ -1,252 +0,0 @@
---- ./libMGPM/src/MGPMrShowLeavesDelete.c.orig Mon Dec 12 15:32:34 2005
-+++ ./libMGPM/src/MGPMrShowLeavesDelete.c Fri Dec 8 17:13:00 2006
-@@ -39,19 +39,21 @@
- char exact[] = "exact";
- char id[] = "MGPMrShowLeavesDelete";
- char* command = NULL;
-- char* leafPortDir = NULL;
-+ char* leafPortDir;
- char* leafPortName = NULL;
- char* pkgDescFile = NULL;
-+ char** cmd;
-+ char** env;
- int answer = 1;
-- int bufferSize = 0xffff;
- int doubleBreak = 0;
- int installedPortsDbIDX = 0;
- int installedPortsDbQTY = 0;
-
-- command = calloc( bufferSize, 1 );
-- leafPortDir = calloc( bufferSize, 1 );
-- leafPortName = calloc( bufferSize, 1 );
-- pkgDescFile = calloc( bufferSize, 1 );
-+ leafPortDir = calloc( MAXSTRINGSIZE, 1 );
-+ leafPortName = calloc( MAXSTRINGSIZE, 1 );
-+
-+ command = calloc( MAXBUFFERSIZE, 1 );
-+ pkgDescFile = calloc( MAXBUFFERSIZE, 1 );
-
- if( ( property->ignoreDb = MGdbOpen( property->ignoreDbFileName ) ) == NULL )
- {
-@@ -108,50 +110,94 @@
- installedPortsDbIDX++;
- continue;
- }
--/*
-- if( answer != KEY_ENTER )
-+
-+ cmd = malloc( sizeof( char* ) * 2 );
-+ cmd[0] = malloc( MAXSTRINGSIZE );
-+ cmd[1] = 0;
-+
-+ env = malloc( sizeof( char* ) * 2 );
-+ env[0] = malloc( MAXSTRINGSIZE );
-+ env[1] = 0;
-+
-+ MGmStrcpy( env[0], "TERM=" );
-+ MGmStrcat( env[0], getenv( "TERM" ) );
-+
-+ MGmStrcpy( cmd[0], "/usr/bin/clear" );
-+
-+ MGmSystem( cmd, env );
-+
-+ free( env[0] );
-+ free( env );
-+
-+ free( cmd[0] );
-+ free( cmd );
-+
-+ fprintf( stdout,"%s\n", SINGLE_LINES );
-+ fprintf( stdout, "*** for safety run portmanager -u after using this feature for deletion ***\n" );
-+ fprintf( stdout,"%s\n", SINGLE_LINES );
-+ fprintf( stdout, "Ports with no ports depending on them AKA \"leaf ports.\"\n" );
-+ fprintf( stdout, "These ports may be deinstalled because no other ports rely on them to run;\"\n" );
-+ if( property->buildDependsAreLeaves )
- {
--*/
-- system( "clear" );
-- fprintf( stdout,"%s\n", SINGLE_LINES );
-- fprintf( stdout, "*** for safety run portmanager -u after using this feature for deletion ***\n" );
-- fprintf( stdout,"%s\n", SINGLE_LINES );
-- fprintf( stdout, "Ports with no ports depending on them AKA \"leaf ports.\"\n" );
-- fprintf( stdout, "These ports may be deinstalled because no other ports rely on them to run;\"\n" );
-- if( property->buildDependsAreLeaves )
-- {
-- fprintf( stdout, "however, other ports may rely on these to build.\"\n" );
-- }
-- fprintf( stdout, "%s\n", SINGLE_LINES );
-+ fprintf( stdout, "however, other ports may rely on these to build.\"\n" );
-+ }
-+ fprintf( stdout, "%s\n", SINGLE_LINES );
-
-- fprintf( stdout, "%s dir -=> %s\n\n", leafPortName, leafPortDir );
-- while( fflush( stdout ) );
-+ fprintf( stdout, "%s dir -=> %s\n\n", leafPortName, leafPortDir );
-+ while( fflush( stdout ) );
-
-- MGmStrcpy( pkgDescFile, PORTSDIR );
-- MGmStrcat( pkgDescFile, leafPortDir );
-- MGmStrcat( pkgDescFile, "/pkg-descr" );
-+ MGmStrcpy( pkgDescFile, PORTSDIR );
-+ MGmStrcat( pkgDescFile, leafPortDir );
-+ MGmStrcat( pkgDescFile, "/pkg-descr" );
-
-- if( MGrIfFileExist( pkgDescFile ) )
-- {
-- MGmStrcpy( command, "cat " );
-- MGmStrcat( command, pkgDescFile );
-- system( command );
-- fprintf( stdout, "\n" );
-- }
-- else
-- {
-- MGmStrcpy( command, "grep COMMENT " );
-- MGmStrcat( command, PORTSDIR );
-- MGmStrcat( command, leafPortDir );
-- MGmStrcat( command, "/Makefile" );
-- system( command );
-- }
-- fprintf( stdout,"%s\n", SINGLE_LINES );
-- fprintf( stdout, "\n<ENTER> to skip\n<X><ENTER> removes port\n<N><ENTER> *Nuke it*, removes distribution files\n\n" );
-- fprintf( stdout,"%s\n", SINGLE_LINES );
--/*
-+ if( MGrIfFileExist( pkgDescFile ) )
-+ {
-+ cmd = malloc( sizeof( char* ) * 3 );
-+ cmd[0] = malloc( MAXSTRINGSIZE );
-+ cmd[1] = malloc( MAXSTRINGSIZE );
-+ cmd[2] = 0;
-+
-+ MGmStrcpy( cmd[0], "/bin/cat" );
-+ MGmStrcpy( cmd[1], pkgDescFile );
-+
-+ MGmSystem( cmd, NULL );
-+
-+ free( cmd[0] );
-+ free( cmd[1] );
-+ free( cmd );
-+
-+ fprintf( stdout, "\n" );
-+ while( fflush( stdout ) );
-+ }
-+ else
-+ {
-+ cmd = malloc( sizeof( char* ) * 4 );
-+ cmd[0] = malloc( MAXSTRINGSIZE );
-+ cmd[1] = malloc( MAXSTRINGSIZE );
-+ cmd[2] = malloc( MAXSTRINGSIZE );
-+ cmd[3] = 0;
-+
-+ MGmStrcpy( cmd[0], "/usr/bin/grep" );
-+ MGmStrcpy( cmd[1], "COMMENT" );
-+ MGmStrcpy( cmd[2], PORTSDIR );
-+ MGmStrcat( cmd[2], leafPortDir );
-+ MGmStrcat( cmd[2], "/Makefile" );
-+
-+ MGmSystem( cmd, NULL );
-+
-+ free( cmd[0] );
-+ free( cmd[1] );
-+ free( cmd[2] );
-+ free( cmd );
-+
-+ fprintf( stdout, "\n" );
-+ while( fflush( stdout ) );
- }
--*/
-+ fprintf( stdout,"%s\n", SINGLE_LINES );
-+ fprintf( stdout, "\n<ENTER> to skip\n<X><ENTER> removes port\n<N><ENTER> *Nuke it*, removes distribution files\n\n" );
-+ fprintf( stdout,"%s\n", SINGLE_LINES );
-+ while( fflush( stdout ) );
-+
- property->STDIN = fopen( "/dev/stdin", "r" ); /* Flawfinder: ignore */
- doubleBreak = 0;
- while( 1 == 1 )
-@@ -243,9 +289,7 @@
- {
- char id[] = "removePort";
- char exact[] = "exact";
-- char* command = NULL;
--
-- command = (char*)calloc( 0xffff, 1 );
-+ char** cmd;
-
- property->installedPortsDb = MGdbDelete( property->installedPortsDb, installedPortsDbIDX );
-
-@@ -261,12 +305,26 @@
- MGdbGoTop( property->availableDependenciesDb );
- }
-
-- MGmStrcpy( command, "pkg_delete -f " );
-- MGmStrcat( command, leafPortNamePtr );
-- fprintf( stdout, "\nexecuting: %s\n", command );
-+ cmd = malloc( sizeof( char* ) * 4 );
-+ cmd[0] = malloc( MAXSTRINGSIZE );
-+ cmd[1] = malloc( MAXSTRINGSIZE );
-+ cmd[2] = malloc( MAXSTRINGSIZE );
-+ cmd[3] = 0;
-+
-+ MGmStrcpy( cmd[0], "/usr/sbin/pkg_delete" );
-+ MGmStrcpy( cmd[1], "-f" );
-+ MGmStrcpy( cmd[2], leafPortNamePtr );
-+
-+ fprintf( stdout, "\nexecuting: %s %s %s\n", cmd[0], cmd[1], cmd[2] );
- while( fflush( stdout ) );
-- system( command );
-- free(command);
-+
-+ MGmSystem( cmd, NULL );
-+
-+ free( cmd[2] );
-+ free( cmd[1] );
-+ free( cmd[0] );
-+ free( cmd );
-+
- return( 0 );
- }
-
-@@ -274,18 +332,35 @@
- int nuke( char* leafPortDir )
- {
- char id[] = "nuke";
-- char* command = NULL;
-+ char** cmd;
-
-- command = (char*)calloc( 0xffff, 1 );
-+ cmd = malloc( sizeof( char* ) * 4 );
-+ cmd[0] = malloc( MAXSTRINGSIZE );
-+ cmd[1] = malloc( MAXSTRINGSIZE );
-+ cmd[2] = 0;
-+
-+ MGmStrcpy( cmd[0], PORTSDIR );
-+ MGmStrcat( cmd[0], leafPortDir );
-+ if( chdir( cmd[0] ) != 0 )
-+ {
-+ fprintf( stderr, "%s error: chdir %s failed\n", id, cmd[0] );
-+ perror( "chroot" );
-+ while( fflush( stderr ) );
-+ assert( 0 );
-+ }
-
-- MGmStrcpy( command, "cd " );
-- MGmStrcat( command, PORTSDIR );
-- MGmStrcat( command, leafPortDir );
-- MGmStrcat( command, "; make distclean" );
-- fprintf( stdout, "\nexecuting: %s\n", command );
-+ MGmStrcpy( cmd[0], "/usr/bin/make" );
-+ MGmStrcpy( cmd[1], "distclean" );
-+
-+ fprintf( stdout, "\nexecuting: %s %s\n", cmd[0], cmd[1] );
- while( fflush( stdout ) );
-- system( command );
-- free(command);
-+
-+ MGmSystem( cmd, NULL );
-+
-+ free( cmd[1] );
-+ free( cmd[0] );
-+ free( cmd );
-+
- return( 0 );
- }
-
diff --git a/sysutils/portmanager/files/patch-libMGPM__src__MGPMrUpdate.c b/sysutils/portmanager/files/patch-libMGPM__src__MGPMrUpdate.c
deleted file mode 100644
index 82b4f323b069..000000000000
--- a/sysutils/portmanager/files/patch-libMGPM__src__MGPMrUpdate.c
+++ /dev/null
@@ -1,349 +0,0 @@
---- libMGPM/src/MGPMrUpdate.c.orig Wed Dec 14 13:23:59 2005
-+++ libMGPM/src/MGPMrUpdate.c Fri Dec 8 17:24:30 2006
-@@ -60,6 +60,7 @@
- char* stopPortDirPtr = NULL;
- char* strikePtr = NULL;
- char** cmd;
-+ char** env;
- int answer = 1;
- int availableDependenciesDbIDX = 0;
- int availableDependenciesDbQTY = 0;
-@@ -74,12 +75,6 @@
-
- property->optionsChanged = 0;
-
-- localProperty.environment = malloc( sizeof( char** ) * 4 );
-- localProperty.environment[0] = malloc( MAXSTRINGSIZE );
-- localProperty.environment[1] = malloc( MAXSTRINGSIZE );
-- localProperty.environment[2] = malloc( MAXSTRINGSIZE );
-- localProperty.environment[3] = 0;
--
- localProperty.CURDIR = calloc( MAXSTRINGSIZE, 1 );
- localProperty.afterOptionsFileSize = calloc( MAXSTRINGSIZE, 1 );
- localProperty.afterOptionsFileTime = calloc( MAXSTRINGSIZE, 1 );
-@@ -122,30 +117,6 @@
- return( 0 );
- }
-
-- /*
-- * setup environment
-- */
-- MGmStrcpy( localProperty.environment[0], "PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin" );
--
-- if( getenv( "CCACHE_DIR" ) != NULL )
-- {
-- MGmStrcpy( localProperty.environment[1], "CCACHE_DIR=" );
-- MGmStrcat( localProperty.environment[1], getenv( "CCACHE_DIR" ) );
-- }
-- else
-- {
-- localProperty.environment[1][0] = 0;
-- }
--
-- if( getenv( "CCACHE_PATH" ) != NULL )
-- {
-- MGmStrcpy( localProperty.environment[2], "CCACHE_PATH=/usr/bin:/usr/local/bin" );
-- }
-- else
-- {
-- localProperty.environment[2][0] = 0;
-- }
--
- /*
- * test for bsd.ports.mk patch
- */
-@@ -466,25 +437,53 @@
- */
- /*
- * If here we know OPTIONS is defined, need to run make config
-- * if /var/db/ports/{package name}/options exists
-+ * if /var/db/ports/{package name}/options does not exist
- */
- if( MGrIfFileExist( localProperty.optionsDir ) == 0 )
- {
-- MGmStrcpy( localProperty.command, "cd " );
-- MGmStrcat( localProperty.command, PORTSDIR );
-- MGmStrcat( localProperty.command, oldPortDir );
-- MGmStrcat( localProperty.command, " && make config " );
-- if( MGrStrlen( localProperty.options ) > 0 )
-+ cmd = malloc( sizeof( char* ) * 3 );
-+ cmd[0] = malloc( MAXSTRINGSIZE );
-+ cmd[1] = malloc( MAXSTRINGSIZE );
-+ cmd[2] = 0;
-+
-+ env = malloc( sizeof( char* ) * 2 );
-+ env[0] = malloc( MAXSTRINGSIZE );
-+ env[1] = 0;
-+
-+ MGmStrcpy( env[0], "TERM=" );
-+ MGmStrcat( env[0], getenv( "TERM" ) );
-+
-+ MGmStrcpy( cmd[0], PORTSDIR );
-+ MGmStrcat( cmd[0], oldPortDir );
-+
-+ fprintf( stdout, "%s\n", SINGLE_LINES );
-+ fprintf( stdout, "config %s \n", cmd[0] );
-+ while( fflush( stdout ) );
-+
-+ if( chdir( cmd[0] ) != 0 )
- {
-- MGmStrcat( localProperty.command, localProperty.options );
-+ fprintf( stderr, "%s error: chdir %s failed\n", id, cmd[0] );
-+ perror( "chroot" );
-+ while( fflush( stderr ) );
-+ assert( 0 );
- }
-
-- fprintf( stdout, "%s\n", SINGLE_LINES );
-- fprintf( stdout, "update %s \n", oldPortName );
-- fprintf( stdout, "%s %s command: #2 of 14 %s\n", id, PACKAGE_VERSION, localProperty.command );
-- fprintf( stdout, "%s\n", SINGLE_LINES );
-+ MGmStrcpy( cmd[0], "/usr/bin/make" );
-+ MGmStrcpy( cmd[1], "config" );
-+ fprintf( stdout, "%s %s command: #2 of 14 %s %s\n", id, PACKAGE_VERSION, cmd[0], cmd[1] );
- while( fflush( stdout ) );
-- system(localProperty.command);
-+
-+ MGmSystem( cmd, env );
-+
-+ free( env[0] );
-+ free( env );
-+
-+ free( cmd[1] );
-+ free( cmd[0] );
-+ free( cmd );
-+
-+ fprintf( stdout, "%s\n", SINGLE_LINES );
-+
- }
- MGmStrcpy( localProperty.afterOptionsFileTime,
- MGrIntToString( (int)MGrFileTime( localProperty.optionsDir ) ) );
-@@ -567,17 +566,8 @@
- MGmStrcpy( strike, strikePtr );
- if( strike[0] == '2' )
- {
-+ MGPMlogAdd( property, oldPortName, oldPortDir, "make Strike 3, marking port as ignore/looping ", " ", " " );
- MGdbAdd( property->ignoreDb, oldPortDir, "looping, 3rd attempt at make", NULL );
-- if( property->log )
-- {
-- MGmStrcpy( localProperty.command, "echo \"make Strike 3 " );
-- MGmStrcat( localProperty.command, oldPortName );
-- MGmStrcat( localProperty.command, " " );
-- MGmStrcat( localProperty.command, oldPortDir );
-- MGmStrcat( localProperty.command, " marking port as ignore/looping " );
-- MGmStrcat( localProperty.command, " \">> /var/log/portmanager.log" );
-- system( localProperty.command );
-- }
- rCleanUp( property, &localProperty );
- return( 0 );
- }
-@@ -593,16 +583,8 @@
- property->fieldStrikesIDX,
- exact );
- property->strikesDb = MGdbDelete( property->strikesDb, MGdbGetRecno( property->strikesDb ) - 1 );
-+ MGPMlogAdd( property, oldPortName, oldPortDir, "make Strike 2", " ", " " );
- MGdbAdd( property->strikesDb, oldPortDir, "2", NULL );
-- if( property->log )
-- {
-- MGmStrcpy( localProperty.command, "echo \"make Strike 2 " );
-- MGmStrcat( localProperty.command, oldPortName );
-- MGmStrcat( localProperty.command, " " );
-- MGmStrcat( localProperty.command, oldPortDir );
-- MGmStrcat( localProperty.command, " \">> /var/log/portmanager.log" );
-- system( localProperty.command );
-- }
- /*
- * dualOriginCheck( property, oldPortName ); used to be here in old portmanager ver < 0.3.1, seems to be no longer
- * needed, keep this note just in case
-@@ -797,20 +779,28 @@
- MGPMlogAdd( property, "conflicting installed ", localProperty.installedPortName,
- " removed from system: conflicted with ", oldPortName, " " );
- }
-+ cmd = malloc( sizeof( char* ) * 4 );
-+ cmd[0] = malloc( MAXSTRINGSIZE );
-+ cmd[1] = malloc( MAXSTRINGSIZE );
-+ cmd[2] = malloc( MAXSTRINGSIZE );
-+ cmd[3] = 0;
-+
-+ MGmStrcpy( cmd[0], "/usr/sbin/pkg_delete" );
-+ MGmStrcpy( cmd[1], "-f" );
-+ MGmStrcpy( cmd[2], localProperty.installedPortName );
-
-- MGmStrcpy( localProperty.command, "pkg_delete -f " );
-- MGmStrcat( localProperty.command, localProperty.installedPortName );
-- fprintf( stdout, "executing: %s\n", localProperty.command );
-+ fprintf( stdout, "\nexecuting: %s %s %s\n", cmd[0], cmd[1], cmd[2] );
- while( fflush( stdout ) );
-- errorCode = system( localProperty.command );
-- if( property->log )
-- {
-- MGmStrcpy( localProperty.command, "echo \"removed conflicting port " );
-- MGmStrcat( localProperty.command, localProperty.installedPortName );
-- MGmStrcat( localProperty.command, " " );
-- MGmStrcat( localProperty.command, " \">> /var/log/portmanager.log" );
-- system( localProperty.command );
-- }
-+
-+ MGmSystem( cmd, NULL );
-+
-+ free( cmd[2] );
-+ free( cmd[1] );
-+ free( cmd[0] );
-+ free( cmd );
-+
-+ MGPMlogAdd( property, "removed conflicting port", localProperty.installedPortName,
-+ " ", " ", " " );
- }
- installedPortsDbIDX++;
- }
-@@ -848,15 +838,7 @@
- fprintf( stderr, "marking %s as ignored\n", oldPortName );
- fprintf( stdout, "%s\n", DOUBLE_LINES );
- while( fflush( stderr ) );
-- if( property->log )
-- {
-- MGmStrcpy( localProperty.command, "echo \" " );
-- MGmStrcat( localProperty.command, oldPortName );
-- MGmStrcat( localProperty.command, " " );
-- MGmStrcat( localProperty.command, oldPortDir );
-- MGmStrcat( localProperty.command, " conflicts with another installed port so marked ignore\" >> /var/log/portmanager.log" );
-- system( localProperty.command );
-- }
-+ MGPMlogAdd( property, oldPortName, oldPortDir, "conflicts with another installed port so marked ignore", " ", " " );
- MGdbAdd( property->ignoreDb, oldPortDir, "conflicts with another installed port", NULL );
- rCleanUp( property, &localProperty );
- return( 0 );
-@@ -986,15 +968,7 @@
- while( fflush( stdout ) );
- if( ( errorCode = system(localProperty.command) ) )
- {
-- if( property->log )
-- {
-- MGmStrcpy( localProperty.command, "echo \" " );
-- MGmStrcat( localProperty.command, oldPortName );
-- MGmStrcat( localProperty.command, " " );
-- MGmStrcat( localProperty.command, oldPortDir );
-- MGmStrcat( localProperty.command, " failed to fetch\" >> /var/log/portmanager.log" );
-- system( localProperty.command );
-- }
-+ MGPMlogAdd( property, oldPortName, oldPortDir, "failed to fetch, adding to ignore.db", " ", " " );
- fprintf( stdout, "%s %s error: make fetch returned an error, adding %s to ignore.db\n", id, PACKAGE_VERSION, oldPortDir );
- while( fflush( stdout ) );
- MGdbAdd( property->ignoreDb, oldPortDir, "failed during make fetch", NULL );
-@@ -1005,70 +979,29 @@
- /************************************************************************/
- /* Command "9" " make" */
- /************************************************************************/
-+ MGmStrcpy( localProperty.command, "cd " );
-+ MGmStrcat( localProperty.command, PORTSDIR );
-+ MGmStrcat( localProperty.command, oldPortDir );
-+ MGmStrcat( localProperty.command, " && make " );
- if( MGrStrlen( localProperty.options ) > 0 )
- {
-- cmd = malloc( sizeof( char** ) * 3 );
-- cmd[0] = malloc( MAXSTRINGSIZE );
-- cmd[1] = malloc( MAXBUFFERSIZE );
-- cmd[2] = 0;
-- MGmStrcpy( cmd[0], PORTSDIR );
-- MGmStrcat( cmd[0], oldPortDir );
-- if( chdir( cmd[0] ) != 0 )
-- {
-- fprintf( stderr, "%s error: chdir %s failed\n", id, cmd[0] );
-- perror( "chroot" );
-- while( fflush( stderr ) );
-- assert( 0 );
-- }
-- MGmStrcpy( cmd[0], "/usr/bin/make" );
-- MGmBuffercpy( cmd[1], localProperty.options, MAXBUFFERSIZE );
-- fprintf( stdout, "%s\n", SINGLE_LINES );
-- fprintf( stdout, "update %s \n", oldPortName );
-- fprintf( stdout, "%s %s command: #9 of 14 %s\nOPTIONS-=>%s\n", id, PACKAGE_VERSION, cmd[0], cmd[1] );
-- fprintf( stdout, "%s\n", SINGLE_LINES );
-- while( fflush( stdout ) );
-- MGmSystem( cmd, localProperty.environment );
-- free( cmd[0] );
-- free( cmd[1] );
-- free( cmd );
-- }
-- else
-- {
-- cmd = malloc( sizeof( char** ) * 2 );
-- cmd[0] = malloc( MAXSTRINGSIZE );
-- cmd[1] = 0;
-- MGmStrcpy( cmd[0], PORTSDIR );
-- MGmStrcat( cmd[0], oldPortDir );
-- if( chdir( cmd[0] ) != 0 )
-- {
-- fprintf( stderr, "%s error: chdir %s failed\n", id, cmd[0] );
-- perror( "chroot" );
-- while( fflush( stderr ) );
-- assert( 0 );
-- }
-- MGmStrcpy( cmd[0], "/usr/bin/make" );
-- fprintf( stdout, "%s\n", SINGLE_LINES );
-- fprintf( stdout, "update %s \n", oldPortName );
-- fprintf( stdout, "%s %s command: #9 of 14 %s\n", id, PACKAGE_VERSION, cmd[0] );
-- fprintf( stdout, "%s\n", SINGLE_LINES );
-- while( fflush( stdout ) );
-- MGmSystem( cmd, localProperty.environment );
-- free( cmd[0] );
-- free( cmd );
-+ MGmStrcat( localProperty.command, localProperty.options );
- }
-
-- if( MGrIfDirEntry( localProperty.workFullPath, ".build_done" ) == 0 )
-+ fprintf( stdout, "%s\n", SINGLE_LINES );
-+ fprintf( stdout, "update %s \n", oldPortName );
-+ fprintf( stdout, "%s %s command: #9 of 14 %s\n", id, PACKAGE_VERSION, localProperty.command );
-+ fprintf( stdout, "%s\n", SINGLE_LINES );
-+ while( fflush( stdout ) );
-+ if( ( errorCode = system(localProperty.command) ) )
- {
-- fprintf( stderr, "%s\n", SINGLE_LINES );
-- fprintf( stderr, "%s error: %s %s failed during make, adding to ignore.db\n", id, oldPortName, oldPortDir );
-- fprintf( stderr, "%s\n", SINGLE_LINES );
-- while( fflush( stderr ) );
-- MGPMlogAdd( property, oldPortName, oldPortDir, "port failed to build during make, adding to ignore.db", " ", " " );
-- MGdbAdd( property->ignoreDb, oldPortDir, "port failed to build during make\n", NULL );
-+ MGPMlogAdd( property, oldPortName, oldPortDir, "failed during make, adding to ignore.db", " ", " " );
-+ fprintf( stdout, "%s %s error: make returned an error, adding %s to ignore.db\n", id, PACKAGE_VERSION, oldPortDir );
-+ while( fflush( stdout ) );
-+ MGdbAdd( property->ignoreDb, oldPortDir, "failed during make", NULL );
- rCleanUp( property, &localProperty );
- return(0);
- }
--
- /************************************************************************/
- /* Command "10" pkg_create -b */
- /************************************************************************/
-@@ -1266,7 +1199,7 @@
- MGmStrcat(localProperty.command, TEMPDIR);
- MGmStrcat(localProperty.command, "/");
- MGmStrcat(localProperty.command, oldPortName);
-- MGmStrcat(localProperty.command, ".tgz");
-+ MGmStrcat(localProperty.command, ".t[bg]z");
- fprintf( stdout, "%s\n", SINGLE_LINES );
- fprintf( stderr, "restoring original port from backup \n" );
- fprintf( stderr, "%s %s command: #12 of 14!! ***Emergancy restore*** %s\n", id, PACKAGE_VERSION, localProperty.command );
-@@ -1330,7 +1263,7 @@
- MGmStrcat( localProperty.command, TEMPDIR);
- MGmStrcat( localProperty.command, "; rm -f ");
- MGmStrcat( localProperty.command, oldPortName);
-- MGmStrcat( localProperty.command, ".tgz" );
-+ MGmStrcat( localProperty.command, ".t[bg]z" );
- fprintf( stdout, "%s\n", SINGLE_LINES );
- fprintf( stderr, "deleting backup copy, installation of updated %s successful\n", oldPortDir );
- fprintf( stdout, "%s %s localProperty.command: #12 of 14 %s\n", id, PACKAGE_VERSION, localProperty.command );
-@@ -1555,12 +1488,6 @@
- MGdbDestroy( property->ignoreDb );
- MGdbDestroy( property->installedPortsDb );
- MGdbDestroy( property->strikesDb );
--
--
-- free( localProperty->environment[0] );
-- free( localProperty->environment[1] );
-- free( localProperty->environment[2] );
-- free( localProperty->environment );
-
- free( localProperty->CURDIR );
- free( localProperty->afterOptionsFileSize );
diff --git a/sysutils/portmanager/files/patch-libMGPM__src__libMGPM.h b/sysutils/portmanager/files/patch-libMGPM__src__libMGPM.h
deleted file mode 100644
index 43b53c6e1320..000000000000
--- a/sysutils/portmanager/files/patch-libMGPM__src__libMGPM.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./libMGPM/src/libMGPM.h.orig Tue Dec 13 17:23:14 2005
-+++ ./libMGPM/src/libMGPM.h Fri Dec 8 17:13:00 2006
-@@ -118,7 +118,6 @@
- char* workDir;
- char* workFullPath;
- char* xtermTitle;
-- char** environment;
- int bufferSize;
- int optionsBufferSize;
- } structLocalProperty;
diff --git a/sysutils/portmanager/files/patch-libMG__src__MGdbAdd.c b/sysutils/portmanager/files/patch-libMG__src__MGdbAdd.c
deleted file mode 100644
index 0824a2afbb31..000000000000
--- a/sysutils/portmanager/files/patch-libMG__src__MGdbAdd.c
+++ /dev/null
@@ -1,30 +0,0 @@
---- ./libMG/src/MGdbAdd.c.orig Mon Dec 12 15:32:34 2005
-+++ ./libMG/src/MGdbAdd.c Fri Dec 8 17:13:00 2006
-@@ -39,7 +39,9 @@
- int idx = 0;
- va_list paramList;
-
-- /* check if we have a valid object */
-+ /*
-+ * check if we have a valid object
-+ */
- if( db->parent.type != CLASS_TYPE_DB )
- {
- fprintf( stderr, "%s error: invalid object type\n", id);
-@@ -71,6 +73,8 @@
- */
- if( MGrBufferlen( paramPtr, MAXBUFFERSIZE ) < 1 )
- {
-+ fprintf( stderr, "%s error: attempt to place null data into record halted\n", id );
-+ while( fflush( stderr ) );
- assert(0);
- }
- fprintf( dbFileStream, "%s%c", paramPtr, 0 );
-@@ -85,6 +89,7 @@
- {
- fprintf( stderr, "%s error: fields added (%d) exceed field quantity (%d)\n did you forget to terminate MGdbAdd with a NULL field?\n",
- id, idx, db->fieldQty );
-+ while( fflush( stderr ) );
- assert(0);
- }
- }
diff --git a/sysutils/portmanager/files/patch-libMG__src__MGdbRead.c b/sysutils/portmanager/files/patch-libMG__src__MGdbRead.c
deleted file mode 100644
index a5e70e5781a5..000000000000
--- a/sysutils/portmanager/files/patch-libMG__src__MGdbRead.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- ./libMG/src/MGdbRead.c.orig Mon Dec 12 15:32:34 2005
-+++ ./libMG/src/MGdbRead.c Fri Dec 8 17:13:00 2006
-@@ -58,6 +58,7 @@
- fprintf( stderr, "%s error: unable to allocate %d bytes memory for db->dataBuffer\n",
- id, dataBufferSize );
- perror( "system message" );
-+ while( fflush( stderr ) );
- assert(0);
- }
- /*zzzzzzzzzzzzzz*/
-@@ -70,6 +71,7 @@
- {
- fprintf( stderr, "%s error: reading file %s into db->dataBuffer\n", id, db->parent.path );
- perror( "system message" ); \
-+ while( fflush( stderr ) );
- assert(0);
- }
-
diff --git a/sysutils/portmanager/files/patch-libMG__src__Makefile.am b/sysutils/portmanager/files/patch-libMG__src__Makefile.am
deleted file mode 100644
index 652af1c3ec85..000000000000
--- a/sysutils/portmanager/files/patch-libMG__src__Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./libMG/src/Makefile.am.orig Tue Dec 13 13:57:20 2005
-+++ ./libMG/src/Makefile.am Fri Dec 8 17:13:00 2006
-@@ -32,7 +32,7 @@
- MGrStrlen.c \
- MGxTermBarCreate.c \
- MGxTermBarDestroy.c \
-- MGxTermBarUpdate.c
-+ MGxTermBarUpdate.c
-
- include_HEADERS = libMG.h
-
diff --git a/sysutils/portmanager/files/patch-libMG__src__libMG.h b/sysutils/portmanager/files/patch-libMG__src__libMG.h
deleted file mode 100644
index f17ac98cc16a..000000000000
--- a/sysutils/portmanager/files/patch-libMG__src__libMG.h
+++ /dev/null
@@ -1,44 +0,0 @@
---- ./libMG/src/libMG.h.orig Tue Dec 13 13:56:16 2005
-+++ ./libMG/src/libMG.h Fri Dec 8 17:13:00 2006
-@@ -57,6 +57,7 @@
- #define KEY_a 97
- #define CLASS_TYPE_DB 1
- #define CLASS_TYPE_DIR 2
-+#define CLASS_TYPE_MEM 3
- #define CR 13
- #define DEBUG_MGdb 0
- #define DEBUG_MGdir 0
-@@ -77,15 +78,15 @@
- #define SINGLE_LINES "------------------------------------------------------------------------"
- #define DOUBLE_LINES "========================================================================"
-
-- char** MGm__command;
-- int MGm__forkStatus;
-- pid_t MGm__pid;
--struct stat fstatBuf;
--struct stat lstatBuf;
--typedef struct classDb classDb;
--typedef struct classDir classDir;
--unsigned int MGm__bufferSize;
--unsigned int MGm__stringSize;
-+ char** MGm__command;
-+ int MGm__forkStatus;
-+ pid_t MGm__pid;
-+ struct stat fstatBuf;
-+ struct stat lstatBuf;
-+ unsigned int MGm__bufferSize;
-+ unsigned int MGm__stringSize;
-+typedef struct classDb classDb;
-+typedef struct classDir classDir;
-
- #define MAXSTRINGSIZE 0x1ff
- #define MAXBUFFERSIZE 0xffff
-@@ -270,7 +271,7 @@
- int MGrInStringSwap( char* originalString, char* oldString, char* newString );
- int MGrStripComment( char*, char );
- unsigned int MGrBufferlen( char* buffer, unsigned int maxBufferSize );
--unsigned int MGrStrlen( char* string );
-+unsigned int MGrStrlen( char* String );
- unsigned long int MGrFileTime( char* );
-
- #endif
diff --git a/sysutils/portmanager/files/patch-portmanager__patch-bsd.port.mk-0.3.6 b/sysutils/portmanager/files/patch-portmanager__patch-bsd.port.mk-0.3.6
deleted file mode 100644
index b02b03bc4ecb..000000000000
--- a/sysutils/portmanager/files/patch-portmanager__patch-bsd.port.mk-0.3.6
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./portmanager/patch-bsd.port.mk-0.3.6.orig Mon Dec 12 15:32:34 2005
-+++ ./portmanager/patch-bsd.port.mk-0.3.6 Fri Dec 8 17:13:00 2006
-@@ -5,7 +5,7 @@
- .endif
- .if !defined(PKG_ARGS)
- -PKG_ARGS= -v -c -${COMMENT:Q} -d ${DESCR} -f ${TMPPLIST} -p ${PREFIX} -P "`cd ${.CURDIR} && ${MAKE} package-depends | ${GREP} -v -E ${PKG_IGNORE_DEPENDS} | ${SORT} -u`" ${EXTRA_PKG_ARGS} $${_LATE_PKG_ARGS}
--+PORTMANAGER= ${LOCALBASE}/bin/portmanager /${PKGORIGIN} package-depends
-++PORTMANAGER= ${LOCALBASE}/bin/portmanager /${PKGORIGIN} package-depends | ${GREP} -v -E "^MGPMr"
- +PKG_ARGS= -v -c -${COMMENT:Q} -d ${DESCR} -f ${TMPPLIST} -p ${PREFIX} -P "`cd ${.CURDIR} && ${PORTMANAGER} | ${GREP} -v -E ${PKG_IGNORE_DEPENDS} | ${SORT} -u`" ${EXTRA_PKG_ARGS} $${_LATE_PKG_ARGS}
- +###PKG_ARGS= -v -c -${COMMENT:Q} -d ${DESCR} -f ${TMPPLIST} -p ${PREFIX} -P "`cd ${.CURDIR} && ${MAKE} package-depends | ${GREP} -v -E ${PKG_IGNORE_DEPENDS} | ${SORT} -u`" ${EXTRA_PKG_ARGS} $${_LATE_PKG_ARGS}
- .if !defined(NO_MTREE)
diff --git a/sysutils/portmanager/files/patch-portmanager__portmanager.c b/sysutils/portmanager/files/patch-portmanager__portmanager.c
deleted file mode 100644
index faa8db0be070..000000000000
--- a/sysutils/portmanager/files/patch-portmanager__portmanager.c
+++ /dev/null
@@ -1,17 +0,0 @@
---- ./portmanager/portmanager.c.orig Mon Dec 12 19:20:58 2005
-+++ ./portmanager/portmanager.c Fri Dec 8 17:13:00 2006
-@@ -34,7 +34,13 @@
- int main( int argc, char** argv, char** argp)
- {
- int errorCode = 0;
--
-+
-+ if ( getuid() != 0 )
-+ {
-+ fprintf( stderr, "%s must be run as root\n", argv[0] );
-+ exit( 1 );
-+ }
-+
- errorCode = MGPMrCommandLine( argc, (char**)argv, (char**)argp );
- exit( errorCode );
- }
diff --git a/sysutils/portmanager/pkg-descr b/sysutils/portmanager/pkg-descr
deleted file mode 100644
index f79b42979e29..000000000000
--- a/sysutils/portmanager/pkg-descr
+++ /dev/null
@@ -1,18 +0,0 @@
-FreeBSD port collection management. Update your ports easily. Great
-for users of KDE or GNOME who need to be concerned about how
-dependency ports are built.
-
-**New options**
-
-1) Single port update/add/rebuild examples:
-
-portmanager x11/gnome2 updates/adds gnome2 and dependencies
-portmanager x11/gnome2 -f rebuilds gnome2 and dependencies
-
-2) portmanager -u -f forces rebuild of everything
-
-3) -sl showleaves and -slid delete leaves
- now no longer list build dependencies
-
-WWW: http://portmanager.sourceforge.net/
-Author: Michael C. Shultz <ringworm01@gmail.com>
diff --git a/sysutils/portmanager/pkg-message b/sysutils/portmanager/pkg-message
deleted file mode 100644
index 22bf923cefcf..000000000000
--- a/sysutils/portmanager/pkg-message
+++ /dev/null
@@ -1,21 +0,0 @@
-*
-* portmanager
-*
-* upgrade ports example:
-*
-* portmanager -u -ip editors/nedit editors/openoffice
-*
-* upgrades everything except nedit,open office and their dependencies
-*
-* portmanager x11/gnome2 -l
-*
-* upgrade gnome2 and its dependencies with logging enabled
-*
-* portmanager x11/gnome2 -l -f
-*
-* rebuild gnome2 and its dependencies
-*
-* portmanager -slid will let you safely remove leaf ports
-*
-* see man portmanager(1) or http://portmanager.sunsite.dk
-*
diff --git a/sysutils/portmanager/pkg-plist b/sysutils/portmanager/pkg-plist
deleted file mode 100644
index dac7ae1fd888..000000000000
--- a/sysutils/portmanager/pkg-plist
+++ /dev/null
@@ -1,28 +0,0 @@
-@unexec rm -f %D/etc/portmanager/pm-039-pkg-tools.conf 2>/dev/null || true
-@unexec rm -f %D/share/portmanager/pkgtools.db 2>/dev/null || true
-@unexec rm -f %D/share/portmanager/3strikes.db 2>/dev/null || true
-@unexec rm -f %D/share/portmanager/commandLine.db 2>/dev/null || true
-@unexec rm -f %D/share/portmanager/configure.db 2>/dev/null || true
-@unexec rm -f %D/share/portmanager/configure.db.temp 2>/dev/null || true
-@unexec rm -f %D/share/portmanager/ignore.db 2>/dev/null || true
-@unexec rm -f %D/share/portmanager/pkg.db || true
-@unexec rm -f %D/share/portmanager/portCache.tmp 2>/dev/null || true
-@unexec rm -f %D/share/portmanager/ports_available.db 2>/dev/null || true
-@unexec rm -f %D/share/portmanager/ports_available_dependencies.db 2>/dev/null || true
-@unexec rm -f %D/share/portmanager/ports_cache.db 2>/dev/null || true
-@unexec rm -f %D/share/portmanager/ports_dependencies.db 2>/dev/null || true
-@unexec rm -f %D/share/portmanager/ports_installed.db 2>/dev/null || true
-@unexec rm -f %D/share/portmanager/ports_old.db 2>/dev/null || true
-%%DATADIR%%/help.txt
-%%DATADIR%%/patch-bsd.port.mk-0.3.6
-%%DATADIR%%/pkgtools-to-portmanager.rb
-%%DATADIR%%/bsd.port.mk-BACKUP
-bin/portmanager
-etc/portmanager/pm-020.conf.SAMPLE
-include/libMG.h
-lib/libMG.so
-lib/libMG.so.2
-lib/libMGPM.so
-lib/libMGPM.so.1
-@dirrmtry etc/portmanager
-@dirrmtry share/portmanager
diff --git a/sysutils/portmaster/Makefile b/sysutils/portmaster/Makefile
deleted file mode 100644
index ebb5ce2ac668..000000000000
--- a/sysutils/portmaster/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-# New ports collection makefile for: portmaster
-# Date created: 20 February 2006
-# Whom: Doug Barton <dougb@FreeBSD.org>
-#
-# $FreeBSD$
-#
-# This port is self contained in the files directory.
-#
-
-PORTNAME= portmaster
-PORTVERSION= 1.12
-CATEGORIES= sysutils
-MASTER_SITES= # none
-DISTFILES= # none
-
-MAINTAINER= dougb@FreeBSD.org
-COMMENT= Manage your ports without external databases or languages
-
-NO_BUILD= yes
-SUB_FILES= portmaster.sh
-
-PLIST_FILES= sbin/portmaster
-
-MAN8= portmaster.8
-
-do-fetch:
- @${DO_NADA}
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/portmaster.sh ${PREFIX}/sbin/portmaster
- ${INSTALL_MAN} ${FILESDIR}/portmaster.8 ${MAN8PREFIX}/man/man8
-
-.include <bsd.port.mk>
diff --git a/sysutils/portmaster/files/portmaster.8 b/sysutils/portmaster/files/portmaster.8
deleted file mode 100644
index f9cf04eaee44..000000000000
--- a/sysutils/portmaster/files/portmaster.8
+++ /dev/null
@@ -1,272 +0,0 @@
-.\" Copyright (c) 2006-2007 Doug Barton dougb@FreeBSD.org
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $FreeBSD$
-.\"
-.Dd January 9, 2007
-.Dt PORTMASTER 8
-.Os
-.Sh NAME
-.Nm portmaster
-.Nd manage your ports without external databases or languages
-.Sh SYNOPSIS
-.Nm
-.Op Fl CGgntv [B|b] [uf|i] [D|d] m Ar arguments for make
-.Op Ar full name of port directory in /var/db/pkg
-.Nm
-.Op Fl CGgntv [B|b] [uf|i] [D|d] m Ar arguments for make
-.Op Ar full path to /usr/ports/foo/bar
-.Nm
-.Op Fl CGgntv [B|b] [uf|i] [D|d] m Ar arguments for make
-.Op Ar Multiple full names/paths from either of the above
-.Nm
-.Op Fl CGgntv [B|b] [uf|i] [D|d] m Ar arguments for make
-.Op Ar glob pattern from /var/db/pkg
-.Nm
-.Op Fl CGgntv [B|b] [uf|i] [D|d] m Ar arguments for make
-.Op Fl p Ar port directory in /usr/ports
-.Nm
-.Op Fl CGgntv [B|b] [uf|i] [D|d] m Ar arguments for make
-.Op . [Use in /usr/ports/foo/bar to build that port]
-.Nm
-.Op Fl CGgntv [B|b] [uf|i] [D|d] m Ar arguments for make
-.Fl o Ar <new port dir in /usr/ports> <installed port>
-.Nm
-.Op Fl CGgntv [B|b] [uf|i] [D|d] m Ar arguments for make
-.Fl r Ar name/glob of port in /var/db/pkg
-.Nm
-.Op Fl CGgntv [B|b] [uf|i] [D|d] m Ar arguments for make
-.Fl a
-.Nm
-.Fl [l|L]
-.Nm
-.Op Fl b [D|d]
-.Fl e Ar name of port directory in
-.Pa /var/db/pkg
-.Nm
-.Op Fl b [D|d]
-.Fl s
-.Nm
-.Fl h
-.Pp
-.Sh DESCRIPTION
-The
-.Nm
-utility is a simple tool for managing your ports.
-It uses no external database to track what you
-have installed.
-Rather it uses the existing ports infrastructure,
-including what is located in
-.Pa /var/db/pkg .
-The focus of this tool is to keep the dependency
-tracking information for your ports up to date,
-which allows you to update a specific port without
-having to update all of the ports
-.Dq above
-it.
-In the rare case where you do need to recompile
-ports which depend on a port you are updating,
-the
-.Fl r
-option exists to accomplish this.
-.Pp
-By default
-.Nm
-will first recurse through the port to update,
-and all of its dependencies (if any) to handle
-any port OPTIONS via the 'make config' interface.
-It will then start building all ports that need
-updating.
-While recursing through dependencies,
-a 'make checksum' process will be launched
-in the background to either verify that the
-correct distfiles are available,
-or start downloading the new ones.
-If you stop
-.Nm
-with ^C, an attempt will be made to kill off all
-the child processes started for this purpose.
-.Pp
-If the recursion through the ports for 'make
-config' does not find a port that needs updating,
-the dependency check step will be skipped prior
-to building the port specified on the command line.
-In addition to this optimization,
-information about up-to-date dependencies,
-choices made on which ports to build for
-interactive mode,
-and ports already visited for 'make config' are
-all cached to enhance performance and prevent
-duplicated efforts.
-.Pp
-While recursing through the dependencies,
-if a port is marked IS_INTERACTIVE this will
-be flagged.
-In the absence of this notification,
-under normal circumstances the only user interaction
-required after the port starts building is to answer
-questions about the deletion of stale distfiles.
-This can be eliminated with the
-.Fl d
-option.
-.Pp
-While checking dependencies, if a port has CONFLICTS
-set, the list will be checked against your installed ports,
-and if you have installed an alternate version of a port
-that is required by the port you are building,
-it will be used in place of the default dependency.
-.Pp
-If there is no
-.Fl B
-option specified when updating an existing port,
-a backup package will be created before
-.Xr pkg_delete 1
-is called.
-If there is no
-.Fl b
-option specified, the backup package will be deleted
-once the new version of the port is successfully installed.
-If the installation fails for whatever reason,
-a helpful message will be printed, along with instructions
-on where to find the backup package.
-.Pp
-At the conclusion of a successful installation,
-whether of an individual port, a list of ports,
-or when using the
-.Fl a
-option, any
-.Pa pkg-message
-files that were installed during the installation
-will be displayed.
-.Sh OPTIONS
-The options are as follows:
-.Bl -tag -width F1
-.It Fl B
-prevents creation of the backup package for the installed port
-.It Fl C
-prevents 'make clean' being run in port directory
-.It Fl G
-prevents the recursive 'make config'
-.It Fl b
-create and keep a backup package of an installed port
-.It Fl g
-create a package of the new port
-.It Fl n
-do not actually perform any updates
-.It Fl t
-recurse dependencies thoroughly, using all-depends-list
-.It Fl v
-verbose output
-.It Fl u
-unattended mode, accepts defaults for all
-.Nm
-dialogues
-.It Fl f
-always rebuild ports (overrides -i)
-.It Fl i
-interactive update mode
-.It Fl D
-prevents cleaning of distfiles
-.It Fl d
-always clean distfiles
-.It Fl m Ar arguments for make
-any arguments to supply to
-.Xr make 1
-.It Fl p Ar port directory in /usr/ports
-Specify the full path to a port directory
-.It Fl o Ar <new port dir in /usr/ports> <installed port>
-Replace the installed port with a port from a different origin
-.It Fl r Ar name/glob of port in /var/db/pkg
-rebuild port, and all ports that depend on it
-.It Fl a
-check all ports, update as necessary
-.It Fl l
-list all installed ports by category
-.It Fl L
-list all installed ports by category, and search for updates
-.It Fl e Ar name of port directory in /var/db/pkg
-Expunge port using
-.Xr pkg_delete 1 ,
-and optionally removing all distfiles.
-Calls
-.Fl s
-mode after it is done expunging in case removing
-the port causes a dependency to no longer be
-necessary.
-.It Fl s
-clean out stale ports that used to be depended on
-.It Fl h
-display help file
-.El
-.Sh MAKE ENVIRONMENT
-If the directory pointed to by the PKGREPOSITORY
-variable exists (by default
-.Pa /usr/ports/packages/All )
-then it will be used to store new and backup packages.
-.Pp
-The UPGRADE_TOOL variable is set to
-.Dq portmaster ,
-and the UPGRADE_PORT and UPGRADE_PORT_VER variables
-are set to the full package name string and version
-of the existing package being replaced, if any.
-.Sh FILES
-.Bl -tag -width ".Pa $HOME/.portmasterrc" -compact
-.It Pa /etc/portmaster.rc
-.It Pa $HOME/.portmasterrc
-Optional system and user configuration files.
-The variables set in the script's getopts routine
-can be specified in these files to enable those options.
-.It Pa /var/db/pkg/*/+IGNOREME
-If this file exists,
-.Nm
-will ignore this port for the purpose of dependency
-updates.
-.El
-.Sh EXIT STATUS
-.Ex -std
-.Sh EXAMPLES
-The following is an example of a typical usage
-of the
-.Nm
-command:
-.Pp
-.Dl "portmaster fooport-1.23"
-.Dl "portmaster fooport"
-.Dl "portmaster fooport-1.23 barport-4.56"
-.Dl "portmaster -p /usr/ports/foo/fooport"
-.Dl "portmaster foo/fooport"
-.Dl "portmaster -r fooport-1.23"
-.Dl "portmaster -o emulators/linux_base-fc4 linux_base-8-8.0_15"
-.Pp
-.Dl "portmaster -L | grep -B1 ' '"
-Print only the ports that have available updates.
-(Note that the whitespace between single quotes is a tab.)
-.Sh SEE ALSO
-.Xr make 1 ,
-.Xr pkg_delete 1 ,
-.Xr ports 7
-.Sh AUTHORS
-This
-manual page was written by
-.An Doug Barton <dougb@FreeBSD.org> .
diff --git a/sysutils/portmaster/files/portmaster.sh.in b/sysutils/portmaster/files/portmaster.sh.in
deleted file mode 100644
index a1d6eea99ac2..000000000000
--- a/sysutils/portmaster/files/portmaster.sh.in
+++ /dev/null
@@ -1,1587 +0,0 @@
-#!/bin/sh
-
-# Local version: 1.147
-# $FreeBSD$
-
-# Copyright (c) 2005-2007 Douglas Barton, All rights reserved
-# Please see detailed copyright below
-
-trap trap_exit INT
-
-# Keep track of the parent process
-if [ -z "$PARENT_PID" ]; then
- PARENT_PID=$$
- : ${TMPDIR:=/tmp}
- UPGRADE_TOOL=portmaster
- export PARENT_PID TMPDIR UPGRADE_TOOL
-fi
-
-# %%LOCALBASE%% and %%X11BASE%% are needed in path for make
-PATH=/bin:/usr/bin:/sbin:/usr/sbin:%%LOCALBASE%%/bin:%%LOCALBASE%%/sbin:%%X11BASE%%/bin
-if [ -n "$CCACHE_PATH" ]; then
- if [ -z "$NOCCACHE" ]; then
- PATH="%%LOCALBASE%%/libexec/ccache:$PATH"
- fi
-fi
-export PATH
-
-umask 022
-
-usage () {
- echo "portmaster version `grep "[$]FreeBSD:" $0 | cut -d ' ' -f 4`"
- echo ''
- echo 'Usage:'
- echo "Common flags: [-CGgntv B|b uf|i D|d] [-m <arguments for make>]"
- echo "${0##*/} [Common flags] <full name of port directory in $pdb>"
- echo "${0##*/} [Common flags] <full path to $pd/foo/bar>"
- echo "${0##*/} [Common flags] Multiple full names/paths from $pdb|$pd"
- echo ''
- echo "${0##*/} [Common flags] <glob pattern of directory in $pdb>"
- echo "${0##*/} [Common flags] -p <port directory in $pd>"
- echo "${0##*/} [Common flags] . [Use in $pd/foo/bar to build that port]"
- echo ''
- echo "${0##*/} [Common flags] -o <new port dir in $pd> <installed port>"
- echo "${0##*/} [Common flags] -r <name/glob of port directory in $pdb>"
- echo ''
- echo "${0##*/} -a [Common flags]"
- echo ''
- echo "${0##*/} -[l|L]"
- echo ''
- echo "${0##*/} [-b D|d] -e <full name of port directory in $pdb>"
- echo "${0##*/} [-b D|d] -s"
- echo ''
- echo "${0##*/} -h"
- echo ''
- echo "-C prevents 'make clean' being run in port directory"
- echo "-G prevents recursive 'make config'"
- echo '-B prevents creation of the backup package for the installed port'
- echo '-b create and keep a backup package of an installed port'
- echo '-g create a package of the new port'
- echo '-n do not actually make or install any ports'
- echo '-t recurse dependencies thoroughly, using all-depends-list'
- echo '-v verbose output'
- echo "-u unattended mode -- accept defaults for all but 'make config'"
- echo '-f always rebuild ports (overrides -i)'
- echo '-i interactive update mode'
- echo '-D prevents cleaning of distfiles'
- echo '-d always clean distfiles'
- echo "-m <arguments for the 'make' command line>"
- echo ''
- echo '-o Replace the installed port with a port from a different origin'
- echo '-r rebuild port, and all ports that depend on it'
- echo '-a check all ports, update as necessary'
- echo ''
- echo '-l list installed ports by category'
- echo '-L list installed ports by category, and search for updates'
- echo ''
- echo '-e expunge a port via pkg_delete, and removing its distfiles'
- echo '-s clean out stale ports that used to be depended on'
- echo ''
- echo '-h display this help file'
- echo ''
- exit ${1:-1}
-}
-
-fail () {
- echo ''
- echo "===>>> $1"
- echo "===>>> Aborting update"
- exit 1
-}
-
-kill_bad_children () {
- # Make parent_N global in case PIDs are random,
- # and we have to come back in here after them.
- local rc pid ppid command
-
- rc=0
- ps -axo pid,ppid,command | while read pid ppid command; do
- case "$ppid" in
- 1) case "$command" in
- *" $0 "*) rc=1 ; parent_2=$pid ; kill $pid ;;
- esac
- ;;
- $parent_2)
- case "$command" in
- 'make checksum') rc=1 ; parent_3=$pid ; kill $pid ;;
- esac
- ;;
- $parent_3|1)
- case "$command" in
- \[sh\]|*'/sh '*) rc=1 ; parent_4=$pid ; kill $pid ;;
- esac
- ;;
- $parent_4|1)
- case "$command" in
- \[sh\]|*'/sh '*) rc=1 ; parent_5=$pid ; kill $pid ;;
- esac
- ;;
- $parent_5|1)
- case "$command" in
- *'/fetch '*) rc=1 ; kill $pid ;;
- esac
- ;;
- esac
- done
-
- return $rc
-}
-
-trap_exit () {
- local pid
-
- if [ -n "$portdir" ]; then
- echo ''
- echo "===>>> Upgrade for $portdir exiting due to signal"
- else
- echo "===>>> Exiting due to signal"
- fi
-
- if [ "$$" -eq "$PARENT_PID" ]; then
- for file in ${TMPDIR}/fetchlog-${PARENT_PID}-*; do
- pid=`awk '/^MCS_CHILD_PID / {print $2}' $file 2>/dev/null`
- test -n "$pid" || continue
- echo -n "===>>> Child process $pid: "
- if kill $pid >/dev/null 2>&1; then
- echo Terminated
- else
- if ps -p $pid >/dev/null; then
- echo "Did not die!"
- else
- echo Terminated
- fi
- fi
- rm -f $file
- done
-
- while ! kill_bad_children ; do
- # cheap way to keep it looping
- done
- fi
-
- safe_exit 1
-}
-
-safe_exit () {
- echo ''
- test -n "$grep_deps" && rm -f $grep_deps
- test -n "$req_deps" && rm -f $req_deps
-
- if [ "$$" -eq "$PARENT_PID" ]; then
- test -n "$NO_DEP_UPDATES" && rm -f $NO_DEP_UPDATES
- test -n "$IPC_SAVE" && rm -f $IPC_SAVE
- if [ -n "$MASTER_RB_LIST" ]; then
- case "$MASTER_RB_LIST" in
- */+REQUIRED_BY) ;;
- *) rm -f $MASTER_RB_LIST ;;
- esac
- fi
- for file in ${TMPDIR}/f-${PARENT_PID}-*; do
- test -f $file && unlink $file
- done
-
- if [ -n "$DISPLAY_LIST" ]; then
- for f in $DISPLAY_LIST; do
- echo "===>>> pkg-message for ${f%/+DISPLAY}"
- cat $pdb/$f
- echo ''
- done
-
- echo "===>>> Done displaying pkg-message files"
- fi
- else
- # Save state for the parent process to read back in
- echo "CURRENT_DEPS_O='$CURRENT_DEPS_O'" >> $IPC_SAVE
- echo "CURRENT_DEPS_I='$CURRENT_DEPS_I'" >> $IPC_SAVE
- echo "IGNOREME_YES='$IGNOREME_YES'" >> $IPC_SAVE
- echo "DISPLAY_LIST='$DISPLAY_LIST'" >> $IPC_SAVE
-
- if [ -n "$INTERACTIVE_UPDATE" ]; then
- echo "INTERACTIVE_YES='$INTERACTIVE_YES'" >> $IPC_SAVE
- echo "INTERACTIVE_NO='$INTERACTIVE_NO'" >> $IPC_SAVE
- fi
- if [ -n "$URB_YES" ]; then
- echo "URB_DONE_LIST='$URB_DONE_LIST'" >> $IPC_SAVE
- fi
- if [ -n "$FORCE" ]; then
- echo "FORCE_DONE_LIST='$FORCE_DONE_LIST'" >> $IPC_SAVE
- fi
- fi
-
- exit ${1:-0}
-}
-
-update_contents () {
- local tempfile
-
- tempfile=`mktemp -t tempfile-${new_port}`
-
- sed "s/@pkgdep $1/@pkgdep $2/" $dep_port_contents > $tempfile &&
- mv $tempfile $pdb/$dep_port/+CONTENTS
- chmod 644 $pdb/$dep_port/+CONTENTS
-
- if [ -n "$oldportdir" ]; then
- sed "s%N:${oldportdir}\$%N:${newportdir}%" $dep_port_contents > $tempfile &&
- mv $tempfile $pdb/$dep_port/+CONTENTS
- chmod 644 $pdb/$dep_port/+CONTENTS
-
- fi
-}
-
-dep_warn () {
- local num_ports1
-
- echo ''
- echo "===>>> Warning! Potential unrecorded dependencies on $new_port"
- echo "===>>> From existing +CONTENTS files:"
- grep -B1 DEPORIGIN:$upg_origin$ $pdb/*/+CONTENTS |
- sort -u | sed -e "s#$pdb/##" -e 1d
- num_ports1=`grep DEPORIGIN:$upg_origin$ $pdb/*/+CONTENTS |
- sort -u | wc -l | awk '{print $1}'`
- echo "===>>> $num_ports1 ports"
- echo ''
-}
-
-update_reqfile () {
- local num_ports2 sdiff_deps
-
- dep_warn
- num_ports2=`wc -l $req_deps | awk '{print $1}'`
- echo "===>>> From $pdb/$upg_port/+REQUIRED_BY:"
- cat $req_deps
- echo "===>>> $num_ports2 ports"
- echo ''
- echo "===>>> Use dependencies from existing +CONTENTS files [c]"
- echo "===>>> Use dependencies from existing +REQUIRED_BY file [r]"
- echo "===>>> Use sdiff to edit both files into a new file [s]"
- echo ''
- if [ -z "$UNATTENDED" ]; then
- echo -n "===>>> Update dependency list? [r] "
- read DEPUPDATE
-
- case "$DEPUPDATE" in
- [cC]) mv $grep_deps $req_deps ; unset grep_deps ;;
- [sS]) sdiff_deps=`mktemp -t sdiff-deps-${short_port}`
- sdiff -o $sdiff_deps --text --suppress-common-lines \
- --width=`tput columns` $req_deps $grep_deps
- mv $sdiff_deps $req_deps
- ;;
- esac
- else
- echo "===>>> Default (use +REQUIRED_BY file) in unattended mode"
- fi
-}
-
-update_port () {
- local upd upd_origin
-
- if [ -n "$NO_DEP_UPDATES" ]; then
- rm -f $NO_DEP_UPDATES
- unset NO_DEP_UPDATES
- fi
-
- case "$1" in
- -p) upd=$2
- test -n "$URB_YES" && upd_origin=${2#$pd/}
- ;;
- *) upd=$1
- test -n "$URB_YES" && upd_origin=`origin_from_pdb $pdb/$1`
- ;;
- esac
-
- echo "===>>> Launching child to update ${upd#$pd/}"
- echo ''
- if [ -z "$NO_ACTION" ]; then
- ($0 $ARGS $@) || fail "Update for $upd failed"
- . $IPC_SAVE
-
- # Only do this if we are in the +REQUIRED_BY code to
- # avoid nasty (potential) circular dependencies
- if [ -n "$URB_YES" ]; then
- URB_DONE_LIST="${URB_DONE_LIST}${upd_origin}:"
- fi
- else
- test -n "$VERBOSE" &&
- echo "===>>> Build canceled due to -n flag"
- fi
-
- if [ -n "$UPDATE_ALL" ]; then
- echo "===>>> Returning to update check of installed ports"
- elif [ -n "$UPDATE_REQ_BYS" ]; then
- return 0
- elif [ -n "$CONFIG_ONLY" ]; then
- echo "===>>> Continuing 'make config' dependency check for $portdir"
- else
- echo "===>>> Returning to dependency check for $portdir"
- fi
-
- return 0
-}
-
-check_interactive () {
- local UPD_OR_NOT
-
- if [ -n "$INTERACTIVE_UPDATE" ]; then
- case "$INTERACTIVE_YES" in
- *:${1}:*) return 0 ;;
- esac
-
- case "$INTERACTIVE_NO" in
- *:${1}:*) return 1 ;;
- esac
-
- echo -n "===>>> Update ${1}? [y] "
- read UPD_OR_NOT
- case "$UPD_OR_NOT" in
- [nN]*) INTERACTIVE_NO="${INTERACTIVE_NO}${1}:"
- return 1
- ;;
- *) INTERACTIVE_YES="${INTERACTIVE_YES}${1}:" ;;
- esac
- fi
-
- return 0
-}
-
-iport_from_origin () {
- local dir
-
- dir=`grep -l "@comment ORIGIN:${1}$" $pdb/*/+CONTENTS`
-
- # It should not happen that more than one port meets this
- # requirement, but it can if the pkg data is corrupted.
- dir="${dir%%/+CONTENTS*}"
- dir="${dir#$pdb/}"
-
- echo $dir
-}
-
-origin_from_pdb () {
- grep '@comment ORIGIN' ${1}/+CONTENTS 2>/dev/null | cut -f2 -d':'
-}
-
-check_for_updates () {
- local upd_port port_ver do_update
-
- upd_port=`origin_from_pdb $pdb/$1`
- if [ -z "$upd_port" ]; then
- if [ -n "$VERBOSE" ]; then
- echo "===>>> No ORIGIN in $pdb/$1/+CONTENTS"
- echo ''
- fi
- return 0
- fi
-
- if [ -d "$pd/$upd_port" ]; then
- cd $pd/$upd_port ||
- fail "Cannot cd to port directory: $pd/$upd_port"
- port_ver=`make $MAKE_ARGS -V PKGNAME`
-
- if [ "$1" = "$port_ver" ]; then
- if [ -z "$LIST" -a -z "$LIST_PLUS" ]; then
- # Keep list both ways to increase performance
- CURRENT_DEPS_O="${CURRENT_DEPS_O}${upd_port}:"
- CURRENT_DEPS_I="${CURRENT_DEPS_I}${1}:"
- fi
- return 0
- fi
-
- case `pkg_version -t $1 $port_ver` in
- \<) do_update=yes ;;
- =) ;;
- *) if [ -n "$VERBOSE" ]; then
- echo ''
- echo " ===>>> Port version $port_ver does not"
- echo " ===>>> seem newer than installed $1"
- echo ''
- fi
- ;;
- esac
- else
- # This will fail if it doesn't exist anymore
- # It will return 1 if we know nothing about the port
- find_moved_port $upd_port || return 0
-
- # If the port has moved, we have to update it
- do_update=yes
- fi
-
- if [ -n "$do_update" ]; then
- case "$2" in
- list) if [ -z "$newportdir" ]; then
- echo " ===>>> New version available: $port_ver"
- num_updates=$(( $num_updates + 1 ))
- else
- unset newportdir
- fi
- return 0
- ;;
- esac
-
- if ! check_interactive $1 ; then
- return 0
- fi
-
- update_port $1 || return 1
- fi
-
- return 0
-}
-
-find_moved_port () {
- # newportdir and oldportdir are used globally
- local l m sf
-
- sf=$1
-
- while read l; do
- case "$l" in
- ${sf}\|\|*) m=`echo $l | cut -f 4 -d\|`
- fail "The $sf port has been deleted: $m"
- ;;
- ${sf}\|*) newportdir=`echo $l | cut -f 2 -d\|`
- m=`echo $l | cut -f 4 -d\|`
- echo ''
- echo "===>>> The $sf port moved to $newportdir"
- echo "===>>> Reason: $m"
- echo ''
- sf=$newportdir
- ;;
- esac
- done < $pd/MOVED
-
- if [ -z "$newportdir" ]; then
- echo ''
- echo "===>>> No $pd/$1 exists, and no information"
- echo "===>>> about $1 can be found in $pd/MOVED"
- echo ''
- return 1
- fi
-
- oldportdir=$1
-
- return 0
-}
-
-ports_by_category () {
- local pkg
-
- for pkg in $pdb/*; do
- if [ -s "$pkg/+REQUIRED_BY" ]; then
- if grep -q '^@pkgdep ' $pkg/+CONTENTS 2>/dev/null; then
- branches="$branches $pkg"
- else
- trunks="$trunks $pkg"
- fi
- else
- if grep -q '^@pkgdep ' $pkg/+CONTENTS 2>/dev/null; then
- leaves="$leaves $pkg"
- else
- test -s $pkg/+CONTENTS && roots="$roots $pkg"
- fi
- fi
- done
-}
-
-dependency_check () {
- # Re-use dep_port_list for efficiency
- local dl_type dep_port ign_p cur_p upd_args p op old_p conflicts glob conflict_port
-
- # Print a message here because sometimes list generation takes
- # a long time to return.
- if [ -z "$dep_port_check_done" ]; then
- dl_type='build-depends-list run-depends-list'
- [ -n "$RECURSE_THOROUGH" ] && dl_type=all-depends-list
- echo "===>>> Gathering dependency list for $portdir from ports"
- dep_port_list=`make $MAKE_ARGS $dl_type | sort -u`
- dep_port_check_done=yes
- fi
-
- if [ -z "$dep_port_list" ]; then
- echo "===>>> No dependencies for $portdir"
- return 0
- else
- if [ -n "$CONFIG_ONLY" ]; then
- echo "===>>> Starting recursive 'make config' check"
- else
- echo "===>>> Starting dependency check"
- fi
- fi
-
- for dep_port in $dep_port_list; do
- test -n "$VERBOSE" &&
- echo "===>>> Checking dependency: $dep_port"
-
- # Do this first to catch out of date dependencies
- if [ -n "$CONFIG_ONLY" ]; then
- case "$CONFIG_SEEN_LIST" in
- *:${dep_port#$pd/}:*) continue ;;
- esac
- CONFIG_SEEN_LIST="${CONFIG_SEEN_LIST}${dep_port#$pd/}:"
- fi
-
- case "$CURRENT_DEPS_O" in
- *:${dep_port#$pd/}:*) continue ;;
- esac
-
- case "$FORCE_DONE_LIST" in
- *:${dep_port#$pd/}:*) continue ;;
- esac
-
- cd $dep_port &&
- conflicts=`make -V $MAKE_ARGS CONFLICTS`
- for glob in $conflicts; do
- conflict_port=`pkg_info -I $glob 2>/dev/null |
- cut -f1 -d' '`
- if [ -n "$conflict_port" ]; then
- echo ''
- echo "===>>> The dependency for ${dep_port#$pd/}"
- echo " seems to be handled by $conflict_port"
- echo ''
- dep_port="$pd/`origin_from_pdb $pdb/$conflict_port`"
- fi
- done
-
- cur_p=`iport_from_origin ${dep_port#$pd/}`
- if [ -n "$cur_p" ]; then
- upd_args=$cur_p
- ign_p=$cur_p
- else
- upd_args="-p $dep_port" # Sensible default
- # Check to see if the dependency has moved because
- # if so, we need to update the old port to fix it
- p=${dep_port#$pd/}
- op=`sed -ne "s#\([^|]*\)|$p|.*#\1#p" $pd/MOVED`
- # In case there is more than one match, use the latest
- op=`echo $op | sed 's/.* //'`
-
- if [ -n "$op" ]; then
- old_p=`iport_from_origin ${op}`
- if [ -n "$old_p" ]; then
- upd_args=$old_p
- ign_p=$old_p
- fi
- fi
- fi
-
- if [ -e "$pdb/$ign_p/+IGNOREME" ]; then
- if [ -n "$VERBOSE" ]; then
- echo ''
- echo "===>>> Skipping $ign_p due to +IGNOREME file"
- echo ''
- fi
- continue
- fi
-
- if [ -n "$FORCE" ]; then
- echo "===>>> Forcing update for $dep_port"
- update_port $upd_args
- continue
- fi
-
- if [ -z "$cur_p" -a -n "$old_p" ]; then
- cur_p=$old_p
- fi
-
- if [ -n "$URB_YES" -a -n "$cur_p" ]; then
- case "$URB_DONE_LIST" in
- *:${dep_port#$pd/}:*) continue ;;
- esac
-
- if grep -q $cur_p $MASTER_RB_LIST; then
- if ! check_interactive $cur_p ; then
- continue
- fi
-
- update_port $cur_p || return 1
- continue
- fi
- fi
-
- if [ -n "$cur_p" ]; then
- check_for_updates $cur_p
- else
- if ! check_interactive $dep_port ; then
- continue
- fi
-
- update_port -p $dep_port
- fi
- done
- if [ -n "$CONFIG_ONLY" ]; then
- echo "===>>> Recursive 'make config' check complete for $portdir"
- else
- echo "===>>> Dependency check complete for $portdir"
- echo ''
- fi
-}
-
-unset_recursive_config () {
- unset CONFIG_SEEN_LIST CONFIG_ONLY
-}
-
-req_by_error () {
- local DISCARD
-
- echo "===>>> WARNING! $pdb/$1/+REQUIRED_BY "
- echo "===>>> shows that $2 requires $1, but "
- echo "===>>> $2 does not seem to be installed"
- echo -n "===>>> Press Enter to proceed "
- read DISCARD
-}
-
-find_and_delete_distfiles () {
- # old_distpattern is used for subsequent invocations of the function
- local distpattern file DELORNOT
-
- distpattern=${1%[_-]*}
- [ "$distpattern" = "$old_distpattern" ] && return 0
- for file in ${distpattern}*; do
- # This generally means the pattern did not match
- case "$file" in
- *\*) old_distpattern=$distpattern
- find_and_delete_distfiles ${distpattern}
- continue
- ;;
- esac
-
- case "$distfiles" in
- *${file}*)
- if [ -n "$VERBOSE" -a -z "$do_delete" ]; then
- echo "===>>> Keeping current distfile: $file"
- fi
- continue # Do not delete current version
- ;;
- *) [ ! -d "$file" ] || continue
- if [ -n "$ALWAYS_SCRUB_DISTFILES" ]; then
- echo "===>>> Deleting stale distfile: $file"
- rm -f $file
- continue
- fi
-
- echo -n "===>>> Delete $file? [n] "
- read DELORNOT
- case "$DELORNOT" in
- [yY]) rm -f $file ;;
- esac
- ;;
- esac
- done
-}
-
-delete_stale_distfiles () {
- # distfiles is used globally
- local distdir dist_subdir file DELORNOT distfile
-
- distdir=`make $MAKE_ARGS -V DISTDIR`
- dist_subdir=`make $MAKE_ARGS -V DIST_SUBDIR`
- test -n "$dist_subdir" && distdir="${distdir}/${dist_subdir}"
-
- # Also used in find_and_delete_distfiles() to make sure
- # we do not delete the current set of distfiles
- distfiles=`make $MAKE_ARGS -V ALLFILES`
-
- if [ -d "$distdir" ]; then
- cd $distdir || fail "cd to $distdir failed!"
- else
- echo '' ; echo ''
- echo "===>>> $distdir does not exist, therefore we"
- echo " will assume that all relevant distfiles are gone."
- echo ''
- return 0
- fi
-
- # If these two match, it means that the distfiles in the +CONTENTS
- # file are the current set, so do not delete them.
- if [ ! "$cont_distfiles" = "${distfiles% }" ]; then
- for file in $cont_distfiles; do
- [ -f $file ] || continue
-
- if [ -n "$ALWAYS_SCRUB_DISTFILES" ]; then
- echo "===>>> Deleting stale distfile: $file"
- rm -f $file
- continue
- fi
-
- echo -n "===>>> Delete $file? [n] "
- read DELORNOT
- case "$DELORNOT" in
- [yY]) rm -f $file ;;
- esac
- done
- fi
-
- # Eventually we will hide this behind an "aggressive distfile purge"
- # flag, but until the DISTFILE stuff is well populated in +CONTENTS,
- # keep doing it both ways.
- for distfile in $distfiles; do
- find_and_delete_distfiles $distfile
- done
-}
-
-delete_all_distfiles () {
- # do_delete is used globally
- local DELORNOT
-
- if ! cd $pd/$1; then
- echo ''
- echo "===>>> No $pd/$1 to cd to in order to delete"
- echo " old distfiles, remove by hand if desired"
- else
- if [ -n "$ALWAYS_SCRUB_DISTFILES" ]; then
- echo "===>>> Deleting all distfiles for $1"
- do_delete=1
- else
- echo -n "===>>> Delete all distfiles for ${1}? [n] "
- read DELORNOT
- case "$DELORNOT" in
- [yY]) do_delete=1 ;;
- *) delete_stale_distfiles ;;
- esac
- fi
-
- if [ -n "$do_delete" ]; then
- delete_stale_distfiles
- rm -f $distfiles
- find $pd/distfiles/ -type d -empty -delete
- fi
- fi
-}
-
-backup_package () {
- # pkgrep and bu_pkg_name are used globally
-
- echo "===>>> Creating a backup package for old version $1"
- if pkg_create -b $1; then
- [ -z "$pkgrep" ] &&
- pkgrep=`make $MAKE_ARGS -f $pd/Mk/bsd.port.mk -V PKGREPOSITORY`
- if [ ! -d "$pkgrep" ]; then
- pkgrep=$HOME
- fi
- bu_pkg_name=`echo ${1}.*`
- mv $bu_pkg_name $pkgrep/ &&
- echo " ===>>> Package can be found in $pkgrep"
- else
- local PROCEED
-
- if [ -z "$UNATTENDED" ]; then
- echo ''
- echo "===>>> Backup package creation failed for ${1}!"
- echo ''
- echo "===>>> Ignore this error [i]"
- echo "===>>> Abort update [a]"
- echo ''
- echo -n "===>>> How would you like to proceed? [i] "
- read PROCEED
- case "$PROCEED" in
- a) fail "Backup package creation failed for $1" ;;
- esac
- else
- fail "Backup package creation failed for $1"
- fi
- fi
-}
-
-pd=`make $MAKE_ARGS -f/dev/null -V PORTSDIR 2>/dev/null`
-pdb=`make $MAKE_ARGS -f/dev/null -V PKG_DBDIR 2>/dev/null`
-
-# Read a global rc file first
-if [ -r /etc/portmaster.rc ]; then
- . /etc/portmaster.rc
-fi
-
-# Read a local one next, and allow the command line to override
-if [ -r "$HOME/.portmasterrc" ]; then
- . $HOME/.portmasterrc
-fi
-
-# Set default values here so that they can be overriden above
-: ${pd:=/usr/ports}
-: ${pdb:=/var/db/pkg}
-
-# Save switches for potential child processes
-while getopts 'BCDGLabde:fghilm:nop:r:stuv' COMMAND_LINE_ARGUMENT ; do
- case "${COMMAND_LINE_ARGUMENT}" in
- B) NO_BACKUP=yes; ARGS="-B $ARGS" ;;
- C) DONT_PRE_CLEAN=yes; ARGS="-C $ARGS" ;;
- D) DONT_SCRUB_DISTFILES=yes; ARGS="-D $ARGS" ;;
- G) NO_RECURSIVE_CONFIG=yes; ARGS="-G $ARGS" ;;
- L) LIST_PLUS=yes ;;
- a) UPDATE_ALL=yes ;;
- b) BACKUP=yes; ARGS="-b $ARGS" ;;
- d) ALWAYS_SCRUB_DISTFILES=yes; ARGS="-d $ARGS" ;;
- e) EXPUNGE=$OPTARG ;;
- f) FORCE=yes
- FORCE_DONE_LIST=':'
- export FORCE FORCE_DONE_LIST
- ;;
- g) MAKE_PACKAGE=yes; ARGS="-g $ARGS" ;;
- h) usage 0 ;;
- i) INTERACTIVE_UPDATE=yes; ARGS="-i $ARGS" ;;
- l) LIST=yes ;;
- m) MAKE_ARGS=$OPTARG
- export MAKE_ARGS # For 'make checksum'
- ARGS="-m $MAKE_ARGS $ARGS"
- ;;
- n) NO_ACTION=yes; ARGS="-n $ARGS" ;;
- o) REPLACE_ORIGIN=yes ;;
- p) portdir="${OPTARG#$pd/}" ;;
- r) UPDATE_REQ_BYS=yes; upg_port=$OPTARG ;;
- s) CLEAN_STALE=yes ;;
- t) RECURSE_THOROUGH=yes; ARGS="-t $ARGS" ;;
- u) UNATTENDED=yes; ARGS="-u $ARGS" ;;
- v) VERBOSE=yes; ARGS="-v $ARGS" ;;
- *) usage ;;
- esac
-done
-shift $(( $OPTIND - 1 ))
-
-if [ -n "$LIST" -o -n "$LIST_PLUS" ]; then
- ports_by_category
-
- num_roots=0
- num_trunks=0
- num_branches=0
- num_leaves=0
- num_updates=0
-
- echo "===>>> Root ports (No dependencies, not depended on)"
- for port in $roots; do
- echo "===>>> ${port##*/}"
- [ -n "$LIST_PLUS" ] && check_for_updates ${port##*/} list
- num_roots=$(( $num_roots + 1 ))
- done
- echo "===>>> $num_roots root ports"
- echo ''
- echo "===>>> Trunk ports (No dependencies, are depended on)"
- for port in $trunks; do
- echo "===>>> ${port##*/}"
- [ -n "$LIST_PLUS" ] && check_for_updates ${port##*/} list
- num_trunks=$(( $num_trunks + 1 ))
- done
- echo "===>>> $num_trunks trunk ports"
- echo ''
- echo "===>>> Branch ports (Have dependencies, are depended on)"
- for port in $branches; do
- echo "===>>> ${port##*/}"
- [ -n "$LIST_PLUS" ] && check_for_updates ${port##*/} list
- num_branches=$(( $num_branches + 1 ))
- done
- echo "===>>> $num_branches branch ports"
- echo ''
- echo "===>>> Leaf ports (Have dependencies, not depended on)"
- for port in $leaves; do
- echo "===>>> ${port##*/}"
- [ -n "$LIST_PLUS" ] && check_for_updates ${port##*/} list
- num_leaves=$(( $num_leaves + 1 ))
- done
- echo "===>>> $num_leaves leaf ports"
- echo ''
- num_ports=$(( $num_roots + $num_trunks + $num_branches + $num_leaves ))
- echo "===>>> $num_ports total installed ports"
-
- if [ "$num_updates" -gt 1 ]; then
- echo " ===>>> $num_updates have new versions available"
- elif [ "$num_updates" -eq 1 ]; then
- echo " ===>>> 1 has a new version available"
- fi
-
- exit 0
-fi
-
-find_contents_distfiles () {
- [ -n "$DONT_SCRUB_DISTFILES" ] && return 0
-
- # cont_distfiles is used globally
- local file
-
- for file in `grep DISTFILE $pdb/$1/+CONTENTS | cut -f2 -d:`; do
- cont_distfiles="${cont_distfiles} ${file#*/}"
- done
-
- cont_distfiles=${cont_distfiles# }
-}
-
-if [ -n "$EXPUNGE" ]; then
- if [ -d "$pdb/$EXPUNGE" ]; then
- origin=`origin_from_pdb $pdb/$EXPUNGE`
- deplist=`grep -l DEPORIGIN:$origin$ $pdb/*/+CONTENTS`
- if [ -n "$deplist" ]; then
- echo "===>>> Warning: ports with dependencies on ${EXPUNGE}:"
- for dep in $deplist; do echo ${dep%/+CON*}; done
- exit 1
- fi
-
- [ -n "$BACKUP" ] && backup_package $EXPUNGE
-
- find_contents_distfiles $EXPUNGE
-
- echo "===>>> Running pkg_delete -f $EXPUNGE"
- pkg_delete -f $EXPUNGE
- if [ -z "$DONT_SCRUB_DISTFILES" ]; then
- delete_all_distfiles $origin
- fi
- exec $0 -s $ARGS
- else
- fail "No such directory/port: $pdb/$EXPUNGE"
- fi
-
- exit 0 # Should not be reached
-fi
-
-if [ -n "$CLEAN_STALE" ]; then
- if [ -z "$do_not_delete" ]; then
- do_not_delete=':'
- export do_not_delete
- fi
-
- for file in `find $pdb/ -name \+REQUIRED_BY -empty` ; do
- dir="${file%/+REQUIRED_BY}"
- iport=${dir#$pdb/}
-
- case "$do_not_delete" in
- *:${iport}:*) continue ;;
- esac
-
- echo ''
-
- origin=`origin_from_pdb $dir`
- deplist=`grep -l DEPORIGIN:$origin$ $pdb/*/+CONTENTS`
- if [ -n "$deplist" ]; then
- echo "===>>> Warning: unrecorded dependencies on ${iport}:"
- for dep in $deplist; do echo ${dep%/+CON*}; done
- continue
- fi
-
- echo -n "===>>> ${iport} is no longer depended on, delete? [n] "
- read YESNO
- case "$YESNO" in
- [yY]) [ -n "$BACKUP" ] && backup_package $iport
-
- find_contents_distfiles $iport
-
- echo "===>>> Running pkg_delete -f $iport"
- pkg_delete -f ${iport}
- if [ -z "$DONT_SCRUB_DISTFILES" ]; then
- delete_all_distfiles $origin
- fi
- exec $0 -s $ARGS
- ;;
- *) echo -n " ===>>> Remove empty +REQUIRED_BY file? [n] "
- read DELORNOT
- case "$DELORNOT" in
- [yY]) rm -f $file ;;
- *) do_not_delete="${do_not_delete}${iport}:" ;;
- esac
- ;;
- esac
- done
-
- exit 0
-fi
-
-test -n "$FORCE" && unset INTERACTIVE_UPDATE
-if [ -n "$UNATTENDED" ]; then
- unset INTERACTIVE_UPDATE
-
- if [ -z "$DONT_SCRUB_DISTFILES" -a -z "$ALWAYS_SCRUB_DISTFILES" ]; then
- ALWAYS_SCRUB_DISTFILES=yes
- ARGS="-d $ARGS"
- fi
-fi
-
-if [ "$$" -eq "$PARENT_PID" ]; then
- CURRENT_DEPS_O=':'
- CURRENT_DEPS_I=':'
- IGNOREME_YES=':'
- DISPLAY_LIST=''
- IPC_SAVE=`mktemp -t ipc_save-$PARENT_PID`
- export CURRENT_DEPS_O CURRENT_DEPS_I IGNOREME_YES DISPLAY_LIST IPC_SAVE
-
- if [ -n "$INTERACTIVE_UPDATE" ]; then
- INTERACTIVE_YES=':'
- INTERACTIVE_NO=':'
- export INTERACTIVE_YES INTERACTIVE_NO
- fi
-
- if [ -n "$UPDATE_REQ_BYS" ]; then
- URB_DONE_LIST=':'
- export URB_DONE_LIST
- fi
-
- if [ -z "$CONFIG_ONLY" -a -z "$NO_RECURSIVE_CONFIG" ]; then
- NO_DEP_UPDATES=`mktemp -t no_dep_updates-$PARENT_PID`
-
- CONFIG_SEEN_LIST=':'
- CONFIG_ONLY=yes
- export CONFIG_SEEN_LIST CONFIG_ONLY
- fi
-
- if [ $# -gt 1 ]; then
- if [ -z "$NO_RECURSIVE_CONFIG" ]; then
- for port in $@; do
- ($0 $ARGS $port) ||
- fail "Update for $port failed"
- . $IPC_SAVE
- done
- unset_recursive_config
- echo ''
- echo "===>>> Starting build for ports: <<<==="
- echo "===>>> $@ <<<==="
- echo ''
- fi
- for port in $@; do
- ($0 $ARGS $port) || fail "Update for $port failed"
- . $IPC_SAVE
- done
- safe_exit
- fi
-else
- # Zero out this file so that we can save our data to it safely
- > $IPC_SAVE
-fi
-
-if [ -n "$UPDATE_ALL" ]; then
- echo "===>>> Starting check of installed ports for available updates"
- ports_by_category
-
- if [ -n "$CONFIG_ONLY" ]; then
- echo "===>>> Checking ports for recursive 'make config'"
- for pkg in $roots $trunks $branches $leaves; do
- test -n "$VERBOSE" &&
- echo "===>>> Checking installed port: ${pkg#$pdb/}"
-
- case "$CURRENT_DEPS_I" in
- *:${pkg#$pdb/}:*) continue ;;
- esac
-
- orig=`origin_from_pdb $pkg`
- case "$CONFIG_SEEN_LIST" in
- *:${orig}:*) continue ;;
- esac
- CONFIG_SEEN_LIST="${CONFIG_SEEN_LIST}${orig}:"
- check_for_updates ${pkg#$pdb/} || fail 'Update failed'
- done
-
- if [ -e "$NO_DEP_UPDATES" ]; then
- echo "===>>> The 'make config' check revealed no ports to update"
- safe_exit
- fi
-
- unset_recursive_config
- echo ''
- echo "===>>> Starting build for ports that need updating <<<==="
- echo ''
- fi
-
- BUILDING=yes
- export BUILDING
-
- for pkg in $roots $trunks $branches $leaves; do
- if [ ! -d "$pkg" ]; then
- # This port probably got updated as a dependency
- # for something else
- continue
- fi
- if [ -n "$FORCE" ]; then
- p=`origin_from_pdb $pkg`
- case "$FORCE_DONE_LIST" in
- *:${p}:*) test -n "$VERBOSE" &&
- echo "===>>> Update for $p already done"
- continue
- ;;
- esac
- echo "===>>> Forcing update for ${pkg#$pdb/}"
- update_port ${pkg#$pdb/}
- continue
- else
- test -n "$VERBOSE" &&
- echo "===>>> Checking installed port: ${pkg#$pdb/}"
- fi
-
- case "$CURRENT_DEPS_I" in
- *:${pkg#$pdb/}:*) continue ;;
- esac
- check_for_updates ${pkg#$pdb/} || fail 'Update failed'
- done
- echo "===>>> Update check of installed ports complete"
- safe_exit
-fi
-
-if [ -n "$REPLACE_ORIGIN" ]; then
- portdir="${1#$pd/}"
- newportdir=$portdir
-
- if [ -d "$pdb/$2" ]; then
- # Handle the portmaster'ish way to specify the port
- upg_port=$2
- else
- # Handle existing portupgrade syntax
- upg_port=`grep -l " ORIGIN:${2#$pd/}$" $pdb/*/+CONTENTS`
- [ -n "$upg_port" ] ||
- upg_port=`grep -l " ORIGIN:${2#$pd/}" $pdb/*/+CONTENTS`
- [ -n "$upg_port" ] ||
- fail "Cannot find an installed port with ORIGIN $2"
- upg_port="${upg_port%/+CONTENTS}"
- upg_port="${upg_port#$pdb/}"
- fi
-
- oldportdir=`origin_from_pdb $pdb/$upg_port`
-fi
-
-# Exercised in the common case of not using -p option
-case "$portdir" in
-'') case "$1" in
- '') test -z "$UPDATE_REQ_BYS" && usage ;;
- ${pd}/*) portdir="${1#$pd/}" ;;
- /*) upg_port="${1##*/}" ;;
- \.) portdir="${PWD##*/ports/}" ;;
- *) upg_port=$1 ;;
- esac
-esac
-
-case "$upg_port" in
-'') test -n "$portdir" || usage
- old_port_dir=`iport_from_origin ${portdir}`
- if [ -n "$old_port_dir" ]; then
- upg_port="${old_port_dir}"
- fi
- ;;
-*) if [ ! -d "$pdb/$upg_port" ]; then
- glob_dirs=`find $pdb -type d -name ${upg_port}\*`
- case "$glob_dirs" in
- *\*) fail "$upg_port did not match an installed port" ;;
- *) for dir in $glob_dirs; do
- echo -n "===>>> Update ${dir#$pdb/}? [n] "
- read GLOB_DIR
- case "$GLOB_DIR" in
- [yY]) upg_port=${dir#$pdb/}
- selected=yes
- break
- ;;
- esac
- done
- test -n "$selected" || usage
- ;;
- esac
- fi
- echo "===>>> Port to upgrade: $upg_port"
- if [ -z "$portdir" ]; then
- portdir=`origin_from_pdb $pdb/$upg_port`
- [ -n "$portdir" ] ||
- fail "No ORIGIN in $pdb/$upg_port/+CONTENTS"
- fi
- ;;
-esac
-
-if [ -e "$pdb/$upg_port/+IGNOREME" ]; then
- echo ''
- if [ -z "$UNATTENDED" ]; then
- if [ -z "$BUILDING" ]; then
- echo "===>>> $upg_port has an +IGNOREME file"
- echo -n "===>>> Update anyway? [n] "
- read UPD_OR_NOT
- case "$UPD_OR_NOT" in
- [yY]*) IGNOREME_YES="${IGNOREME_YES}${upg_port}:" ;;
- *) safe_exit ;;
- esac
- else
- case "$IGNOREME_YES" in
- *:${upg_port}:*) ;;
- *) safe_exit ;;
- esac
- fi
- else
- echo "===>>> $upg_port has an +IGNOREME file, ignoring"
- safe_exit
- fi
-fi
-
-if [ -d "$pd/$portdir" ]; then
- echo "===>>> Port directory: $pd/$portdir"
-else
- find_moved_port $portdir || usage
- portdir=$newportdir
-fi
-
-cd $pd/$portdir || usage
-
-for state in FORBIDDEN BROKEN IGNORE; do
- state_set=`make -V $state`
- if [ -n "$state_set" ]; then
- echo "===>>> This port is marked $state:"
- echo "===>>> $state_set"
- echo "===>>> If you are sure you can build it, remove the"
- echo " $state line in the Makefile and try again."
- safe_exit 1
- fi
-done
-
-# Do these things first time through, with or without 'make config'
-if [ -z "$BUILDING" ]; then
-dofetch () {
- echo "===>>> Launching 'make checksum' for $portdir in background"
- fetchlog=`mktemp -t fetchlog-${PARENT_PID}-${portdir##*/}`
- (make $MAKE_ARGS checksum >> $fetchlog 2>&1 &&
- { rm -f $fetchlog; \
- rm -f ${TMPDIR}/f-${PARENT_PID}-*-${portdir##*/}.*; exit 0;}
- allfiles=`make $MAKE_ARGS -V ALLFILES`
- make $MAKE_ARGS delete-distfiles RESTRICTED_FILES="${allfiles}" \
- >> $fetchlog 2>&1 &&
- echo "===>>> RE-STARTING FETCH <<<===" >> $fetchlog
- make $MAKE_ARGS checksum >> $fetchlog 2>&1; \
- rm -f ${TMPDIR}/f-${PARENT_PID}-*-${portdir##*/}.*; \
- rm -f $fetchlog)&
- echo "MCS_CHILD_PID $!" >> $fetchlog
-}
-
- distfiles=`make $MAKE_ARGS -V ALLFILES`
- for file in $distfiles; do
- flag_file=f-${PARENT_PID}-${file}
- if ! ls ${TMPDIR}/${flag_file}-* >/dev/null 2>&1; then
- mktemp -t ${flag_file}-${portdir##*/} >/dev/null
- else
- DONT_FETCH=yes
- break
- fi
- done
-
- test -z "$DONT_FETCH" && dofetch
-
- TESTINT=`make -V IS_INTERACTIVE`
- if [ -n "$TESTINT" ]; then
- echo ''
- echo "===>>> Warning: $portdir is interactive, and will likely"
- echo " reqire attenton during the build"
- echo ''
- echo -n "===>>> Press the [Enter] or [Return] key to continue "
- read DISCARD
- echo ''
- fi
-
- if [ -n "$UPDATE_REQ_BYS" ]; then
- MASTER_RB_LIST=`mktemp -t master_rb_list-${PARENT_PID}`
- export MASTER_RB_LIST
- upg_origin=`origin_from_pdb $pdb/$upg_port`
- grep -l DEPORIGIN:$upg_origin$ $pdb/*/+CONTENTS |
- cut -f 5 -d '/' | sort -u - \
- $pdb/$upg_port/+REQUIRED_BY > $MASTER_RB_LIST
- fi
-fi
-
-if [ -n "$CONFIG_ONLY" ]; then
- make $MAKE_ARGS config
- CONFIG_SEEN_LIST="${CONFIG_SEEN_LIST}${portdir}:"
-
- dependency_check
-
- if [ ! "$$" -eq "$PARENT_PID" ]; then
- # Save state for the parent process to read back in
- echo "CONFIG_SEEN_LIST='$CONFIG_SEEN_LIST'" > $IPC_SAVE
- safe_exit
- else
- if [ -n "$UPDATE_REQ_BYS" ]; then
- URB_YES=yes ; export URB_YES
- echo ''
- echo "===>>> Checking ports that depend on $upg_port"
- for req_by in `cat $MASTER_RB_LIST`; do
- rb_origin=`origin_from_pdb $pdb/$req_by`
- case "$URB_DONE_LIST" in
- *:${rb_origin}:*) continue ;;
- esac
-
- test -n "$VERBOSE" &&
- echo "===>>> $upg_port is required by $req_by"
- if [ ! -d "$pdb/$req_by" ]; then
- # A failure here is probably just a
- # stale dependency, but warn the user.
- req_by_error $upg_port $req_by
- continue
- fi
- if ! check_interactive ${req_by} ; then
- continue
- fi
-
- update_port $req_by
- done
- rm -f $MASTER_RB_LIST
- echo "===>>> Done checking ports that depend on $upg_port"
- unset URB_YES
- URB_DONE_LIST=':'
- fi
-
- unset_recursive_config
- fi
- echo ''
- echo "===>>> Starting build for $portdir <<<==="
- echo ''
-fi
-
-BUILDING=yes
-export BUILDING
-
-cd $pd/$portdir
-
-if [ ! -e "$NO_DEP_UPDATES" ]; then
- dependency_check
-else
- if [ -z "$NO_RECURSIVE_CONFIG" ]; then
- echo "===>>> The 'make config' check revealed no dependencies to update"
- echo ''
- fi
-fi
-
-if [ -n "$NO_ACTION" ]; then
- test -n "$VERBOSE" &&
- echo "===>>> Build canceled due to -n flag"
- safe_exit
-fi
-
-# In case we went elsewhere in the dependency check
-cd $pd/$portdir
-
-case "$DONT_PRE_CLEAN" in
-'') make $MAKE_ARGS clean NOCLEANDEPENDS=yes || fail 'make clean failed' ;;
-esac
-
-fl_read=`echo ${TMPDIR}/fetchlog-${PARENT_PID}-${portdir##*/}.*`
-while [ -f "$fl_read" ]; do
- echo ''
- echo "===>>> Waiting on fetch & checksum for $portdir <<<==="
- tail -10 $fl_read 2>/dev/null | egrep -v '^$|MCS_CHILD_PID'
- echo ''
- echo "===>>> Waiting on fetch & checksum for $portdir <<<==="
- sleep 5
-done
-
-make $MAKE_ARGS || fail "make failed for $portdir"
-
-new_port=`make $MAKE_ARGS -V PKGNAME`
-prefix=`make $MAKE_ARGS -V PKGNAMEPREFIX`
-portname=`make $MAKE_ARGS -V PORTNAME`
-suffix=`make $MAKE_ARGS -V PKGNAMESUFFIX`
-short_port="${prefix}${portname}${suffix}"
-
-# Check for dependencies here in case +REQUIRED_BY is not up to date or missing
-grep_deps=`mktemp -t grep-deps-${short_port}`
-
-upg_origin=$portdir
-if [ -n "$upg_port" ]; then
- upg_origin=`origin_from_pdb $pdb/$upg_port`
-fi
-grep -l DEPORIGIN:$upg_origin$ $pdb/*/+CONTENTS | cut -f 5 -d '/' |
- sort -u > $grep_deps
-
-if [ -s "$pdb/$upg_port/+REQUIRED_BY" ]; then
- req_deps=`mktemp -t req-deps-${short_port}`
- sort -u $pdb/$upg_port/+REQUIRED_BY > $req_deps
-fi
-
-if [ ! -s "$grep_deps" -a ! -s "$req_deps" ]; then
- if [ -n "$upg_port" ]; then
- echo "===>>> $upg_port is not depended on by any other ports"
- fi
-elif [ -s "$grep_deps" -a -s "$req_deps" ]; then
- if ! cmp -s $grep_deps $req_deps; then
- update_reqfile
- fi
-elif [ -s "$grep_deps" -a ! -s "$req_deps" ]; then
- dep_warn
- echo -n "===>>> Install these as the new +REQUIRED_BY file? [n] "
- if [ -z "$UNATTENDED" ]; then
- read INSTALLDEPS
-
- case "$INSTALLDEPS" in
- [yY]) req_deps=`mktemp -t req-deps-${short_port}`
- mv $grep_deps $req_deps ; unset grep_deps
- ;;
- esac
- else
- echo "===>>> Default (no) in unattended mode"
- fi
-else
- # It should not happen that req_deps exist but grep_deps does not
- echo ''
- echo "===>>> $pdb/$upg_port/+REQUIRED_BY indicates"
- echo " a dependency on this port, but no other ports have"
- echo " it recorded. If that file does not contain any valid"
- echo " dependency data, try removing it and then start again."
- fail "Stale dependency data in $pdb/$upg_port/+REQUIRED_BY"
-fi
-
-# Ignore if no old port exists
-if [ -n "$upg_port" ]; then
- find_contents_distfiles $upg_port
-
- UPGRADE_PORT=$upg_port
- UPGRADE_PORT_VER=`echo $UPGRADE_PORT | sed 's#.*-\(.*\)#\1#'`
- export UPGRADE_PORT UPGRADE_PORT_VER
-
- if [ -z "$NO_BACKUP" ]; then
- backup_package $upg_port
- fi
- pkg_delete -f $upg_port || fail 'pkg_delete failed'
-
- if [ -n "$REPLACE_ORIGIN" ]; then
- installed_newport=`iport_from_origin ${newportdir}`
- if [ -n "$installed_newport" ]; then
- pkg_delete -f $installed_newport
- fi
- fi
-fi
-
-make $MAKE_ARGS install clean NOCLEANDEPENDS=yes || {
- if [ -z "$NO_BACKUP" -a -n "$upg_port" ]; then
- echo ''
- echo "===>>> A backup package for $portdir should be located in $pkgrep"
- fi
- fail "Installation of new port failed";}
-
-# Implement storage of distfile information in the +CONTENTS file in the
-# same way that it will (hopefully, soon?) be implemented in bsd.port.mk
-# See http://www.freebsd.org/cgi/query-pr.cgi?pr=106483
-if ! grep -q DISTFILE $pdb/$new_port/+CONTENTS; then
- ds=`make $MAKE_ARGS -V DIST_SUBDIR`
- test -n "$ds" && ds="${ds}/"
-
- allfiles=`make $MAKE_ARGS -V ALLFILES`
- distinfo=`make $MAKE_ARGS -V MD5_FILE`
- for file in $allfiles; do
- size=`grep "^SIZE (${ds}${file})" $distinfo | cut -f4 -d' '`
- sha256=`grep "^SHA256 (${ds}${file})" $distinfo | cut -f4 -d' '`
- md5=`grep "^MD5 (${ds}${file})" $distinfo | cut -f4 -d' '`
- echo "@comment DISTFILE:${ds}${file}:SIZE=${size}:SHA256=${sha256}:MD5=${md5}" >> $pdb/$new_port/+CONTENTS
- done
-fi
-
-if [ -n "$MAKE_PACKAGE" ]; then
- echo "===>>> Creating a package for new version $new_port"
- make $MAKE_ARGS package || fail 'Package creation of new port failed'
- [ -z "$pkgrep" ] &&
- pkgrep=`make $MAKE_ARGS -f $pd/Mk/bsd.port.mk -V PKGREPOSITORY`
- if [ ! -d "$pkgrep" ]; then
- pkgrep=$HOME
- mv ${new_port}.* $pkgrep/
- fi
- echo " ===>>> Package can be found in $pkgrep"
-fi
-
-test -z "$BACKUP" && test -f "$pkgrep/$bu_pkg_name" && rm -f $pkgrep/$bu_pkg_name
-
-# By now, if this file exists, it should be authoritative
-if [ -s "$req_deps" ]; then
-
-update_dep_entries () {
- local upg_port
-
- test -n "$1" && upg_port=$1
-
- echo "===>>> Updating package dependency entry for each dependent port"
- while read dep_port; do
- dep_port_contents="$pdb/$dep_port/+CONTENTS"
- if grep -q "@pkgdep $upg_port" $dep_port_contents; then
- update_contents $upg_port $new_port
- else
- echo -n "===>>> In ${dep_port}"
- echo " no entry for $upg_port, trying $short_port"
- update_contents "$short_port.*" $new_port
- fi
- done < $req_deps
-}
- update_dep_entries
- mv $req_deps $pdb/$new_port/+REQUIRED_BY
- unset req_deps
- chmod 644 $pdb/$new_port/+REQUIRED_BY
-
- if [ -n "$REPLACE_ORIGIN" ]; then
- req_deps=`mktemp -t req-deps-${short_port}`
-
- grep -l DEPORIGIN:$newportdir$ $pdb/*/+CONTENTS |
- cut -f 5 -d '/' | sort -u > $req_deps
- update_dep_entries $new_port
- cat $req_deps >> $pdb/$new_port/+REQUIRED_BY
- fi
-fi
-
-echo ''
-test -z "$upg_port" && upg_port=$portdir
-echo "===>>> Upgrade for $upg_port to $new_port succeeded"
-
-test -n "$FORCE" && FORCE_DONE_LIST="${FORCE_DONE_LIST}${portdir}:"
-test -e "$pdb/$new_port/+DISPLAY" &&
- DISPLAY_LIST="${DISPLAY_LIST}$new_port/+DISPLAY "
-
-if [ -z "$DONT_SCRUB_DISTFILES" ]; then
- if [ -z "$oldportdir" ]; then
- delete_stale_distfiles
- else
- delete_all_distfiles ${oldportdir}
- cd $pd/$newportdir && delete_stale_distfiles
- fi
-fi
-
-if [ -n "$UPDATE_REQ_BYS" -a -s "$pdb/$new_port/+REQUIRED_BY" ]; then
- URB_YES=yes ; export URB_YES
- MASTER_RB_LIST=$pdb/$new_port/+REQUIRED_BY
- echo ''
- echo "===>>> Updating ports that depend on $new_port"
- for req_by in `cat $pdb/$new_port/+REQUIRED_BY`; do
- if [ ! -d "$pdb/$req_by" ]; then
- # Since the dependency list was probably updated as
- # a result of updating the parent port, a missing
- # directory here is likely the result of the port
- # being updated as a dependency for something else.
- continue
- fi
-
- p=`origin_from_pdb $pdb/$req_by`
- case "$URB_DONE_LIST" in
- *:${p}:*) continue ;;
- esac
-
- case "$FORCE_DONE_LIST" in
- *:${p}:*) test -n "$VERBOSE" &&
- echo "===>>> Update for $p already done"
- continue
- ;;
- esac
-
- if ! check_interactive ${req_by} ; then
- continue
- fi
-
- test -n "$VERBOSE" &&
- echo "===>>> $new_port is required by $req_by"
-
- update_port $req_by
- done
- echo "===>>> Done updating ports that depend on $new_port"
-fi
-
-safe_exit
-
-#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Copyright (c) 2005-2007 Douglas Barton
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-# SUCH DAMAGE.
diff --git a/sysutils/portmaster/pkg-descr b/sysutils/portmaster/pkg-descr
deleted file mode 100644
index b5f9e86f12d8..000000000000
--- a/sysutils/portmaster/pkg-descr
+++ /dev/null
@@ -1,24 +0,0 @@
-This script uses the existing ports infrastructure to track dependencies,
-and to keep those dependencies up to date. Because it is written in /bin/sh,
-it needs no other languages installed.
-
-Portmaster has the following features:
- * User can specify the port to upgrade (or install) either by directory
- in /usr/ports, or by directory in /var/db/pkg
- * Updates and repairs (as needed) entries for dependencies in both +CONTENTS
- and +REQUIRED_BY files for both the port that is being updated, and any
- ports that depend on it
- * Runs make config recursively through all ports before starting build
- * Recursively checks and upgrades (or installs) all dependencies
- * User can force upgrades of all dependent ports
- * Runs make clean before starting the build (can be disabled)
- * Offers the user the opportunity to delete stale distfiles
- * Supports /usr/ports/MOVED
- * Supports non-default settings of PORTSDIR and PKG_DBDIR
- * Interactive update mode (prompts for each update)
- * Option to rebuild port, and ports that depend on it
- * Options to make packages out of installed, and new ports
- * Option to clean out stale port dependencies
- * Downloads distfiles in the background
-
-WWW: http://dougbarton.us/portmaster.html
diff --git a/sysutils/portscout/Makefile b/sysutils/portscout/Makefile
deleted file mode 100644
index f527c8e332c7..000000000000
--- a/sysutils/portscout/Makefile
+++ /dev/null
@@ -1,91 +0,0 @@
-# New ports collection makefile for: portscout
-# Date created: 2006-05-15
-# Whom: Shaun Amott <shaun@inerd.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= portscout
-PORTVERSION= 0.7.2
-CATEGORIES= sysutils
-MASTER_SITES= http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/ \
- http://www.inerd.com/software/${PORTNAME}/
-
-MAINTAINER= shaun@FreeBSD.org
-COMMENT= A tool to scan for new versions of FreeBSD ports
-
-NO_BUILD= yes
-USE_PERL5= yes
-
-PORTDOCS= README
-
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
- ${SITE_PERL}/Proc/Queue.pm:${PORTSDIR}/devel/p5-Proc-Queue \
- ${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net \
- ${SITE_PERL}/MIME/Lite.pm:${PORTSDIR}/mail/p5-MIME-Lite \
- ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
-
-.if defined(WITH_MYSQL)
-WITHOUT_PGSQL= true
-.endif
-
-.if !defined(WITHOUT_PGSQL)
-USE_PGSQL= yes
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
-.elif defined(WITH_MYSQL)
-USE_MYSQL= yes
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER:S/323//}
-.endif
-
-pre-everything::
-.if defined(WITH_MYSQL)
- @${ECHO_MSG} "+-------------------------------------------------------------+"
- @${ECHO_MSG} "| Warning! portscout has only been tested with PostgreSQL. |"
- @${ECHO_MSG} "| The author makes no guarantee that anything else will work, |"
- @${ECHO_MSG} "| but always welcomes success/bug reports, and/or patches. |"
- @${ECHO_MSG} "+-------------------------------------------------------------+"
-.endif
-
-post-patch:
-.if defined(WITH_MYSQL)
- @${REINPLACE_CMD} 's/DBI:Pg/DBI:mysql/g' ${WRKSRC}/portscout.conf
-.endif
- @${REINPLACE_CMD} -e "s#^\(templates .*\)/etc#\1/share#" \
- -e "s#^prefix\( *= *\).*#prefix\1${PREFIX}#" \
- ${WRKSRC}/portscout.conf
- @${REINPLACE_CMD} -e "s#^\(.*PREFIX.*=> *\)'.*'#\1'${PREFIX}'#" \
- ${WRKSRC}/portscout.pl
- @${REINPLACE_CMD} -e "s#portscout\.pl#portscout#" \
- ${WRKSRC}/README
-
-do-install:
- @${MKDIR} ${SITE_PERL}/Portscout
- ${INSTALL_SCRIPT} ${WRKSRC}/portscout.pl ${PREFIX}/bin/portscout
- ${INSTALL_SCRIPT} ${WRKSRC}/Portscout.pm ${SITE_PERL}/Portscout.pm
- ${INSTALL_SCRIPT} ${WRKSRC}/Portscout/Template.pm ${SITE_PERL}/Portscout
-
- @${MKDIR} ${DATADIR}/templates
- cd ${WRKSRC}/templates \
- && ${INSTALL_DATA} * ${DATADIR}/templates
-
- @${MKDIR} ${DATADIR}/sql
- cd ${WRKSRC}/sql && ${INSTALL_DATA} *.sql ${DATADIR}/sql
-
- ${INSTALL_DATA} ${WRKSRC}/portscout.conf ${PREFIX}/etc/portscout.conf.sample
-
-post-install:
- @if [ ! -f ${PREFIX}/etc/portscout.conf ]; then \
- ${CP} -p ${PREFIX}/etc/portscout.conf.sample ${PREFIX}/etc/portscout.conf; \
- fi
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-IGNORE= requires Perl 5.6 or above. Please install lang/perl5.8 and try again
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/portscout/distinfo b/sysutils/portscout/distinfo
deleted file mode 100644
index 7420748a08bf..000000000000
--- a/sysutils/portscout/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (portscout-0.7.2.tar.gz) = 895788fc31e57d9b135a062b3a104b71
-SHA256 (portscout-0.7.2.tar.gz) = d00a79e511ff27fcc987d20b5a1f0ac783f3639efd002aa9f4e41de703f7e724
-SIZE (portscout-0.7.2.tar.gz) = 28993
diff --git a/sysutils/portscout/pkg-descr b/sysutils/portscout/pkg-descr
deleted file mode 100644
index 9df9a5e9312b..000000000000
--- a/sysutils/portscout/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-portscout is a tool which looks for new versions of software in the
-FreeBSD ports tree, and potentially other software repositories.
-
-Various factors make this task a bit more difficult than it might
-initially seem. In particular, the array of weird and wonderful
-versioning schemes software vendors manage to come up with.
-
-portscout spawns several child processes and does its version checking
-in parallel, while attempting to best-guess strange-looking version
-numbers, navigate around unhelpful sites and web servers, and contend
-with the CPU-heavy rapidly-expanding FreeBSD ports system.
-
-In addition to all this, it is possible to generate nice HTML reports
-and send reminder mails to interested parties.
-
-Regularly updated results can be found at:
- http://beta.inerd.com/portscout/
-
-
-WWW: http://www.inerd.com/software/portscout/
diff --git a/sysutils/portscout/pkg-plist b/sysutils/portscout/pkg-plist
deleted file mode 100644
index 54031ea6caa6..000000000000
--- a/sysutils/portscout/pkg-plist
+++ /dev/null
@@ -1,17 +0,0 @@
-bin/portscout
-@unexec if cmp -s %D/etc/portscout.conf.sample %D/etc/portscout.conf; then rm -f %D/etc/portscout.conf; fi
-@exec [ ! -f %D/etc/portscout.conf ] && cp -p %D/etc/portscout.conf.sample %D/etc/portscout.conf
-etc/portscout.conf.sample
-%%DATADIR%%/templates/index.html
-%%DATADIR%%/templates/maintainer.html
-%%DATADIR%%/templates/reminder.mail
-%%DATADIR%%/templates/restricted-ports.html
-%%DATADIR%%/sql/pgsql_init.sql
-%%DATADIR%%/sql/pgsql_destroy.sql
-%%DATADIR%%/sql/pgsql_upgrade_0.7.1_to_0.7.2.sql
-%%SITE_PERL%%/Portscout/Template.pm
-%%SITE_PERL%%/Portscout.pm
-@dirrm %%SITE_PERL%%/Portscout
-@dirrm %%DATADIR%%/templates
-@dirrm %%DATADIR%%/sql
-@dirrm %%DATADIR%%
diff --git a/sysutils/portsearch/Makefile b/sysutils/portsearch/Makefile
deleted file mode 100644
index 5f7c9567e1d9..000000000000
--- a/sysutils/portsearch/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# New ports collection makefile for: portsearch
-# Date created: 22 Nov 2005
-# Whom: Vasil Dimov <vd@datamax.bg>
-#
-# $FreeBSD$
-#
-
-PORTNAME= portsearch
-PORTVERSION= 1.3.0
-CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= vd/portsearch
-
-MAINTAINER= vd@FreeBSD.org
-COMMENT= Port searching tool that supports search by packing list files
-
-PLIST_FILES= bin/portsearch %%DATADIR%%/Makefile
-PLIST_DIRS= %%DATADIR%%
-
-.include <bsd.port.mk>
diff --git a/sysutils/portsearch/distinfo b/sysutils/portsearch/distinfo
deleted file mode 100644
index ef3da8124527..000000000000
--- a/sysutils/portsearch/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (portsearch-1.3.0.tar.gz) = 48c359cb843f347260b2f606314f7e35
-SHA256 (portsearch-1.3.0.tar.gz) = 2c60ff8de8ccc80e6df02271b1f76a751ef01524bbac58084a675fb3757f699f
-SIZE (portsearch-1.3.0.tar.gz) = 20666
diff --git a/sysutils/portsearch/pkg-descr b/sysutils/portsearch/pkg-descr
deleted file mode 100644
index 7050d2e7bb98..000000000000
--- a/sysutils/portsearch/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Portsearch allows searching for ports that install some file, like
-``find /usr/ports -name pkg-plist |xargs grep pattern''
-but honoring PLIST_(FILES|DIRS) and %%FOOBAR%% variables.
-It also supports searching for ports by name, key (name, comment or
-dependencies), path, info (comment), maintainer, category, fetch, extract,
-patch, build and run dependencies and www site.
-
-WWW: http://people.freebsd.org/~vd/portsearch
diff --git a/sysutils/portsman/Makefile b/sysutils/portsman/Makefile
deleted file mode 100644
index 8f92cf3505ab..000000000000
--- a/sysutils/portsman/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-# New ports collection makefile for: portsman
-# Date created: 18 January 2003
-# Whom: Anselm R. Garbe <anselmg@t-online.de>
-#
-# $FreeBSD$
-#
-
-PORTNAME= portsman
-PORTVERSION= 0.2
-PORTREVISION= 2
-CATEGORIES= sysutils
-MASTER_SITES= http://download.berlios.de/portsman/
-# temporary
-DISTNAME= ${PORTNAME}-${PORTVERSION}-rc2
-
-MAINTAINER= anselmg@t-online.de
-COMMENT= An ncurses based front-end to manage the FreeBSD ports collection
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 400000
-LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses
-.endif
-
-MAN1= portsman.1
-MAN5= portsmanrc.5
-GNU_CONFIGURE= yes
-
-post-patch:
- @${REINPLACE_CMD} -e "/^pmanrcdir/s|etc$$|etc/portsman|" \
- ${WRKSRC}/config/Makefile.in
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/portsman/distinfo b/sysutils/portsman/distinfo
deleted file mode 100644
index 6a83ea29c288..000000000000
--- a/sysutils/portsman/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (portsman-0.2-rc2.tar.gz) = 624c5ad75088afc802e52008a017dbdd
-SHA256 (portsman-0.2-rc2.tar.gz) = 9e2e2bff3e11520d22bc6de67e0fe19b46d3b85d0eec77cc39a3427a9fcff84a
-SIZE (portsman-0.2-rc2.tar.gz) = 79954
diff --git a/sysutils/portsman/files/patch-freebsd5 b/sysutils/portsman/files/patch-freebsd5
deleted file mode 100644
index 8a2e35e33ffc..000000000000
--- a/sysutils/portsman/files/patch-freebsd5
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/consts.h.orig Wed Jan 29 19:03:44 2003
-+++ src/consts.h Tue Jun 22 12:46:55 2004
-@@ -26,12 +26,17 @@
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
- */
-+#include <osreldate.h>
- #define _VERSION "portsman 0.2"
- #define MAX_PATH 256
- #define MAX_TOKEN 256
- #define MAX_COLS 80
- #define INSTALLED_PKG_DIR "/var/db/pkg"
-+#if __FreeBSD_version > 500000
-+#define INDEX_FILE "/usr/ports/INDEX-5"
-+#else
- #define INDEX_FILE "/usr/ports/INDEX"
-+#endif
- #define PORTS_DIR "/usr/ports"
- #define CONFIG_FILE ".portsmanrc"
- #define MK_FILE "Makefile"
diff --git a/sysutils/portsman/pkg-descr b/sysutils/portsman/pkg-descr
deleted file mode 100644
index d650c63b08ce..000000000000
--- a/sysutils/portsman/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-Ports manager is a ncurses based, graphical front-end to manage
-the FreeBSD ports collection. It behaves like a package manager
-and comes with many features.
-
-WWW: http://portsman.berlios.de
---
- Anselm R. Garbe
diff --git a/sysutils/portsman/pkg-plist b/sysutils/portsman/pkg-plist
deleted file mode 100644
index eb2c31c3c646..000000000000
--- a/sysutils/portsman/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/portsman
-etc/portsman/portsmanrc.sample
-@dirrm etc/portsman
diff --git a/sysutils/portsnap/Makefile b/sysutils/portsnap/Makefile
deleted file mode 100644
index b97666d66047..000000000000
--- a/sysutils/portsnap/Makefile
+++ /dev/null
@@ -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= 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
-
-.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>
diff --git a/sysutils/portsnap/distinfo b/sysutils/portsnap/distinfo
deleted file mode 100644
index 1f7d8091287e..000000000000
--- a/sysutils/portsnap/distinfo
+++ /dev/null
@@ -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
diff --git a/sysutils/portsnap/files/patch-portsnap b/sysutils/portsnap/files/patch-portsnap
deleted file mode 100644
index a2caace08db9..000000000000
--- a/sysutils/portsnap/files/patch-portsnap
+++ /dev/null
@@ -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=""
diff --git a/sysutils/portsnap/files/patch-portsnap.8 b/sysutils/portsnap/files/patch-portsnap.8
deleted file mode 100644
index 1a48185d48d7..000000000000
--- a/sysutils/portsnap/files/patch-portsnap.8
+++ /dev/null
@@ -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.
diff --git a/sysutils/portsnap/files/pkg-message.in b/sysutils/portsnap/files/pkg-message.in
deleted file mode 100644
index 519591ac4336..000000000000
--- a/sysutils/portsnap/files/pkg-message.in
+++ /dev/null
@@ -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.
-
diff --git a/sysutils/portsnap/pkg-descr b/sysutils/portsnap/pkg-descr
deleted file mode 100644
index a33c0a7dda3a..000000000000
--- a/sysutils/portsnap/pkg-descr
+++ /dev/null
@@ -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
diff --git a/sysutils/portsopt/Makefile b/sysutils/portsopt/Makefile
deleted file mode 100644
index 944683835499..000000000000
--- a/sysutils/portsopt/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# New ports collection makefile for: portsopt
-# Date created: 25 Dec 2006
-# Whom: Beat Gaetzi <beat@chruetertee.ch>
-#
-# $FreeBSD$
-#
-
-PORTNAME= portsopt
-PORTVERSION= 1.2
-CATEGORIES= sysutils
-MASTER_SITES= http://www.chruetertee.ch/files/download/
-
-MAINTAINER= beat@chruetertee.ch
-COMMENT= Shows WITH(OUT)-knobs of a port makefile
-
-NO_BUILD= yes
-
-PLIST_FILES= sbin/portsopt
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/portsopt ${PREFIX}/sbin
-
-.include <bsd.port.mk>
diff --git a/sysutils/portsopt/distinfo b/sysutils/portsopt/distinfo
deleted file mode 100644
index 51c69b6ec05e..000000000000
--- a/sysutils/portsopt/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (portsopt-1.2.tar.gz) = 03e09462faa26e4e4586663c2e5507ab
-SHA256 (portsopt-1.2.tar.gz) = 880fb094a990db135e55ea43bef18ca319dfae9c453a2d2adcb3f3faecf40c53
-SIZE (portsopt-1.2.tar.gz) = 971
diff --git a/sysutils/portsopt/pkg-descr b/sysutils/portsopt/pkg-descr
deleted file mode 100644
index 8829487bfe80..000000000000
--- a/sysutils/portsopt/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Shows WITH(OUT)-knobs of a port makefile and if you want also the knobs of
-all port dependencies.
-
-WWW: http://www.chruetertee.ch/portsopt/
diff --git a/sysutils/portupgrade-devel/Makefile b/sysutils/portupgrade-devel/Makefile
deleted file mode 100644
index 6e9545f23617..000000000000
--- a/sysutils/portupgrade-devel/Makefile
+++ /dev/null
@@ -1,93 +0,0 @@
-# New ports collection makefile for: portupgrade
-# Date created: 18 March 2001
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= portupgrade-devel
-PORTVERSION= 2.2.2
-PORTREVISION= 1
-CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= portupgrade
-DISTNAME= pkgtools-${DISTVERSION}
-
-MAINTAINER= sem@FreeBSD.org
-COMMENT= FreeBSD ports/packages administration and management tool suite (devel version)
-
-OPTIONS= BDB4 "Use Berkeley DB >=2 as backend" on \
- BDB1 "Use Berkeley DB 1.85 as backend" off
-
-CONFLICTS= portupgrade-[0-9]*
-
-USE_BZIP2= yes
-USE_RUBY= yes
-USE_RUBY_FEATURES= optparse ruby18
-USE_PERL5_RUN= yes
-
-USE_LDCONFIG= ${PREFIX}/lib/compat/pkg
-LDCONFIG_DIRS= %%PREFIX%%/lib/compat/pkg
-
-MAKE_ARGS= PREFIX="${PREFIX}" RUBY="${RUBY}"
-
-MAN1= pkg_deinstall.1 \
- pkg_fetch.1 \
- pkg_glob.1 \
- pkg_sort.1 \
- pkgdb.1 \
- portcvsweb.1 \
- portsclean.1 \
- portsdb.1 \
- portupgrade.1 \
- portversion.1
-MAN5= pkgtools.conf.5
-MLINKS= pkgdb.1 pkg_which.1 \
- portupgrade.1 portinstall.1 \
- portsdb.1 ports_glob.1
-MANCOMPRESSED= maybe
-
-EXAMPLESDIR= ${PREFIX}/share/examples/pkgtools
-DOCSDIR= ${PREFIX}/share/doc/pkgtools
-
-INSTALL_TARGET= install
-.if !defined(NOPORTDOCS)
-INSTALL_TARGET+= install-doc
-.endif
-
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk"
-
-.if defined(WITH_BDB4)
-# For PKG_DBDRIVER={bdb_btree,bdb_hash}
-RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
-.endif
-.if defined(WITH_BDB1) && !defined(WITH_BDB4)
-# For PKG_DBDRIVER={bdb1_btree,bdb1_hash}
-RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1
-.endif
-
-pre-extract:
-.if !defined(WITH_BDB4) && !defined(WITH_BDB1)
- @${ECHO_MSG} "================================================================="
- @${ECHO_MSG} "Neither WITH_BDB4 nor WITH_BDB1 are defined. Will use DBD driver."
- @${ECHO_MSG} "================================================================="
-.endif
-.if defined(WITH_BDB4) && defined(WITH_BDB1)
- @${ECHO_MSG} "================================================================="
- @${ECHO_MSG} "Both WITH_BDB4 and WITH_BDB1 are defined. Will use BDB4 driver."
- @${ECHO_MSG} "================================================================="
-.elif defined(WITH_BDB1) && exists(${RUBY_SITEARCHLIBDIR}/bdb.so)
- @${ECHO_MSG} "================================================================="
- @${ECHO_MSG} "WITH_BDB1 is defined but ruby-bdb port installed."
- @${ECHO_MSG} "Remove ruby-bdb or redefine options."
- @${ECHO_MSG} "================================================================="
- @exit 1
-.endif
-
-post-install: install-ldconfig-file
- if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \
- ${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \
- fi
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/portupgrade-devel/distinfo b/sysutils/portupgrade-devel/distinfo
deleted file mode 100644
index ca67e0223c3d..000000000000
--- a/sysutils/portupgrade-devel/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pkgtools-2.2.2.tar.bz2) = c9e08616c474d776f301ada920735a66
-SHA256 (pkgtools-2.2.2.tar.bz2) = ab5cd8904e69c03be0d37cf71b2d6271ccabed14bca673e5a34a7d21a1af5c02
-SIZE (pkgtools-2.2.2.tar.bz2) = 111055
diff --git a/sysutils/portupgrade-devel/files/patch-portsdb.rb b/sysutils/portupgrade-devel/files/patch-portsdb.rb
deleted file mode 100644
index be6065d09315..000000000000
--- a/sysutils/portupgrade-devel/files/patch-portsdb.rb
+++ /dev/null
@@ -1,13 +0,0 @@
---- lib/portsdb.rb.orig Thu Feb 1 10:15:59 2007
-+++ lib/portsdb.rb Thu Feb 1 10:17:25 2007
-@@ -387,8 +387,8 @@
- end
-
- def subdirs(dir)
-- %x"fgrep -v bsd.port.subdir.mk #{dir}/Makefile |
-- make -f - -V SUBDIR 2> /dev/null".split.select { |i|
-+ %x"fgrep SUBDIR #{dir}/Makefile | sed -e 's/SUBDIR +=//'
-+ 2> /dev/null".split.select { |i|
- File.directory?(File.join(dir, i))
- }.sort
- end
diff --git a/sysutils/portupgrade-devel/files/patch-portupgrade b/sysutils/portupgrade-devel/files/patch-portupgrade
deleted file mode 100644
index 53c9037ebbff..000000000000
--- a/sysutils/portupgrade-devel/files/patch-portupgrade
+++ /dev/null
@@ -1,11 +0,0 @@
---- bin/portupgrade.orig Thu Feb 1 15:42:15 2007
-+++ bin/portupgrade Thu Feb 1 15:42:22 2007
-@@ -1594,7 +1594,7 @@
- end
-
- if $sudo && Process.euid != 0
-- dep_cmdargs = cmdargs.dup << 'fetch-depends' << 'build-depends' << 'lib-depends' << 'misc-depends'
-+ dep_cmdargs = cmdargs.dup << 'fetch-depends' << 'build-depends' << 'lib-depends'
-
- if not system(shelljoin(*dep_cmdargs) + ' DEPENDS_TARGET="-n nonexistent_target" >/dev/null 2>&1')
- script!(logfile, *dep_cmdargs) or
diff --git a/sysutils/portupgrade-devel/pkg-descr b/sysutils/portupgrade-devel/pkg-descr
deleted file mode 100644
index 5ba060bf51dc..000000000000
--- a/sysutils/portupgrade-devel/pkg-descr
+++ /dev/null
@@ -1,22 +0,0 @@
-Portupgrade is a tool to upgrade installed packages via ports or
-packages. You can upgrade installed packages without having to
-reinstall depending or dependent packages. It can automatically trace
-dependency chains up and down upgrading packages recursively.
-
-This package also includes the following utilities:
-portinstall: Helps you install new ports in a handy way.
-portcvsweb: Instantly lets you browse change history via CVSweb.
-portversion: Replaces pkg_version(1) and helps you upgrade packages
- with portupgrade(1). (runs much faster)
-portsclean: Cleans ports workdir's, unreferenced distfiles,
- old and orphan shared libraries, and stale packages.
-portsdb: Creates binary database from the ports INDEX.
-ports_glob: Expands ports globs.
-pkg_deinstall: Wraps pkg_delete(1) and provides additional features.
-pkg_fetch: Fetches packages from a remote site.
-pkg_glob: Expands package globs.
-pkg_which: Checks which package a file came from quickly.
-pkgdb: Manages and searches the package database.
-
-Author: Akinori MUSHA <knu@FreeBSD.org>
-WWW: http://wiki.freebsd.org/portupgrade
diff --git a/sysutils/portupgrade-devel/pkg-plist b/sysutils/portupgrade-devel/pkg-plist
deleted file mode 100644
index 8a14a576c813..000000000000
--- a/sysutils/portupgrade-devel/pkg-plist
+++ /dev/null
@@ -1,42 +0,0 @@
-@exec /bin/mkdir -p %D/lib/compat/pkg
-@unexec /bin/rmdir %D/lib/compat/pkg 2>/dev/null || true
-sbin/pkg_deinstall
-sbin/pkg_fetch
-sbin/pkg_glob
-sbin/pkg_sort
-sbin/pkg_which
-sbin/pkgdb
-sbin/portcvsweb
-sbin/portinstall
-sbin/ports_glob
-sbin/portsclean
-sbin/portsdb
-sbin/portupgrade
-sbin/portversion
-%%RUBY_SITELIBDIR%%/pkg.rb
-%%RUBY_SITELIBDIR%%/pkgdb.rb
-%%RUBY_SITELIBDIR%%/pkgdbtools.rb
-%%RUBY_SITELIBDIR%%/pkginfo.rb
-%%RUBY_SITELIBDIR%%/pkgmisc.rb
-%%RUBY_SITELIBDIR%%/pkgtools.rb
-%%RUBY_SITELIBDIR%%/pkgtsort.rb
-%%RUBY_SITELIBDIR%%/pkgversion.rb
-%%RUBY_SITELIBDIR%%/portinfo.rb
-%%RUBY_SITELIBDIR%%/ports.rb
-%%RUBY_SITELIBDIR%%/portsdb.rb
-@unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi
-etc/pkgtools.conf.sample
-@exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf
-etc/pkgtools.status-pkg.sh
-share/zsh/site-functions/_pkgtools
-@unexec [ -f %D/bin/zsh ] || rmdir %D/share/zsh/site-functions 2>/dev/null || true
-@dirrmtry share/zsh
-%%PORTDOCS%%%%EXAMPLESDIR%%/bash/complete.sample
-%%PORTDOCS%%%%EXAMPLESDIR%%/tcsh/complete.sample
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/bash
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/tcsh
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile
deleted file mode 100644
index 4b317b13b286..000000000000
--- a/sysutils/portupgrade/Makefile
+++ /dev/null
@@ -1,95 +0,0 @@
-# New ports collection makefile for: portupgrade
-# Date created: 18 March 2001
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= portupgrade
-PORTVERSION= 2.2.2
-PORTREVISION= 3
-PORTEPOCH= 2
-CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= pkgtools-${DISTVERSION}
-
-MAINTAINER= sem@FreeBSD.org
-COMMENT= FreeBSD ports/packages administration and management tool suite
-
-OPTIONS= BDB4 "Use Berkeley DB >=2 as backend" on \
- BDB1 "Use Berkeley DB 1.85 as backend" off
-
-CONFLICTS= portupgrade-devel-*
-
-USE_BZIP2= yes
-USE_RUBY= yes
-USE_RUBY_FEATURES= optparse ruby18
-USE_PERL5_RUN= yes
-
-USE_LDCONFIG= ${PREFIX}/lib/compat/pkg
-LDCONFIG_DIRS= %%PREFIX%%/lib/compat/pkg
-
-MAKE_ARGS= PREFIX="${PREFIX}" RUBY="${RUBY}"
-
-MAN1= pkg_deinstall.1 \
- pkg_fetch.1 \
- pkg_glob.1 \
- pkg_sort.1 \
- pkgdb.1 \
- portcvsweb.1 \
- portsclean.1 \
- portsdb.1 \
- portupgrade.1 \
- portversion.1
-MAN5= pkgtools.conf.5
-MLINKS= pkgdb.1 pkg_which.1 \
- portupgrade.1 portinstall.1 \
- portsdb.1 ports_glob.1
-MANCOMPRESSED= maybe
-
-EXAMPLESDIR= ${PREFIX}/share/examples/pkgtools
-DOCSDIR= ${PREFIX}/share/doc/pkgtools
-
-INSTALL_TARGET= install
-.if !defined(NOPORTDOCS)
-INSTALL_TARGET+= install-doc
-.endif
-
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk"
-
-.if defined(WITH_BDB4)
-# For PKG_DBDRIVER={bdb_btree,bdb_hash}
-RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
-.endif
-.if defined(WITH_BDB1) && !defined(WITH_BDB4)
-# For PKG_DBDRIVER={bdb1_btree,bdb1_hash}
-RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1
-.endif
-
-pre-extract:
-.if !defined(WITH_BDB4) && !defined(WITH_BDB1)
- @${ECHO_MSG} "================================================================="
- @${ECHO_MSG} "Neither WITH_BDB4 nor WITH_BDB1 are defined. Will use DBD driver."
- @${ECHO_MSG} "================================================================="
-.endif
-.if defined(WITH_BDB4) && defined(WITH_BDB1)
- @${ECHO_MSG} "================================================================="
- @${ECHO_MSG} "Both WITH_BDB4 and WITH_BDB1 are defined. Will use BDB4 driver."
- @${ECHO_MSG} "================================================================="
-.elif defined(WITH_BDB1) && exists(${RUBY_SITEARCHLIBDIR}/bdb.so)
- @${ECHO_MSG} "================================================================="
- @${ECHO_MSG} "WITH_BDB1 is defined but ruby-bdb port installed."
- @${ECHO_MSG} "Remove ruby-bdb or redefine options."
- @${ECHO_MSG} "================================================================="
- @exit 1
-.endif
-
-post-install: install-ldconfig-file
- if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \
- ${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \
- fi
- ${MKDIR} ${PREFIX}/lib/compat/pkg
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/portupgrade/distinfo b/sysutils/portupgrade/distinfo
deleted file mode 100644
index ca67e0223c3d..000000000000
--- a/sysutils/portupgrade/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pkgtools-2.2.2.tar.bz2) = c9e08616c474d776f301ada920735a66
-SHA256 (pkgtools-2.2.2.tar.bz2) = ab5cd8904e69c03be0d37cf71b2d6271ccabed14bca673e5a34a7d21a1af5c02
-SIZE (pkgtools-2.2.2.tar.bz2) = 111055
diff --git a/sysutils/portupgrade/files/patch-portsdb.rb b/sysutils/portupgrade/files/patch-portsdb.rb
deleted file mode 100644
index be6065d09315..000000000000
--- a/sysutils/portupgrade/files/patch-portsdb.rb
+++ /dev/null
@@ -1,13 +0,0 @@
---- lib/portsdb.rb.orig Thu Feb 1 10:15:59 2007
-+++ lib/portsdb.rb Thu Feb 1 10:17:25 2007
-@@ -387,8 +387,8 @@
- end
-
- def subdirs(dir)
-- %x"fgrep -v bsd.port.subdir.mk #{dir}/Makefile |
-- make -f - -V SUBDIR 2> /dev/null".split.select { |i|
-+ %x"fgrep SUBDIR #{dir}/Makefile | sed -e 's/SUBDIR +=//'
-+ 2> /dev/null".split.select { |i|
- File.directory?(File.join(dir, i))
- }.sort
- end
diff --git a/sysutils/portupgrade/files/patch-portupgrade b/sysutils/portupgrade/files/patch-portupgrade
deleted file mode 100644
index 53c9037ebbff..000000000000
--- a/sysutils/portupgrade/files/patch-portupgrade
+++ /dev/null
@@ -1,11 +0,0 @@
---- bin/portupgrade.orig Thu Feb 1 15:42:15 2007
-+++ bin/portupgrade Thu Feb 1 15:42:22 2007
-@@ -1594,7 +1594,7 @@
- end
-
- if $sudo && Process.euid != 0
-- dep_cmdargs = cmdargs.dup << 'fetch-depends' << 'build-depends' << 'lib-depends' << 'misc-depends'
-+ dep_cmdargs = cmdargs.dup << 'fetch-depends' << 'build-depends' << 'lib-depends'
-
- if not system(shelljoin(*dep_cmdargs) + ' DEPENDS_TARGET="-n nonexistent_target" >/dev/null 2>&1')
- script!(logfile, *dep_cmdargs) or
diff --git a/sysutils/portupgrade/pkg-descr b/sysutils/portupgrade/pkg-descr
deleted file mode 100644
index 5ba060bf51dc..000000000000
--- a/sysutils/portupgrade/pkg-descr
+++ /dev/null
@@ -1,22 +0,0 @@
-Portupgrade is a tool to upgrade installed packages via ports or
-packages. You can upgrade installed packages without having to
-reinstall depending or dependent packages. It can automatically trace
-dependency chains up and down upgrading packages recursively.
-
-This package also includes the following utilities:
-portinstall: Helps you install new ports in a handy way.
-portcvsweb: Instantly lets you browse change history via CVSweb.
-portversion: Replaces pkg_version(1) and helps you upgrade packages
- with portupgrade(1). (runs much faster)
-portsclean: Cleans ports workdir's, unreferenced distfiles,
- old and orphan shared libraries, and stale packages.
-portsdb: Creates binary database from the ports INDEX.
-ports_glob: Expands ports globs.
-pkg_deinstall: Wraps pkg_delete(1) and provides additional features.
-pkg_fetch: Fetches packages from a remote site.
-pkg_glob: Expands package globs.
-pkg_which: Checks which package a file came from quickly.
-pkgdb: Manages and searches the package database.
-
-Author: Akinori MUSHA <knu@FreeBSD.org>
-WWW: http://wiki.freebsd.org/portupgrade
diff --git a/sysutils/portupgrade/pkg-plist b/sysutils/portupgrade/pkg-plist
deleted file mode 100644
index 0c7152887dbf..000000000000
--- a/sysutils/portupgrade/pkg-plist
+++ /dev/null
@@ -1,43 +0,0 @@
-@exec /bin/mkdir -p %D/lib/compat/pkg
-@dirrmtry lib/compat/pkg
-@dirrmtry lib/compat
-sbin/pkg_deinstall
-sbin/pkg_fetch
-sbin/pkg_glob
-sbin/pkg_sort
-sbin/pkg_which
-sbin/pkgdb
-sbin/portcvsweb
-sbin/portinstall
-sbin/ports_glob
-sbin/portsclean
-sbin/portsdb
-sbin/portupgrade
-sbin/portversion
-%%RUBY_SITELIBDIR%%/pkg.rb
-%%RUBY_SITELIBDIR%%/pkgdb.rb
-%%RUBY_SITELIBDIR%%/pkgdbtools.rb
-%%RUBY_SITELIBDIR%%/pkginfo.rb
-%%RUBY_SITELIBDIR%%/pkgmisc.rb
-%%RUBY_SITELIBDIR%%/pkgtools.rb
-%%RUBY_SITELIBDIR%%/pkgtsort.rb
-%%RUBY_SITELIBDIR%%/pkgversion.rb
-%%RUBY_SITELIBDIR%%/portinfo.rb
-%%RUBY_SITELIBDIR%%/ports.rb
-%%RUBY_SITELIBDIR%%/portsdb.rb
-@unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi
-etc/pkgtools.conf.sample
-@exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf
-etc/pkgtools.status-pkg.sh
-share/zsh/site-functions/_pkgtools
-@unexec [ -f %D/bin/zsh ] || rmdir %D/share/zsh/site-functions 2>/dev/null || true
-@dirrmtry share/zsh
-%%PORTDOCS%%%%EXAMPLESDIR%%/bash/complete.sample
-%%PORTDOCS%%%%EXAMPLESDIR%%/tcsh/complete.sample
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/bash
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/tcsh
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/sysutils/psearch/Makefile b/sysutils/psearch/Makefile
deleted file mode 100644
index a244eec28413..000000000000
--- a/sysutils/psearch/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-# New ports collection makefile for: psearch
-# Date created: 17 February 2006
-# Whom: Benjamin Lutz
-#
-# $FreeBSD$
-#
-
-PORTNAME= psearch
-PORTVERSION= 1.2
-CATEGORIES= sysutils
-MASTER_SITES= http://www.maxlor.com/files/
-
-MAINTAINER= benlutz@datacomm.ch
-COMMENT= An utility for searching the FreeBSD Ports Collection
-
-USE_PYTHON_RUN= yes
-NO_BUILD= yes
-
-MAN1= psearch.1
-PLIST_FILES= bin/psearch
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/psearch ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/psearch.1 ${MANPREFIX}/man/man1
-
-.include <bsd.port.mk>
diff --git a/sysutils/psearch/distinfo b/sysutils/psearch/distinfo
deleted file mode 100644
index 2c0c6523a66b..000000000000
--- a/sysutils/psearch/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (psearch-1.2.tar.gz) = 7a12fea4747310771792ee677f59d5f1
-SHA256 (psearch-1.2.tar.gz) = 3d808e61a3a8a74afae104a3f7fa3a6d58c933465fa07413e87e4ef61cc2e442
-SIZE (psearch-1.2.tar.gz) = 4434
diff --git a/sysutils/psearch/pkg-descr b/sysutils/psearch/pkg-descr
deleted file mode 100644
index db67cc1ed2fd..000000000000
--- a/sysutils/psearch/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-psearch is an utility for searching the FreeBSD Ports Collection.
-
-It allows you to use regular expressions, and has support for searching
-the long description (pkg-descr files), as well as inverse matches that
-allow filtering of ports.
-
-WWW: http://www.maxlor.com/freebsd-scripts.shtml
diff --git a/sysutils/qtpkg/Makefile b/sysutils/qtpkg/Makefile
deleted file mode 100644
index 5034cc1af97f..000000000000
--- a/sysutils/qtpkg/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-# New ports collection makefile for: qtpkg
-# Date created: Wed Jan 3 2001
-# Whom: Trenton Schulz <twschulz@cord.edu>
-#
-# $FreeBSD$
-#
-
-PORTNAME= qtpkg
-PORTVERSION= 1.0
-PORTREVISION= 1
-CATEGORIES= sysutils
-# mastersite disappeared around July 6 2003
-MASTER_SITES= # http://gauss.cord.edu/homepages/twschulz/demo/
-DISTNAME= qtpkg
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A Qt based package removal tool
-MAKE_ENV= LIBS="-lqt-mt ${PTHREAD_LIBS}" CFLAGS="${PTHREAD_CFLAGS}"
-
-PLIST_FILES= sbin/qtpkg
-USE_QT_VER= 3
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/qtpkg ${PREFIX}/sbin
-
-.include <bsd.port.mk>
diff --git a/sysutils/qtpkg/distinfo b/sysutils/qtpkg/distinfo
deleted file mode 100644
index a0f485995c2e..000000000000
--- a/sysutils/qtpkg/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (qtpkg.tar.gz) = 0910416a0c23240e3f71d77f825618da
-SHA256 (qtpkg.tar.gz) = df1ded7e295ce02e16719aa11ecb32961592e6f5da005ff0c949e74422d0116f
-SIZE (qtpkg.tar.gz) = 7308
diff --git a/sysutils/qtpkg/files/patch-Makefile b/sysutils/qtpkg/files/patch-Makefile
deleted file mode 100644
index 155585330057..000000000000
--- a/sysutils/qtpkg/files/patch-Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-
-$FreeBSD$
-
---- Makefile 2001/01/23 16:32:54 1.1
-+++ Makefile 2001/01/23 16:36:12
-@@ -9,13 +9,13 @@
-
- CC = cc
- CXX = c++
--CFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG
--CXXFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG
--INCPATH = -I/usr/local/include -I/usr/X11R6/include/qt2
-+CFLAGS += -pipe -Wall -W -DNO_DEBUG
-+CXXFLAGS += ${CFLAGS}
-+INCPATH = -I$(LOCALBASE)/include -I$(X11BASE)/include/
- LINK = c++
--LIBS = $(SUBLIBS) -L/usr/local/lib -L/usr/X11R6/lib -lqt2 -lXext -lX11 -lm
--MOC = /usr/X11R6/bin/moc2
--UIC = /usr/X11R6/bin/uic
-+LIBS += $(SUBLIBS) -L$(LOCALBASE)/lib -L$(X11BASE)/lib -lXext -lX11 -lm
-+MOC = $(X11BASE)/bin/moc
-+UIC = $(X11BASE)/bin/uic
-
- TAR = tar -cf
- GZIP = gzip -9f
diff --git a/sysutils/qtpkg/pkg-descr b/sysutils/qtpkg/pkg-descr
deleted file mode 100644
index aa1413f5ac39..000000000000
--- a/sysutils/qtpkg/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-qtpkg simplifies the removal of packages by simulating the add/remove
-programs dialog as seen in Windows. Handy when you can't remember the
-correct version number. It also allows you to read the description of the
-package and its packing list.