Skip to content
Snippets Groups Projects
Commit c33aa1bb authored by godog's avatar godog
Browse files

Merge branch 'ci' into 'master'

Build debian package using CI

See merge request ai3/mailman-lmtp!1
parents d863629b 1020ac96
No related branches found
No related tags found
1 merge request!1Build debian package using CI
include: "https://git.autistici.org/ai3/build-deb/raw/master/ci-common.yml"
# debian/patches patches are kept applied in the tree, no need to
# double-apply them when building the source package.
# Thus remove the patches altogether and build an original tarball out of HEAD.
build_pkgsrc:stretch:
script:
- rm -rf debian/patches
- git archive --prefix orig/ --output ../$(dpkg-parsechangelog -SSource)_$(dpkg-parsechangelog -SVersion | sed -e 's/-[^-]*$//' -e 's/^[0-9]*://').orig.tar.gz HEAD
# nicer version with git-buildpackage >= 0.9.8
#- gbp export-orig --upstream-tag=HEAD
- build-dsc
......@@ -3,8 +3,8 @@ Section: mail
Priority: optional
Maintainer: Mailman for Debian <pkg-mailman-hackers@lists.alioth.debian.org>
Uploaders: Thijs Kinkhorst <thijs@debian.org>,
Build-Depends: debhelper (>= 11), autoconf, python-dev,
gettext, python-dnspython, dh-python
Build-Depends: debhelper (>= 10), autoconf, python-dev,
gettext, python-dnspython, dh-python, dh-systemd
Standards-Version: 4.1.4
Homepage: http://www.list.org/
Vcs-Git: https://salsa.debian.org/mailman-team/mailman2.git
......
......@@ -121,7 +121,8 @@ binary-arch: build
do dh_link usr/lib/$(package)/bin/$$bin usr/sbin/$$bin; done
mv debian/mailman/usr/sbin/arch debian/mailman/usr/sbin/mmarch
dh_installman
dh_installsystemd
dh_systemd_enable
dh_systemd_start
dh_installdebconf
dh_installexamples templates/* debian/mm_cfg.py \
debian/mailman/usr/lib/$(package)/Mailman/Defaults.py
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment