Ignore:
Timestamp:
Jun 3, 2009, 6:42:40 AM (15 years ago)
Author:
mitchb
Message:
Version, context, etc. fixups to build nss-ldapd on Fedora 11
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fc11-dev/server/fedora/specs/nss-ldapd.spec.patch

    r950 r1144  
    1 --- /home/scripts-build/rpmbuild/SPECS/nss-ldapd.spec   2008-08-13 12:48:42.000000000 -0400
    2 +++ ./nss-ldapd.spec    2008-12-31 19:30:37.000000000 -0500
    3 @@ -11,16 +11,17 @@
    4  # norootforbuild
     1--- nss-ldapd.spec.orig 2009-03-30 04:33:50.000000000 -0400
     2+++ nss-ldapd.spec      2009-06-03 03:18:49.000000000 -0400
     3@@ -19,18 +19,19 @@
     4 
    55 
    66 Name:           nss-ldapd
    77-BuildRequires:  db-devel krb5-devel openldap2-devel
    88+BuildRequires:  db4-devel krb5-devel openldap-devel autoconf automake libtool
    9 +Conflicts:     nss_ldap
     9+Conflicts:      nss_ldap
    1010 License:        LGPL v2.1 or later
    1111 Group:          Productivity/Networking/LDAP/Clients
    12  Autoreqprov:    on
    13  Version:        0.6.4
    14 -Release:        2.4
    15 +Release:        3.1.scripts.%{scriptsversion}
    16  Summary:        NSS LDAP Daemon and Module
    17  URL:            http://ch.tudelft.nl/~arthur/nss-ldapd/
     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/
    1820 Source:         nss-ldapd-%{version}.tar.bz2
    1921-Source1:        rc.nslcd
    2022+Patch1000:      rc.nslcd.patch
     23 Source100:      nss-ldapd-0.6.8-rpmlintrc
    2124 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    2225 
    23  %description
    24 @@ -34,11 +35,9 @@
    25      West Consulting <info@west.nl>
    26      Arthur de Jong <arthur@ch.tudelft.nl>
     26@@ -52,7 +53,7 @@
    2727 
    28 -%debug_package
    29 -
    3028 %prep
    3129 %setup -q
     
    3533 %build
    3634 %{?suse_update_config:%{suse_update_config -f}}
    37 @@ -58,7 +57,6 @@
     35@@ -72,7 +73,6 @@
    3836 mkdir -p $RPM_BUILD_ROOT/etc/init.d/
    3937 mkdir -p $RPM_BUILD_ROOT/usr/sbin/
     
    4341 mkdir -p $RPM_BUILD_ROOT/var/run/nslcd
    4442 install -m 644 man/nss-ldapd.conf.5 $RPM_BUILD_ROOT/usr/share/man/man5
    45 @@ -70,13 +68,8 @@
    46  %post
    47  /sbin/ldconfig
     43@@ -88,13 +88,8 @@
     44     /bin/chmod 640 /etc/nss-ldapd.conf
     45 fi
    4846 
    4947-%preun
     
    5755 %files
    5856 %defattr(-,root,root)
    59 @@ -86,11 +79,14 @@
     57@@ -104,7 +99,6 @@
    6058 %doc %{_mandir}/man8/*
    61  %config(noreplace) /etc/nss-ldapd.conf
     59 %config(noreplace) %attr(640,root,root) /etc/nss-ldapd.conf
    6260 %config /etc/init.d/nslcd
    6361-/usr/sbin/rcnslcd
     
    6563 /usr/sbin/nslcd
    6664 
    67  %changelog
     65@@ -129,6 +123,10 @@
     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)
    6869+* Wed Dec 31 2008  <quentin@mit.edu> - 0.6.4-3.0
    6970+- add init script for Fedora
    7071+* Wed Dec 31 2008  <quentin@mit.edu> - 0.6.4-2.4
    7172+- port from openSUSE to Fedora
    72  * Wed Aug  6 2008 rhafer@suse.de
    73  - rename init script to nslcd to match the name of the daemon
    74    binary
     73 * Fri Aug 15 2008 rhafer@suse.de
     74 - Fixed "Required-Stop" Tag to include the same services as
     75   "Required-Start"
Note: See TracChangeset for help on using the changeset viewer.