aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-11 17:53:18 -0400
committerB Stack <bgstack15@gmail.com>2020-03-11 17:53:18 -0400
commit61bb7a27543b9caa57e9cf39d9d10131d5af674d (patch)
tree56623c8a211677ae53cdfc2b2d365af5f20714aa /debian
parentinitial commit (diff)
downloadfreeipa-helper-61bb7a27543b9caa57e9cf39d9d10131d5af674d.tar.gz
freeipa-helper-61bb7a27543b9caa57e9cf39d9d10131d5af674d.tar.bz2
freeipa-helper-61bb7a27543b9caa57e9cf39d9d10131d5af674d.zip
add debian/
added the deplist feature to Makefile to support debuild
Diffstat (limited to 'debian')
-rw-r--r--debian/README.Debian5
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control19
-rw-r--r--debian/copyright17
-rw-r--r--debian/freeipa-helper.docs1
-rw-r--r--debian/freeipa-helper.links3
-rw-r--r--debian/freeipa-helper.lintian-overrides3
-rw-r--r--debian/freeipa-helper_devuan.dsc14
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules18
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides2
-rw-r--r--debian/source/local-options2
-rw-r--r--debian/watch2
15 files changed, 94 insertions, 0 deletions
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 <bgstack15@gmail.com> 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 <bgstack15@gmail.com> 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 <bgstack15@gmail.com>
+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: <url://example.com>
+#
+# 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 <bgstack15@gmail.com>
+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
bgstack15