diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6e53c88 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,7 @@ +orange-yourdev-login (0.1) hirsute; urgency=medium + + * Initial release. Closes: #123456 + + -- Michel Decima Mon, 27 Sep 2021 07:18:08 -0700 + + diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0d86fd8 --- /dev/null +++ b/debian/control @@ -0,0 +1,30 @@ +Source: orange-yourdev-login +Section: misc +Priority: optional +Maintainer: Michel Decima +Build-Depends: debhelper-compat (>=12) +Standards-Version: 4.5.0 +Vcs-Git: https://gitlab.forge.orange-labs.fr/yourdev/orange-yourdev-login.git +Vcs-Browser: https://gitlab.forge.orange-labs.fr/yourdev/orange-yourdev-login +Homepage: http://yourdev.pages.forge.orange-labs.fr/orange-yourdev-login/ + +Package: orange-yourdev-login +Architecture: all +Multi-Arch: foreign +Breaks: orange-yourdev-kerberos +Replaces: orange-yourdev-kerberos +Depends: ${misc:Depends}, + libpam-krb5, + libpam-ccreds, + orange-certs, + orange-krb5, + orange-dongle-aladdin +Recommends: + krb5-auth-dialog +Suggests: + orange-yourdev-ldap, + orange-yourdev-setup, + orange-yourdev-mount +Description: Orange Labs Yourdev Login + Provides Orange Labs login with Kerberos + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e534d5e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,10 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/" +Upstream-Name: orange-yourdev-pki-login +Source: https://gitlab.forge.orange-labs.fr/yourdev/orange-yourdev-login + +Files: * ./debian/* +Copyright: 2021, Orange Labs +License: GPL-2 + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + '/usr/share/common-licenses/GPL-2'. diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..bb9f1f2 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,32 @@ +#!/bin/sh +set -e + +case "$1" in + configure) + # Configure PAM for credential cache + apt-mark manual libpam-ccreds >/dev/null || true + if [ -e /usr/share/pam-configs/ccreds-check ] ; then + pam-auth-update --force --package --enable \ + ccreds-check ccreds-save || true + fi + # Configure PAM for Kerberos + if [ -e /usr/share/pam-configs/krb5 ] ; then + pam-auth-update --force --package --enable krb5 || true + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/preinst b/debian/preinst new file mode 100644 index 0000000..4d9aef4 --- /dev/null +++ b/debian/preinst @@ -0,0 +1,19 @@ +#!/bin/sh +set -e + +case "$1" in + install) + ;; + upgrade) + ;; + abort-upgrade) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d97ee89 --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +# You must remove unused comment lines for the released package. +#export DH_VERBOSE = 1 + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) 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