Mon Sep 21 03:03:55 2020 UTC ()
pkg: update to version 1.10.99.7

Changes from pkg 1.10.99.6 to 1.10.99.7
- 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 1.10.99.5 to 1.10.99.6
- 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 1.10.99.4 to 1.10.99.5
- 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


(khorben)
diff -r1.27 -r1.28 pkgsrc/pkgtools/pkg/Makefile
diff -r1.7 -r1.8 pkgsrc/pkgtools/pkg/PLIST
diff -r1.14 -r1.15 pkgsrc/pkgtools/pkg/distinfo

cvs diff -r1.27 -r1.28 pkgsrc/pkgtools/pkg/Makefile (expand / switch to unified diff)

--- pkgsrc/pkgtools/pkg/Makefile 2020/04/10 23:46:14 1.27
+++ pkgsrc/pkgtools/pkg/Makefile 2020/09/21 03:03:55 1.28
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.27 2020/04/10 23:46:14 khorben Exp $ 1# $NetBSD: Makefile,v 1.28 2020/09/21 03:03:55 khorben Exp $
2 2
3DISTNAME= pkg-1.9.99.11 3DISTNAME= pkg-1.10.99.7
4CATEGORIES= pkgtools 4CATEGORIES= pkgtools
5MASTER_SITES= http://files.etoilebsd.net/pkg/ 5MASTER_SITES= http://files.etoilebsd.net/pkg/
6EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
7 7
8MAINTAINER= khorben@defora.org 8MAINTAINER= khorben@defora.org
9HOMEPAGE= https://wiki.freebsd.org/pkgng 9HOMEPAGE= https://wiki.freebsd.org/pkgng
10COMMENT= Package management tool for FreeBSD 10COMMENT= Package management tool for FreeBSD
11LICENSE= 2-clause-bsd 11LICENSE= 2-clause-bsd
12 12
13BOOTSTRAP_PKG= yes 13BOOTSTRAP_PKG= yes
14GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
15USE_CWRAPPERS= no 15USE_CWRAPPERS= no
16USE_LANGUAGES= c 16USE_LANGUAGES= c
@@ -115,27 +115,26 @@ post-patch: @@ -115,27 +115,26 @@ post-patch:
115 -e 's|lssl|lprivate_ssl|' \ 115 -e 's|lssl|lprivate_ssl|' \
116 -e 's|lcrypto|lprivate_crypto|' \ 116 -e 's|lcrypto|lprivate_crypto|' \
117 -e 's|la_rpath = |la_rpath = -R/lib/priv |' \ 117 -e 's|la_rpath = |la_rpath = -R/lib/priv |' \
118 ${WRKSRC}/libpkg/Makefile.in \ 118 ${WRKSRC}/libpkg/Makefile.in \
119 ${WRKSRC}/src/Makefile.in \ 119 ${WRKSRC}/src/Makefile.in \
120 ${WRKSRC}/tests/Makefile.in 120 ${WRKSRC}/tests/Makefile.in
121 ${SED} -i.bak \ 121 ${SED} -i.bak \
122 -e '/OS_CFLAGS=/ s|SOURCE|SOURCE -I/usr/include/priv|' \ 122 -e '/OS_CFLAGS=/ s|SOURCE|SOURCE -I/usr/include/priv|' \
123 -e '/OS_LDFLAGS=/ s|=|="-L/usr/lib/priv -R/lib/priv"|' \ 123 -e '/OS_LDFLAGS=/ s|=|="-L/usr/lib/priv -R/lib/priv"|' \
124 ${WRKSRC}/configure 124 ${WRKSRC}/configure
125.endif 125.endif
126 126
127post-install: 127post-install:
128 ${RM} ${DESTDIR}${PREFIX}/sbin/pkg2ng 
129 ${RM} -rf ${DESTDIR}${EGDIR}/periodic 128 ${RM} -rf ${DESTDIR}${EGDIR}/periodic
130 ${MV} ${DESTDIR}${PREFIX}/etc/bash_completion.d \ 129 ${MV} ${DESTDIR}${PREFIX}/etc/bash_completion.d \
131 ${DESTDIR}${EGDIR}/ 130 ${DESTDIR}${EGDIR}/
132 ${MV} ${DESTDIR}${PREFIX}/etc/periodic \ 131 ${MV} ${DESTDIR}${PREFIX}/etc/periodic \
133 ${DESTDIR}${EGDIR}/ 132 ${DESTDIR}${EGDIR}/
134 ${MV} ${DESTDIR}${PREFIX}/etc/pkg.conf.sample \ 133 ${MV} ${DESTDIR}${PREFIX}/etc/pkg.conf.sample \
135 ${DESTDIR}${EGDIR}/ 134 ${DESTDIR}${EGDIR}/
136 135
137.include "../../mk/bsd.prefs.mk" 136.include "../../mk/bsd.prefs.mk"
138 137
139.if defined (PKG_DBDIR) 138.if defined (PKG_DBDIR)
140PKGNG_DBDIR?= ${PKG_DBDIR} 139PKGNG_DBDIR?= ${PKG_DBDIR}
141.else 140.else

cvs diff -r1.7 -r1.8 pkgsrc/pkgtools/pkg/PLIST (expand / switch to unified diff)

--- pkgsrc/pkgtools/pkg/PLIST 2016/10/28 23:39:10 1.7
+++ pkgsrc/pkgtools/pkg/PLIST 2020/09/21 03:03:55 1.8
@@ -1,32 +1,31 @@ @@ -1,32 +1,31 @@
1@comment $NetBSD: PLIST,v 1.7 2016/10/28 23:39:10 marino Exp $ 1@comment $NetBSD: PLIST,v 1.8 2020/09/21 03:03:55 khorben Exp $
2include/pkg.h 2include/pkg.h
3lib/libpkg.la 3lib/libpkg.la
4lib/libpkg_static.la 4lib/libpkg_static.la
5libdata/pkgconfig/pkg.pc 5libdata/pkgconfig/pkg.pc
6man/man3/pkg_printf.3 6man/man3/pkg_printf.3
7man/man3/pkg_repos.3 7man/man3/pkg_repos.3
8man/man5/pkg-repository.5 8man/man5/pkg-repository.5
9man/man5/pkg.conf.5 9man/man5/pkg.conf.5
10man/man8/pkg-add.8 10man/man8/pkg-add.8
11man/man8/pkg-alias.8 11man/man8/pkg-alias.8
12man/man8/pkg-annotate.8 12man/man8/pkg-annotate.8
13man/man8/pkg-audit.8 13man/man8/pkg-audit.8
14man/man8/pkg-autoremove.8 14man/man8/pkg-autoremove.8
15man/man8/pkg-backup.8 15man/man8/pkg-backup.8
16man/man8/pkg-check.8 16man/man8/pkg-check.8
17man/man8/pkg-clean.8 17man/man8/pkg-clean.8
18man/man8/pkg-config.8 18man/man8/pkg-config.8
19man/man8/pkg-convert.8 
20man/man8/pkg-create.8 19man/man8/pkg-create.8
21man/man8/pkg-delete.8 20man/man8/pkg-delete.8
22man/man8/pkg-fetch.8 21man/man8/pkg-fetch.8
23man/man8/pkg-info.8 22man/man8/pkg-info.8
24man/man8/pkg-install.8 23man/man8/pkg-install.8
25man/man8/pkg-lock.8 24man/man8/pkg-lock.8
26man/man8/pkg-query.8 25man/man8/pkg-query.8
27man/man8/pkg-register.8 26man/man8/pkg-register.8
28man/man8/pkg-remove.8 27man/man8/pkg-remove.8
29man/man8/pkg-repo.8 28man/man8/pkg-repo.8
30man/man8/pkg-rquery.8 29man/man8/pkg-rquery.8
31man/man8/pkg-search.8 30man/man8/pkg-search.8
32man/man8/pkg-set.8 31man/man8/pkg-set.8

cvs diff -r1.14 -r1.15 pkgsrc/pkgtools/pkg/distinfo (expand / switch to unified diff)

--- pkgsrc/pkgtools/pkg/distinfo 2020/04/10 23:46:14 1.14
+++ pkgsrc/pkgtools/pkg/distinfo 2020/09/21 03:03:55 1.15
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.14 2020/04/10 23:46:14 khorben Exp $ 1$NetBSD: distinfo,v 1.15 2020/09/21 03:03:55 khorben Exp $
2 2
3SHA1 (pkg-1.9.99.11.tar.xz) = f6ffb976b66e322f3f0069f151d893043c2ba8cb 3SHA1 (pkg-1.10.99.7.tar.xz) = b233bbe0cef4f31f19ec56c75be2c0e43652dbf8
4RMD160 (pkg-1.9.99.11.tar.xz) = 8657921a70f4e61059530a44b419d7b8f0f32daf 4RMD160 (pkg-1.10.99.7.tar.xz) = c37402ac7cfee2f0a45a521c3057027699f31603
5SHA512 (pkg-1.9.99.11.tar.xz) = 7626d9bb4b32abf106b81fd0e07999cfdce6aaac173077bab7947519967d0ceefd9567b5755fd11b05401b488fe8b42e861fe2aa1bf54566cca3cbacfd311e1b 5SHA512 (pkg-1.10.99.7.tar.xz) = 32bfb919da140bb7b75427ea6351aee3a4a297a0e13b5c722bdd5a0b8f488085883df36929fb97ff6fd944b901fa0fc95174b1474a9a4422047ffc626869e43b
6Size (pkg-1.9.99.11.tar.xz) = 2170084 bytes 6Size (pkg-1.10.99.7.tar.xz) = 2217824 bytes
7SHA1 (patch-scripts_periodic_411.pkg-backup.in) = ec4ff8991b79608c448739b693b2eb527b646c63 7SHA1 (patch-scripts_periodic_411.pkg-backup.in) = ec4ff8991b79608c448739b693b2eb527b646c63