summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2009-08-25 00:07:59 -0700
committerSteve Langasek <vorlon@debian.org>2019-01-08 21:25:56 -0800
commitdb06131cd414923f9d7c93b5e104ece9e6a511db (patch)
treec01b4a405c1c92dcbf6a88dfef3dbec03b37653c
parent3c412b161a0e6be81e3aec5192e1bbd00435b7dc (diff)
And bump the version checks in the libpam-modules {pre,post}inst, so that
the necessary services get restarted for any modules that need the new symbols.
-rw-r--r--debian/changelog3
-rw-r--r--debian/libpam-modules.preinst2
-rw-r--r--debian/libpam0g.postinst4
3 files changed, 6 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index a23a590a..4e303736 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ pam (1.1.0-1) UNRELEASED; urgency=low
applied upstream.
* Update debian/libpam0g.symbols for new extension.
* Bump the shlibs version as well, for our dpkg-shlibdeps fallback.
+ * And bump the version checks in the libpam-modules {pre,post}inst, so that
+ the necessary services get restarted for any modules that need the new
+ symbols.
* Add /sbin/mkhomedir_helper to libpam-modules.
-- Steve Langasek <vorlon@debian.org> Mon, 24 Aug 2009 01:23:18 -0700
diff --git a/debian/libpam-modules.preinst b/debian/libpam-modules.preinst
index 5c106085..486c6016 100644
--- a/debian/libpam-modules.preinst
+++ b/debian/libpam-modules.preinst
@@ -4,7 +4,7 @@ set -e
. /usr/share/debconf/confmodule
-if dpkg --compare-versions "$2" lt-nl 0.99.10.0; then
+if dpkg --compare-versions "$2" lt-nl 1.1.0; then
db_version 2.0
if pidof xscreensaver xlockmore >/dev/null; then
diff --git a/debian/libpam0g.postinst b/debian/libpam0g.postinst
index 9efa29ca..4abe2bae 100644
--- a/debian/libpam0g.postinst
+++ b/debian/libpam0g.postinst
@@ -96,7 +96,7 @@ installed_services() {
if [ "$1" = "configure" ]
then
if [ ! -z "$2" ]; then
- if dpkg --compare-versions "$2" lt 0.99.10.0; then
+ if dpkg --compare-versions "$2" lt 1.1.0; then
db_version 2.0
echo -n "Checking for services that may need to be restarted..."
@@ -203,7 +203,7 @@ then
# Shut down the frontend, to make sure none of the
# restarted services keep a connection open to it
db_stop
- fi # end upgrading and $2 lt 0.99.10.0
+ fi # end upgrading and $2 lt 1.1.0
fi # Upgrading
fi