summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Vendor
AgeCommit message (Collapse)AuthorFilesLines
2011-03-01dpkg-buildflags: use CFLAGS="-g -O3" for building ppc64 packages on UbuntuColin Watson1-0/+6
We're considering bringing up a ppc64 port of the Ubuntu server, and it appears to be best to build it with -O3 rather than -O2. (I realise that this would be unusual in Debian and that there are more obstacles to this than just dpkg-buildflags, and I'd like to do this differently eventually, but this is where we are at the moment.)
2010-05-21Dpkg::Vendor::Ubuntu: Handle hardening in DEB_BUILD_OPTIONSColin Watson1-0/+39
Handle hardening-wrapper options via DEB_BUILD_OPTIONS. Originally contributed by Kees Cook. This is Ubuntu-specific for now, pending agreement on a better interface; see #489771 for background.
2010-05-21Dpkg::BuildFlags: simplify update-buildflags hookColin Watson2-6/+5
Pass the entire Dpkg::BuildFlags object to update-buildflags, so that hooks can use its set() method rather than setting hash elements directly.
2010-04-11Dpkg::Vendor::Default: document the update-buildflags hookRaphaël Hertzog1-0/+6
2010-04-11Dpkg::BuildFlags: for Ubuntu set LDFLAGS to -Wl,-Bsymbolic-functionsRaphaël Hertzog2-0/+8
This is according to https://wiki.ubuntu.com/DistCompilerFlags and the current patch that they are carrying anyway.
2010-02-26Update POD documentation to indicate that it's using UTF-8 encodingRaphaël Hertzog3-0/+6
Also fix many spelling errors spotted by lintian.
2010-02-25libdpkg-perl: Fix Canonical copyright statementGuillem Jover1-1/+2
The work Colin did was under Canonical's time. Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Guillem Jover <guillem@debian.org>
2010-02-21Add $VERSION numbers to all perl modulesRaphaël Hertzog3-0/+6
Modules whose API should be stable have a version 1.00. The modules with version 0.01 are expected to have further API changes in the (near) future or are deemed to be useful mostly for dpkg-dev's internal usage.
2010-02-13Dpkg::Vendor::Ubuntu::find_launchpad_closes(): don't return duplicate bug ↵Brian Murray1-3/+3
numbers Ensure we don't return the same bug multiple times even if it's closed multiple times.
2009-11-11dpkg-source: add a DEP-3 compliant header to automatic patchesRaphaël Hertzog2-0/+15
In "3.0 (quilt)" format, dpkg-source can automatically create patches with the upstream changes applied to the source package. Those patches will now contain an informative header respecting the DEP-3 proposal where the Description contains a copy of the last changelog entry, the last uploader is mentionned in the Author field. Supplementary fields can be added by a vendor hook "extend-patch-header". The Debian implementation of this hook automatically adds Bug-Debian and Bug-Ubuntu entries. Dpkg::Source::Patch has been modified to be able to output a preliminary header.
2009-11-08Unify format in license headersGuillem Jover3-9/+9
Indent license text to one space after the '#'. Add '#' to blank lines between paragraphs and remove trailing '#' after the license text.
2009-11-08Fix copyright statementsGuillem Jover1-2/+3
Use UTF-8 copyright symbol instead of “(C)”. Add missing “Copyright ©” to copyright statements instead of relying on the first occurance. Use properly spelled names.
2009-11-08Replace FSF address by pointing to the gnu.org URLGuillem Jover3-9/+6
Use the <http://www.gnu.org/licenses/> URL, instead of in most cases the outdated FSF address, which is way more stable, as the latter has changed several times in the past.
2009-10-09Dpkg::Control: rename CTRL_APT_* to CTRL_INDEX_*Raphaël Hertzog1-2/+2
The Packages and Sources files are not really specific to APT. Those files are indexes that can be used by other programs.
2009-09-20dpkg-genchanges, Dpkg::Vendor::Default: drop hook before-changes-creationRaphaël Hertzog1-8/+0
This hook is useless now that the Ubuntu vendor object uses post-process-changelog-entry to add their Launchpad-Bugs-Fixed field.
2009-09-20Dpkg::Vendor::*: better handle unknown hooksRaphaël Hertzog3-8/+9
Implement vendor objects in a way that the return value for unknown hooks is better defined: empty list in list context or undef in scalar context.
2009-09-20Dpkg::Vendor::Default: recommend use base for child objectsRaphaël Hertzog1-2/+1
2009-09-20Dpkg::Vendor::Ubuntu: move Launchpad-Bugs-Fixed creation in another hookRaphaël Hertzog1-6/+10
The creation of the Launchpad-Bugs-Fixed field is now done in post-process-changelog-entry instead of before-changes-creation so that it's also output by dpkg-parsechangelog and not only in the .changes file. Closes: #536066
2009-09-20Dpkg::Vendor::Ubuntu: register custom field Launchpad-Bugs-FixedRaphaël Hertzog1-0/+10
2009-09-20Dpkg::Changelog: add new vendor hook post-process-changelog-entryRaphaël Hertzog1-0/+9
This hook is mainly meant to extract more structured information from the raw changes information.
2009-09-19Register field Dm-Upload-Allowed as Debian specificRaphaël Hertzog1-3/+9
2009-09-19Add vendor hook to register custom fieldsRaphaël Hertzog1-0/+13
2009-09-19Use the new Dpkg::Control interface everywhereRaphaël Hertzog1-1/+1
Update all scripts and module to use Dpkg::Control instead of parsecdata and Dpkg::Fields::Object.
2009-05-10Fix POD errors detected by podchecker in perl modulesGuillem Jover2-0/+6
Add missing blank lines after =cut, close =over section with =back and add a FIXME comment to an empty section.
2009-05-10Move Debian keyrings to the Debian vendor keyring hookGuillem Jover2-5/+20
As Ubuntu is a derivative from Debian, make it inherit the Debian vendor class when running the keyrings hook.
2009-04-27dpkg-source: Add "keyrings" vendor hookColin Watson2-0/+11
Add "keyrings" vendor hook, used by dpkg-source to allow vendors to supply additional keyrings against which source package signatures will be verified. Implement this for Ubuntu.
2009-02-05Add Ubuntu vendor objectRaphael Hertzog1-0/+102
* scripts/Dpkg/Vendor/Ubuntu.pm: Ubuntu vendor object implementing lookup of launchpad bugs in changelogs and a safety-check for Maintainer fields of forked packages (launched during source build).
2009-02-05New framework to hook vendor-specific logicRaphael Hertzog2-0/+134
* scripts/Dpkg/Vendor/Default.pm: Generic vendor object that will be used to hook vendor-specific behaviour in multiple places. * scripts/Dpkg/Vendor/Debian.pm: Debian variant of that object. * scripts/Dpkg/Vendor.pm (get_vendor_object, run_vendor_hook): New functions to retrieve the current vendor object and run vendor-specific code. * scripts/dpkg-source.pl, scripts/dpkg-genchanges.pl: Add first vendor hooks to be used by Ubuntu. * scripts/Makefile.am (EXTRA_DIST): Add 'scripts/Dpkg/Vendor/Default.pm' and 'scripts/Dpkg/Vendor/Debian.pm'.