Commit Graph

91 Commits

Author SHA1 Message Date
Jakub Hrozek
8aba18fe2a Also change the pemissions on tmpfiles
Related: rhbz#1583211 - nslcd, the local LDAP daemon, fails to start
                        with SELinux enabled
2018-05-30 14:55:27 +02:00
Jakub Hrozek
1ec06c9592 Apply a patch by Lukas Slebodnik to allow root to write to the /var/run/nslcd directory
Resolves: rhbz#1583211 - nslcd, the local LDAP daemon, fails to start
                           with SELinux enabled
2018-05-30 11:30:04 +02:00
Jakub Hrozek
a7b24f3294 Commit the sources file after uploading the new upstream release tarball 2018-04-01 11:32:57 +02:00
Jakub Hrozek
ce40dd2fde Upgrade to the latest upstream release 0.9.9
- Disable the python utilities
- Don't bother with failing pylint test as we don't ship the python utilities
- Drop unused validname and exitcode patches, port strtoid overflow patch
2018-04-01 11:13:40 +02:00
Jakub Hrozek
224e63f170 Simplify and modernize the specfile
- Get rid of all conditions that are always true for both EPEL-7 and Fedora
  as it's quite unlikely we'd use this specfile on EPEL-6
- Remove the sysvinit script and all the scriptlets around it
- Unconditionally use systemd scriptlet macros and systemd_requires
- Unconditionally build the PAM module as the PADL module is long dead
- Remove the auto-migration of settings from nss_ldap as it's been
  long gone from Fedora
- Don't check /etc/sysconfig/authconfig as authconfig is on its way
  out from Fedora
- Use only spaces, not tabs, to stop my editor from looking like a
  Christmas tree
- Remove the obsolete Group stanza
- Make nscd Recommended, not Required
2018-04-01 11:13:40 +02:00
Jakub Hrozek
2635faec28 Add Restart and Documentation parameters to the systemd unit file 2018-03-31 21:31:21 +02:00
Igor Gnatenko
85a6fef540
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 08:26:17 +01:00
Igor Gnatenko
36f57d4ca2 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-13 23:55:42 +01:00
Fedora Release Engineering
9217bcf84d - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 08:29:03 +00:00
Fedora Release Engineering
abfa4606c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 04:07:24 +00:00
Fedora Release Engineering
ed19defffc - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 01:18:39 +00:00
Jakub Hrozek
5590f3de9b Apply a patch from Stanislav Moravec to fix nslcd return code
Resolves: rhbz#1356561 - nslcd.service entering failed state when stopped via systemctl stop nslcd.service
2017-02-08 09:58:48 +01:00
Nalin Dahyabhai
e642f1149f Move the tmpfiles.d file to live under /usr/lib
- move the packaged tmpfiles.d file from /etc/tmpfiles.d to %%{_tmpfilesdir},
  per heads-up from Ville Skyttä on devel@
2016-03-29 12:03:05 -04:00
Fedora Release Engineering
b580a0f2b0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 10:57:20 +00:00
Dennis Gilmore
8b32e50dc9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 23:24:52 +00:00
Peter Robinson
2fd71c6055 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 12:22:52 +00:00
Dennis Gilmore
596d3ca56f - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 10:11:12 -05:00
Nalin Dahyabhai
b0619208c6 Also enable startup if USELDAPAUTH=yes
- where we check for USELDAP=yes in /etc/sysconfig/authconfig as an indication
  of nss_ldap being in use, to decide whether to enable the nslcd service or
  not, also check for USELDAPAUTH=yes, which indicates pam_ldap is being used
2014-05-07 15:17:59 -04:00
Jakub Hrozek
6a254144b3 Upload the 0.8.14 sources 2014-03-17 15:25:06 +01:00
Jakub Hrozek
c56d9474f0 New upstream release 0.8.14
Remove upstreamed patches
2014-03-17 15:17:34 +01:00
Jakub Hrozek
4bc23a7af0 Backport fixes for #1003011 2013-10-05 21:00:01 +02:00
Jakub Hrozek
fa900f3c52 Build with _hardened_build macro 2013-10-05 20:38:31 +02:00
Dennis Gilmore
8aee402ed8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 09:32:01 -05:00
Nalin Dahyabhai
9475eaf179 update to 0.8.13, fix syntax error in unit file
- update to 0.8.13
- correct a syntax error in the fix that was added for #832706
2013-05-06 12:11:29 -04:00
Nalin Dahyabhai
69ffec9f3f Try to handle the uniqueMember/member changeover
- in %%post, attempt to rewrite any instances of "map group uniqueMember ..."
  to be "map group member ..." in nslcd.conf, as the attribute name changed
  in 0.8.4 (via freeipa ticket #3589)
2013-04-30 13:27:22 -04:00
Dennis Gilmore
39759623d1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 02:46:41 -06:00
Nalin Dahyabhai
807d19ed0c drop an obsolete local patch
drop local patch to make the client flush some more read buffers
2013-01-18 15:54:18 -05:00
Nalin Dahyabhai
43df9235ee whoops, update "sources" 2013-01-18 15:34:45 -05:00
Nalin Dahyabhai
5cded00af8 use %%{_unitdir} and new systemd macros
- when deciding where to put systemd configuration, based
  on patch from Václav Pavlín (#850232)
- use new systemd macros for scriptlet hooks, when available, based on
  patch from Václav Pavlín (#850232)
2013-01-18 15:28:43 -05:00
Nalin Dahyabhai
849bb83ec8 Update the versioned obsoletes on pam_ldap for F18
The older pam_ldap package may be removed in the F19 timeframe.
2013-01-18 12:53:28 -05:00
Nalin Dahyabhai
0273c9723d Add missing bug notation for #856006
Obsoleting pam_ldap in F19 and later removes the conflict.  The 0.7.16-4
in F18 doesn't actually have this change, for some reason.
2013-01-18 12:53:28 -05:00
Nalin Dahyabhai
84ebb6466d Add a missing bug notation for #846793
The bug actually asked for 0.8.10, but this'll help me not forget to
close it anyway.  Hopefully.
2013-01-18 12:49:37 -05:00
Nalin Dahyabhai
f6d664f746 Try to start after BIND and directory servers
Add "After=named.service dirsrv.target slapd.service" to nslcd.service,
to make sure that nslcd is started after them if they're also running on
the local system (#832706).
2013-01-18 12:48:20 -05:00
Nalin Dahyabhai
ae14a12839 Make building of pam_ldap dependent on the release
Conditionalize whether or not we build pam_ldap on what the target
release is, in case we want to merge this back onto older release
branches later.
2013-01-18 12:47:44 -05:00
Nalin Dahyabhai
a080cbe21d Skip file path adjustments on newer releases
Newer releases which don't have a separate /usr don't require any weird
tricks when making symlinks from /usr/lib to /lib, and don't require us
to do anything special to get PAM modules into /lib instead of /usr/lib.

Still, keep paths the same as they were before on releases that went out
before we made this change.
2013-01-18 12:47:44 -05:00
Nalin Dahyabhai
d117d3163d Update to 0.8.12, part 4
Merge two patches for cutting down EPIPE errors in nslcd into one, and
try to cover other cases where the client doesn't flush its read buffer
before hanging up on the server.
2013-01-18 12:47:44 -05:00
Nalin Dahyabhai
93520225bb Update to 0.8.12, part 3
Forward-port our local patch to catch out-of-range UID and GID values
when we read them.
2013-01-18 12:47:44 -05:00
Nalin Dahyabhai
782d1c4236 Update to 0.8.12, part 2
Remove no-longer-needed backport for support of "DNS:DOMAIN" as a way of
specifying which domain to search for LDAP SRV records when attempting
to discover the server location using DNS.
2013-01-18 12:47:44 -05:00
Nalin Dahyabhai
652cc0ff5f Update to 0.8.12, part 1
Update the validnames patch, which is much simpler now.
2013-01-18 12:47:32 -05:00
Jakub Hrozek
d55d7039be The new PAM module BuildRequires pam-devel 2012-09-09 20:35:13 +02:00
Jakub Hrozek
88befd468e Add the .gz .sig file 2012-09-09 20:14:53 +02:00
Jakub Hrozek
27479223a1 New upstream release 0.7.17 2012-09-09 20:07:04 +02:00
Jakub Hrozek
7a4345c7ff Obsolete PADL's pam_ldap, build the one from nss-pam-ldapd 2012-08-05 00:16:20 +02:00
Jakub Hrozek
c4ef74afcd Obsolete PADL's nss_ldap 2012-08-05 00:05:10 +02:00
Dennis Gilmore
fa94987b48 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-20 00:24:45 -05:00
Jakub Hrozek
f9300707b3 Upload the 0.7.16 sources 2012-05-14 13:02:04 +02:00
Jakub Hrozek
805956a8d3 Backport upstream r1659 2012-05-14 12:55:34 +02:00
Jakub Hrozek
1e1125adb4 New upstream release 0.7.16; adjust patches accordingly 2012-04-28 21:47:50 +02:00
Jakub Hrozek
0d57b84aa6 Add forgotten changelog entry 2012-03-15 11:49:18 +01:00
Jakub Hrozek
0ae6295014 Do not print Broken Pipe error messages when requesting a large group 2012-03-15 11:46:55 +01:00