source:
trunk/server/fedora/specs/nss-ldapd.spec.patch
@
1276
Last change on this file since 1276 was 1273, checked in by mitchb, 16 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-devel22 BuildRequires: db4-devel krb5-devel openldap-devel autoconf automake libtool 23 23 License: LGPL v2.1 or later 24 24 Group: Productivity/Networking/LDAP/Clients 25 25 AutoReqProv: on 26 26 PreReq: /bin/chmod 27 27 Conflicts: nss_ldap 28 28 Version: 0.6.10 29 Release: 6.2 29 Release: 6.2.scripts.%{scriptsversion} 30 30 Summary: NSS module and daemon for using LDAP as a naming service 31 31 Url: http://arthurdejong.org/nss-ldapd/ 32 32 Source: nss-ldapd-%{version}.tar.bz2 33 Source1: rc.nslcd34 33 Source100: nss-ldapd-0.6.8-rpmlintrc 35 34 Patch0: nslcd-passwd-offbyone.dif 35 Patch1000: rc.nslcd.patch 36 36 BuildRoot: %{_tmppath}/%{name}-%{version}-build 37 37 38 38 %description … … 53 53 54 54 %prep 55 55 %setup -q 56 cp -v %{S:1} . 57 %patch -p156 %patch0 -p1 57 %patch1000 -p0 -b .rc 58 58 59 59 %build 60 60 %{?suse_update_config:%{suse_update_config -f}} … … 71 71 mkdir -p $RPM_BUILD_ROOT/etc/init.d/ 72 72 mkdir -p $RPM_BUILD_ROOT/usr/sbin/ 73 73 install -m 755 rc.nslcd $RPM_BUILD_ROOT/etc/init.d/nslcd 74 ln -sf ../../etc/init.d/nslcd $RPM_BUILD_ROOT/usr/sbin/rcnslcd75 74 make DESTDIR=$RPM_BUILD_ROOT install 76 75 mkdir -p $RPM_BUILD_ROOT/var/run/nslcd 77 76 install -m 644 man/nss-ldapd.conf.5 $RPM_BUILD_ROOT/usr/share/man/man5 … … 87 86 /bin/chmod 640 /etc/nss-ldapd.conf 88 87 fi 89 88 90 %preun91 %stop_on_removal nslcd92 93 89 %postun 94 90 /sbin/ldconfig 95 %restart_on_update nslcd96 %insserv_cleanup97 91 98 92 %files 99 93 %defattr(-,root,root) … … 103 97 %doc %{_mandir}/man8/* 104 98 %config(noreplace) %attr(640,root,root) /etc/nss-ldapd.conf 105 99 %config /etc/init.d/nslcd 106 /usr/sbin/rcnslcd107 100 %dir /var/run/nslcd 108 101 /usr/sbin/nslcd 109 102 … … 151 144 - Adjust config file permissions upon update, to fix world-readable 152 145 /etc/nss-ldapd.conf as created by older versions 153 146 (bnc#487737, CVE-2009-1073) 147 * Wed Dec 31 2008 <quentin@mit.edu> - 0.6.4-3.0 148 - add init script for Fedora 149 * Wed Dec 31 2008 <quentin@mit.edu> - 0.6.4-2.4 150 - port from openSUSE to Fedora 154 151 * Fri Aug 15 2008 rhafer@suse.de 155 152 - Fixed "Required-Stop" Tag to include the same services as 156 153 "Required-Start"
Note: See TracBrowser
for help on using the repository browser.