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

Last change on this file since 1259 was 1259, checked in by mitchb, 15 years ago
Reintegrate branches/fc11-dev (r1121:1258) to trunk
File size: 2.2 KB
RevLine 
[1132]1--- nss-ldapd.spec.orig 2009-03-30 04:33:50.000000000 -0400
[1259]2+++ nss-ldapd.spec      2009-06-03 03:18:49.000000000 -0400
[1132]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)
[1259]57@@ -104,7 +99,6 @@
[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 
[1259]65@@ -129,6 +123,10 @@
[1132]66 - Adjust config file permissions upon update, to fix world-readable
67   /etc/nss-ldapd.conf as created by older versions
68   (bnc#487737, CVE-2009-1073)
[912]69+* Wed Dec 31 2008  <quentin@mit.edu> - 0.6.4-3.0
70+- add init script for Fedora
71+* Wed Dec 31 2008  <quentin@mit.edu> - 0.6.4-2.4
72+- port from openSUSE to Fedora
[1132]73 * Fri Aug 15 2008 rhafer@suse.de
74 - Fixed "Required-Stop" Tag to include the same services as
75   "Required-Start"
Note: See TracBrowser for help on using the repository browser.