summaryrefslogtreecommitdiff
path: root/debian/rules
AgeCommit message (Collapse)AuthorFilesLines
2015-12-07part revert, part redo 'which' replacementDavid Kalnischkies1-1/+1
In e75e5879 'replace "which" with "command -v" for portability' I missed that command -v isn't actually required to be available in debian, so for the 5 files we are using it: Two (abicheck/run_abi_test & test/integration/framework) are called in environments were I believe sh is at least dash or 'better' as the first one is "interactive" for apt developers and the later is sourced by ~200 tests in the same directory run by hand and ci-services – for the later we have pulled some uglier hacks for worser things already, so if there should actually end up needing something more compatible we will notice eventually (and the later actually had a command -v call for some time already and nobody came running). debian/rules and debian/apt.cron.daily I switched back to which as that is more or less debian-specific or at least highly non-critical. That leaves cmdline/apt-key.in with a bunch of calls where I will implement that functionality in shell as this is relatively short-lived as it is used to detect wget (for net-update, which Michael wants to revive and in that process will properly use apt-helper instead of wget) and to detect gpg vs. gpg2 systems, where the earlier is supposed to go away in the longrun (or the later, but by replacing the earlier…). [and this gpg/gpg2 detection is new in sid, so I have some sympathy for that being a problem now.] Thanks: Jakub Wilk for pointing out #747320
2015-12-06replace "which" with "command -v" for portabilityDavid Kalnischkies1-1/+1
which is a debian specific tool packaged in debianutils (essential) while command is a shell builtin defined by POSIX. Closes: 807144 Thanks: Mingye Wang for the suggestion.
2015-11-29use function pointers instead of weak symbols for cmdline parsingDavid Kalnischkies1-4/+1
Passing function pointers around while working on this was very icky, but if weak symbols are too much to ask for… Reverts "do not use "-Wl,-Bsymbolic-functions" during the build to avoid breakage" aka a5fc9be36211a290a7abc3ca2a8bf98943bc1f57.
2015-11-28do not use "-Wl,-Bsymbolic-functions" during the build to avoid breakageMichael Vogt1-1/+4
2015-11-19do not rerun ./configure causing FTCBFS with newer autotools-devDavid Kalnischkies1-1/+1
If the config.{sub,guess} files we linked in were newer than our configure script we ended up recreating configure and then rerun it without all the configuration options which were (potentially) present for a previous run. We avoid this by changing to the same ruleset as in the debian/rules file which compares the config.* files against a stamp file rather than the configure script itself as its the configuration itself which depends on all scripts, not configure on the config scripts. While at it, we also drop the 'make -s dirs' call as we don't need to do it explicitly here as proper dependencies will take care of it. Thanks: Helmut Grohne for the detailed bugreport. Closes: 804923
2015-08-27debian/rules: Only do parallel build if specified in DEB_BUILD_OPTIONSJulian Andres Klode1-0/+4
It was not nice to use 2 * number of cores in all cases. Thanks: Jakub Wilk for the suggestion
2014-10-01debian/rules: add hardening=+allMichael Vogt1-3/+6
Because of dpkg-buildflags we already get most of the hardening features, +all adds -fPIE and ld -z now Thanks: Simon Ruderich, Markus Waldeck
2014-07-08build: Convert from DebianDoc SGML to DocBook XMLGuillem Jover1-6/+6
2014-05-05Revert "add bash completion for the "apt" command"Michael Vogt1-2/+0
This reverts commit 697c9314c8ba24f3e393b5de11a3fad7adae4bfc. Conflicts: debian/rules
2014-04-26allow vendors to install configuration filesDavid Kalnischkies1-7/+2
Vendors like ubuntu need to change some options, so giving them a way to do this less painfully avoids reducing differences.
2014-04-25provide support for debian/apt.conf.$(lsb_release -i -s) vendor specific ↵Michael Vogt1-0/+7
config files
2014-04-25add bash completion for the "apt" commandMichael Vogt1-0/+2
2014-02-27initial version of apt-helperMichael Vogt1-0/+3
2014-02-14do not compress .xhtml files and remove junk filesDavid Kalnischkies1-1/+2
dh_compress compresses .xhtml files by default, which breaks our doxygen documentation. doxygen has also a bunch of temporary files it creates which stay in the build directory and so we remove them before installing them as documentation. Closes: 738933
2014-01-05debian/rules: Call dh_makeshlibs for 'apt'Julian Andres Klode1-0/+1
The package ships libapt-private now, so we need an ldconfig call in postinst. dh_makeshlibs creates one for us. Reported-by: lintian
2013-11-30use a substvar to set the archive-keyring in debian/controlDavid Kalnischkies1-1/+1
Adds a small helper to extract the small information bits we store in apt-vendor.ent and uses it in debian/rules to set apt:keyring as a substvar for debian/control populated with the &keyring-package; info
2013-11-30enable NOISE for build logs to enable analyseDavid Kalnischkies1-0/+3
It was enabled for a (long) while in Ubuntu, but it shouldn't hurt to enable it in Debian as well – especially now that Debian has automatic analyses of the buildlogs which don't work that well without the 'noise'
2013-08-12really build apt.installMichael Vogt1-2/+2
2013-07-26exclude config.{sub,guess} from source packageDavid Kalnischkies1-1/+6
Lintian complains about these links in the source package as they leave the source directory and as they are autogenerated there isn't that much sense in shipping them, we can just recreate them before calling configure.
2013-07-26implement debian/rules build-{arch,indep} as required by policy 3.9.4David Kalnischkies1-15/+15
2013-07-26make autoconf happy by "mv configure.{in,ac}"David Kalnischkies1-1/+1
Git-Dch: Ignore
2013-07-11cherry pick 39a07ec8f2c612a5af234c7713571362f7ca90b4Steve Langasek1-0/+2
2013-07-05debian/rules:Michael Vogt1-0/+1
* debian/rules: - call dh_clean in clean (closes: #714980)
2013-06-09build the en manpages in subdirectory doc/enDavid Kalnischkies1-2/+2
Building manpages becames more consistent this way and it is simpler to ignore build artefacts, too.
2013-01-08add missing translated apt.8 manpages, thanks to Helge Kreutzmann.Michael Vogt1-1/+1
Closes: #696923
2012-06-29* debian/control:David Kalnischkies1-5/+5
- demote debiandoc-sgml to Build-Depends-Indep * doc/makefile: - separate translation building of debiandoc from manpages so that we don't need to build debiandoc for binary packages
2012-05-21* debian/rules:David Kalnischkies1-2/+3
- move internal-solver as 'apt' to his friend dump-solver in /usr/lib/apt/solvers to avoid writing a manpage for it
2012-05-14 - separate manpages from the rest of the doc buildingDavid Kalnischkies1-4/+10
- make apt and apt-utils packages depend on manpages instead of full doc
2012-05-12* debian/rules:David Kalnischkies1-1/+1
- apt-utils packages manpages, so it should depend on build-doc
2012-03-22* debian/rules:David Kalnischkies1-14/+0
- do not sed in configure.in to set the version-number * prepare-release: - add as a small script to lazy check and prepare releases
2012-03-22use the correct line to get the currently configure.in versionDavid Kalnischkies1-1/+1
2012-03-22the previously used VERSION didn't work everywhere so we are switchingDavid Kalnischkies1-1/+1
to the more standard PACKAGE_VERSION and make it work in every file
2012-01-19* debian/rules:David Kalnischkies1-1/+3
- apply patch to enable usage of hardning CPPFLAGS and LDFLAGS by Moritz Muehlenhoff, thanks! (Closes: #653504)
2011-11-28revert libapt-common addition because of ↵Michael Vogt1-18/+1
http://lists.debian.org/debian-devel/2011/11/msg00742.html
2011-11-22merged libapt multiarch enable patch from Colin Watson, many thanks!Michael Vogt1-4/+27
2011-09-13merge with debian/sidDavid Kalnischkies1-1/+6
2011-08-17understand DEB_BUILD_OPTIONS nocheck to disable the testexecutionDavid Kalnischkies1-0/+4
2011-08-17* test/*David Kalnischkies1-0/+1
- reorganize the various testcases and helper we have and integrate them better into the buildsystem - run the test/libapt testcases at package build-time
2011-07-15merged from http://bzr.debian.org/bzr/apt/apt/debian-sidMichael Vogt1-3/+0
2011-06-29merge lp:~mvo/apt/abi-breakMichael Vogt1-2/+4
2011-06-10debian/rules: use substvars properlyMichael Vogt1-1/+1
2011-06-10generate debiandencies for libapt-pkg-dev automatically via deb-substvarsMichael Vogt1-1/+1
2011-06-10include mo files in the right packagesMichael Vogt1-0/+4
2011-06-09do not hardcode the libnamesMichael Vogt1-3/+7
2011-06-08fix lintian issuesMichael Vogt1-2/+4
2011-06-08remove -l from dh_shlibdeps, that is no longer needed with recent shlibdepsMichael Vogt1-4/+4
2011-06-08do not include libapt-pkg* in apt itself, add missing dh_makeshlibs callsMichael Vogt1-1/+2
2011-06-08initial librarification pushMichael Vogt1-11/+41
2011-06-06revert 2114.1.12 as doxygen does this for use nowDavid Kalnischkies1-3/+0
2011-05-17* Implement EDSP in libapt-pkg so that all front-ends whichDavid Kalnischkies1-2/+4
use the internal resolver can now be used also with external ones as the usage is hidden in between the old API * provide two edsp solvers in apt-utils: - 'dump' to quickly output a complete scenario and - 'apt' to use the internal as an external resolver