Age | Commit message (Collapse) | Author |
|
Previous release didn't have the correct version. Adjust version for the
0.3.2 release.
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Autoconf recommends using --with-package when there is a choice to use
an external package vs an internal implementation. Default is the
internal solver, libsolv backed is enabled by passing --with-libsolv to
configure.
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Reviewed-by: Josh Cartwright <joshc@ni.com>
|
|
Move libsolv backend to solvers/libsolv and opkg_solver.c to solvers
subdirectory, to create a directory hierarchy that provides a logical
division between the different solver implementations. Add
subdir-objects parameter to AM_INIT_AUTOMAKE to avoid warnings of the
type:
libopkg/Makefile.am:51: warning: source file
'solvers/libsolv/opkg_solver_libsolv.c' is in a subdirectory, but option
'subdir-objects' is disabled
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Reviewed-by: Josh Cartwright <joshc@ni.com>
|
|
Adds opkg_solver_libsolv.c and opkg_solver_libsolv.h, and
makes changes to configure.ac, libopkg/Makefile.am, opkg_solver.c,
and pkg_hash.c to enable opkg to use libsolv as a package dependency
solver if specified when configure is run with the flag
--enable-solver=libsolv.
Signed-off-by: Eric Yu <eric.yu@ni.com>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Make changes to libopkg/Makefile.am, opkg_cmd.c, opkg_install.c,
opkg_remove.c, pkg_depends.c, opkg_install.h, opkg_remove.h,
and pkg_depends.h, so that opkg's adhoc solving functions are
not built when an external solver is being used to solve package
dependencies.
Also add check to prevent deprecated API from being built with
an external solver enabled, as /libopkg/opkg.c will fail to build.
Signed-off-by: Eric Yu <eric.yu@ni.com>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Modify configure.ac, libopkg/Makefile.am, opkg_cmd,
opkg_action.c and opkg_solver.c to add the infrastructure
for enabling opkg to use an external solver to
resolve package dependencies.
Signed-off-by: Eric Yu <eric.yu@ni.com>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
This rearrangement tidies up the test case scripts and sorts them into
subdirectories 'core', 'regress' and 'misc'.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Instead of including custom code to find gpgme-config and run it if gpgme was
not found using pkg-config, use the standard AM_PATH_GPGME macro.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
To support linking against gpgme in OpenEmbedded, we need to be able to find
gpgme using pkg-config instead of gpgme-config. Other platforms may still be
using gpgme-config so we need to support both methods. Therefore we check
pkg-config first, followed by gpgme-config.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
As before, we don't need to support stupid configurations. If you want to read
config files from somewhere else, set the environment variable OPKG_CONF_DIR
before running opkg.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Variable data lives in /var. We don't need to support stupid options.
The individual things which live under opkglibdir (lists, info and status) will
be configurable by config options and/or command line arguments.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
The ./configure option '--with-opkglockfile' is dropped and OPKGLOCKFILE is no
longer set at compile time. Instead the lock file path may be set using the
lock_file option in a config file as these config files are parsed before the
lock file is used. The default value is now given by OPKG_CONF_DEFAULT_LOCK_FILE
and to comply with the FHS and avoid the requirement to create any directories
which shouldn't already exist it is placed at '/var/run/opkg.lock'.
The static variable lock_file is also moved into the opkg_config structure.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
The whitespaces has been removed automatically using the following command line:
grep --exclude-dir .git -rHn '[[:space:]]$' | \
awk -F: '{ print $1 }' | sort | uniq | \
grep -v COPYING | \
while read f; do sed -i 's/[[:space:]]*$//g' $f; done
The COPYING file has been spared because (a) it's a GNU file, not an opkg file and
(b) the ^L control chars are in the [[:space:]] character list (and we don't want
them to disapear).
Changes to ChangeLog.ipkg were dropped as they are unnecessary for such a legacy
file.
Signed-off-by: Emmanuel Deloget <logout@free.fr>
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
The CLI program name is now the same as the product name (opkg) instead
of an explicit yet less common name (opkg-cl). This limits the confusion
to a bare minimum.
This commit fixes issue 135.
Signed-off-by: Emmanuel Deloget <logout@free.fr>
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
All code to interact with the curl backend is moved into opkg_download_curl.c
and all code for the wget backend is moved to opkg_download_wget.c. No separate
headers are needed for these files as the definition of opkg_download_backend is
added to opkg_download.h.
Logic is added to the Makefile to ensure the correct file is chosen at compile
time.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
As the signature type can now be determined at run time, we do not need to
ensure that only one of openssl and gpg support is enabled at compile time.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
The current libopkg API isn't very good and there are many layering violations
between what belongs in the library and what belongs in the frontend program. To
notify users that this API is deprecated and will be removed in v0.4, the API is
only built and installed if '--enable-libopkg-api' is passed to configure.
Passing this argument causes a warning message to be displayed.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
This allows us to conditionally compile files based on whether openssl support
is enabled or not.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
This script is now part of opkg-utils.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
This involves a lot of header and build system tidyup to remove libbb. We still
need to do another pass of header tidyup.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
libarchive will be used to replace the unzip/unarchive/deb_extract code from
libbb.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
The generated config.h header doesn't belong to the libopkg directory so
we can move it out there.
Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
This ensures that git checkouts report a different version to the release
tarball.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
- Introduces new configure option "--with-static-libopkg".
- Reduces overall binary size if a shared libopkg is not used
otherwise on the target.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
git-svn-id: http://opkg.googlecode.com/svn/trunk@734 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
git-svn-id: http://opkg.googlecode.com/svn/trunk@732 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
git-svn-id: http://opkg.googlecode.com/svn/trunk@729 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
git-svn-id: http://opkg.googlecode.com/svn/branches/opkg-0.2.x@703 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
Fix configure.ac to detect libgpg-error and propagate the correct
CFLAGS/LDFLAGS across the board.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
git-svn-id: http://opkg.googlecode.com/svn/trunk@683 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
git-svn-id: http://opkg.googlecode.com/svn/branches/opkg-0.2.x@664 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
'S' < 'r' in ascii sorting so this will sort as before '-rc' releases (see
http://semver.org/ for some good advice).
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
git-svn-id: http://opkg.googlecode.com/svn/trunk@661 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
git-svn-id: http://opkg.googlecode.com/svn/branches/opkg-0.2.x@658 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
The change to the AC_CONFIG_HEADERS line shouldn't have been part of the
previous commit.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
git-svn-id: http://opkg.googlecode.com/svn/trunk@653 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
There's no need to use a GPLv3+ licensed sha256 implementation when a GPLv2+
licensed implementation exists in coreutils-6.9.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
git-svn-id: http://opkg.googlecode.com/svn/trunk@652 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
git-svn-id: http://opkg.googlecode.com/svn/trunk@651 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
git-svn-id: http://opkg.googlecode.com/svn/trunk@569 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
git-svn-id: http://opkg.googlecode.com/svn/trunk@548 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
From David Bachelart via Issue #53.
git-svn-id: http://opkg.googlecode.com/svn/trunk@539 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
git-svn-id: http://opkg.googlecode.com/svn/trunk@523 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
git-svn-id: http://opkg.googlecode.com/svn/trunk@511 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|