diff options
author | knu <knu@FreeBSD.org> | 2002-09-21 02:08:43 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-09-21 02:08:43 +0800 |
commit | 76b7033d8cfe144d94a6b2917087e0091e82c306 (patch) | |
tree | 63caf1b1a0dcd02a47f43cbfaba0b1e2dbf35273 /sysutils | |
parent | b716101f7354244be6569cea60cd3ab46978945f (diff) | |
download | freebsd-ports-gnome-76b7033d8cfe144d94a6b2917087e0091e82c306.tar.gz freebsd-ports-gnome-76b7033d8cfe144d94a6b2917087e0091e82c306.tar.zst freebsd-ports-gnome-76b7033d8cfe144d94a6b2917087e0091e82c306.zip |
Retire pkg_tarup. pkg_create(1) has the feature (-b pkgname) to
create a package file out of an installed package, since 4.5-RELEASE.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/pkg_tarup/Makefile | 29 | ||||
-rw-r--r-- | sysutils/pkg_tarup/distinfo | 1 | ||||
-rw-r--r-- | sysutils/pkg_tarup/files/patch-aa | 95 | ||||
-rw-r--r-- | sysutils/pkg_tarup/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/pkg_tarup/pkg-descr | 11 | ||||
-rw-r--r-- | sysutils/pkg_tarup/pkg-plist | 1 |
7 files changed, 0 insertions, 139 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index adca2ac4afd6..8a2b0e7371a2 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -159,7 +159,6 @@ SUBDIR += personality SUBDIR += pib SUBDIR += pkg_remove - SUBDIR += pkg_tarup SUBDIR += pkg_tree SUBDIR += portupgrade SUBDIR += prips diff --git a/sysutils/pkg_tarup/Makefile b/sysutils/pkg_tarup/Makefile deleted file mode 100644 index 0833eda8113e..000000000000 --- a/sysutils/pkg_tarup/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -# New ports collection makefile for: pkg_tarup -# Date created: 21 Sep 2000 -# Whom: Akinori MUSHA aka knu <knu@idaemons.org> -# -# $FreeBSD$ -# - -PORTNAME= pkg_tarup -PORTVERSION= 1.2 -PORTREVISION= 3 -CATEGORIES= sysutils -MASTER_SITES= http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/pkgtools/pkg_tarup/files/ -DISTNAME= ${PORTNAME}\?rev=${PORTVERSION}\&content-type=text%2fplain -EXTRACT_SUFX= # empty -EXTRACT_ONLY= # empty - -MAINTAINER= knu@FreeBSD.org - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -do-extract: - ${MKDIR} ${WRKSRC} - ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${PORTNAME} - -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/${PORTNAME} - -.include <bsd.port.mk> diff --git a/sysutils/pkg_tarup/distinfo b/sysutils/pkg_tarup/distinfo deleted file mode 100644 index 47388063ef99..000000000000 --- a/sysutils/pkg_tarup/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (pkg_tarup?rev=1.2&content-type=text%2fplain) = 48d0cf4c993994938671f62157f79a28 diff --git a/sysutils/pkg_tarup/files/patch-aa b/sysutils/pkg_tarup/files/patch-aa deleted file mode 100644 index e09be9ee8b4f..000000000000 --- a/sysutils/pkg_tarup/files/patch-aa +++ /dev/null @@ -1,95 +0,0 @@ ---- pkg_tarup.orig Thu Aug 23 14:16:01 2001 -+++ pkg_tarup Thu Aug 23 14:18:58 2001 -@@ -7,21 +7,28 @@ - # - - PKG_DBDIR=${PKG_DBDIR:-/var/db/pkg} --PKGREPOSITORY=${PKGREPOSITORY:-/tmp} - PKG_SUFX=${PKG_SUFX:-tgz} -+PKG_INFO_CMD=/usr/sbin/pkg_info -+PKG_CREATE_CMD=/usr/sbin/pkg_create -+ -+# A package file can be very big beyond /tmp's capacity -+PKGREPOSITORY=${PKGREPOSITORY:-${TMPDIR:-/var/tmp}} - - PKG="$1" --rPKG="`pkg_info -e \"$PKG\"`" - --if [ "$PKG" = "" -o "$rPKG" = "" -o -f "${PKG_DBDIR}/${rPKG}" ] -+if [ "$PKG" = "" ] - then -- echo Usage: $0 installed_pkg -+ echo Usage: $0 installed_package - exit 1 - fi - --PKG=$rPKG --echo "Taring up $PKG" -+if ! $PKG_INFO_CMD -e "$PKG" -+then -+ echo $PKG is not installed. -+ exit 1 -+fi - -+echo "Taring up $PKG" - - check_and_add() { - opt="$1" -@@ -40,10 +47,10 @@ - - check_and_add -c ${PKG_DBDIR}/${PKG}/+COMMENT - check_and_add -d ${PKG_DBDIR}/${PKG}/+DESC --check_and_add -b ${PKG_DBDIR}/${PKG}/+BUILD_VERSION --check_and_add -B ${PKG_DBDIR}/${PKG}/+BUILD_INFO -+#check_and_add -b ${PKG_DBDIR}/${PKG}/+BUILD_VERSION -+#check_and_add -B ${PKG_DBDIR}/${PKG}/+BUILD_INFO - check_and_add -s ${PKG_DBDIR}/${PKG}/+SIZE_PKG --check_and_add -S ${PKG_DBDIR}/${PKG}/+SIZE_ALL -+#check_and_add -S ${PKG_DBDIR}/${PKG}/+SIZE_ALL - check_and_add -i ${PKG_DBDIR}/${PKG}/+INSTALL - check_and_add -k ${PKG_DBDIR}/${PKG}/+DEINSTALL - check_and_add -r ${PKG_DBDIR}/${PKG}/+REQUIRE -@@ -54,7 +61,8 @@ - sed -n \ - -e '/^@comment MD5:/d' \ - -e '/^@cwd \.$/,$d' \ -- -e '/\$NetBSD/,$p' \ -+ -e '/^@srcdir /d' \ -+ -e 'p' \ - <${PKG_DBDIR}/${PKG}/+CONTENTS >$PLIST - - # Duplicate first @cwd (work around pkg_create "feature" ...) -@@ -64,9 +72,9 @@ - sed \ - -e "/`cat ${PLIST}.1 | sed 's,/,\\\\/,g'`/r${PLIST}.1" \ - <${PLIST} >${PLIST}.2 -- mv ${PLIST}.2 ${PLIST} -+ /bin/mv ${PLIST}.2 ${PLIST} - fi --rm ${PLIST}.1 -+/bin/rm ${PLIST}.1 - - # echo ----- - # cat $PLIST -@@ -76,17 +84,15 @@ - # Just for kicks ... - # pkg_admin check "${PKG}" - --pkg_create \ -+$PKG_CREATE_CMD \ - ${PKG_ARGS} \ - -v \ - -f ${PLIST} \ -- -l \ -- -p "`pkg_info -qp ${PKG} | head -1 | awk '{ print $2 }'`" \ -- -P "`pkg_info -qf ${PKG} | grep ^@pkgdep | awk '{ print $2 }'`" \ -- -C "`pkg_info -qf ${PKG} | grep ^@pkgcfl | awk '{ print $2 }'`" \ -+ -p "`$PKG_INFO_CMD -qp ${PKG} | head -1 | awk '{ print $2 }'`" \ -+ -P "`$PKG_INFO_CMD -qf ${PKG} | grep ^@pkgdep | awk '{ print $2 }'`" \ - ${PKGREPOSITORY}/${PKG}.${PKG_SUFX} - --rm -f ${PLIST} -+/bin/rm -f ${PLIST} - exit 0 - - diff --git a/sysutils/pkg_tarup/pkg-comment b/sysutils/pkg_tarup/pkg-comment deleted file mode 100644 index 13b1fbe3822b..000000000000 --- a/sysutils/pkg_tarup/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Generates binary package from installed package diff --git a/sysutils/pkg_tarup/pkg-descr b/sysutils/pkg_tarup/pkg-descr deleted file mode 100644 index 428e76096d46..000000000000 --- a/sysutils/pkg_tarup/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -Script to tar up an already installed package. - -The Script has still a problem, as the MTREE file is removed after -a pkg_add/make install. As leaving the MTREE file will lead to a -~10% increase in space needed for /var/db/pkg which I'm not sure -we should do, esp. as the files are almost always the same again. -(On my notebook with ~250 installed pkgs, the size increasement -would be from 8.8MB to 10MB). - -Author: Hubert Feyrer <hubert@feyrer.de> -WWW: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/pkgtools/pkg_tarup/ diff --git a/sysutils/pkg_tarup/pkg-plist b/sysutils/pkg_tarup/pkg-plist deleted file mode 100644 index 67155e3576fb..000000000000 --- a/sysutils/pkg_tarup/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -sbin/pkg_tarup |