aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
AgeCommit message (Collapse)Author
2015-12-04configure.ac: Bump version to 0.3.2-SNAPSHOTAlejandro del Castillo
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>
2015-12-02libopkg: replace --enable-solver option with --with-<solver>Alejandro del Castillo
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>
2015-12-02libopkg: add directory hierarchy for solver pluginsAlejandro del Castillo
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>
2015-08-20opkg_solver_libsolv.c: Add libsolv supportEric Yu
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>
2015-08-20Add changes so adhoc solver code is not built when external solver enabledEric Yu
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>
2015-08-20configure.ac: Add plug-in architecture to enable external solversEric Yu
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>
2015-05-28configure.ac: Bump version to v0.3.0v0.3.0Paul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-12-23configure.ac: Bump version to v0.3.0-rc2v0.3.0-rc2Paul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-12-21configure.ac: Bump version to v0.3.0-rc1v0.3.0-rc1Paul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-12-19tests: RearrangePaul Barker
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>
2014-11-26configure.ac: Bump version to v0.3.0-rc0v0.3.0-rc0Paul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-09-01configure.ac: Check for gpg-error using pkg-configPaul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-08-11Merge branch 'opkg-0.2.x'Paul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-08-08configure.ac: Use AM_PATH_GPGME for gpgmePaul Barker
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>
2014-08-08configure.ac: Check for gpgme using pkg-configPaul Barker
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>
2014-06-11configure.ac: Drop --with-opkgetcdir, default to /etcPaul Barker
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>
2014-06-11configure.ac: Drop --with-opkglibdir, default to /var/libPaul Barker
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>
2014-06-11opkg_conf: Make lock_file a runtime config optionPaul Barker
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>
2014-06-05Cleanup trailing whitespaceEmmanuel Deloget
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>
2014-06-04Rename 'opkg-cl' to 'opkg'Emmanuel Deloget
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>
2014-05-30opkg_download: Split backends into separate filesPaul Barker
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>
2014-05-30configure.ac: Allow openssl and gpg support to coexistPaul Barker
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>
2014-05-04libopkg: Deprecate APIPaul Barker
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>
2014-04-01configure.ac: Add AM_CONDITIONAL for HAVE_OPENSSLPaul Barker
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>
2014-04-01update-alternatives: RemovePaul Barker
This script is now part of opkg-utils. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-04-01configure.ac: Bump version to 0.2.3-SNAPSHOTPaul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-04-01configure.ac: Bump version to 0.2.2v0.2.2Paul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-02-23configure.ac: Bump version to 0.2.2-SNAPSHOTPaul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-02-09Bump version to 0.2.1v0.2.1Paul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-02-05xfuncs.c: Move to libopkg and remove empty libbbPaul Barker
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>
2014-02-04configure.ac: Add dependency on libarchivePaul Barker
libarchive will be used to replace the unzip/unarchive/deb_extract code from libbb. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2013-12-17Merge branch 'opkg-0.2.x'Paul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2013-12-17configure.ac: moving config.h to $(top_srcdir)Carsten Schoenert
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>
2013-12-17configure.ac: Bump version to 0.2.1-SNAPSHOTPaul Barker
This ensures that git checkouts report a different version to the release tarball. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2013-10-28build: Allow to link libopkg statically into opkg-clpaul.betafive@gmail.com
- 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
2013-10-28build: Drop shave in favor of automake's silent rulespaul.betafive@gmail.com
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> git-svn-id: http://opkg.googlecode.com/svn/trunk@732 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
2013-10-28opkg-key: don't install unless compiled with GPG supportpaul.betafive@gmail.com
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> git-svn-id: http://opkg.googlecode.com/svn/trunk@729 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
2013-09-13Bump version to 0.2.0paul.betafive@gmail.com
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
2013-08-27gpg: fix detection and linking with libgpg-errorpaul.betafive@gmail.com
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
2013-08-17Bump version to 0.2.0-rc2paul.betafive@gmail.com
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
2013-08-15Bump version to 0.3.0-SNAPSHOTpaul.betafive@gmail.com
'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
2013-08-15Bump version to 0.2.0-rc1v0.2.0-rc1paul.betafive@gmail.com
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
2013-08-05configure.ac: Revert accidental change to config header pathpaul.betafive@gmail.com
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
2013-08-05sha256: Switch to GPLv2+ codepaul.betafive@gmail.com
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
2013-08-02Replace obsolete automake macropaul.betafive@gmail.com
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
2010-09-20Disable sha256 code by default. This makes opkg GPLv2 by default.graham.gower@gmail.com
git-svn-id: http://opkg.googlecode.com/svn/trunk@569 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
2010-08-10Forgot these two files in the last commit. Oops.graham.gower
git-svn-id: http://opkg.googlecode.com/svn/trunk@548 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
2010-06-28s/ipkgetcdir/opkgetcdir/graham.gower
From David Bachelart via Issue #53. git-svn-id: http://opkg.googlecode.com/svn/trunk@539 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
2010-02-21Bump revision for release.graham.gower
git-svn-id: http://opkg.googlecode.com/svn/trunk@523 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
2009-12-28Add a configure flag to specify the lockfile pathpixdamix
git-svn-id: http://opkg.googlecode.com/svn/trunk@511 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358