Permalink
Fetching contributors…
Cannot retrieve contributors at this time
425 lines (321 sloc) 10 KB
20160208
0.9.4
Check for summary updates before fetching packages.
20150818
0.9.3
Ensure we aren't copying overlapping memory regions.
Free libarchive resources after use.
Various WARNS and build cleanups.
20150817
0.9.2
Fix -Wempty-body build issue.
20150813
0.9.1
Fix off-by-one NUL handling in pkg_summary.
20150813
0.9.0
Various performance improvements from Joyent, see blog post at
<http://www.perkin.org.uk/posts/reducing-ram-usage-in-pkgin.html>
for more details.
Clean database entries correctly when changing repositories.
Support pkg_summary.xz if available.
Don't switch to parsable output when stdout isn't a tty, broke various
automation tools: NetBSDfr/pkgin#46.
20150308
bugfix: added missing dash before ffu
20150128
0.8.0
Added preferred.conf support
man page now based on ronn <http://rtomayko.github.io/ronn/ronn.1.html>
20150124
When -n is provided to pkgin ar, rm, in, fug, packages list is shown
as one package per line so it is easier to read (feature proposed
by gdt@ in GitHub issue #41)
20150122
Fixed GitHub issue #33: clean database when repository removed
20150121
Fixed some resource leakage pointed out by coverity scan
20150119
+PRESERVE packages now correctly upgraded without pkg_add -f
20150106
Dropped percentage printout if stdout is not a tty (patch by Havard
Eidnes)
Changed pkg_add -f flag with -D as suggested by Greg Troxel
20150105
Fixed an issue with meta-packages not updating pkgdb, check for
PKG_DBDIR mtime instead
20150102
Avoid deepness > 1 when checking for dependency upgrades, should fix
PR #48561
20141229
Avoid `preserved' packages to be `autoremoved'
20141228
Fixed GH issue #1, NULL PKG_PATH (which is wrong btw) makes pkgin
segfault, strcmp() secured with safe_strcmp()
Added --with-pkginstall to configure
20141223
0.7.0
Fixed GH issue #36, automatic flag no more set when a package is
installed via pkg_add(1)
Added -p (parsable) flag for 3rd party frontends
Added statistics (patch by Youri Mouton)
Package-names-containing-a-dot fix (patch by Yamamoto Takashi)
20140407
0.6.5
Multi-repo debugging, fixed packages order
20130616
0.6.4
Fixed many return codes
Large file systems fix by Filip Hajny
gcc 4.7 / unused-but-set-variable fix by Makoto Fujiwara
20130410
Migrated to github, updated website
20130131
Fixed computing of download size for local repositories (Reported by
Ignatios Souvatzis in PR#47501)
20121214
0.6.3.1
Do not exit with not enough space message when install size is negative
20121202
PR3555339@sf (stacktic)
Avoid negative speed when a download start (stacktic)
20121124
PR47196 fixed by stacktic
20121117
PR47060 fixed by stacktic
20121114
0.6.3
Added show-no-keep by orgrim
Fixed PR47192 (by stacktic)
20120801
0.6.2.2
Fixed bad size_pkg
Fixed build on platforms lacking __UNCONST
20120730
Modified default behaviour for Proceed [Y/n]
Sync wip with pkgsrc: pkgin 0.6.2
20120729
Rewrote narrow_match() using version_check() to avoid more
dirty repositories mistakes.
20120715
Preparing pkginteractive integration.
20120530
SQLite is now part of NetBSD 6.0 base, remove it from pkgin's tree.
Dependency will be added in the package.
20120528
Added SQLite build patch from sbd@
Added show-all-categories
unlink() before symlink()
20120525
Dynamically read PKG_DBDIR from pkg_admin
20120524
Do not delete repository entries if the new one is unreachable.
20120429
When a package is marked as TOREMOVE and TOUPGRADE because of a
dependency breakage during upgrade, just follow the usual upgrade
process.
20120427
Handled "no value field" for buggy packages.
20120419
Hopefuly fixed the "dirty repository" bug thanks to bapt
20120416
Added show-{pkg-,}category as requested by Julian Fagir
Added pkg-build-defs as requested by gls@
20120415
Added pkg-content and pkg-descr
Introduced pkg_infos.c to fetch remote informations
Removed -D_FILE_OFFSET_BITS=64 from Makefile and added it in fsops.c
20120414
Fire up pkgin 0.6.0
case: cleanup in summary.c (stacktic)
Packages list queries ordered differently for display and internals
20120409
pkgin 0.5.2.3
Fixed "upgrade too many packages" bug (thanks stacktic)
20111030
pkgin 0.5.2.2
Handled misordered PKGNAME/CONFLICTS
Cleaned up DELETE_REMOTE query (thanks to anhj)
20111024
pkgin 0.5.2
20111023
Various minor fixes from NetBSDfr hackathon
Moved break_depends() at the end of impact.c to avoid inconsistencies
Check for real filesystem size to be occuppied by upgrade
Check for user permissions before update_db
update_db() returns a status so we can warn simple users
introduced have_enough_rights(), fixed pkg_keep() perms
Various return codes fixed to satisfy frontends
20111016
Don't download packages when repository is a file:// scheme
Reduce verbosity when marking non-autoremovable packages
20111010
Keep going if unmet requirements are encountered and warn about
it before proceeding
20111002
Always move pkg_install on top of the "to-upgrade" list
20111001
pkgin now depends on pkgsrc's pkg_install
20110910
Many changes occured, let's make it 0.5.1
Log timestamp
Better handling of pkg_install error logs
20110907
rec_pkglist() now takes a va_list
20110906
Added "requires" and "provides" to have a closer look on packages
requirements
20110901
pkg_install's pkgdb not needed anymore for a fresh start (bsdx's idea)
20110831
Globs can now be passed as an argument for package installation, i.e.
# pkgin in 'mysql-server<5.1'
20110830
Export / import a list of packages as requested by wiz@
Operations tracing flag (-t)
20110828
Database silent migration
More flexible check_yesno()
Made pkgin in / rm yes by default
20110821
pkgin 0.5.0 in progress
One struct to rule them all (Pkglist)
Got rid of many useless lists (speed x10, literally)
Introduced FULLPKGNAME as db member, speed ups searches
unique_pkg(): no more "many versions of foo", pickup newer
20110810
Progress now shown with progressmeter from OpenSSH
20110809
Release 0.4.2.2
Cleaned up download.c
SQLite upgraded to 3.7.7.1
20110802
Release 0.4.2.1
Fixed the "too many connexions" problem with libfetch and FTP
20110306
Release 0.4.2
Moving to SF.net
Check for mark_as_automatic_installed() return code
20110301
pkgin can now upgrade pkg_install with user's approval
20110228
url_stat's size is declared as off_t, will be > SSIZE_MAX on
32 bits systems. Added a fix for this.
20110227
Added -P, print package version instead of globs in sd, srd, sfd
Added warning for repositories with 0-lenght FILE_SIZE
Added -V (verbosity) flag
Moved integer flags to uint8_t
20110221
Wiped out file.c, ftpio.c, path.c, str.c, pexec.c, pkg_io.c,
pen.c, strsep.c, lpkg.c, iterate.c
Inform about logging
20110207
Replaced naive repository arch check by MACHINE_ARCH check
20110206
Bump to SQLite 3.7.5
20110205
Added statvfs64 support
Redirect stderr to logfile while pkg_{add,delete}
20110204
Feature request: -F / force-reinstall
Feature request: PR 43049
20110130
Merged 0.4.0 to HEAD
MINIX patches from Gautam are now upstream
Re-added download-only
Makefile.in / configure.ac cleanup
Integrated some of bapt's patches
- chroot
- bandwidth calculation
20110122
pkgin 0.4.0
SQLite "Amalgamation" version is now part of the tree,
No more databases/sqlite3 dependency needed
20110120
pkgin 0.3.3.4, never say "this is the last release"
Fixed a non-critical bug: some packages were marked
for upgrade more than once.
20110119
pkgin 0.3.3.3, hopefully the last 0.3 release
Double dewey match fixed, i.e. foo>=1.2.3<3.0
Duplicate entries for remove and upgrade fixed
"Missing package in repository" case handled
20100123:
Many cleanups from stacktic
- Replaced strstr's with str{n}cmp when possible
- #ifdef'ed PROVIDES
- Queries are now const chars
20100102:
Solaris 10 support
Mac OS X support
Many cleanups from stacktic
20100101:
Many fixes by stacktic :
- Added -n (no-flag)
- Various memleaks fixed
- pkgname comparison fix
- Cleaned up trailing spaces
- Got rid of recursion !
20091206:
Added -l status flags
20091203:
autoconf support
percentage redraw fix (jmcneill)
variables cleanups (PKG_SYSCONFDIR, VARBASE) (sketch)
auto-lookup for SUMEXTS, removed options.mk (sketch)
opensolaris fixes (sketch)
repositories.conf variables substitution (tuxillo)
impact mutex (Johannes Hofmann)
SunOS 5.8 support (Mikhail T.)
20090608:
pkgin-20090608 imported to pkgsrc as pkgin-0.2.5
20090605:
Added the long awaited repositories file
${PREFIX}/etc/pkgin/repositories.conf
20090527:
Glue between keep-state and pkgdb "automatic" flag.
20090526:
pkgin now handles removal of packages when an upgrade would
break dependencies, i.e. upgrading php from version 4 to 5
will break php4-modules dependencies. Modules will be removed
before php-4 is upgraded.
20090516:
Database modification. See the MIGRATION file for details on
how to safely rebuild your database.
mtime check over pkg_summary files on repositories, don't
update pkgin database if mtime have not changed.
20090515:
Database modification, see 20090507 to rebuild it
pkgin now records local pkgdb mtime so it does not rebuild
its database when pkgdb is not updated
20090509:
Parameters have changed.
Instead of getopt()-style flags, pkgin is now using commands.
i.e.:
# pkgin install foo
# pkgin remove foo
Only -y and -h have been kept.
20090508:
pkg_dry name change !
pkg_dry is now known as pkgin
20090508:
Added -c flag, clean cache: delete all downloaded packages from
/var/db/pkg_dry/cache
20090507:
A database rebuild is needed, along with a regeneration of
the ddb_create.h header in order to support multi-repository.
Record your keepables packages :
$ pkg_dry -p|cut -d' ' -f1 > pkg_dry.keep
Remove the database
# rm -f /var/db/pkg_dry/pkg_dry.db
Set the PKG_REPOS variable to your repository(ies) :
# PKG_REPOS=ftp://ftp.fr.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.0/All
# export PKG_REPOS
Rebuild pkg_dry
$ rm -f ddb_create.h
$ make
Regenerate the database
# pkg_dry -u
Mark your keepables packages
# for pkg in `cat pkg_dry.keep`; do pkg_dry -k $pkg; done