The NetBSD Project

CVS log for pkgsrc/pkgtools/pkg/Makefile

[BACK] Up to [] / pkgsrc / pkgtools / pkg

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.28 / (download) - annotate - [select for diffs], Mon Sep 21 03:03:55 2020 UTC (5 months, 1 week ago) by khorben
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, HEAD
Changes since 1.27: +2 -3 lines
Diff to previous 1.27 (colored)

pkg: update to version

Changes from pkg to
- Sort fts traversal in repo creation
- Fix floating pint exception when packaging packages with weird elf files
- More test cases for config merge
- Fix running the testsuite on linux and osx
- Fix pkg version regarding flavors
- Add support for creating packages with a hash in their names
- Accept DT_SONAME anywhere in .dynamic
- make pkg version -r imply -R
- Some fixes for the progression display
- Rename some variables in security periodic scripts.
- Parse FreeBSD OS version and forbid to install too new packages

Changes from pkg to
- Lots of fixes/improvements on periodic scripts
- Fix typo in the .pc file
- Only check for origin if the strings contains / in pkg version
- Support flags when exporting the metalog
- Ignore flags when installing as a user
- fix again using pattern as package arch
- recognize armv7
- add %q to pkg_printf(3) and pkg-query(8) to print altabi
- add an extra line when printing pkg-messages to improve readability
- stop considering nfs as dangerous and if a corruption happens on nfs drive
  by a message the user to the highly possible reason of the corruption so
  he can fix
- zsh completion imrpovements

Changes from pkg to
- pkg clean is now happy if the cache dir non existing
- 410.pkg-audit now uses anticongestion on freebsd 12
- fix pkg install -r foo if foo is a disabled repository
- fix elf handling on non FreeBSD
- fix support for platforms without AT_SYMLINK_NOFOLLOW
- fix dropping privileges on Linux
- fix build with recent libbsd
- fix duplicate pkg registration overwriting the existing pkg
- better ABI name on linux
- lots of changes in internal API to use fd when possible
- removed option: pkg repo -L

Changes from pkg 1.10
- Use dep_formula in the solver
- Cache pw result to avoid over reloading nssswitch.conf
- Remove pkg2ng and support for pkg_ databases

Revision 1.27 / (download) - annotate - [select for diffs], Fri Apr 10 23:46:14 2020 UTC (10 months, 2 weeks ago) by khorben
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

pkg: update to version

The changes since version 1.99.9 appear to be:

- New pkg upgrade --vulnerable

Revision 1.26 / (download) - annotate - [select for diffs], Fri Apr 10 23:38:50 2020 UTC (10 months, 2 weeks ago) by khorben
Branch: MAIN
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored)

pkg: update to version 1.99.9

The changes since version 1.99.4 appear to be:

- Fix pkg register issues with some version of libarchive:
  * hardlinks not being made hardlinks sometime
  * issues when PREFIX is a symlink to another directory
- Use portable mechanism to find the number of CPUs which allows pkg repo to be
  faster on linux

Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 10 23:28:32 2020 UTC (10 months, 2 weeks ago) by khorben
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

pkg: fix build with developer checks enabled

This adds a patch to fix a portability check.


Revision 1.24 / (download) - annotate - [select for diffs], Sat Sep 7 23:30:45 2019 UTC (17 months, 3 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.23: +3 -1 lines
Diff to previous 1.23 (colored)

pkg: needs pthreads.

fixes build on netbsd-9.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jul 4 13:40:32 2018 UTC (2 years, 7 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jan 27 19:07:47 2018 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

pkgtools/*: Realign variables in Makefiles

Mainly done by pkglint, manually reviewed and improved in some few cases.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Aug 19 00:24:13 2017 UTC (3 years, 6 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.20: +4 -1 lines
Diff to previous 1.20 (colored)

pkgtools/pkg: Install manpages into ${PKGMANDIR}.

Pass "mandir=..." when running "make install" to pass the correct
location for installed manpages under ${PKGMANDIR}.

Revision 1.20 / (download) - annotate - [select for diffs], Mon May 29 11:09:46 2017 UTC (3 years, 9 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

Recursive revision bump for archivers/libarchive.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 21 14:04:35 2016 UTC (4 years, 3 months ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

pkgtools/pkg: Upgrade version => 1.99.4

- Add progress when fetching (number of files to fetch)
- Improved messages about locked packages
- Return 1 when a user rejects the proposed plan
- When dealing with configuration files '@config' never overwrites
  untracked files
- Warn everyone about deprecation of @dirrm and @exec
- Deduplicate metadata loading code
- pkg register now understands context aware messages

Revision 1.18 / (download) - annotate - [select for diffs], Sun Nov 20 01:18:46 2016 UTC (4 years, 3 months ago) by marino
Branch: MAIN
Changes since 1.17: +2 -12 lines
Diff to previous 1.17 (colored)

pkgtools/pkg: Upgrade version 1.8.7 =>

This is a development version, but it contains many fixes for NetBSD and
Linux.  It's better than the release version here.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Nov 18 14:10:18 2016 UTC (4 years, 3 months ago) by marino
Branch: MAIN
Changes since 1.16: +5 -1 lines
Diff to previous 1.16 (colored)

pkgtools/pkg: Fix build on recent NetBSD 7.99

After the binutils import, the RPATH is not getting set on -current
versions of NetBSD.  This BUILDLINK_TRANSFORM from wiz should resolve
that issue.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Nov 15 17:48:56 2016 UTC (4 years, 3 months ago) by marino
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

pkgtools/pkg: Ensure funopen prototypes are imported on libfetch's ftp.c

This is similar to recent fix on http.c

Revision 1.15 / (download) - annotate - [select for diffs], Tue Nov 15 15:42:21 2016 UTC (4 years, 3 months ago) by marino
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

pkgtools/pkg: Follow recent PKG_DBDIR changes in bootstrap script

The default for PKG_DBDIR changed from /var/db/pkg to ${LOCALBASE}/pkgdb
Accordingly, the pkgng location is changing from /var/db/pkgng to

Revision 1.14 / (download) - annotate - [select for diffs], Mon Nov 14 19:38:11 2016 UTC (4 years, 3 months ago) by marino
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

pkgtools/pkg: Bump PKGREVISION after previous commit

Revision 1.13 / (download) - annotate - [select for diffs], Mon Nov 14 18:59:12 2016 UTC (4 years, 3 months ago) by marino
Branch: MAIN
Changes since 1.12: +50 -15 lines
Diff to previous 1.12 (colored)

pkgtools/pkg: bring in most of pkgsrc-synth improvements

Several updates in pkgsrc-synth work are applicable to pkgtools/pkg so
let's bring them in.  Some changes:

1) fetching segfault fixed
2) change VULNXML URL from FreeBSD ports to pkgsrc version
3) Fix vulnerability report URLs (404) to valid ones (
4) Add ability to build debuggable version
5) Fix PKG_DBDIR default setting for pkg (honor mk.conf)
6) Fix another segfault on NetBSD when pkg(8) attempts to read elfhints.
   This is only valid on FreeBSD and DragonFly, so bring in upstream
   fix to block on other platforms.
7) Set as BOOTSTRAP_PKG and block USE_CWRAPPERS for bootstrap reasons
8) realign SUBST* definitions

Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 28 23:37:53 2016 UTC (4 years, 4 months ago) by marino
Branch: MAIN
Changes since 1.11: +6 -1 lines
Diff to previous 1.11 (colored)

pkgtools/pkg: fix installation of conf files (better)

Use of OWN_DIRS alleviates use of @pkgdir.  Thanks to jperkins
and ultimately wiz for the suggestion.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Oct 28 19:35:30 2016 UTC (4 years, 4 months ago) by marino
Branch: MAIN
Changes since 1.10: +8 -19 lines
Diff to previous 1.10 (colored)

pkgtools/pkg: fix installation of conf files

The CONF_FILES are never installed if their target directories don't
already exist due to other previous installation.  This adds several
@pkgdir entries to ensure the CONF_FILES installation can always succeed.

While here, simplify the post-install target.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 28 15:35:08 2016 UTC (4 years, 4 months ago) by marino
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

pkgtools/pkg: Honor existing PKG_DBDIR definition

Rather than defaulting to /var/db/pkgng, use the variable that exists
already for this purpose.  Similarly, change cache directory definition
from /var/cache/pkgng to ${VARBASE}/cache/pkgng

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 27 13:22:44 2016 UTC (4 years, 4 months ago) by marino
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

pkgtools/pkg: Allow PORTSDIR to be specified

As pointed out by jperkins, defaulting to builder's setting for PKGSRCDIR
for the sources isn't aways correct for the binary package consumers.
This is not a problem unique to pkgtools/pkg and really requires a system-
wide solution.  Until there is such a global variable, rename the PORTSDIR
variable to PKG.portsdir and allow it to be modified by e.g. make.conf.

In the case of pkg, PORTSDIR just refers to a default configuration
location which is overridable by a configuration file.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 27 00:24:58 2016 UTC (4 years, 4 months ago) by khorben
Branch: MAIN
Changes since 1.7: +46 -1 lines
Diff to previous 1.7 (colored)

Import the second part of a patch from John Marino

- fixes the "/usr/ports" paths in code and man pages to
  ${PKGSRCDIR} (normal) or hardcoded to "/usr/pkgsrc" (future, its for
  builders like Synth and poudriere)
- changes default DB path from "/var/db/pkg" to "/var/db/pkgng". It
  seems the original default was too ambiguous as "pkg" is used
  everywhere in pkgsrc and it's the default format (not pkgng format)
- similarly, changes default CACHE patch from "/var/cache/pkg" to
- bumps PKGREVISION again

Another relevant comment from John and reworded by myself for context:
(all misquotings mine)

« Importantly, FreeBSD, NetBSD, and DragonFly all provide libarchive
in base. Therefore, this changes the port to use the base version when
available because the libarchive requirement is considered heavy. The
OpenSSL dependency brings a lot with, including perl. When trying to
update the bootstrap to build pkgng instead of pkg_* tools, it is
critical that the dependencies remain low. Other platforms will have
to suffer with the libarchive requirement if they want to use pkgng.

Following this, special linking code is needed for DragonFly since the
SSL libraries are now private. In fact, the only userland program
allowed to link with them is pkg(8) for bootstrapping reasons listed
above. »

Thanks again!

Revision 1.7 / (download) - annotate - [select for diffs], Thu Oct 27 00:06:54 2016 UTC (4 years, 4 months ago) by khorben
Branch: MAIN
Changes since 1.6: +5 -4 lines
Diff to previous 1.6 (colored)

Improve the most trivial parts of a patch from John Marino

This does:
- remove the requirement for C++ (there is no C++ code there)
- properly substitute $PKGSRCDIR for PORTSDIR
- remove sbin/pkg2ng as it is inapplicable for pkgsrc
- bump PKGREVISION accordingly

More changes pending...

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 25 12:54:37 2016 UTC (4 years, 4 months ago) by khorben
Branch: MAIN
Changes since 1.5: +1 -5 lines
Diff to previous 1.5 (colored)

Remove outdated dependencies

From John Marino, thanks!

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 25 11:51:40 2016 UTC (4 years, 4 months ago) by khorben
Branch: MAIN
Changes since 1.4: +8 -9 lines
Diff to previous 1.4 (colored)

Use the official release instead of the GitHub tree

This also adds two patches, to fix the "major OS upgrade detected" error
in NetBSD. A file missing from the original archive was imported too.

Bump package revision as the upstream was changed. The archive downloaded
has a different filename, so there should be no conflict in the
"distfiles" folder.

From John Marino, thanks!

Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 27 21:57:05 2016 UTC (4 years, 6 months ago) by khorben
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored)

Package pkg 1.8.7

For 1.8.0:

New features:
- new vital flag that prevent from removing a package with pkg delete when not specifying -f
- upgrade process now has atomicity per packages meaning now we can safely check the return of the pre* scripts
- handle ctrl-c during upgrade/install/update
- solver improvements
- pkg clean now runs in a capsicum sandbox on supported plateforms

- pkg delete now fails if one tries to delete it (the pkg package) without -f. Before it was just warning and skipping it
- pkg install --from-root has been renamed pkg install --recursive to avoir confusion

- correctly handle hardlinked setuid files
- better handling of setuid
- fix elf analysis when some bad libraries have SONAME specified by empty
- fix elf analysis when a binary provides elf_notes but not the expected ones and are still valid freebsd binaries
  (this fixes the case when libgdk_pixbuf was not found as a provided lib on i386)
- NAMESERVER option is now working again and inputs are better checked
- lots of bug fixes: potential leaks mostly

For 1.7.0:

- Support new "vital" notion: prevent from implicit deletion
- Improved support for OpenBSD/bitrig (still lacks some functions in libc)
- Improved ZSH completion
- Updated libucl
- Lots of fixes in error messages
- Fixed "pkg lock" handling
- Allow to specify "inline" respositories in pkg.conf
- ipv6 fixes
- Allow to restrict the accepted url schemes
- More commands supports "-q"
- Multiple bug fixes
- As usual multiple new bugs
- Improved support for shlibs dependency generation when packaging base via ALLOW_BASE_SHLIBES

For 1.6.0:
- Lots of improvements in the solver (in particular fixes the case like the
  recent jpeg upgrade)
- Lots of fixes in the 3 way merge code
- pkg add can now work without a version specified in the dependency line
- pkg check -d now also check the required libraries
- Improved support for partial upgrades
- Improved zsh completion support
- Improved linux support (now all regression tests passes on linux)
- Messages can now be context aware: (only print a given message during
  installation, upgrade - version aware -, removal, or always)
- @keywords now accepts new entries to add context aware messages
- Add the ability to generate graphiz's dot format representation of the
  solver's problem
- pkg search now default on showing the comments of of the matched packages
- Lots of bug fixes and code cleanup
- Plenty of new bugs

Revision 1.3 / (download) - annotate - [select for diffs], Sat Aug 27 21:10:59 2016 UTC (4 years, 6 months ago) by khorben
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Update pkg to version 1.5.6

From the commit log, since 1.5.4:
- More fixes to pkg-check.8
- Important improvements in the pkg check manpage
- HBSD: fix format specifier in libpkg's pkg_vets(...)
- Fix libexpat buffer overflow: CVE-2015-1283
- Always use sqlite3_column_int64 for reading integers from the db
- Add a new configuration item to define custom HTTP User-Agent
- Don't attempt to set file ownership when INSTALL_AS_USER is set
- zsh-completion: updated all of the currently handled subcommands
- Fix typo s/conpact/compact/
- Fix two typos in pkg_vset(), to correspond to pkg_vget()'s code
- Implement AUTOCLEAN
- Clean up some grammar and formatting in pkg.conf(5).
- Update zsh completion
- Do not distribute generated source files
- Add a random delay to pkg-audit when invoked without a TTY
- Fix display of <root directory>

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 1 17:55:23 2016 UTC (4 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

The recent libarchive update changed the library major.  Increase the
ABI depends and perform a PKGREVISION bump for dependents.

Noticed by OSX binary package users.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 4 14:37:25 2015 UTC (5 years, 7 months ago) by khorben
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3

Import wip/pkg15 as pkgtools/pkg

pkg is built on top of libpkg, a new library to interface with package
registration backends. It abstracts package management details such as
registration, remote repositories, package creation, updating, etc.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>