Make it possible to verify our own reprepro repositories by providing a pubkey.

Verifying the integrity of our repository is basically mandatory when the
build server is separated from the repository server. Additionally, if you
want to build a package for Squeeze that has a dependency on a package from
our repository the package list *MUST* be verified because "[trusted=yes]" in
the sources list is not yet supported by that apt version.
puppet: install ttf-dejavu package to fix java headless issue

Jenkins/Java with OpenJDK might complain about:

| "Caused by: java.lang.Error: Probable fatal error:No fonts found."

and e.g. the "Test Result Trend" graphics are missing then.

Might also require:

  JAVA_ARGS="-Djava.awt.headless=true"

inside /etc/default/jenkins. The latest Jenkins packages
already include this, but it's missing in the LTS releases
currently, jftr.
puppet: install timestamper plugin

Every Jenkins system should have this plugin present,
so let's go for it.
build-and-provide-package: use -b for package builds that shouldn't include sources

See dpkg-buildpackage(1):

| -b  Specifies a binary-only build, no source files are to be built and/or distributed. Passed to dpkg-genchanges.

 vs.

| -B  Specifies a binary-only build, limited to architecture dependent packages.  Passed to dpkg-genchanges.

We don't want to skip the architecture dependent packages but
just don't want to include sources in all the package builds
(since the sources can be included via reprepro in the repository
just *once*).

Thanks: alexander (user systemstart on github) for testing and feedback
Merge remote-tracking branch 'origin/pr/83'

https://github.com/mika/jenkins-debian-glue/pull/83
Bump Standards-Version to 3.9.5
Release new version 0.8.0
generate-reprepro-codename: Make architectures and (udeb) components configable.

Architectures, components and udeb components are now configurable by either
using parameters or environment variables. Parameters will overwrite
environment variables.

The udeb components parameter value may be explicitly(!) empty (e.g.
--udeb-components "") in which case UDebComponents is not set in the created
distribution. If no parameters or environment variables are given, sane
defaults are used.
LICENSE: update copyright information for 2014
Revert "build-and-provide-package: use -b for package builds that shouldn't include sources" [Closes: #88]

This reverts commit 649c70812e9ff22a0bb55f4719dff31d0c2e1e72.

The "-b" approach was just wrong when trying to fix:

| dh_virtualenv: error: no such option: -a

since any dh script should accept -a and -i.
Will follow up with a bug report against dh-virtualenv to
address the issue there.

Thanks: Christoph Berg <christoph.berg@credativ.de> for feedback
Release new version 0.8.1
Pass DIST and ARCH to cowbuilder call

Pass DIST and ARCH to cowbuilder call, so that is actually available to
it. This way its actually possiible to use the information in pbuilder
hooks, e.g. for the inclusion of (dist- or arch-specific) extra repos
Empty 'distribution' and 'architecture' env vars now do not break script when calling cowbuilder.

Note that sudoers may need to allow DIST and ARCH environment
variables to be passed, e.g.

Defaults  env_keep+="DIST ARCH"
puppet: allow DIST + ARCH in sudo configuration

Required for change in git commit 08248d68
No need to source /etc/jenkins/debian-glue twice in the same script
generate-git-snapshot: Support PRE_DCH_HOOK variable for custom scripts

This allows stuff like:

  echo "sed -i 's/^Section: _SECTION_/Section: dev/' debian/control" > /tmp/changeVersion.sh
  export PRE_DCH_HOOK="/tmp/changeVersion.sh"
  /usr/bin/generate-git-snapshot

Thanks: Rudolph Bott <bott@sipgate.de> for the patch
debian/copyright: fix Upstream-Name header
generate-reprepro-codename: Accept origin and suite as command line arguments.
Don't use --git-export-dir

If export-dir=../build-area is in gbp.conf, the build fails because orig.tar.* is not found.
Support skipping adt tests by setting ADT=skip

Example to skip the adt tests for some packages and run them in a separate job instead:
http://git.postgresql.org/gitweb/?p=pgapt.git;a=commitdiff;h=34ebf5a322d2c27b5d887fb871d16e7ace68dee

NOTE: If you set ADT variable in your environment make sure to also
allow ADT in sudo's env_keep configuration.

Thanks: Christoph Berg