source: trunk/server/fedora/specs/nss-ldapd.spec.patch @ 1235

Last change on this file since 1235 was 1132, checked in by andersk, 14 years ago
Update nss-ldapd to 0.6.8.
File size: 2.4 KB
RevLine 
[1132]1--- nss-ldapd.spec.orig 2009-03-30 04:33:50.000000000 -0400
2+++ nss-ldapd.spec      2009-05-24 18:39:15.000000000 -0400
3@@ -19,18 +19,19 @@
[912]4 
[1132]5 
[912]6 Name:           nss-ldapd
7-BuildRequires:  db-devel krb5-devel openldap2-devel
8+BuildRequires:  db4-devel krb5-devel openldap-devel autoconf automake libtool
[1132]9+Conflicts:      nss_ldap
[912]10 License:        LGPL v2.1 or later
11 Group:          Productivity/Networking/LDAP/Clients
[1132]12 AutoReqProv:    on
13 PreReq:         /bin/chmod
14 Conflicts:      nss_ldap
15 Version:        0.6.8
16-Release:        2.1
17+Release:        2.1.scripts.%{scriptsversion}
18 Summary:        NSS module and daemon for using LDAP as a naming service
19 Url:            http://ch.tudelft.nl/~arthur/nss-ldapd/
[912]20 Source:         nss-ldapd-%{version}.tar.bz2
21-Source1:        rc.nslcd
22+Patch1000:      rc.nslcd.patch
[1132]23 Source100:      nss-ldapd-0.6.8-rpmlintrc
[912]24 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
25 
[1132]26@@ -52,7 +53,7 @@
[912]27 
28 %prep
29 %setup -q
30-cp -v %{S:1} .
31+%patch1000 -p0 -b .rc
32 
33 %build
34 %{?suse_update_config:%{suse_update_config -f}}
[1132]35@@ -72,7 +73,6 @@
[912]36 mkdir -p $RPM_BUILD_ROOT/etc/init.d/
37 mkdir -p $RPM_BUILD_ROOT/usr/sbin/
38 install -m 755 rc.nslcd $RPM_BUILD_ROOT/etc/init.d/nslcd
39-ln -sf ../../etc/init.d/nslcd $RPM_BUILD_ROOT/usr/sbin/rcnslcd
40 make DESTDIR=$RPM_BUILD_ROOT install
41 mkdir -p $RPM_BUILD_ROOT/var/run/nslcd
42 install -m 644 man/nss-ldapd.conf.5 $RPM_BUILD_ROOT/usr/share/man/man5
[1132]43@@ -88,13 +88,8 @@
44     /bin/chmod 640 /etc/nss-ldapd.conf
45 fi
[913]46 
47-%preun
48-%stop_on_removal nslcd
49-
50 %postun
51 /sbin/ldconfig
52-%restart_on_update nslcd
53-%insserv_cleanup
54 
55 %files
56 %defattr(-,root,root)
[1132]57@@ -104,11 +99,12 @@
[912]58 %doc %{_mandir}/man8/*
[1132]59 %config(noreplace) %attr(640,root,root) /etc/nss-ldapd.conf
[912]60 %config /etc/init.d/nslcd
61-/usr/sbin/rcnslcd
62 %dir /var/run/nslcd
63 /usr/sbin/nslcd
64 
65 %changelog
[1132]66+* Sun May 24 2009 Anders Kaseorg <andersk@mit.edu> - 0.6.8-2.1
67+- Update for Fedora again.
68 * Wed Mar 25 2009 rhafer@suse.de
69 - Updated to 0.6.8:
70   * the nss-ldapd.conf was created world-readable which could cause
71@@ -129,6 +125,10 @@
72 - Adjust config file permissions upon update, to fix world-readable
73   /etc/nss-ldapd.conf as created by older versions
74   (bnc#487737, CVE-2009-1073)
[912]75+* Wed Dec 31 2008  <quentin@mit.edu> - 0.6.4-3.0
76+- add init script for Fedora
77+* Wed Dec 31 2008  <quentin@mit.edu> - 0.6.4-2.4
78+- port from openSUSE to Fedora
[1132]79 * Fri Aug 15 2008 rhafer@suse.de
80 - Fixed "Required-Stop" Tag to include the same services as
81   "Required-Start"
Note: See TracBrowser for help on using the repository browser.