the pkglint warning:
As {INSTALL,DEINSTALL}_TEMPLATE is modified using "+=", its name
should indicate plural.
This does make the variables a bit more suggestive of the fact that they
hold lists of values.
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
INSTALL/DEINSTALL script creation within pkgsrc.
If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts. If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:
INSTALL_SRC= ${PKGDIR}/INSTALL
DEINSTALL_SRC= # emtpy
As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts. By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).
In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework. The only public variables relating to the templates are:
INSTALL_SRC INSTALL_TEMPLATE
DEINSTALL_SRC DEINSTALL_TEMPLATE
HEADER_TEMPLATE
The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
changes:
- Fix gconfd not shutting down when not in use
- Plug some memory leaks
- Use G_GNUC_NULL_TERMINATED in some APIs
- Improve performance
-translation updates
-fixes
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables. Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.
For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
around at either build-time or at run-time is:
USE_TOOLS+= perl # build-time
USE_TOOLS+= perl:run # run-time
Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
by other package Makefiles, and with the deprecation of USE_BUILDLINK3
support in the infrastructure files, these had the potential to break
existing packages.
2.10.0
======
Translators
- Ivar Smolin (et)
- Žygimantas Beručka (lt)
- Reinout van Schouwen (nl)
- Mişu Moldovan (ro)
- Maxim Dziumanenko (uk)
- Canonical Ltd (xh)
2.9.90
======
Fixes
- Fix daemon reloading causing listeners to break (Mark)
- Fixes problem where a path file which only includes another path
file wouldn't work (Mark)
- Fix double free with gconf_client_clear_cache() (Mark)
- Add pre-condition to gconf_value_validate (Vincent Untz)
Translators
- Rostislav Raykov (bg)
- Priit Laes (et)
- Pauli Virtanen (fi)
- Marcel Telka (sk)
2.9.2
=====
Fixes
- Make all_entries() get the schema name when the value is set
(Fernando Herrera)
- Look up value in the C locale even if its found in the current locale
(Fernando Herrera)
- Add title/name to the API documentation (Jonathan Blandford)
Translators
- Changwoo Ryu (ko)
Fixes
- If the toplevel directory of a source isn't writable, then mark the
whole source as readonly (Mark)
- Plug various leaks (Kjartan)
Translators
- Christophe Merlet (RedFox) (fr)
- Alessio Frusciante (it)
- Žygimantas Beručka (lt)
- Li-Jen Hsin (zh_TW)
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:
lib/libfoo.a
lib/libfoo.la
lib/libfoo.so
lib/libfoo.so.0
lib/libfoo.so.0.1
one simply needs:
lib/libfoo.la
and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.
Also make LIBTOOLIZE_PLIST default to "yes".
Fixes:
- Get rid of duplicate '/' with AM_GCONF_SOURCE_2 (Daniel Elstner)
- Don't create a directory for docs if we're not installing them (Julio M.
Merino Vidal)
- Fix a bug with the markup backend on 64-bit (Joe Marcus Clarke)
- Fix a leak (Kjartan)
- Return an error for incorrect source addresses (Mark)
Translators:
- Gisela Carbonell (ca)
- Christian Neumair (de)
- Christophe Merlet (RedFox) (fr)
- LoneStar (zh_CN)
Fixes:
- add a --enable-gtk=yes/no/auto configure arg (Julio Merino, Mark)
- fix basic example app to not crash (Elijah Newren)
- don't try and create a dir if it already exists (Ryan Lovett, Mark)
- only ever create the $(HOME)/.gconfd/ dir in the daemon (Colin Walters)
- add quotes around AM_GCONF_SOURCE_2 (Frédéric L. W. Meunier)
- handle <entry> with only <schema_name> correctly in --load (Mark)
- fix the order in which local-defaults.path gets included (Mark)
- fix minor inefficiency when not printing debugging messages (Mark)
Translators:
- Adam Weinberger (en_CA)
- Robert Sedak (hr)
- Samúel Jón Gunnarsson (is)
- Alessio Frusciante (it)
- Takeshi AIHANA (ja)
- Amanpreet Singh Alam (pa)
- Gurkan Aslan (tr)
by moving the inclusion of buildlink3.mk files outside of the protected
region. This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.
BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list. This ordering property is used to check for builtin
packages in the correct order. The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end. However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.