summaryrefslogtreecommitdiff
path: root/vendor
Commit message (Collapse)AuthorAgeFilesLines
* Switch documentation from httpredir.d.o to deb.d.oJulian Andres Klode2016-08-292-3/+3
| | | | | The CDN service deb.d.o is more reliable than the http redirector, so switch to it for our examples.
* Always pass a directory to find before an optionJulian Andres Klode2016-08-261-1/+1
| | | | | | | On BSD systems, we cannot simply use find -name or stuff, we always have to pass a directory name first. Gbp-Dch: ignore
* Get rid of the old buildsystemJulian Andres Klode2016-08-102-86/+0
| | | | Bye, bye, old friend.
* CMake: Cache CURRENT_VENDOR and make it configurableJulian Andres Klode2016-08-101-4/+8
| | | | | | | | | | Cache the current vendor, so we do not have to rerun getinfo when reconfiguring stuff. This also has the nice effect of making the vendor configurable, so you can manually specify it on a platform that might not have dpkg (not that building without dpkg works yet). Gbp-Dch: ignore
* vendor/getinfo: Accept --vendor VENDOR optionJulian Andres Klode2016-08-101-4/+9
| | | | | | | | This can be used to query a field for a specific vendor. It also speeds up things a lot if we can cache the current vendor in cmake and pass it to further getinfo invocations. Gbp-Dch: ignore
* CMake: Add basic CMake build systemJulian Andres Klode2016-08-061-0/+33
| | | | | | | | | | | Introduce an initial CMake buildsystem. This build system can build a fully working apt system without translation or documentation. The FindBerkelyDB module is from kdelibs, with some small adjustements to also look in db5 directories. Initial work on this CMake build system started in 2009, and was resumed in August 2016.
* vendor/getinfo: Teach it about sourceslist-list-formatJulian Andres Klode2016-08-061-1/+1
| | | | | | | This makes it easier to write a generic subsitution tool for handling substitutions in apt-key.in and sources.list.in Gbp-Dch: ignore
* vendor/getinfo: Provide command to determine vendor to useJulian Andres Klode2016-08-061-1/+39
| | | | | | | | | Introduce the 'current' command to eventually replace the current symbolic link. The current command does roughly the same as the makefile, the code has just been cleaned up a bit to work better as a shell function. Gbp-Dch: ignore
* deprecate 'apt-key update' and no-op it in DebianDavid Kalnischkies2016-07-021-2/+2
| | | | | | Debian isn't using 'update' anymore for years and the command is in direct conflict with our goal of not requiring gnupg anymore, so it is high time to officially declare this command as deprecated.
* use local changelog from /usr/share/doc if possibleDavid Kalnischkies2016-02-111-0/+1
| | | | | | | | | | | If pkgAcqChangelog is told to acquire the changelog for a version it will check first if this version is installed on the disk and if so will use the local changelog in /usr/share/doc (possibily/likely gz compressed) instead of downloading the file from the web. An option is provided to disable this, which is enabled by default for the Ubuntu vendor as they truncate the local changelogs – and for apts --print-uris action.
* evaluate sourceslist-list-format entity in vendors sources.listDavid Kalnischkies2016-01-145-9/+19
| | | | | | | | Parsing XML entity files in shell isn't exactly nice and causing the substitution with a while-read loop isn't either, but it seems to be good enough for the moment without changing too much. Thanks: Niels Thykier for reporting on IRC
* change debian related entities to a more explicit nameDavid Kalnischkies2016-01-143-8/+5
| | | | Git-Dch: Ignore
* bring back deb822 sources.list entries as .sourcesDavid Kalnischkies2015-08-109-6/+62
| | | | | | | | | | | | | | | | | | Having two different formats in the same file is very dirty and causes external tools to fail hard trying to parse them. It is probably not a good idea for them to parse them in the first place, but they do and we shouldn't break them if there is a better way. So we solve this issue for now by giving our deb822 format a new filename extension ".sources" which unsupporting applications are likely to ignore an can begin gradually moving forward rather than waiting for the unknown applications to catch up. Currently and for the forseeable future apt is going to support both with the same feature set as documented in the manpage, with the longtime plan of adopting the 'new' format as default, but that is a long way to go and might get going more from having an easier time setting options than from us pushing it explicitely.
* provide a public interface for acquiring changelogsDavid Kalnischkies2015-06-151-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Provided is a specialized acquire item which given a version can figure out the correct URI to try by itself and if not provides an error message alongside with static methods to get just the URI it would try to download if it should just be displayed or similar such. The URI is constructed as follows: Release files can provide an URI template in the "Changelogs" field, otherwise we lookup a configuration item based on the "Label" or "Origin" of the Release file to get a (hopefully known) default value for now. This template should contain the string CHANGEPATH which is replaced with the information about the version we want the changelog for (e.g. main/a/apt/apt_1.1). This middleway was choosen as this path part was consistent over the three known implementations (+1 defunct), while the rest of the URI varies widely between them. The benefit of this construct is that it is now easy to get changelogs for Debian packages on Ubuntu and vice versa – even at the moment where the Changelogs field is present nowhere. Strictly better than what apt-get had before as it would even fail to get changelogs from security… Now it will notice that security identifies as Origin: Debian and pick this setting (assuming again that no Changelogs field exists). If on the other hand security would ship its changelogs in a different location we could set it via the Label option overruling Origin. Closes: 687147, 739854, 784027, 787190
* build: Convert from DebianDoc SGML to DocBook XMLGuillem Jover2014-07-081-1/+1
|
* allow vendors to install configuration filesDavid Kalnischkies2014-04-262-0/+12
| | | | | Vendors like ubuntu need to change some options, so giving them a way to do this less painfully avoids reducing differences.
* add a README for vendor informationDavid Kalnischkies2014-04-261-0/+60
|
* add vendor information for BlankOnMahyuddin Ramli2014-04-262-0/+18
| | | | | | | | | | | Modified by commiter to not publicily export the codename (as the manpages do not use it that way) and removing the included additional derives logic as it was not working (the link always exists at that point) and isn't needed as we do the special casing for debian mainly because it would shallow all distributions otherwise. (similar, but not that strong for ubuntu) Closes: 743595
* autogenerate makefile for vendor systemDavid Kalnischkies2014-03-1313-115/+69
| | | | | | It can be useful to have a whole makefile available for vendor setup, but by providing a basic one we can deal with the simple cases more easily (and changes to the system are presumably easier).
* vendor/tanglu/makefile: add missing clean/sources.listMichael Vogt2014-02-231-0/+5
|
* add apt-vendor information for tangluJon Severinsson2014-02-225-0/+30
|
* improve clean for auto-generated sources.listMichael Vogt2014-02-224-4/+12
|
* remove auto-generated apt-key and sources.list on clean (closes: 739749)Michael Vogt2014-02-224-0/+14
|
* vendor/ubuntu/sources.list.in: whitespace fixMichael Vogt2013-12-291-2/+2
|
* remove debian entry from default steamos sources.listMichael Vogt2013-12-271-2/+0
|
* vendor/steamos/*:Michael Vogt2013-12-214-1/+27
| | | | | * vendor/steamos/*: - add steamos support
* vendor/getinfo:Michael Vogt2013-12-211-1/+1
| | | | | * vendor/getinfo: - fix ubuntu-codename
* add apt-vendor for raspbian. Closes: #732749Michael Vogt2013-12-213-0/+24
|
* fix build failure with the new apt-vendors stuffMichael Vogt2013-12-063-3/+4
|
* vendor/debian/makefile: apply 6f3c4e33 for debian/makefile as wellMichael Vogt2013-12-061-1/+1
|
* vendor/makefile: fix build error for parallel buildsMichael Vogt2013-12-061-1/+1
|
* generate apt-key script with vendor info about keysDavid Kalnischkies2013-12-013-1/+5
| | | | | | | The apt-key script uses quiet a few keyring files for operation which are specific to the distribution it is build on and is hence one of the most patched parts – even if it is not that often used anymore now that a fragment directory for trusted.gpg exists.
* use a substvar to set the archive-keyring in debian/controlDavid Kalnischkies2013-11-303-2/+38
| | | | | | 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
* add a vendor specific file to have configurable entitiesDavid Kalnischkies2013-11-302-0/+10
| | | | | | | manpages sometimes refer to distro-specific things like the name of the package providing the achive-keyring. Having a central place to configure this helps in having it consistent in the manpages and allows to load this info from other places in the buildsystem as well later.
* introduce a vendor system to change sources.listDavid Kalnischkies2013-11-305-0/+82
Many derivatives make quiet a few simple changes to apt introducing silly diffs just to change examples and co making it harder for them to update apt and harder for us to merge real changes back. First stop: doc/examples/sources.list