Age | Commit message (Collapse) | Author |
|
This next version bump will include several API-breaking changes.
Including:
* marking the internal sat solver as formally deprecated.
* changes to the CLI arguments.
* changes to the error reporting strings.
Due to these changes, bump the minor rev.
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
The opkg internal solver is marked for deprecation in a future release,
due to it being outdated, limited, buggy, and unmaintained. Builders are
instead directed to use the previously-optional libsolv backend.
Add a warning to the configure.ac, to warn builders about this
misconfiguration.
Also fix incidental spelling errors.
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
The autoconf version boundary 2.70 deprecated and obsoleted many
functions from prior versions. On systems with autoconf>2.70,
configuring opkg can throw warnings and errors about these deprecations.
Run autoupdate on the autoconf scripts and make some manual adjustments
to bring the scripts up to a modern standard.
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
The libarchive library, which is being used by opkg supports ACLs
and xattr already.
More information can be read at this link:
https://github.com/libarchive/libarchive/pull/691
Signed-off-by: Maciej Liszewski <m.liszewski@welotec.com>
Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com>
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
GNU Automake asserts that projects should follow GNU "conventions" and
include some standard files named AUTHORS, INSTALL, ChangeLog, et c. The
intention here is probably to encourage users to distribute this
information, but it is rather heavy-handed to require that they be
specifically named in that fashion.
As a result, automake will error if we try to rename or move these
files.
Declare `-Werror foreign` in the autoconf file, which declares that we
are not a strictly GNU-compliant project in this regard, and squashes
automake's objections.
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Use the `+git` suffix, instead of the `-snapshot` suffix because it
doesn't require speculation about what the next release version will be.
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Add optional support for zstandard compression (disabled by default).
Zstandard compression offers a significant speed increase at
decompression time over the current default (xz). This is amplified on
less capable hardware as used in embedded devices. Further more, it
offers a slightly faster compression speed at the highest compression
levels with a slightly lower compression ratio and the ability to
choose your own compromise between fast compression speed with less
compression and slower compression speed with more compression.
Zstandard would therefore be a good solution for package compression when:
* install time matters, especially if you are installing on less capable
hardware
* disk space is not a concern: lower compression can speed up developer
builds, especially incremental builds
* disk space is a concern: release builds can make use of the highest
compression setting to reduce package sizes
Signed-off-by: Henry Kleynhans <hkleynhans@fb.com>
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
The OpenSSL libraries are used by libopkg directly, as an optional
method of verifying package feed signatures against a locally stored CA
certificate. They are enabled only when the --enable-openssl argument is
passed to AutoConf.
Assert that --enable-openssl is not widely used by opkg integrators and
that GPG feed signing (--enable-gpg) is preferred in all cases.
Remove:
* OpenSSL signature verification
* the --enable-openssl AutoConf option
* the `signature_ca_file` opkg conf setting
* the `signature_ca_path` opkg conf setting
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
pathfinder-pki is an option extension to OpenSSL which facilitates
path-validation of x509 certificates. It is linked into libopkg when
--enable-pathfinder is asserted at configure-time.
Assert that pathfinder is not frequently used by opkg integrators and
the library itself is obsolescent. (The project name is also obnoxiously
common when trying to google.)
Remove:
* all references to pathfinder-pki
* the --enable-pathfinder AutoConf option
* the `check_x509_path` opkg conf setting
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
libsolv 0.7.8 adds support for blacklisted packages (with 0.7.14
expanding that support), which allow us to specify package exclusions
in such a way that libsolv can report on them.
Signed-off-by: Brandon Streiff <brandon.streiff@ni.com>
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Assert that OpenSSL signature checking is a relatively unused feature by
opkg integrators. Further, the OpenSSL licenses have never been
accomodating to static builders.
So begin to deprecate OpenSSL signature checking by first announcing
our intentions to builders with an AutoConf warning.
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Having CLEAN_DATE come from the current date doesn't allow for build
reproducibility. Add the option of using SOURCE_DATE_EPOCH if set
which for OE, it will be and makes opkg reproducible.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
--with-static-libopkg
Currently, opkg is using the same pkg-config configuration when building
dynamically and statically. Add logic to use the static configuration on
the static case.
Fixes bugzilla 8355
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Add optional support for lz4 compression (disabled by default).
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Opkg doesn't document the use of long option with only one minus (like
-verbose=4). On commit a77bdf, a configure option was added to support
both getopt_long and getopt_long_only since it was late on the 0.3.6
release. Now that we are starting the development window for 0.4.0, make
sense to remove getopt_long_only all together.
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Some systems lack getopt_long_only function (for example NetBSD) which
leads to unidefined symbols during linking step. Use getopt_long
if getopt_long_only is not available. This prevents users from
using long option with only one minus (like -verbose=4) but it's
better than compilation error.
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Michael Hansen <michael.j.hansen@hp.com>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Add optional support for xz- and bzip2-compressed package members.
bzip2 support is disabled by default.
Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Bryan Krause <bryan.krause@baesystems.com>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Libsolv supports pkgconfig since version 0.6.9.
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|