aboutsummaryrefslogtreecommitdiff
path: root/debian/libpam-runtime.postinst
Commit message (Collapse)AuthorAgeFilesLines
* d/libpam-runtime.postinst: Drop redundant version checkGioele Barabucci2025-02-141-2/+1
| | | | | The check against version 1.0.1-11 has been redundant since Debian 5 "lenny".
* d/libpam-{modules,runtime}.post{inst,rm}: Use `set -e` instead of `/bin/sh -e`Gioele Barabucci2025-02-131-1/+3
| | | | | | | Policy recommends to use `set -e` to ensure that scripts always have `-e` enabled, even when they are run as `sh foo.postinst`. Fixes: lintian: *: maintainer-script-without-set-e
* Further proof libpam-runtime postinst for DPKG_ROOT just in case.Steve Langasek2022-10-051-5/+5
|
* Style nitpick wrt variable quoting in path argumentsSteve Langasek2022-10-051-2/+2
|
* Merge remote-tracking branch 'josch/dpkg-root'Steve Langasek2022-10-051-2/+2
|\ | | | | | | | | | | | | Support DPKG_ROOT in the postinst scripts. Thanks, Johannes Schauer Marin Rodrigues. Bug-Debian: https://bugs.debian.org/993161
| * support DPKG_ROOT in postinst (closes: #993161)Johannes Schauer Marin Rodrigues2021-09-241-2/+2
| |
* | Drop obsolete upgrade code from maintainer scripts which is no longer usedSteve Langasek2022-08-181-4/+0
|/
* pam-auth-update: support DPKG_ROOTSam Hartman2021-09-151-1/+1
| | | | | | | | Patch from Johannes 'josch' Schauer to implement a --root argument to pam-auth-update and to use it in the call in libpam-runtime. * debian/local/pam-auth-update: support --root * debian/libpam-runtime.postinst: call with --root $DPKG_ROOT
* debian/libpam-runtime.{postinst,templates}: since 1.1.2-1 is targetedSteve Langasek2019-01-081-16/+0
| | | | | | | for post-squeeze, we don't need to support upgrades from 1.0.1-6 to 1.0.1-10 anymore. Drop the debconf error note about having configured your system with a lack of authentication, so that translators don't spend any more time on it.
* On upgrade from versions before 1.1.0-1, ifSteve Langasek2019-01-081-0/+4
| | | | | | /etc/pam.d/common-session-noninteractive has not been created (because the user declined use of pam-auth-update), create it by copying /etc/pam.d/common-session. Closes: #543401.
* debian/libpam-runtime.postinst: bump the --force version check toSteve Langasek2019-01-081-2/+11
| | | | | | 1.0.1-11, to allow for a new common-session-noninteractive config file; and include md5sum checking logic that will work the same with old unmanaged and new managed /etc/pam.d/common-* files.
* releasing version 1.0.1-10Steve Langasek2019-01-081-1/+1
|
* Fix the config error *first* to limit the window of exposure as much asSteve Langasek2019-01-081-2/+6
| | | | | possible, /then/ display the debconf error which may block the upgrade.
* Per discussion with Steve, move security note fromSam Hartman2019-01-081-2/+14
| | | | | libpam-runtime.config to postinst.
* Load the confmodule in postinst so the config script runsSam Hartman2019-01-081-0/+1
|
* fix-up commit to match 1.1.0-6 from the archiveSteve Langasek2019-01-081-1/+1
|
* bump the referenced version number again for one /really/ final pam upload toSteve Langasek2019-01-031-1/+1
| | | | | | lenny, and update the checksums to point at the current template versions (replacing the previous md5sums, since that version was never uploaded to Debian)
* bump the version check to 1.0.1-4; we had to upload 1.0.1-3 as a security fixSteve Langasek2019-01-031-1/+1
|
* add a --package option to pam-auth-update, which lowers the debconf prioritySteve Langasek2019-01-031-1/+1
| | | | of the multiselect question
* on upgrade, if we used the --force option clean up he resulting .pam-oldSteve Langasek2019-01-031-0/+7
| | | | files; these are guaranteed not to contain anything of relevance.
* create the new default configs with support for pam-auth-update substitution,Steve Langasek2019-01-031-5/+8
| | | | and set up libpam-runtime.postinst to invoke pam-auth-update
* fix-up commit for grafting svn history onto git historySteve Langasek2019-01-021-0/+21