Index: head/misc/Makefile =================================================================== --- head/misc/Makefile (revision 34084) +++ head/misc/Makefile (revision 34085) @@ -1,166 +1,167 @@ # $FreeBSD$ # SUBDIR += 221upgrade SUBDIR += 222upgrade SUBDIR += 225upgrade SUBDIR += 227upgrade SUBDIR += 30upgrade SUBDIR += 31upgrade SUBDIR += 32upgrade SUBDIR += 34upgrade SUBDIR += 40upgrade SUBDIR += 41upgrade SUBDIR += 44bsd-more SUBDIR += Howto SUBDIR += aclgen SUBDIR += acron SUBDIR += alevt SUBDIR += amanda SUBDIR += amanda24 SUBDIR += asbutton SUBDIR += astrolog SUBDIR += bb SUBDIR += bbjd SUBDIR += biblereader SUBDIR += bidwatcher SUBDIR += bogosort SUBDIR += bottlerocket SUBDIR += boxes SUBDIR += brs SUBDIR += buffer SUBDIR += cassowary SUBDIR += chord SUBDIR += cmatrix SUBDIR += colorls SUBDIR += colortail SUBDIR += crosspad SUBDIR += cstream SUBDIR += cwish SUBDIR += deco SUBDIR += dejagnu SUBDIR += delay SUBDIR += diction SUBDIR += display SUBDIR += dnetc SUBDIR += dog SUBDIR += dotfile SUBDIR += estic SUBDIR += ewipe SUBDIR += ezload SUBDIR += fd SUBDIR += felis SUBDIR += fep SUBDIR += figlet SUBDIR += findutils SUBDIR += fortuneit SUBDIR += freedialog SUBDIR += geekcode SUBDIR += git SUBDIR += gnomepm SUBDIR += gnomeusersguide SUBDIR += gnomeutils SUBDIR += gnuls SUBDIR += gone SUBDIR += gplbp SUBDIR += grdb SUBDIR += grun SUBDIR += gtkfind SUBDIR += gtl SUBDIR += gwhich SUBDIR += hello SUBDIR += heyu SUBDIR += iselect SUBDIR += jargon SUBDIR += jive SUBDIR += kcd SUBDIR += kdeutils11 SUBDIR += kdeutils11-i18n SUBDIR += kdeutils2 SUBDIR += kdirstat SUBDIR += kp SUBDIR += kwatch SUBDIR += lc SUBDIR += less SUBDIR += lifelines SUBDIR += lile SUBDIR += logsurfer SUBDIR += lv SUBDIR += magicpoint SUBDIR += man.el SUBDIR += mc SUBDIR += mgp-mode.el SUBDIR += mmv SUBDIR += most SUBDIR += moviedb SUBDIR += mshell SUBDIR += muuz SUBDIR += nsf SUBDIR += numchar SUBDIR += nwrite SUBDIR += orville-write SUBDIR += p5-Array-PrintCols SUBDIR += p5-Business-CreditCard SUBDIR += p5-File-CounterFile SUBDIR += p5-I18N-Charset SUBDIR += p5-I18N-LangTags SUBDIR += p5-LEGO-RCX SUBDIR += p5-Locale-Codes SUBDIR += peq SUBDIR += pdmenu SUBDIR += pinfo + SUBDIR += pkg_tarup SUBDIR += porteasy SUBDIR += proxyper SUBDIR += py-distutils SUBDIR += qclock SUBDIR += qhacc SUBDIR += quotes SUBDIR += quranref SUBDIR += rfc SUBDIR += rpm SUBDIR += rpm2cpio SUBDIR += rtfm SUBDIR += screen SUBDIR += scriptkit SUBDIR += seizedesktop SUBDIR += sh-utils SUBDIR += sls SUBDIR += sma SUBDIR += snowflake SUBDIR += splitvt SUBDIR += sshbuddy SUBDIR += tcb SUBDIR += team SUBDIR += tet SUBDIR += tkcron SUBDIR += tkinfo SUBDIR += tkman SUBDIR += tkregexp SUBDIR += tkrunit SUBDIR += uk-phone SUBDIR += uk-postcodes SUBDIR += unclutter SUBDIR += upclient SUBDIR += us-zipcodes SUBDIR += vbidecode SUBDIR += vera SUBDIR += videotext SUBDIR += viz SUBDIR += whichman SUBDIR += wmcp SUBDIR += wmmand SUBDIR += wmstock SUBDIR += wmweather SUBDIR += xd SUBDIR += xdelta SUBDIR += xenmenu SUBDIR += xgas SUBDIR += xless SUBDIR += xpns SUBDIR += xquote SUBDIR += xtail SUBDIR += xtar SUBDIR += yaunc SUBDIR += ytree .include Property changes on: head/misc/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.299 \ No newline at end of property +1.300 \ No newline at end of property Index: head/misc/pkg_tarup/Makefile =================================================================== --- head/misc/pkg_tarup/Makefile (nonexistent) +++ head/misc/pkg_tarup/Makefile (revision 34085) @@ -0,0 +1,28 @@ +# New ports collection makefile for: pkg_tarup +# Date created: 21 Sep 2000 +# Whom: Akinori MUSHA aka knu +# +# $FreeBSD$ +# + +PORTNAME= pkg_tarup +PORTVERSION= 1.2 +CATEGORIES= misc +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 Property changes on: head/misc/pkg_tarup/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/misc/pkg_tarup/distinfo =================================================================== --- head/misc/pkg_tarup/distinfo (nonexistent) +++ head/misc/pkg_tarup/distinfo (revision 34085) @@ -0,0 +1 @@ +MD5 (pkg_tarup?rev=1.2&content-type=text%2fplain) = 48d0cf4c993994938671f62157f79a28 Property changes on: head/misc/pkg_tarup/distinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/misc/pkg_tarup/files/patch-aa =================================================================== --- head/misc/pkg_tarup/files/patch-aa (nonexistent) +++ head/misc/pkg_tarup/files/patch-aa (revision 34085) @@ -0,0 +1,62 @@ +--- pkg_tarup.orig Wed May 17 01:02:05 2000 ++++ pkg_tarup Thu Sep 21 15:00:35 2000 +@@ -11,17 +11,20 @@ + PKG_SUFX=${PKG_SUFX:-tgz} + + 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 -e "$PKG" ++then ++ echo $PKG is not installed. ++ exit 1 ++fi + ++echo "Taring up $PKG" + + check_and_add() { + opt="$1" +@@ -40,10 +43,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 +57,7 @@ + sed -n \ + -e '/^@comment MD5:/d' \ + -e '/^@cwd \.$/,$d' \ +- -e '/\$NetBSD/,$p' \ ++ -e 'p' \ + <${PKG_DBDIR}/${PKG}/+CONTENTS >$PLIST + + # Duplicate first @cwd (work around pkg_create "feature" ...) +@@ -80,10 +83,8 @@ + ${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 }'`" \ + ${PKGREPOSITORY}/${PKG}.${PKG_SUFX} + + rm -f ${PLIST} Property changes on: head/misc/pkg_tarup/files/patch-aa ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/misc/pkg_tarup/pkg-comment =================================================================== --- head/misc/pkg_tarup/pkg-comment (nonexistent) +++ head/misc/pkg_tarup/pkg-comment (revision 34085) @@ -0,0 +1 @@ +Generates binary package from installed package Property changes on: head/misc/pkg_tarup/pkg-comment ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/misc/pkg_tarup/pkg-descr =================================================================== --- head/misc/pkg_tarup/pkg-descr (nonexistent) +++ head/misc/pkg_tarup/pkg-descr (revision 34085) @@ -0,0 +1,11 @@ +Script to tar up an already instaled 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 +WWW: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/pkgtools/pkg_tarup/ Property changes on: head/misc/pkg_tarup/pkg-descr ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/misc/pkg_tarup/pkg-plist =================================================================== --- head/misc/pkg_tarup/pkg-plist (nonexistent) +++ head/misc/pkg_tarup/pkg-plist (revision 34085) @@ -0,0 +1 @@ +sbin/pkg_tarup Property changes on: head/misc/pkg_tarup/pkg-plist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/sysutils/pkg_tarup/Makefile =================================================================== --- head/sysutils/pkg_tarup/Makefile (nonexistent) +++ head/sysutils/pkg_tarup/Makefile (revision 34085) @@ -0,0 +1,28 @@ +# New ports collection makefile for: pkg_tarup +# Date created: 21 Sep 2000 +# Whom: Akinori MUSHA aka knu +# +# $FreeBSD$ +# + +PORTNAME= pkg_tarup +PORTVERSION= 1.2 +CATEGORIES= misc +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 Property changes on: head/sysutils/pkg_tarup/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/sysutils/pkg_tarup/distinfo =================================================================== --- head/sysutils/pkg_tarup/distinfo (nonexistent) +++ head/sysutils/pkg_tarup/distinfo (revision 34085) @@ -0,0 +1 @@ +MD5 (pkg_tarup?rev=1.2&content-type=text%2fplain) = 48d0cf4c993994938671f62157f79a28 Property changes on: head/sysutils/pkg_tarup/distinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/sysutils/pkg_tarup/files/patch-aa =================================================================== --- head/sysutils/pkg_tarup/files/patch-aa (nonexistent) +++ head/sysutils/pkg_tarup/files/patch-aa (revision 34085) @@ -0,0 +1,62 @@ +--- pkg_tarup.orig Wed May 17 01:02:05 2000 ++++ pkg_tarup Thu Sep 21 15:00:35 2000 +@@ -11,17 +11,20 @@ + PKG_SUFX=${PKG_SUFX:-tgz} + + 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 -e "$PKG" ++then ++ echo $PKG is not installed. ++ exit 1 ++fi + ++echo "Taring up $PKG" + + check_and_add() { + opt="$1" +@@ -40,10 +43,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 +57,7 @@ + sed -n \ + -e '/^@comment MD5:/d' \ + -e '/^@cwd \.$/,$d' \ +- -e '/\$NetBSD/,$p' \ ++ -e 'p' \ + <${PKG_DBDIR}/${PKG}/+CONTENTS >$PLIST + + # Duplicate first @cwd (work around pkg_create "feature" ...) +@@ -80,10 +83,8 @@ + ${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 }'`" \ + ${PKGREPOSITORY}/${PKG}.${PKG_SUFX} + + rm -f ${PLIST} Property changes on: head/sysutils/pkg_tarup/files/patch-aa ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/sysutils/pkg_tarup/pkg-comment =================================================================== --- head/sysutils/pkg_tarup/pkg-comment (nonexistent) +++ head/sysutils/pkg_tarup/pkg-comment (revision 34085) @@ -0,0 +1 @@ +Generates binary package from installed package Property changes on: head/sysutils/pkg_tarup/pkg-comment ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/sysutils/pkg_tarup/pkg-descr =================================================================== --- head/sysutils/pkg_tarup/pkg-descr (nonexistent) +++ head/sysutils/pkg_tarup/pkg-descr (revision 34085) @@ -0,0 +1,11 @@ +Script to tar up an already instaled 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 +WWW: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/pkgtools/pkg_tarup/ Property changes on: head/sysutils/pkg_tarup/pkg-descr ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/sysutils/pkg_tarup/pkg-plist =================================================================== --- head/sysutils/pkg_tarup/pkg-plist (nonexistent) +++ head/sysutils/pkg_tarup/pkg-plist (revision 34085) @@ -0,0 +1 @@ +sbin/pkg_tarup Property changes on: head/sysutils/pkg_tarup/pkg-plist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property