From 8a1335cb4cff407e55f21888584ad77a52efc825 Mon Sep 17 00:00:00 2001 From: B Stack Date: Sun, 29 Sep 2019 22:26:56 -0400 Subject: add stub dpkg for oddjob-mkhomedir --- oddjob-mkhomedir-0.0.1/README-oddjob-mkhomedir.md | 7 +++++++ oddjob-mkhomedir/debian/README.Debian | 8 ++++++++ oddjob-mkhomedir/debian/changelog | 5 +++++ oddjob-mkhomedir/debian/compat | 1 + oddjob-mkhomedir/debian/control | 15 +++++++++++++++ oddjob-mkhomedir/debian/copyright | 14 ++++++++++++++ oddjob-mkhomedir/debian/debhelper-build-stamp | 1 + oddjob-mkhomedir/debian/docs | 1 + oddjob-mkhomedir/debian/files | 2 ++ oddjob-mkhomedir/debian/install | 0 oddjob-mkhomedir/debian/oddjob-mkhomedir.substvars | 2 ++ oddjob-mkhomedir/debian/oddjob-mkhomedir/DEBIAN/control | 12 ++++++++++++ oddjob-mkhomedir/debian/oddjob-mkhomedir/DEBIAN/md5sums | 4 ++++ .../doc/oddjob-mkhomedir/README-oddjob-mkhomedir.md | 7 +++++++ .../usr/share/doc/oddjob-mkhomedir/README.Debian | 8 ++++++++ .../usr/share/doc/oddjob-mkhomedir/changelog.Debian.gz | Bin 0 -> 158 bytes .../usr/share/doc/oddjob-mkhomedir/copyright | 14 ++++++++++++++ oddjob-mkhomedir/debian/patches/series | 1 + oddjob-mkhomedir/debian/rules | 9 +++++++++ oddjob-mkhomedir/debian/source/format | 1 + oddjob-mkhomedir/debian/source/local-options | 2 ++ oddjob-mkhomedir/debian/watch | 2 ++ 22 files changed, 116 insertions(+) create mode 100644 oddjob-mkhomedir-0.0.1/README-oddjob-mkhomedir.md create mode 100644 oddjob-mkhomedir/debian/README.Debian create mode 100644 oddjob-mkhomedir/debian/changelog create mode 100644 oddjob-mkhomedir/debian/compat create mode 100644 oddjob-mkhomedir/debian/control create mode 100644 oddjob-mkhomedir/debian/copyright create mode 100644 oddjob-mkhomedir/debian/debhelper-build-stamp create mode 100644 oddjob-mkhomedir/debian/docs create mode 100644 oddjob-mkhomedir/debian/files create mode 100644 oddjob-mkhomedir/debian/install create mode 100644 oddjob-mkhomedir/debian/oddjob-mkhomedir.substvars create mode 100644 oddjob-mkhomedir/debian/oddjob-mkhomedir/DEBIAN/control create mode 100644 oddjob-mkhomedir/debian/oddjob-mkhomedir/DEBIAN/md5sums create mode 100644 oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/README-oddjob-mkhomedir.md create mode 100644 oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/README.Debian create mode 100644 oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/changelog.Debian.gz create mode 100644 oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/copyright create mode 100644 oddjob-mkhomedir/debian/patches/series create mode 100755 oddjob-mkhomedir/debian/rules create mode 100644 oddjob-mkhomedir/debian/source/format create mode 100644 oddjob-mkhomedir/debian/source/local-options create mode 100644 oddjob-mkhomedir/debian/watch diff --git a/oddjob-mkhomedir-0.0.1/README-oddjob-mkhomedir.md b/oddjob-mkhomedir-0.0.1/README-oddjob-mkhomedir.md new file mode 100644 index 0000000..c454a3d --- /dev/null +++ b/oddjob-mkhomedir-0.0.1/README-oddjob-mkhomedir.md @@ -0,0 +1,7 @@ +# Introduction +This oddjob-mkhomedir-0.0.1 directory is a dummy, which is designed to be installed on a Devuan system so you can install freeipa-client. +This is the "source" contents that will be used to build a dpkg from the oddjob-mkhomedir/ directory in this same source tree. + +To actually make home directories upon user first login: + + tf=/etc/pam.d/common-session ; ! grep -q 'mkhomedir' "${tf}" && { thisline="$(( $( grep -nE 'session\s+optional' "${tf}" | head -n1 | awk -F':' '{print $1}' ) - 0 ))" ; awk -v thisline="$thisline" 'NR == (thisline) {print "session optional pam_mkhomedir.so"; } {print;}' "${tf}" > "${tf}.2" ; test -f "${tf}.2" && mv "${tf}.2" "${tf}" ; } diff --git a/oddjob-mkhomedir/debian/README.Debian b/oddjob-mkhomedir/debian/README.Debian new file mode 100644 index 0000000..9ccbe51 --- /dev/null +++ b/oddjob-mkhomedir/debian/README.Debian @@ -0,0 +1,8 @@ +oddjob-mkhomedir for Debian + +Please edit this to provide information specific to +this oddjob-mkhomedir Debian package. + + (Automatically generated by debmake Version 4.3.1) + + -- Brian Girton <> Fri, 20 Sep 2019 13:52:19 -0400 diff --git a/oddjob-mkhomedir/debian/changelog b/oddjob-mkhomedir/debian/changelog new file mode 100644 index 0000000..8a4949b --- /dev/null +++ b/oddjob-mkhomedir/debian/changelog @@ -0,0 +1,5 @@ +oddjob-mkhomedir (0.0.1-1) obs; urgency=low + + * Dummy package for freeipa-client dependency. + + -- B Stack Fri, 20 Sep 2019 13:52:19 -0400 diff --git a/oddjob-mkhomedir/debian/compat b/oddjob-mkhomedir/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/oddjob-mkhomedir/debian/compat @@ -0,0 +1 @@ +11 diff --git a/oddjob-mkhomedir/debian/control b/oddjob-mkhomedir/debian/control new file mode 100644 index 0000000..59fd27b --- /dev/null +++ b/oddjob-mkhomedir/debian/control @@ -0,0 +1,15 @@ +Source: oddjob-mkhomedir +Section: misc +Priority: optional +Maintainer: B Stack +Build-Depends: debhelper (>=11~) +Standards-Version: 4.1.4 +Homepage: https://gitlab.com/bgstack15/stackrpms + +Package: oddjob-mkhomedir +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Dummy package for freeipa-client dependency + This package is a stub and only designed to fool dpkg + so you can install freeipa-client. diff --git a/oddjob-mkhomedir/debian/copyright b/oddjob-mkhomedir/debian/copyright new file mode 100644 index 0000000..49e65e3 --- /dev/null +++ b/oddjob-mkhomedir/debian/copyright @@ -0,0 +1,14 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: oddjob-mkhomedir +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: README-oddjob-mkhomedir.md + oddjob-mkhomedir.sh +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/oddjob-mkhomedir/debian/debhelper-build-stamp b/oddjob-mkhomedir/debian/debhelper-build-stamp new file mode 100644 index 0000000..1db3bc4 --- /dev/null +++ b/oddjob-mkhomedir/debian/debhelper-build-stamp @@ -0,0 +1 @@ +oddjob-mkhomedir diff --git a/oddjob-mkhomedir/debian/docs b/oddjob-mkhomedir/debian/docs new file mode 100644 index 0000000..58a5633 --- /dev/null +++ b/oddjob-mkhomedir/debian/docs @@ -0,0 +1 @@ +README-oddjob-mkhomedir.md diff --git a/oddjob-mkhomedir/debian/files b/oddjob-mkhomedir/debian/files new file mode 100644 index 0000000..0b0a73d --- /dev/null +++ b/oddjob-mkhomedir/debian/files @@ -0,0 +1,2 @@ +oddjob-mkhomedir_0.0.1-1_all.deb misc optional +oddjob-mkhomedir_0.0.1-1_amd64.buildinfo misc optional diff --git a/oddjob-mkhomedir/debian/install b/oddjob-mkhomedir/debian/install new file mode 100644 index 0000000..e69de29 diff --git a/oddjob-mkhomedir/debian/oddjob-mkhomedir.substvars b/oddjob-mkhomedir/debian/oddjob-mkhomedir.substvars new file mode 100644 index 0000000..978fc8b --- /dev/null +++ b/oddjob-mkhomedir/debian/oddjob-mkhomedir.substvars @@ -0,0 +1,2 @@ +misc:Depends= +misc:Pre-Depends= diff --git a/oddjob-mkhomedir/debian/oddjob-mkhomedir/DEBIAN/control b/oddjob-mkhomedir/debian/oddjob-mkhomedir/DEBIAN/control new file mode 100644 index 0000000..cf23fa1 --- /dev/null +++ b/oddjob-mkhomedir/debian/oddjob-mkhomedir/DEBIAN/control @@ -0,0 +1,12 @@ +Package: oddjob-mkhomedir +Version: 0.0.1-1 +Architecture: all +Maintainer: B Stack +Installed-Size: 10 +Section: misc +Priority: optional +Multi-Arch: foreign +Homepage: https://gitlab.com/bgstack15/stackrpms +Description: Dummy package for freeipa-client dependency + This package is a stub and only designed to fool dpkg + so you can install freeipa-client. diff --git a/oddjob-mkhomedir/debian/oddjob-mkhomedir/DEBIAN/md5sums b/oddjob-mkhomedir/debian/oddjob-mkhomedir/DEBIAN/md5sums new file mode 100644 index 0000000..92d29a7 --- /dev/null +++ b/oddjob-mkhomedir/debian/oddjob-mkhomedir/DEBIAN/md5sums @@ -0,0 +1,4 @@ +5fbdce809341c17753f5e91e89047ed3 usr/share/doc/oddjob-mkhomedir/README-oddjob-mkhomedir.md +5aa08beaf32d4a7fe0e17c59854ba94e usr/share/doc/oddjob-mkhomedir/README.Debian +de5542c9595363e9fa94b674859b038d usr/share/doc/oddjob-mkhomedir/changelog.Debian.gz +f67b1a7b580c9c6f2d2c1fbf3e6d7068 usr/share/doc/oddjob-mkhomedir/copyright diff --git a/oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/README-oddjob-mkhomedir.md b/oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/README-oddjob-mkhomedir.md new file mode 100644 index 0000000..c454a3d --- /dev/null +++ b/oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/README-oddjob-mkhomedir.md @@ -0,0 +1,7 @@ +# Introduction +This oddjob-mkhomedir-0.0.1 directory is a dummy, which is designed to be installed on a Devuan system so you can install freeipa-client. +This is the "source" contents that will be used to build a dpkg from the oddjob-mkhomedir/ directory in this same source tree. + +To actually make home directories upon user first login: + + tf=/etc/pam.d/common-session ; ! grep -q 'mkhomedir' "${tf}" && { thisline="$(( $( grep -nE 'session\s+optional' "${tf}" | head -n1 | awk -F':' '{print $1}' ) - 0 ))" ; awk -v thisline="$thisline" 'NR == (thisline) {print "session optional pam_mkhomedir.so"; } {print;}' "${tf}" > "${tf}.2" ; test -f "${tf}.2" && mv "${tf}.2" "${tf}" ; } diff --git a/oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/README.Debian b/oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/README.Debian new file mode 100644 index 0000000..9ccbe51 --- /dev/null +++ b/oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/README.Debian @@ -0,0 +1,8 @@ +oddjob-mkhomedir for Debian + +Please edit this to provide information specific to +this oddjob-mkhomedir Debian package. + + (Automatically generated by debmake Version 4.3.1) + + -- Brian Girton <> Fri, 20 Sep 2019 13:52:19 -0400 diff --git a/oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/changelog.Debian.gz b/oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/changelog.Debian.gz new file mode 100644 index 0000000..d074bea Binary files /dev/null and b/oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/changelog.Debian.gz differ diff --git a/oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/copyright b/oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/copyright new file mode 100644 index 0000000..49e65e3 --- /dev/null +++ b/oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/copyright @@ -0,0 +1,14 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: oddjob-mkhomedir +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: README-oddjob-mkhomedir.md + oddjob-mkhomedir.sh +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/oddjob-mkhomedir/debian/patches/series b/oddjob-mkhomedir/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/oddjob-mkhomedir/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/oddjob-mkhomedir/debian/rules b/oddjob-mkhomedir/debian/rules new file mode 100755 index 0000000..9cf3a86 --- /dev/null +++ b/oddjob-mkhomedir/debian/rules @@ -0,0 +1,9 @@ +#!/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 + +%: + dh $@ diff --git a/oddjob-mkhomedir/debian/source/format b/oddjob-mkhomedir/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/oddjob-mkhomedir/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/oddjob-mkhomedir/debian/source/local-options b/oddjob-mkhomedir/debian/source/local-options new file mode 100644 index 0000000..00131ee --- /dev/null +++ b/oddjob-mkhomedir/debian/source/local-options @@ -0,0 +1,2 @@ +#abort-on-upstream-changes +#unapply-patches diff --git a/oddjob-mkhomedir/debian/watch b/oddjob-mkhomedir/debian/watch new file mode 100644 index 0000000..76575dc --- /dev/null +++ b/oddjob-mkhomedir/debian/watch @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +version=3 -- cgit