diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:32:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:32:59 +0000 |
commit | 4d57e0a8dab2139a631a21aab862487481548702 (patch) | |
tree | f7cea0b9939e2ecb7a301de6c83bada29452046d /examples | |
parent | Initial commit. (diff) | |
download | devscripts-4d57e0a8dab2139a631a21aab862487481548702.tar.xz devscripts-4d57e0a8dab2139a631a21aab862487481548702.zip |
Adding upstream version 2.23.7.upstream/2.23.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/debbisect_buildsrc.sh | 17 | ||||
-rw-r--r-- | examples/forward.exim | 6 |
2 files changed, 23 insertions, 0 deletions
diff --git a/examples/debbisect_buildsrc.sh b/examples/debbisect_buildsrc.sh new file mode 100755 index 0000000..df27538 --- /dev/null +++ b/examples/debbisect_buildsrc.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# +# use this script to build a source package with debbisect like this: +# +# $ DEBIAN_BISECT_SRCPKG=mysrc ./debbisect --cache=./cache "two years ago" yesterday /usr/share/doc/devscripts/examples/debbisect_buildsrc.sh +# +# copy this script and edit it if you want to customize it + +set -eu + +mmdebstrap --variant=apt unstable \ +--aptopt='Apt::Key::gpgvcommand "/usr/share/debuerreotype/scripts/.gpgv-ignore-expiration.sh"' \ +--aptopt='Acquire::Check-Valid-Until "false"' \ +--customize-hook='chroot "$1" apt-get --yes build-dep '"$DEBIAN_BISECT_SRCPKG" \ +--customize-hook="chroot \"\$1\" dpkg-query --showformat '\${binary:Package}=\${Version}\n' --show" \ +--customize-hook='chroot "$1" apt-get source --build '"$DEBIAN_BISECT_SRCPKG" \ +/dev/null $DEBIAN_BISECT_MIRROR "deb-src $DEBIAN_BISECT_MIRROR unstable main" diff --git a/examples/forward.exim b/examples/forward.exim new file mode 100644 index 0000000..8c42c76 --- /dev/null +++ b/examples/forward.exim @@ -0,0 +1,6 @@ +# Exim Filter <<== do not edit or remove this line! +# Assortment of debian lists +if $header_resent-sender: matches "debian-(.*)-request@" +then + save $home/mail/debian-$1 +endif |