summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.5~beta11.5_beta1Julian Andres Klode2017-07-031-1/+1
|
* Upload 1.5~alpha4 to experimental1.5_alpha4Julian Andres Klode2017-06-301-1/+1
|
* CMake: Do not allow FORCE_CURL=ON with WITH_CURL=OFFJulian Andres Klode2017-06-301-1/+4
| | | | | | | This makes no sense. We need both entries in the cache, as we check FORCE_CURL in the test suite. Gbp-Dch: ignore
* Switch to 'http' as the default https methodJulian Andres Klode2017-06-301-0/+1
| | | | | The old curl based method is still available as 'curl', 'curl+http', and 'curl+https'.
* Upload 1.5~alpha3 to experimental1.5_alpha3Julian Andres Klode2017-06-301-1/+1
|
* Upload 1.5~alpha2 to experimental1.5_alpha2Julian Andres Klode2017-06-291-1/+1
|
* Upload 1.5~alpha1 to experimental1.5_alpha1Julian Andres Klode2017-06-281-1/+1
|
* Allow building without curlJulian Andres Klode2017-06-281-3/+9
| | | | | This makes testing easier and prepares us for the transition.
* methods: Add HTTPS support to http method, using GnuTLSJulian Andres Klode2017-06-281-0/+4
| | | | | | | | | | | | | | The http method will eventually replace the curl-based https method, but for now, this is an opt-in experiment that can be enabled by setting Dir::Bin::Methods::https to "http". Known issues: - We do not support HTTPS proxies yet - We do not support proxying HTTPS connections yet (CONNECT) - IssuerCert and SslForceVersion are unsupported Gbp-Dch: Full
* Release 1.4.61.4.6Julian Andres Klode2017-06-011-1/+1
|
* Release 1.4.51.4.5Julian Andres Klode2017-05-311-1/+1
|
* Release 1.4.41.4.4Julian Andres Klode2017-05-161-1/+1
|
* Release 1.4.31.4.3Julian Andres Klode2017-05-111-1/+1
|
* Release 1.4.21.4.2Julian Andres Klode2017-05-041-1/+1
|
* Release 1.4.11.4.1Julian Andres Klode2017-04-241-1/+1
|
* Release the April Fools' release1.4Julian Andres Klode2017-04-011-1/+1
|
* Release 1.4~rc21.4_rc2Julian Andres Klode2017-02-221-1/+1
|
* CMake: Install statvfs.h to include/sys, not just include/Julian Andres Klode2017-02-121-1/+1
| | | | | We are including sys/statvfs.h, not statvfs.h, so make sure our dummy in the correct spot.
* Release 1.4~rc11.4_rc1Julian Andres Klode2017-02-061-1/+1
|
* Release 1.4~beta41.4_beta4Julian Andres Klode2017-01-171-1/+1
| | | | | | | We are basically frozen now, but (a) this wildcard thing is a bit "explosive" to call this RC and (b) you never know if you might need to add a new tiny feature and freeze can be long...
* CMake: Find the Perl executable, and use it to run perl scriptsJulian Andres Klode2017-01-171-1/+3
| | | | | | | | This is somewhat more portable than just hardcoding perl or in the triehash case /usr/bin/perl in the shebang. Thanks: Guillem Jover for the hint Gbp-Dch: ignore
* Read dpkg tables to handle architecture wildcardsJulian Andres Klode2017-01-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our implementation of wildcards was rudimentary. It worked for some common ones, but it was also broken: For example, armel matched any-armel, but should match any-arm. With this commit, we load the correct tables from dpkg. Supported are both triplets and quadruplet tables (the latter introduced in dpkg 1.18.11). There are some odd things we have to deal with in the cache filter for historical and API reasons: * The character "*" must be accepted as an alternative to any - in fact it may appear anywhere in the wildcard as we also allow fnmatch() style wildcard matching on the commandline. * The code might get passed an arch with a minus at the end, for example the cmdline "install apt:any-arm-" will first try to check if any-arm- is a valid architecture. We deal with this by rejecting any wildcard ending in a minus. * Triplets are actually implemented by extending them to faux quadruplets - by prepending a "base" component for the architecture tuple, and "any" if there is a wildcard component. Once we have constructed a wildcard, it is transformed into an fnmatch() expression for historical reasons. In the future, we should really get a tuple class and implement matching in a better, more explicit way. This does for now though - it passes all the test cases and accepts all things it should accept. Closes: #748936 Thanks: James Clarke <jrtc27@jrtc27.com> for the initial patch
* Release 1.4~beta31.4_beta3Julian Andres Klode2017-01-051-1/+1
|
* releasing package apt version 1.4~beta2Julian Andres Klode2016-12-081-1/+1
|
* Release 1.4~beta11.4_beta1Julian Andres Klode2016-11-251-1/+1
|
* Release 1.3.11.3.1Julian Andres Klode2016-10-041-1/+1
|
* Release 1.31.3Julian Andres Klode2016-09-201-1/+1
|
* CMake: Add coverage build typeJulian Andres Klode2016-09-111-0/+5
| | | | This allows us to easily test coverage
* Release 1.3~rc41.3_rc4Julian Andres Klode2016-09-021-1/+1
|
* Release 1.3~rc31.3_rc3Julian Andres Klode2016-08-301-1/+1
|
* CMake: Add missing iconv dependencyJulian Andres Klode2016-08-261-0/+1
| | | | | | | | | | | | FreeBSD has two iconv systems: It ships an iconv.h itself, and symbols for that in the libc. But there's also the port of GNU libiconv, which unfortunately for us, Doxygen depends on. This changes things to prefer a separate libiconv library over the system one; that is, the port on FreeBSD. Gbp-Dch: ignore
* Make root group configurable via ROOT_GROUPJulian Andres Klode2016-08-261-0/+6
| | | | | This is needed on BSD where root's default group is wheel, not root.
* Make directory paths configurableJulian Andres Klode2016-08-261-9/+18
| | | | | | | This allows other vendors to use different paths, or to build your own APT in /opt for testing. Note that this uses + 1 in some places, as the paths we receive are absolute, but we need to strip of the initial /.
* CMake: Add support for libintlJulian Andres Klode2016-08-261-3/+9
| | | | | | | | | | | | | This basically just links everything to libintl if USE_NLS is on. It would be better to just link those targets that are actually translated, but doing so is a huge PITA. Also move the include_directories() for the build-tree include/ directory to the top of the CMakeLists.txt, otherwise it only gets passed after Intl_INCLUDE_DIRS, which means we will built against installed apt-pkg headers (if any) instead of our own. Gbp-Dch: ignore
* CMake/private-download: Fix statfs includes on FreeBSDJulian Andres Klode2016-08-261-5/+6
| | | | | | | On FreeBSD, we have to include sys/params.h and sys/mount.h, not sys/vfs.h. Gbp-Dch: ignore
* CMake: Add FindLZ4 and FindLZMAJulian Andres Klode2016-08-261-3/+3
| | | | | | This makes things work with /usr/local on FreeBSD. Gbp-Dch: ignore
* CMake: Do not use -lresolv if res_init exists in libcJulian Andres Klode2016-08-261-0/+8
| | | | Gbp-Dch: ignore
* CMake: Handle endian.h locations on other platformsJulian Andres Klode2016-08-261-0/+12
| | | | Gbp-Dch: ignore
* CMake: Handle BSD platforms with sig_t instead of sighandler_tJulian Andres Klode2016-08-261-0/+13
| | | | | | | Somewhat annoying, but OK. Might want to switch to something more clever to get rid of the typedef at all. Gbp-Dch: ignore
* CMake: Define _WITH_GETLINE for FreeBSDJulian Andres Klode2016-08-231-0/+3
| | | | Gbp-Dch: ignore
* CMake: Do not add po/ if USE_NLS is OFFJulian Andres Klode2016-08-231-2/+4
| | | | | | Previously, we would have generated all the translations, but not turn them on in the code. Instead, move the Translation crap into po/ and disable po/ alltogether if USE_NLS if OFF.
* CMake: Add Large File SupportJulian Andres Klode2016-08-231-0/+6
| | | | | | | | This module should cover all sorts of large file supports, as long as they either support the getconf LFS_CFLAGS command; or the _FILE_OFFSET_BITS=64 or _LARGE_FILES macros. Closes: #834767
* CMake: Install config and logging directoriesJulian Andres Klode2016-08-191-0/+13
| | | | | | These directories are essential for apt to work, so we should install them in the upstream build system and not just in the debian packaging...
* Release 1.3~rc21.3_rc2Julian Andres Klode2016-08-171-1/+1
|
* CMake: Install bash completions via cmakeJulian Andres Klode2016-08-151-0/+1
| | | | | | | Having the completions installed only by the packaging was an oversight. Gbp-Dch: ignore
* CMake: Use COPYONLY instead of @ONLYJulian Andres Klode2016-08-111-1/+1
| | | | | | I don't know what happened back in 2009 when I wrote this, but it seems I used the wrong option. These files should not have any variable substitution done to them.
* Release 1.3~rc11.3_rc1Julian Andres Klode2016-08-111-1/+1
| | | | | | | | This commit looks heavy. Most of that comes from the fact that the ordering of files in the translations changed with the switch to CMake. I could have gone the extra mile to figure out the original ordering and replicate it, but I have chosen to re-order everything by file and line number, as that's easier.
* Add statvfs.h.in to CMake directoryJulian Andres Klode2016-08-101-1/+1
| | | | Gbp-Dch: ignore
* prepare-release: Switch over to CMake, set version in CMakeLists.txtJulian Andres Klode2016-08-101-4/+1
| | | | | | | | | Teach the prepare-release script about the version new locations and also set the version in CMakeLists, as that is better than reading it from the changelog: CMake would not rerun automatically otherwise if the version changed. Gbp-Dch: ignore
* CMake: Rewrite existing Documentation support and add doxygenJulian Andres Klode2016-08-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | This can now build all documentation. It should also be fairly reusable for other projects, as long as they follow the same naming scheme for the po4a output files and set the PACKAGE_* variables used here. We could have done all translations in a single call to po4a like the makefile based buildsystem does. While that would have made the output slightly nicer, this solution offers a huge performance gain because it can translate the documents in parallel, which also means that the xsltproc stage does not have to wait for all translations to be done first. You might think that the add_custom_command() should list the actual output files as BYPRODUCTS. This is not true however: Because the files are not always generated, Ninja will think missing byproducts mean that the target is out of date - which is not what we want. Finally, also add the missing doxygen support. Note that the packaging script cleans up some md5 and map files created by doxygen, otherwise it is fairly boring.