source: branches/locker-dev/server/fedora/specs/nss-ldapd.spec.patch @ 1431

Last change on this file since 1431 was 1132, checked in by andersk, 15 years ago
Update nss-ldapd to 0.6.8.
File size: 2.4 KB
  • nss-ldapd.spec

    old new  
    1919
    2020
    2121Name:           nss-ldapd
    22 BuildRequires:  db-devel krb5-devel openldap2-devel
     22BuildRequires:  db4-devel krb5-devel openldap-devel autoconf automake libtool
     23Conflicts:      nss_ldap
    2324License:        LGPL v2.1 or later
    2425Group:          Productivity/Networking/LDAP/Clients
    2526AutoReqProv:    on
    2627PreReq:         /bin/chmod
    2728Conflicts:      nss_ldap
    2829Version:        0.6.8
    29 Release:        2.1
     30Release:        2.1.scripts.%{scriptsversion}
    3031Summary:        NSS module and daemon for using LDAP as a naming service
    3132Url:            http://ch.tudelft.nl/~arthur/nss-ldapd/
    3233Source:         nss-ldapd-%{version}.tar.bz2
    33 Source1:        rc.nslcd
     34Patch1000:      rc.nslcd.patch
    3435Source100:      nss-ldapd-0.6.8-rpmlintrc
    3536BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    3637
     
    5253
    5354%prep
    5455%setup -q
    55 cp -v %{S:1} .
     56%patch1000 -p0 -b .rc
    5657
    5758%build
    5859%{?suse_update_config:%{suse_update_config -f}}
     
    7273mkdir -p $RPM_BUILD_ROOT/etc/init.d/
    7374mkdir -p $RPM_BUILD_ROOT/usr/sbin/
    7475install -m 755 rc.nslcd $RPM_BUILD_ROOT/etc/init.d/nslcd
    75 ln -sf ../../etc/init.d/nslcd $RPM_BUILD_ROOT/usr/sbin/rcnslcd
    7676make DESTDIR=$RPM_BUILD_ROOT install
    7777mkdir -p $RPM_BUILD_ROOT/var/run/nslcd
    7878install -m 644 man/nss-ldapd.conf.5 $RPM_BUILD_ROOT/usr/share/man/man5
     
    8888    /bin/chmod 640 /etc/nss-ldapd.conf
    8989fi
    9090
    91 %preun
    92 %stop_on_removal nslcd
    93 
    9491%postun
    9592/sbin/ldconfig
    96 %restart_on_update nslcd
    97 %insserv_cleanup
    9893
    9994%files
    10095%defattr(-,root,root)
     
    10499%doc %{_mandir}/man8/*
    105100%config(noreplace) %attr(640,root,root) /etc/nss-ldapd.conf
    106101%config /etc/init.d/nslcd
    107 /usr/sbin/rcnslcd
    108102%dir /var/run/nslcd
    109103/usr/sbin/nslcd
    110104
    111105%changelog
     106* Sun May 24 2009 Anders Kaseorg <andersk@mit.edu> - 0.6.8-2.1
     107- Update for Fedora again.
    112108* Wed Mar 25 2009 rhafer@suse.de
    113109- Updated to 0.6.8:
    114110  * the nss-ldapd.conf was created world-readable which could cause
     
    129125- Adjust config file permissions upon update, to fix world-readable
    130126  /etc/nss-ldapd.conf as created by older versions
    131127  (bnc#487737, CVE-2009-1073)
     128* Wed Dec 31 2008  <quentin@mit.edu> - 0.6.4-3.0
     129- add init script for Fedora
     130* Wed Dec 31 2008  <quentin@mit.edu> - 0.6.4-2.4
     131- port from openSUSE to Fedora
    132132* Fri Aug 15 2008 rhafer@suse.de
    133133- Fixed "Required-Stop" Tag to include the same services as
    134134  "Required-Start"
Note: See TracBrowser for help on using the repository browser.