Ignore:
Timestamp:
Apr 29, 2011, 9:22:38 PM (11 years ago)
Author:
andersk
Message:
Update nss_nonlocal to 2.0

- Fix errno saving and restoring.
- Document nss-nonlocal-users and nss-local-users groups in README.
- Allow local whitelisting of nonlocal user and group memberships,
  using the magic local ‘nss-nonlocal-users’ user and group.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/specs/nss_nonlocal.spec

    r1554 r1825  
    22Group: System Environment/Libraries
    33Name: nss_nonlocal
    4 Version: 1.11
     4Version: 2.0
    55Release: 1
    66URL: http://debathena.mit.edu/nss_nonlocal/
     
    1111Source: %{name}.tar.gz
    1212BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
     13Requires(pre): shadow-utils
    1314
    1415%description
     
    4748
    4849%pre
    49 groupadd -r nss-local-users || :
    50 groupadd -r nss-nonlocal-users || :
     50getent passwd nss-nonlocal-users >/dev/null || \
     51    useradd -r -g nobody -d / -s /sbin/nologin \
     52    -c 'Magic user for local group whitelist' nss-nonlocal-users
     53getent group nss-local-users || groupadd -r nss-local-users
     54getent group nss-nonlocal-users || groupadd -r nss-nonlocal-users
     55exit 0
    5156
    5257%post
     
    5762
    5863%changelog
     64
     65* Tue Mar 29 2011 Anders Kaseorg <andersk@mit.edu> 2.0-1
     66- New upstream version.
    5967
    6068* Sun May  2 2010 Anders Kaseorg <andersk@mit.edu> 1.11-1
Note: See TracChangeset for help on using the changeset viewer.