diff options
author | B Stack <bgstack15@gmail.com> | 2019-09-30 02:27:17 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-09-30 02:27:17 +0000 |
commit | a9c33ca4f1d42497c53aa926a871bb40875159c0 (patch) | |
tree | a42f6302d44ed27b811aa2e44e0a04b44cebbe84 | |
parent | Merge branch 'waterfox-bump' into 'master' (diff) | |
parent | add stub dpkg for oddjob-mkhomedir (diff) | |
download | stackrpms-a9c33ca4f1d42497c53aa926a871bb40875159c0.tar.gz stackrpms-a9c33ca4f1d42497c53aa926a871bb40875159c0.tar.bz2 stackrpms-a9c33ca4f1d42497c53aa926a871bb40875159c0.zip |
Merge branch 'oddjob-mkhomedir' into 'master'
add stub dpkg for oddjob-mkhomedir
See merge request bgstack15/stackrpms!92
22 files changed, 116 insertions, 0 deletions
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 <bgstack15@gmail.com> 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 <bgstack15@gmail.com> +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: <url://example.com> +# +# 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 --- /dev/null +++ b/oddjob-mkhomedir/debian/install 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 <bgstack15@gmail.com> +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 Binary files differnew file mode 100644 index 0000000..d074bea --- /dev/null +++ b/oddjob-mkhomedir/debian/oddjob-mkhomedir/usr/share/doc/oddjob-mkhomedir/changelog.Debian.gz 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: <url://example.com> +# +# 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 |