From 61bb7a27543b9caa57e9cf39d9d10131d5af674d Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 11 Mar 2020 17:53:18 -0400 Subject: add debian/ added the deplist feature to Makefile to support debuild --- debian/README.Debian | 5 +++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 19 +++++++++++++++++++ debian/copyright | 17 +++++++++++++++++ debian/freeipa-helper.docs | 1 + debian/freeipa-helper.links | 3 +++ debian/freeipa-helper.lintian-overrides | 3 +++ debian/freeipa-helper_devuan.dsc | 14 ++++++++++++++ debian/patches/series | 1 + debian/rules | 18 ++++++++++++++++++ debian/source/format | 1 + debian/source/lintian-overrides | 2 ++ debian/source/local-options | 2 ++ debian/watch | 2 ++ 15 files changed, 94 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/freeipa-helper.docs create mode 100644 debian/freeipa-helper.links create mode 100644 debian/freeipa-helper.lintian-overrides create mode 100644 debian/freeipa-helper_devuan.dsc create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/lintian-overrides create mode 100644 debian/source/local-options create mode 100644 debian/watch (limited to 'debian') diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..a6674ab --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,5 @@ +freeipa-helper for Devuan + +The dpkg handles its own symlink work. + + -- Ben Stack Wed, 11 Mar 2020 17:27:23 -0400 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..54d2d86 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +freeipa-helper (0.0.1-1+devuan) obs; urgency=low + + * Initial release. + + -- Ben Stack Wed, 11 Mar 2020 17:27:23 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..48082f7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +12 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..febc104 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: freeipa-helper +Section: net +Priority: optional +Maintainer: Ben Stack +Build-Depends: debhelper (>=12~) +Standards-Version: 4.1.4 +Homepage: https://gitlab.com/bgstack15/freeipa-helper + +Package: freeipa-helper +Architecture: all +Multi-Arch: foreign +Suggests: oddjob-mkhomedir (=0.0.1-1) +Recommends: freeipa-client +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: makes running ipa-client-install easier + Use this set of scripts as part of your ipa client + installation. Some pretend to be systemctl and + related scripts, and one is a post-install script + for final configuration. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2ee71d7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,17 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: freeipa-helper +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: README.md + src/Makefile + src/usr/sbin/freeipa-helper-post-install + src/usr/sbin/systemctl + src/usr/share/doc/freeipa-helper/README.md +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. diff --git a/debian/freeipa-helper.docs b/debian/freeipa-helper.docs new file mode 100644 index 0000000..9d59981 --- /dev/null +++ b/debian/freeipa-helper.docs @@ -0,0 +1 @@ +src/usr/share/doc/freeipa-helper/* diff --git a/debian/freeipa-helper.links b/debian/freeipa-helper.links new file mode 100644 index 0000000..5c2a7b0 --- /dev/null +++ b/debian/freeipa-helper.links @@ -0,0 +1,3 @@ +/usr/sbin/systemctl /bin/systemctl +/usr/sbin/systemctl /usr/bin/hostnamectl +/usr/sbin/systemctl /usr/bin/systemd-detect-virt diff --git a/debian/freeipa-helper.lintian-overrides b/debian/freeipa-helper.lintian-overrides new file mode 100644 index 0000000..2d52e68 --- /dev/null +++ b/debian/freeipa-helper.lintian-overrides @@ -0,0 +1,3 @@ +binary-without-manpage +copyright-has-url-from-dh_make-boilerplate +copyright-without-copyright-notice diff --git a/debian/freeipa-helper_devuan.dsc b/debian/freeipa-helper_devuan.dsc new file mode 100644 index 0000000..0b8e86b --- /dev/null +++ b/debian/freeipa-helper_devuan.dsc @@ -0,0 +1,14 @@ +Format: 3.0 (quilt) +Source: freeipa-helper +Binary: freeipa-helper +Architecture: all +Version: 0.0.1-1+devuan +Maintainer: Ben Stack +Homepage: https://gitlab.com/bgstack15/freeipa-helper +Standards-Version: 4.1.4 +Build-Depends: debhelper (>= 12~) +Package-List: + freeipa-helper deb net optional arch=all +Files: + 00000000000000000000000000000000 1 freeipa-helper.orig.tar.gz + 00000000000000000000000000000000 1 freeipa-helper_devuan.debian.tar.xz diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8e199c0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f +# You must remove unused comment lines for the released package. +#export DH_VERBOSE = 1 +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +APPNAME=freeipa-helper + +%: + dh $@ --sourcedirectory=src + +override_dh_auto_install: + dh_auto_install -- prefix=/usr DEFAULTDIR='$$(DESTDIR)/etc/default' + +override_dh_gencontrol: + printf "misc:Depends=" > debian/${APPNAME}.substvars + make -C src deplist DISTRO=devuan SEPARATOR=',' | grep -vE 'make\[[0-9]' >> debian/${APPNAME}.substvars + dh_gencontrol diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..2da37ed --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,2 @@ +file-without-copyright-information +missing-license-paragraph-in-dep5-copyright diff --git a/debian/source/local-options b/debian/source/local-options new file mode 100644 index 0000000..00131ee --- /dev/null +++ b/debian/source/local-options @@ -0,0 +1,2 @@ +#abort-on-upstream-changes +#unapply-patches diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..fc70498 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +version=4 -- cgit