~abone/ubuntu/quantal/pam/abone

« back to all changes in this revision

Viewing changes to debian/local/pam-auth-update

  • Committer: Package Import Robot
  • Author(s): Steve Langasek
  • Date: 2011-11-07 21:15:00 UTC
  • mfrom: (3.2.22 sid)
  • Revision ID: package-import@ubuntu.com-20111107211500-ad8xqeobhyjf1g27
Tags: 1.1.3-6ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - debian/libpam-modules.postinst: Add PATH to /etc/environment if it's
    not present there or in /etc/security/pam_env.conf. (should send to
    Debian).
  - debian/libpam0g.postinst: only ask questions during update-manager when
    there are non-default services running.
  - debian/libpam0g.postinst: check if gdm is actually running before
    trying to reload it.
  - debian/libpam0g.postinst: the init script for 'samba' is now named
    'smbd' in Ubuntu, so fix the restart handling.
  - Change Vcs-Bzr to point at the Ubuntu branch.
  - debian/patches-applied/series: Ubuntu patches are as below ...
  - debian/patches-applied/ubuntu-rlimit_nice_correction: Explicitly
    initialise RLIMIT_NICE rather than relying on the kernel limits.
  - debian/patches-applied/pam_umask_usergroups_from_login.defs.patch:
    Deprecate pam_unix' explicit "usergroups" option and instead read it
    from /etc/login.def's "USERGROUP_ENAB" option if umask is only defined
    there. This restores compatibility with the pre-PAM behaviour of login.
  - debian/patches-applied/pam_motd-legal-notice: display the contents of
    /etc/legal once, then set a flag in the user's homedir to prevent
    showing it again.
  - debian/update-motd.5, debian/libpam-modules.manpages: add a manpage
    for update-motd, with some best practices and notes of explanation.
  - debian/patches/update-motd-manpage-ref: add a reference in pam_motd(8)
    to update-motd(5)
  - debian/local/common-session{,-noninteractive}: Enable pam_umask by
    default, now that the umask setting is gone from /etc/profile.
  - debian/local/pam-auth-update: Add the new md5sums for pam_umask addition.
* Dropped changes, included in Debian:
  - debian/patches-applied/update-motd: set a sane umask before calling
    run-parts, and restore the old mask afterwards, so /run/motd gets
    consistent permissions.
  - debian/patches-applied/update-motd: new module option for pam_motd,
    'noupdate', which suppresses the call to run-parts /etc/update-motd.d.
  - debian/libpam0g.postinst: drop kdm from the list of services to
    restart.
* Build-depend on libfl-dev in addition to flex, for cross-building
  support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
my $errtemplate = 'libpam-runtime/conflicts';
37
37
my $overridetemplate = 'libpam-runtime/override';
38
38
my $blanktemplate = 'libpam-runtime/no_profiles_chosen';
 
39
my $titletemplate = 'libpam-runtime/title';
39
40
my $confdir = '/etc/pam.d';
40
41
my $savedir = '/var/lib/pam';
41
42
my (%profiles, @sorted, @enabled, @conflicts, @new, %removals);
150
151
# user, at any priority level, unless explicitly called.
151
152
@new = grep { !$seen{$_} } @sorted;
152
153
 
 
154
settitle($titletemplate);
 
155
 
153
156
# if diff_profiles() fails, and we weren't passed a 'force' argument
154
157
# (because this isn't an upgrade from an old version, or the checksum
155
158
# didn't match, or we're being called by some other module package), prompt