source:
branches/fc11-dev/server/fedora/specs/nss-ldapd.spec.patch
@
2040
Last change on this file since 2040 was 1144, checked in by mitchb, 15 years ago | |
---|---|
File size: 2.2 KB |
-
nss-ldapd.spec
old new 19 19 20 20 21 21 Name: nss-ldapd 22 BuildRequires: db-devel krb5-devel openldap2-devel 22 BuildRequires: db4-devel krb5-devel openldap-devel autoconf automake libtool 23 Conflicts: nss_ldap 23 24 License: LGPL v2.1 or later 24 25 Group: Productivity/Networking/LDAP/Clients 25 26 AutoReqProv: on 26 27 PreReq: /bin/chmod 27 28 Conflicts: nss_ldap 28 29 Version: 0.6.8 29 Release: 2.1 30 Release: 2.1.scripts.%{scriptsversion} 30 31 Summary: NSS module and daemon for using LDAP as a naming service 31 32 Url: http://ch.tudelft.nl/~arthur/nss-ldapd/ 32 33 Source: nss-ldapd-%{version}.tar.bz2 33 Source1: rc.nslcd 34 Patch1000: rc.nslcd.patch 34 35 Source100: nss-ldapd-0.6.8-rpmlintrc 35 36 BuildRoot: %{_tmppath}/%{name}-%{version}-build 36 37 … … 52 53 53 54 %prep 54 55 %setup -q 55 cp -v %{S:1} . 56 %patch1000 -p0 -b .rc 56 57 57 58 %build 58 59 %{?suse_update_config:%{suse_update_config -f}} … … 72 73 mkdir -p $RPM_BUILD_ROOT/etc/init.d/ 73 74 mkdir -p $RPM_BUILD_ROOT/usr/sbin/ 74 75 install -m 755 rc.nslcd $RPM_BUILD_ROOT/etc/init.d/nslcd 75 ln -sf ../../etc/init.d/nslcd $RPM_BUILD_ROOT/usr/sbin/rcnslcd76 76 make DESTDIR=$RPM_BUILD_ROOT install 77 77 mkdir -p $RPM_BUILD_ROOT/var/run/nslcd 78 78 install -m 644 man/nss-ldapd.conf.5 $RPM_BUILD_ROOT/usr/share/man/man5 … … 88 88 /bin/chmod 640 /etc/nss-ldapd.conf 89 89 fi 90 90 91 %preun92 %stop_on_removal nslcd93 94 91 %postun 95 92 /sbin/ldconfig 96 %restart_on_update nslcd97 %insserv_cleanup98 93 99 94 %files 100 95 %defattr(-,root,root) … … 104 99 %doc %{_mandir}/man8/* 105 100 %config(noreplace) %attr(640,root,root) /etc/nss-ldapd.conf 106 101 %config /etc/init.d/nslcd 107 /usr/sbin/rcnslcd108 102 %dir /var/run/nslcd 109 103 /usr/sbin/nslcd 110 104 … … 129 123 - Adjust config file permissions upon update, to fix world-readable 130 124 /etc/nss-ldapd.conf as created by older versions 131 125 (bnc#487737, CVE-2009-1073) 126 * Wed Dec 31 2008 <quentin@mit.edu> - 0.6.4-3.0 127 - add init script for Fedora 128 * Wed Dec 31 2008 <quentin@mit.edu> - 0.6.4-2.4 129 - port from openSUSE to Fedora 132 130 * Fri Aug 15 2008 rhafer@suse.de 133 131 - Fixed "Required-Stop" Tag to include the same services as 134 132 "Required-Start"
Note: See TracBrowser
for help on using the repository browser.