./pkgtools/pkg_tarup, Generates binary package(s) from installed pkg(s)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.9.1, Package name: pkg_tarup-1.9.1, Maintainer: hubertf

Script to tar up an already installed package.

Now my question is, how can we include this? I'd prefer to have it
available from pkg_admin, but that is C, and the other is a script -
rewrite in C?

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).

Send your thoughts to me <hubertf@netbsd.org> !


Version history: (Expand)


CVS history: (Expand)


   2014-03-03 04:30:55 by OBATA Akio | Files touched by this commit (43)
Log message:
Just define PKGNAME and use it.
   2013-01-08 12:02:20 by Jonathan Perkin | Files touched by this commit (2)
Log message:
pkg_tarup-1.9.1: Remove unnecessary 'local' declaration, increases portability.
   2012-09-12 01:19:40 by Aleksej Saushev | Files touched by this commit (60)
Log message:
"user-destdir" is default these days
   2012-02-22 08:39:05 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
Update "integration" section per
http://mail-index.netbsd.org/tech-pkg/2 … 08325.html

Frm Julian Fagir in PR 46070.
   2012-01-03 13:57:20 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
Remove mtree related thoughts, they haven't been relevant for a while.
   2011-11-27 01:10:38 by Alistair G. Crooks | Files touched by this commit (1)
Log message:
allow for non-standard values of PKG_DBDIR when packaging up binary packages
   2011-03-19 10:44:17 by Thomas Klausner | Files touched by this commit (3)
Log message:
Add filebase support, allowing to choose the filename for the resulting
package; from Aleksey Cheusov in relation to PR 44698.

Bump version to 1.9.
   2009-11-05 17:22:47 by Joerg Sonnenberger | Files touched by this commit (2)
Log message:
pkg_tarup-1.8:
Do not use pkg_create -L, it is redundant for modern packages and ignored
by pkg_install-20091115.