Age | Commit message (Collapse) | Author | Files | Lines |
|
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.)
|
|
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.
|
|
Pass the entire Dpkg::BuildFlags object to update-buildflags, so that
hooks can use its set() method rather than setting hash elements
directly.
|
|
|
|
This is according to https://wiki.ubuntu.com/DistCompilerFlags and
the current patch that they are carrying anyway.
|
|
Also fix many spelling errors spotted by lintian.
|
|
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>
|
|
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.
|
|
numbers
Ensure we don't return the same bug multiple times even if
it's closed multiple times.
|
|
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.
|
|
Indent license text to one space after the '#'. Add '#' to blank lines
between paragraphs and remove trailing '#' after the license text.
|
|
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.
|
|
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.
|
|
The Packages and Sources files are not really specific to APT.
Those files are indexes that can be used by other programs.
|
|
This hook is useless now that the Ubuntu vendor object uses
post-process-changelog-entry to add their Launchpad-Bugs-Fixed
field.
|
|
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.
|
|
|
|
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
|
|
|
|
This hook is mainly meant to extract more structured information
from the raw changes information.
|
|
|
|
|
|
Update all scripts and module to use Dpkg::Control instead
of parsecdata and Dpkg::Fields::Object.
|
|
Add missing blank lines after =cut, close =over section with =back and
add a FIXME comment to an empty section.
|
|
As Ubuntu is a derivative from Debian, make it inherit the Debian vendor
class when running the keyrings hook.
|
|
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.
|
|
* 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).
|
|
* 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'.
|