Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dex4er/pkgutil

CSW package manager for Solaris - mirror of svn://svn.code.sf.net/p/pkgutil/code
https://github.com/dex4er/pkgutil

Last synced: 10 days ago
JSON representation

CSW package manager for Solaris - mirror of svn://svn.code.sf.net/p/pkgutil/code

Awesome Lists containing this project

README

        

PKGUTIL
=======

Pkgutil, written in Perl and licensed under GPL, is a tool to make
installation of packages in Solaris easier. It handles package
dependencies so all required packages are installed before the desired
package automatically.

Configure
---------

There's a configuration file in /opt/csw/etc/pkgutil.conf. The only thing
you normally need to change there is the mirror location. If you have a
pkgutil.conf file in /etc/opt/csw it will override the one in /opt/csw/etc
on a setting-by-setting basis. If no pkgutil.conf is found in either of
those two locations defaults are used.

Official web sites
------------------

URL: http://pkgutil.net
URL: http://sourceforge.net/projects/pkgutil

Version history
---------------

* v2.6.6. Released 2013-11-12
- Remove hardcoded paths to SVR4 package tools (Yann Rouillard)

* v2.6.5. Released 2012-08-15
- Fix bug in sparse zone detection, should not trigger
when only downloading (Dagobert Michelsen)

* v2.6.4. Released 2012-02-21
- Fix bug in --cleanup (Laurent Blume)

* v2.6.3. Released 2012-02-17
- Fix bug with using pkgcond on old Solaris versions (mikera)

* v2.6.2. Released 2012-02-04
- Make wget quiet (Dago)
- Fix bug in old (Perl 5.5.3 in Solaris 8) Getopt::Long not handling
default values for --deptree (Raboo@IRC)
- Recommend CSWcswpki in pkgutil.conf

* v2.6.1. Released 2012-01-13
- Flush pkgserv cache before using /var/sadm/install/contents (Dago)
- chkcat: algorithm for cyclic dependency checking improved, it's now
so fast that option --nocyclic is deprecated (Dago)

* v2.6. Released 2011-12-31
- Support site feature RELEASE. Cache names locally, if changed
(testing starts to point to kiel instead of dublin e.g.) an alert is
issued
- Add --catinfo option, OpenCSW #4835 (Sebastian Kayser)
- Warn about cswclassutils not in global zone when running in sparse
zone (detect read-only /usr)
- Change default mirror to http://mirror.opencsw.org/opencsw/testing
- Add /usr/perl5/bin to PATH (Dago)
- Default unlimited depth for --deptree (Sebastian)
- Use -q as default for wget (Dago)
- Document (on wiki) how to use pkgutil on Linux for downloading
- Add /usr/bin path to locate wget to ease running on Linux
- Fix typo in readme about rootpath option
- bldcat: make --param very generic, every unrecognized foo:bar means
it will be inserted into the catalog as a magic comment (# foo bar)
- bldcat: add param option including timestamp and release name

* v2.5.1. Released 2011-09-11
- Fix bug with how gpg is called (Ben Walton)

* v2.5. Released 2011-09-06
- Package is now for Solaris 9 (code still runs on Solaris 8)
- Package is now arch=all
- pkgutil, bldcat and chkcat run through perlcritic and perltidy
- Exit codes in pkgutil cleaned up. Use 0 for anything less than an error
- pkgutil resets LD_LIBRARY_PATH (Dago)
- Untaint: clear ENV variables, set PATH, almost all system calls split up
- Reverse order of current, updated and new packages (Ben Walton)
- Add option -R/--rootpath for consistency with Solaris pkg tools. Can be
used with LU (Dago)
- Add levels to --deptree
- Add package dir option (-P/--pkgdir) so doesn't have to be
/package (Mark Phillips)
- Add note about multiple mirrors in pkgutil.conf
- Add pkgrmopts in pkgutil.conf for specifying pkgrm options (Juraj Lutter)
- Fix bug with "-o -" for streams (Dago)
- bldcat: ignore i-deps when version specified in depend file (Dominic Cleal)
- bldcat: change default work dir from /tmp to /var/tmp since it's safer
(Mark Phillips)
- chkcat: add --parse option

* v2.4. Released 2011-05-15
- pkgutil: new option --cleanup. When invoked, scans for
/var/sadm/pkg/*/install/obsolete. If it finds
/var/sadm/pkg/CSWlibfoo/install/obsolete and nothing installed depends on
CSWlibfoo, then CSWlibfoo gets removed from the system
- Support key package (/etc/opt/csw/pki, /var/opt/csw/pki). Change default
homedir (Ben Walton)
- Parse option for download, incl. catalog and md5 (Maciej Blizinski)
- Include distribution (e.g. unstable) with pkgliststyle 2
- Support absolute paths in --output (Dago)
- Show last two parts of mirror path as distribution (e.g. dublin/core)
- Change default pkgliststyle to 2
- Speed up option -l with glob
- Silence "Checking integrity ..." when --parse is on (4693@OpenCSW)
- pkgutil: eval 'PATH=/opt/csw/bin:$PATH exec perl -x -w $0 ${1+"$@"}' (PCA)
- pkgutil: fix pkgask/response bug (3205333@SF) (Julian Clifton-Thompson)
- pkgutil: fix a bug in --cleanup when using --yes or auto (admin not set)
- Do not duplicate mirrors present in pkgutil.conf in both
/opt and /etc (4693@OpenCSW)
- Fix bug in hook support (Ben Walton)
- bldcat: add -q/--quiet option
- bldcat: improve support for non-CSW packages (3300709@SF) (Mark Heily)
- chkcat: add -c/--nocyclic option to skip cyclic dependency checking,
helps speed a lot
- chkcat: suppress warning exit code 1 when using --erroronly
- chkcat: multiple catalog files can be specified and checked
as a set (Maciej Blizinski)

* v2.3. Released 2011-02-12
- Add option --parse for machine parsable output. No headers are displayed
and columns are separated by a tab. Works with -a/A/c/C and --describe
- Add option -l/--list to list installed packages only with names
- When an upgrade includes pkgutil, pkgutil is always completely upgraded
before proceeding with the rest of the packages
- Exit with status 0 when comparing a single pkg not in catalog (to help
Puppet)
- Do not prompt at pkgadd error when using --yes, exit immediately instead
(Mark Bannister)
- Add deptree_filter_common (pkgutil.conf option) missing from pkgutil -V
output
- Better handle packages not in catalog (Mark Bannister)
- Add fuzzy matching as last resort when using -a
- Redirect some messages to STDERR
- Prefix debug messages with DEBUG
- Fix bug with last resort wget (Claes Lindvall)
- bldcat: play nice with old catalogs that are gpg signed (Mark Bannister)
- bldcat: do not reuse info if filename changed (Mark Bannister)
- chkcat: fix bug with gpg signed catalogs (Mark Bannister)

* v2.2. Released 2010-10-21
- Add option --deptree to display dependencies in a similar way to ptree
(3078744@SF)
- Add option -A/--compare-avail to compare catalog with local packages
(Mark Bannister)
- Add auto mode install/remove (on the fly --yes) (Ben Walton)
- New option (deptree_filter_common) in pkgutil.conf to filter out CSWcommon
from --deptree output
- Add long option name, --compare-diff, to -C (Mark Bannister)
- Add list of downloaded packages when using -d (Dago)
- Modify download list output (4530@OpenCSW) (Dago, Sebastian)
- Add info about which catalog is being gpg checked (Mark Bannister)
- Display number of loaded packages per catalog (when updating the catalog or
using debug) (Mark Bannister)
- Group install/remove output better (Dago)
- Change default URL to http://mirror.opencsw.org/opencsw/unstable
- User agent example in pkgutil.conf
- Fix bug with exit-prompt (y not default)
- More robust downloads
- Recommend CSWcoreutils instead of obsolete CSWtextutils for MD5 support
- Documentation fixes
- bldcat: improve speed with --fast option (Dago)

* v2.1. Released 2010-07-28
- Option to suppress list of current packages
- Shows number of packages, e.g. 24 CURRENT packages
- Faster checking if a package is installed
- Safe file and dir creations in pkgutil, bldcat and chkcat
- More complete support for alternate root path
- Documentation fixes
- Add mask to mkdir to restore compatibility with Perl 5.5.3 in Solaris 8
(Thomas Pawlikaniec)
- Add pkgutil to signal handler output
- Clean version fields from non-digits during compares (Mark Bannister)
- Fix detecting end of REV list during compares (Mark Bannister)
- Fix bug with packages containing dashes when using remove
- Fix bug with -x, now uses pattern just like in pkgutil.conf
- Add GNU stub to bldcat and chkcat
- bldcat: add missing -W in perldoc/man page
- bldcat: fix bug with trailing slash on package dir
- bldcat: fix bug with package dir being included in filename (Mark Bannister)

* v2.0. Released 2010-06-08
- Improve loop algorithm, improves speed (Joe Baro)
- Non-root use now use ~/.pkgutil instead of current dir
- Add support for alternate root path (4117@OpenCSW)
- Add unrecognized option message (Sebastian) (4395@OpenCSW)
- Change project-URL to pkgutil.net
- Make descriptions file missing non fatal
- Use wgetopts in pkgutil.conf for advanced wget options
like proxy settings
- Add support for the non-CSW option in pkgutil.conf
to the remove feature (2907656@SF)
- Fix for stream option (3008549@SF)
- Fix number shown when removing during upgrades
- Fix bug with exclude
- Fix bug with -N
- Fix bug with removed admin file when multiple instances are detected (Dago)
- Fix that chkcat doesn't work with non-CSW
- Improve documentation for bldcat and chkcat
- Change default in bldcat to 9 fields
- chkcat: check that CSWcommon and CSWgzip are uncompressed
- bldcat: fix bug about skipping SUNW deps
- chkcat: warn about SUNW deps
- chkcat: error when number of fields not 8 or 9

* v1.10. Released 2010-03-10
- Add -p/--param option to override configuration options
from pkgutil.conf (4045@OpenCSW)
- Add pkgutil.conf option to not cache fetching of catalogs
- Health check for gzip and wget binaries
- Added signal handling
- Making some output more consistent and copy/paste friendly
- Display the full target path when using --extract (4154@OpenCSW)
- Nicer exits should not leave stale lock files (3994@OpenCSW)
- Fix bug with -V and --config combo (4116@OpenCSW)
- Fix that option -N/--nodeps didn't work with -u/--update (4172@OpenCSW)
- Fix uninitialized value bug (4296@OpenCSW)
- Fix gpg bug with international LANG setting (4289@OpenCSW)
- Add comment about -S to not show license during install (pkgadd option)
- Fix release dates for v1.9.1 in readme and add link to Maciej's script in
readme for pkgutilplus
- Merge modified part of patch from Blastwave fork
(check exit status from pkgadd)
- Change missing dependencies from warning to error in chkcat
- Add -W/--workdir option to bldcat to set workdir (Maciej)
- Mirror-script added (to pkgutilplus) to create mirror structure,
uses bldcat (Dagobert Michelsen)

* v1.9.1. Released 2009-12-10
- cswpkgloghooks added as a dependency to pkgutilplus, adds logging of
package maintenance actions
- Maciej Blizinski's build_sun_catalog.py script added to pkgutilplus,
it builds CSW catalogs from Sun packages
- gpg homedir support (Maciej Blizinski)
- Make -a/c/C and --describe case sensitive (2908177@SF) (David Everly)
- Fix upgrade all bug (2907651@SF) (David Everly)
- Fix bug with system calls (Bartosz Trudnowski)

* v1.9. Released 2009-11-27
- Add --single (used with -c) to quickly check one package
(Maciej Blizinski)
- Add --force option to sync with mirror. You can install or update to
the version on the mirror even if your local version is newer
- Add exclude_pattern option to pkgutil.conf, use simple patterns
to exclude packages from install/upgrade (Maciej Blizinski)
- Remove all upgrade packages first (2890862@SF) (David Everly)
- Add support for response (pkgask) files (2890896@SF) (David Everly)
- Local package files can now be upgraded as well (Sebastian Kayser)
- Enhance description of noncsw option in pkgutil.conf (3990@OpenCSW)
(Sebastian Kayser)
- Default maxpkglist (loop detection) value raised to 250000 to
decrease risk of false alarm (Sebastian Kayser)
- Fix -F bug (4039@OpenCSW) (Sebastian Kayser)

* v1.8. Released 2009-10-30
- Simple pkgutil logging script included in pkgutilplus using the new hook
mechanism
- Added pre/postargproc hooks (Ben Walton)
- Support I-dependencies (remove incompatible packages) when using new
9-field catalog
- Added pre/postfetch hooks (Ben Walton)
- Install local package files, e.g. "pkgutil -i foo.pkg.gz" (Trygve Laugstol)
- Fix transform (extract) feature (3904@OpenCSW)
- Transform renamed to extract to be more generic (Sebastian Kayser)
- Extract and stream must now be used with download, e.g. "-d --stream"
- Selecting target platform is now possible for --download and
--extract, not just --stream (3914@OpenCSW) (Sebastian Kayser)
- Catalog update interval user configurable via pkgutil.conf. Set to -1
for no automatic updates, 0 for every time pkgutil is run and 1+ for
the number of days between updates. 14 would emulate current behavior
(Trygve Laugstol)
- Add support for catalog names in --listfile (3894@OpenCSW)
(Sebastian Keyser)
- Split package into core pkgutil and extension pkgutilplus
(bldcat/chkcat, more to come)
- Remove unused declaration causing noise when using -r (3903@OpenCSW)
- Fix missing options in man/perldoc page
- Add support for non-CSW packages to bldcat (2865123@SF) (David Everly)
- Switch back to default 8 field catalogs for bldcat and chkcat
- bldcat and chkcat doesn't require CSWperl, exit with helpful message if
Digest::MD5 is missing (3917@OpenCSW)

* v1.7. Released 2009-09-11
- Clarify text about config file priority (2835200@SF) (Ken Stailey)
- Add config status to --syscheck option (2855094@SF) (Dagobert Michelsen)
- Add protection against concurrent pkgutil processes (3831@OpenCSW)
- New option -N (nodeps) to skip dependencies, you get only what you
specified on the command line
- New option --transform to download and transform (unpack) packages
(Sebastian Kayser)
- New option -L (listfile) to list files in packages. Also works on package
files, you can even mix them on the command line
- New option -F (findfile) to see which package a file belongs to
- New option --describe to describe available packages
- New feature: package hooks (Ben Walton)
- Loop protection (against circular dependencies in the catalog)
- Optional new presentation of the needed packages during install/upgrade,
one package per line to enhance readability. Package list is now sorted as
well. Set pkgliststyle to 1 in pkgutil.conf
- Cyclic dependency detection added to chkcat
- Support new catalog format with added field for incompatible packages.
Use -f8 in bldcat and chkcat to use the old format

* v1.6.1. Released 2009-06-05
- Fix -y bug when upgrading pkgutil (3701@OpenCSW) (Sebastian Kayser,
Dagobert Michelsen)
- Fix order of install to ,e.g., make sure that cswclassutils
is always installed first/early (3702@OpenCSW) (Sebastian Kayser)

* v1.6. Released 2009-05-29
- Fix -T bug (3689@OpenCSW) (Sebastian Kayser)
- Fix -W bug (3688@OpenCSW) (Sebastian Kayser)
- New option -C, same as -c but only shows different versions, no more
piping to grep -v SAME (Ben Walton)
- New option --trace to debug pkgadd/pkgrm operations (#3683) (Yann Rouillard)
- Replaced some system commands with native Perl
- New option --config for using custom configuration file (Don Jackson)
- Fix size formatting
- Skip showing pkgadd patch when using -V on 5.11 (Dennis Clarke)
- Update credits in perldoc/man page
- Perldoc/man page added to both bldcat and chkcat
- chkcat now includes more tests (Derek Whayman)
- chkcat exit values are 0 for OK, 1 for warning and 2 for error
- New option -e (erroronly) added to chkcat to supress warnings
- New option -q (quiet) added to chkcat to supress all output

* v1.5. Released 2009-04-09
- Support multiple catalogs with multiple versions of each package and
selecting specific versions (Derek Whayman)
- Performance enhancements (Derek Whayman)
- Fix catalog update issue when mirror catalog is old (Ivo De Decker)
- Increased protection against broken/empty local
package files (Sebastian Kayser)
- Perldoc/man updates
- bldcat skips dependencies to the same package
- chkcat checks for packages that contain dependencies to themselves

* v1.4. Released 2009-01-19
- Dependency calculations are now much faster
- Support for local file repositories (Dennis Clarke)
- Keyword "same" when using -c replaced with "SAME" (Dennis Clarke)
- bldcat now skips SUNW packages as dependencies

* v1.3.1. Released 2008-12-17
- Small packaging bug fixed. No code changes

* v1.3. Released 2008-12-12
- New option -x (exclude) to exclude packages (Ihsan Dogan)
- New option -s (stream) to build a custom package (Dagobert Michelsen)
- New option -T (target) to set architecture and release for package
stream (-s)
- New option -o (output) names the package stream from -s (Dagobert Michelsen)
- New option -W (workdir) to set another directory to use for downloads.
Some operations are now possible without being root
- Option -f (force) renamed to -y (yes) (Dagobert Michelsen)
- Make config file more NFS/read-only friendly (Dagobert Michelsen)
- Changed default mirror from unstable to current (Dagobert Michelsen)
- Fixed bug which caused a warning to be displayed during some upgrades
- Fixed that locally cached packages are also MD5 checked (Dennis Clarke)
- PATH added to -V (syscheck) output
- Wget and Perl binaries added to -V
- Documented admin file in perldoc/man page
- Several changes in bldcat to improve speed (Dagobert Michelsen)
- bldcat supports the description file (Dagobert Michelsen)
- chkcat in verbose mode benefits from the same speed fix as in bldcat
- chkcat now checks for missing dependencies

* v1.2.1. Released 2008-11-28
- Fixes compare bug with package names containing dashes

* v1.2. Released 2008-11-12
- Temp site (-t) does no longer replace the mirror defined in pkgutil.conf.
It instead is considered the primary location and the mirror defined in
pkgutil.conf is considered the secondary. That means you can point -t to
your own repository of packages that are built with dependencies to CSW and
it will fetch all packages necessary regardless of their location
- Better MD5 support for Solaris 8 and 9
- Arguments to -a and -c are now treated like filters so
"pkgutil -a bind dhcp" equals "pkgutil -a | egrep -i 'bind|dhcp'"
- Changed version info to be -v instead of -V
- Added -V (syscheck) to show info about binaries and more that pkgutil
needs to support all features
- Perldoc/man page updated with configuration file info
- Search for gzip in more places
- fixed bug when reporting package missing in catalog (Dagobert Michelsen)
- bundled wget binaries moved to /opt/csw/libexec/pkgutil
- bldcat supports CSW_CATEGORY
- bldcat now extracts data in a more dependable way
- chkcat checks for duplicates in catalog
- chkcat with option -v checks the catalog data against actual package
files if they are located in the same directory as the catalog parsed

* v1.1. Released 2008-10-24
- Added possibility to use both common name and package name
- Added bldcat to build catalalogs from package files
- Added chkcat to check catalogs for errors
- Fix for packages that are not compressed (e.g. gzip)
- Fix for size zero local files (failed package downloads)
- Fix for gpg-checks when updating the catalog (Yann Rouillard)
- Fix for version compare code rule #3 (Yann Rouillard)
- Updated prototype for package (Dennis Clarke)

* v1.0. Released 2008-10-07
- Initial release
- Version compare method by James Lee and Dagobert Michelsen
- Tested to work on Solaris 8 with default Perl 5.5.3

--
$Id$