Compare commits

...

188 Commits

Author SHA1 Message Date
Fedora Release Engineering
70148df8e2 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 13:46:44 +00:00
Fedora Release Engineering
c8e5bb11ff - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 05:43:39 +00:00
Björn Esser
9c8d1c730a
Rebuild(libnsl2)
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2021-11-12 22:26:59 +01:00
Marek Kulik
dd659bf840 Fix setsebool log message with selinux disabled
This is cosmetic fix, that's prevent execution of setsebool
during ypbind service start when selinux is disabled.

As a result invalid boolean message should not occur in logs anymore:

systemd[1]: Starting NIS/YP (Network Information Service) Clients to NIS Domain Binder...
setsebool[1581714]: Could not change active booleans: Invalid boolean

Resolves: #1882069
2021-09-28 19:55:03 +02:00
Fedora Release Engineering
0f165ba4e8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 22:10:07 +00:00
Zbigniew Jędrzejewski-Szmek
cffd012369 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:12:00 +01:00
Fedora Release Engineering
6f39fa0853 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-28 00:34:47 +00:00
Tom Stellard
e5f119d352 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 01:48:01 +00:00
Fedora Release Engineering
e4a251a4ea - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 15:15:56 +00:00
Filip Januš
8914cf412b Remove old patches 2020-04-20 19:07:36 +02:00
Filip Januš
875b6014c7 Update onto 2.7.2
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1796030
Removing obsolete patches
2020-04-20 19:05:32 +02:00
Fedora Release Engineering
04e81c56fd - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 05:09:41 +00:00
Matej Mužila
472d9004fe Update to version 2.6.1
Resolves: #1668439
2019-07-30 18:24:28 +02:00
Fedora Release Engineering
00b6678a56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 04:51:15 +00:00
Fedora Release Engineering
d7e04829ec - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 13:00:51 +00:00
Igor Gnatenko
03ee821c68 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:56 +01:00
Fedora Release Engineering
cb4a7aef1a - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:43:54 +00:00
Igor Gnatenko
d8975063ba add BuildRequires: gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:54 +02:00
Matej Muzila
fd0e3c2bce Fix man pages 2018-06-07 16:51:39 +02:00
Matej Muzila
4d50da87b8 Update to version 2.5 2018-06-06 15:22:49 +02:00
Petr Kubat
9579fe89b1 Add the runtime dependency on nss_nis back 2018-04-30 13:02:22 +02:00
Igor Gnatenko
bb039605b0
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:06:33 +01:00
Petr Kubat
03f4831b3e Temporarily remove nss_nis dependency
Resolves: #1534599
2018-01-16 08:45:57 +01:00
Matej Muzila
837f331da4 Merge branch 'master' of ssh://pkgs.fedoraproject.org/ypbind 2017-09-21 14:57:00 +02:00
Matej Muzila
27a4e958fe Add "Wants" dependency on network-online.target
Remove "After" dependency on NetworkManager-wait-online.service
2017-09-21 14:45:22 +02:00
Fedora Release Engineering
1359a8e79e - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 11:06:24 +00:00
Fedora Release Engineering
48f1e8346c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:36:08 +00:00
Matej Muzila
f71605e109 Require yp-tools >= 4.2.2-2 2017-05-29 16:12:47 +02:00
Matej Muzila
c0289858fc Merge branch 'master' of ssh://pkgs.fedoraproject.org/ypbind 2017-05-19 16:40:32 +02:00
Matej Muzila
feb6de6078 Update to version 2.4 supporting IPv6 2017-05-19 16:38:24 +02:00
Petr Kubat
469ed59ebd Wait a while for dhcp to set up the domain
Resolves: #1170400
2017-03-29 12:13:22 +02:00
Petr Kubat
65637308ea Add a Wants dependency on nss-user-lookup.target
Related: #1282440
2017-03-20 09:17:26 +01:00
Fedora Release Engineering
1c9847cd89 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 18:17:43 +00:00
Ralf Corsépius
215d292297 Remove check for libsystemd-daemon from ypbind-systemdso.patch (RHBZ#1396893).
- Add check for systemd/sd-daemon.h to ypbind-systemdso.patch.
- Spec file cosmetics.
- Add %license tag.
2016-11-23 18:49:33 +01:00
Petr Kubat
a6f05e6222 Add runtime dependency on nss_nis 2016-11-08 15:07:30 +01:00
Fedora Release Engineering
3c72a929ed - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:59:07 +00:00
Matej Muzila
5e336ad690 Do not resstart ypbind on dhcp renew if nis domain or nis servers
haven't changed
  Resolves: rhbz#1301708
2016-01-25 20:39:56 +01:00
Matej Muzila
3bc9fb9d13 Load ypbind.service before nss-user-lookup.target
Resolves: rhbz#1282440
2015-11-16 13:32:29 +01:00
Dennis Gilmore
7f1c55bbf5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:38:19 +00:00
Matej Mužila
5daad70789 Update to 1.38 2014-10-21 18:11:16 +02:00
Peter Robinson
adb4dde061 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 11:23:54 +00:00
Honza Horak
2da2ba756f Run autoreconf and gettext-devel added to solve FTBFS 2014-08-18 10:27:44 +02:00
Honza Horak
7ced839de6 add aclocal and automake 2014-08-15 13:51:15 +02:00
Honza Horak
892ab7c8f2 link with systemd.so 2014-08-15 10:49:36 +02:00
Honza Horak
793231fb50 Update to 1.37.2 2014-08-15 10:43:32 +02:00
Dennis Gilmore
5b78ccf59a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 12:51:12 -05:00
Honza Horák
756cfdd7e1 Replace autoreconf with autoconf 2013-11-18 15:10:17 +01:00
Honza Horák
c81b08de2d DHCP changes documented
Related: #1031093
2013-11-18 13:05:19 +01:00
Honza Horák
d733717f89 Add network-online.target dependency
Resolves: #1002295
2013-08-30 12:03:06 +02:00
Honza Horák
87e6f907eb Clean up helper script 2013-08-19 15:02:14 +02:00
Honza Horák
11825e7cc1 Improve systemd documentation 2013-08-19 15:01:34 +02:00
Honza Horák
5eaffcc146 Remove systemd-sysv 2013-07-29 18:01:40 +02:00
Honza Horák
ec5d708615 Require systemd instead systemd-units 2013-07-29 17:55:13 +02:00
Honza Horák
ba2c17a9db Remove SysV init conversion and systemd macros compatible code 2013-07-29 17:53:18 +02:00
Honza Horák
a0b4e0ffb7 Enable PrivateTmp feature, just for the case 2013-05-10 10:44:00 +02:00
Honza Horák
9ea112dbec Syncing help and man pages 2013-05-07 11:29:38 +02:00
Honza Horák
777a854757 Update to new version 1.37.1 2013-05-06 22:23:25 +02:00
Honza Horák
8dbed4e7a6 Fixed bogus dates in changelog 2013-01-29 14:10:01 +01:00
Honza Horák
6ec684c1e0 added forgotten patch 2013-01-29 13:26:20 +01:00
Honza Horák
2eda4a4739 Make re-bind interval a tune-able option 2013-01-29 13:17:51 +01:00
Honza Horák
70ff89b4cf Check presence of ypbind in /etc/rpc
Related: #888778
2012-12-19 17:41:32 +01:00
Honza Horák
92f9e184a3 Build with full relro 2012-11-30 09:02:31 +01:00
Honza Horák
2896f13244 Run %triggerun regardless of systemd_post variable definition 2012-10-04 09:53:57 +02:00
Honza Horák
47e0dd8073 added needed build requirements systemd-devel and autoconf 2012-09-25 10:19:44 +02:00
Honza Horák
a4e4e4bc62 Add After: NetworkManager-wait-online.service (Related: #846767) 2012-09-24 13:23:30 +02:00
Honza Horák
1c9957c36c Use new systemd macros (Resolves: #850375) 2012-09-24 13:21:11 +02:00
Honza Horák
41e631bfff Minor spec file cleanup 2012-09-24 13:13:58 +02:00
Honza Horák
48bb6f4d29 Use sdnotify to inform systemd that daemon is ready 2012-09-24 13:13:06 +02:00
Honza Horák
5a7adb5d2a Enhance ypbind(8) with info about NISTIMEOUT
Add suggestion about extending NISTIMEOUT if ypbind timeouts
2012-08-23 15:15:46 +02:00
Honza Horák
623b0a6a2d Enhance ypbind(8) with info about NISTIMEOUT
Add suggestion about extending NISTIMEOUT if ypbind timeouts
2012-08-23 15:15:16 +02:00
Honza Horák
617ac4214f Fixed sending TERM signal in ypbind-post-waitbind 2012-07-23 10:44:28 +02:00
Honza Horák
39feb2cd7e Add SIGPIPE to proper signal set
Related: #842228
2012-07-23 10:19:26 +02:00
Dennis Gilmore
aa04b95c0a - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-22 02:43:25 -05:00
Honza Horák
1244ad3d90 Minor spec file fixes
Helper scripts moved to /usr/libexec
2012-07-11 16:34:36 +02:00
Honza Horák
1fd05f389b patches included in upstream removed 2012-07-11 15:46:13 +02:00
Honza Horák
898d9f246d Update to new version 1.36 2012-07-11 15:44:16 +02:00
Honza Horák
f244b4182f consider all 127.0.0.0/8 as localhost addresses
Related: #829487
2012-07-10 10:56:02 +02:00
Honza Horák
a9bcc738bd don't go offline when one of NIS servers is localhost
Related: #829487
2012-07-09 13:38:10 +02:00
Honza Horák
54efa3f34b fixed kill call in ypbind-post-waitbind script 2012-06-01 13:43:08 +02:00
Honza Horák
25e85721f4 NetworkManager signal name changed
Resolves: #812501
2012-04-18 14:46:52 +02:00
Honza Horák
a2d5bcacd3 Update to new version with only minor changes 2012-03-26 12:12:00 +02:00
Honza Horák
1d2b9862a1 added bug ID 2012-01-24 16:30:44 +01:00
Honza Horák
b4a94c8ab5 Let ypbind start before systemd-user-sessions.service 2012-01-24 16:00:26 +01:00
Honza Horák
615e015191 Don't fail when killing ypbind after unsuccessfull start fails 2012-01-24 15:59:15 +01:00
Honza Horák
7d8f241507 changelog date fix 2012-01-12 15:26:56 +01:00
Honza Horák
9b2113749c Fail to start ypbind service if domainname is not set 2012-01-12 15:14:49 +01:00
Honza Horák
766e469314 ypbind-post-waitbind indent fix 2011-11-21 08:17:32 +01:00
Honza Horák
fe120cda2f Fixed ypbind-post-waitbind to stop the service when binding is not success 2011-11-16 17:26:25 +01:00
Honza Horák
4e0810ffff Fixed ypbind-post-waitbind to handle long rpcinfo requests
Resolves: #624688
2011-11-15 10:41:53 +01:00
Honza Horák
e1739f9a43 Don't turn off allow_ypbind SELinux boolean
Resolves: #741141
2011-09-26 12:44:23 +02:00
Honza Horák
4bf12aea86 Log messages when starting ypbind service made more verbose 2011-09-15 17:54:21 +02:00
Honza Horák
91368b1d3b Fixed systemd unit file 2011-09-15 17:18:23 +02:00
Honza Horák
5ebb448d3c Fixed systemd unit files packaging 2011-08-03 10:35:09 +02:00
Honza Horák
345f99166d Fixed rpmlint errors
Fixed systemd unit files packaging
2011-08-02 17:44:35 +02:00
Honza Horák
b2e5f2c05b Changed -n option for staying in foreground to not overlap
with config-file option
2011-06-13 13:05:54 +02:00
Honza Horák
c6bbe81b0f Fixed ypbind.service when selinux is disabled 2011-06-07 10:41:19 +02:00
Honza Horák
15f3cfd51c Added /etc/sysconfig/network to systemd service file 2011-05-10 15:44:15 +02:00
Honza Horák
2de98e0a7c removed double Required(preun) 2011-05-10 14:49:41 +02:00
Honza Horák
393ee005fc Update to new version 2011-05-10 11:55:05 +02:00
Honza Horák
ae695eaefd Removed NM_DBUS_VPN_SIGNAL_STATE_CHANGE, use own constant
NM_DBUS_SIGNAL_STATE_CHANGED.
(rhbz#696629)
2011-04-29 15:32:52 +02:00
Honza Horák
451e8a7d42 Made EnvironmentFile in systemd definition optional
(rhbz#632620)
2011-04-27 12:07:07 +02:00
Honza Horák
87d9f47855 remove Source1 from spec file 2011-04-14 16:06:32 +02:00
Honza Horák
9bfa494533 Add native systemd unit file.
(rhbz#693873)
2011-04-14 15:26:32 +02:00
Honza Horák
7f752920b1 Added rpcbind to LSB header in SysV init file. 2011-04-14 14:53:45 +02:00
Honza Horák
1c2e07ca4b Added LSB init service definition in ypbind.init.
Fix D-Bus response codes to correspond with NetworkManager.
(rhbz#693873)
2011-04-07 17:07:37 +02:00
Honza Horak
d1cf2e53e5 typo2 patch added 2011-03-18 14:04:44 +01:00
Honza Horak
39e696c1f5 Added the -typo2 patch which fixes a spelling error in a man pages.
(rhbz#664870)
2011-03-18 13:35:44 +01:00
Dennis Gilmore
199831d8ca - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 01:48:54 -06:00
Karel Klic
eacddc519e Added the -typo patch which fixes a spelling error in a message. 2010-11-29 12:32:58 +01:00
Karel Klic
67c56513a5 ypbind.init: More effective syntax for #601296 2010-11-19 21:39:50 +01:00
Karel Klic
9905a4e5d8 Modified the chkconfig priorities from 27/73 to 24/76. 2010-11-19 20:36:46 +01:00
Fedora Release Engineering
978dd0b86d dist-git conversion 2010-07-29 16:22:38 +00:00
Karel Klíč
b33ac52a9c New upstream version 2010-07-08 13:19:56 +00:00
Karel Klíč
a3d8e00b2b Remove matches when dereferencing DBus connection 2010-06-23 09:30:24 +00:00
Karel Klíč
24980f9281 ypbind.init: take the first domainname in yp.conf and use only that
(rhbz#601296)
2010-06-08 10:15:47 +00:00
Karel Klíč
5ef5dbff4c Moved /sbin/ypbind to /usr/sbin/ypbind 2010-05-21 12:27:21 +00:00
Karel Klíč
08f5328450 Fix rhbz#593278, improve nis.sh and spec file 2010-05-19 14:32:07 +00:00
Karel Klíč
9b7c014427 Added COPYING file to the package 2010-02-24 15:37:31 +00:00
Karel Klíč
4ca34e74e6 Improved initscript 2010-01-21 21:22:12 +00:00
Karel Klíč
acd718da7e New release 1.31 2010-01-04 16:36:02 +00:00
Bill Nottingham
f84f698bea Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:39:35 +00:00
Karel Klíč
b8c669b873 responses from the upstream 2009-11-19 10:27:22 +00:00
Karel Klíč
f440e6a36f added signalstate patch, fixes compilation with NetworkManaged-devel
headers installed. Resolves #537064 (F-12, devel)
2009-11-13 14:39:28 +00:00
Karel Klíč
a53b68b6a9 Updated to the latest upstream version ypbind-mt-1.29.91 2009-10-29 08:15:38 +00:00
Jesse Keating
1d71d048fc - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 08:55:46 +00:00
vcrhonek
604ec5de1a Remove LSB Header from init script 2009-04-08 10:53:09 +00:00
vcrhonek
491710623e Fix nis.sh SELinux issue 2009-03-18 12:19:32 +00:00
vcrhonek
5bbe06bbb0 Fix ypbind script in dos format - bash syntax errors 2009-02-26 14:57:09 +00:00
Jesse Keating
212b748498 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-25 18:17:08 +00:00
vcrhonek
d78255a89e Update helper script for dhclient 2009-02-19 14:25:46 +00:00
vcrhonek
f2a0332213 Fix ypbind can fail to bind if started soon after NetworkManager 2009-01-26 15:22:15 +00:00
vcrhonek
9d7d259002 Ship helper script for dhclient 2009-01-05 14:55:47 +00:00
vcrhonek
53da42f4fa Fix verbose option man page entry, Add description of port option to man
page
2008-12-03 13:38:21 +00:00
vcrhonek
4c51d8b070 Last few Merge Review related changes, Fix init script arguments and return
values
2008-11-24 13:59:40 +00:00
vcrhonek
e68fad5932 Merge Review 2 2008-10-21 13:13:01 +00:00
vcrhonek
ebc52e069e Merge Review 2008-10-21 13:04:36 +00:00
vcrhonek
bf2b5cb671 Rewrite binding files only when they are changed 2008-10-21 10:49:17 +00:00
Jason ティビツ
3affc88b6e - Fix license tag. 2008-08-12 00:13:46 +00:00
vcrhonek
d295b0bee3 Don't disable allow_ypbind SELinux boolean on service shutdown 2008-06-10 13:22:46 +00:00
vcrhonek
d1bf6942b1 Fix init script timing again 2008-05-23 11:25:23 +00:00
vcrhonek
8869d871c4 fix typo in buildroot 2008-02-12 09:51:40 +00:00
vcrhonek
8837fe6038 fix buildroot 2008-02-12 09:47:19 +00:00
Steve Dickson
b70a51fe9d Fixed init script to wait for ypbind to come up. (bz 322101) 2008-01-11 22:28:15 +00:00
Bill Nottingham
2d7fc40a6b makefile update to properly grab makefile.common 2007-10-15 19:38:38 +00:00
Steve Dickson
2ca3c2a94d Fixed a couple of typos in initscript (bz 281951) 2007-09-17 13:03:39 +00:00
Steve Dickson
c677976eed Updated a typo in the changelog 2007-05-18 20:17:41 +00:00
Steve Dickson
b8fb454273 updated to latest upstream version ypbind-mt-1.20.4 2007-05-03 17:15:22 +00:00
Steve Dickson
713c992128 - Changed init script to look in /etc/yp.conf for the domain name when not
already set. (bz 113386)
- Reworked init script to eliminate unreasonable hangs when ypbind cannot
    bind to nis server. (bz 112770)
2007-04-17 19:50:58 +00:00
Steve Dickson
2fb6b54bab Fixed typo in init script (bz 233459) 2007-04-17 13:18:53 +00:00
Steve Dickson
4cc8248ed1 Replace portmap dependency with an rpcbind dependency (bz 228894) 2007-04-03 19:17:05 +00:00
Steve Dickson
6eb78fbd72 Reworked minor version number 2006-12-01 21:12:45 +00:00
Steve Dickson
441536af1c > - Fixed leaking ports (bz 217874) > - Log all server bindings (bz 217782)
> - Added better quoting to init script (bz 216739)
2006-12-01 21:10:33 +00:00
Daniel J Walsh
79ce0ad71b - Correct ordering of turning off SELinux boolean 2006-11-27 20:47:54 +00:00
Daniel J Walsh
3646c7401e 1.19-6
- Correct ordering of turning off SELinux boolean
2006-11-27 20:46:00 +00:00
Daniel J Walsh
65ae590f99 Don't turn off SELinux boolean until ypbind service stopped 2006-11-27 20:44:42 +00:00
Daniel J Walsh
9d8b48a338 - Change init script to automatically turn on/off allow_ypbind boolean 2006-08-31 14:13:13 +00:00
Daniel J Walsh
26d84187d2 - Change init script to automatically turn on/off allow_ypbind boolean 2006-08-31 14:11:25 +00:00
Steve Dickson
8c1f662b8d Bump up the rev number because brew untag-pkg does not seem to work. 2006-08-24 02:27:33 +00:00
Steve Dickson
ba6a7696ee Added the sourcing of /etc/sysconfig/ypbind (bz 199448) 2006-08-24 02:14:40 +00:00
Steve Dickson
43956f8390 added BuildRequire automake 2006-08-24 01:42:27 +00:00
Steve Dickson
8daa6c173f added BuildRequires: autoconf 2006-08-24 01:36:06 +00:00
Steve Dickson
4d88721065 Remove the -s from install process making the -debuginfo package useful (bz
203851)
2006-08-24 01:21:00 +00:00
Steve Dickson
87a112bf9c corrected Release number 2006-08-11 19:05:56 +00:00
Steve Dickson
55fc851182 rebuilt 2006-07-25 15:01:05 +00:00
Steve Dickson
c06376c44f Added NISTIMEOUT variable to init scrip (bz 196078) 2006-07-18 13:42:15 +00:00
Jesse Keating
858ee9a1f3 bumped for rebuild 2006-07-12 17:39:40 +00:00
Chris Feist
3fa92836aa Rebuilt for latest version of ypbind. 2006-02-13 16:37:24 +00:00
Jesse Keating
06535b578c bump for bug in double-long on ppc(64) 2006-02-11 06:37:29 +00:00
Jesse Keating
b58f0df578 bump for new gcc/glibc 2006-02-07 14:43:49 +00:00
Jesse Keating
c12598b1f5 gcc update bump 2005-12-09 22:43:57 +00:00
Steve Dickson
80223259d8 increased the Release number 2005-01-24 14:09:09 +00:00
Steve Dickson
1def92d122 Changed the initscript to use the logger command instead of initlog script,
since the initlog script has gone away.
2005-01-24 13:57:41 +00:00
Steve Dickson
0f4df73600 Sped up the ypbind initscript by using fgrep instead of grep (bz# 81247) 2004-10-15 16:01:32 +00:00
cvsdist
972dc4398b auto-import changelog data from ypbind-1.17.2-2.src.rpm
Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
2004-09-09 15:19:54 +00:00
cvsdist
aabe8aebb7 auto-import changelog data from ypbind-1.17.2-1.src.rpm
Tue Feb 24 2004 Phil Knirsch <pknirsch@redhat.com> 1.17.2-1
- Another updated to latest upstream version.
Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
2004-09-09 15:19:34 +00:00
cvsdist
7746c91439 auto-import changelog data from ypbind-1.16-1.src.rpm
Mon Jan 19 2004 Phil Knirsch <pknirsch@redhat.com> 1.16-1
- Updated to latest upstream version.
Thu Nov 20 2003 Steve Dickson <SteveD@RedHat.com>
- Added a NULL check to test_bindings() to make sure clnt_call() is not
    called with a NULL pointer.
Sat Oct 04 2003 Steve Dickson <SteveD@RedHat.com>
- Updated Release number for RHEL3 QU1
2004-09-09 15:19:13 +00:00
cvsdist
52f874ac8f auto-import changelog data from ypbind-1.12-3.src.rpm
Tue Sep 09 2003 Steve Dickosn <SteveD@RedHat.com>
- Fixed a binding race where the wrong results were being returned.
Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
Wed May 21 2003 Bill Nottingham <notting@redhat.com> 1.12-1.10
- make yp.conf %config(noreplace)
2004-09-09 15:18:19 +00:00
cvsdist
54b9afd330 auto-import changelog data from ypbind-1.12-0.src.rpm
Thu Apr 24 2003 Steve Dickson <SteveD@RedHat.com>
- Updated to 1.12 from upstream.
- Removed ypbind-1.8-dos.patch since it was already commented out
- Updated broadcast patch
2004-09-09 15:17:31 +00:00
cvsdist
57005f3670 auto-import changelog data from ypbind-1.11-4.src.rpm
Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
Mon Nov 18 2002 Tim Powers <timp@redhat.com>
- build on all arches
2004-09-09 15:16:41 +00:00
cvsdist
9d14c5e9a2 auto-import changelog data from ypbind-1.11-2.src.rpm
Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
2004-09-09 15:16:34 +00:00
cvsdist
1f832b7df8 auto-import changelog data from ypbind-1.11-1.src.rpm
Tue Jun 11 2002 Alex Larsson <alexl@redhat.com> 1.11-1
- Updated to 1.11 from upstream.
- Removed patche that went in upstream.
- Updated broadcast patch
Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
2004-09-09 15:16:22 +00:00
cvsdist
1f73eba65d auto-import ypbind-1.10-7 from ypbind-1.10-7.src.rpm 2004-09-09 15:15:54 +00:00
cvsdist
a2190fbbc2 auto-import changelog data from ypbind-1.10-6.src.rpm
Mon Mar 25 2002 Alex Larsson <alexl@redhat.com> 1.10-6
- Fix bugs in initscript. Should fix #37463 and #61857
Mon Mar 25 2002 Alex Larsson <alexl@redhat.com> 1.10-5
- New config patch that handles failing gethostbynames even better
Thu Mar 21 2002 Alex Larsson <alexl@redhat.com> 1.10-4
- Added patch to avoid hanging if gethostbyname fails. (#56322)
Sun Mar 10 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- fixed #57393
Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de>
- update to version 1.10
2004-09-09 15:15:48 +00:00
cvsdist
eba5d84954 auto-import changelog data from ypbind-1.8-1.src.rpm
Mon Aug 13 2001 Preston Brown <pbrown@redhat.com>
- eliminate potential DOS attack via ypwhich (#38637)
- install PO files
2004-09-09 15:14:19 +00:00
cvsdist
59b3410808 auto-import changelog data from ypbind-1.8-0.2.src.rpm
Tue Jul 17 2001 Karsten Hopp <karsten@redhat.de>
- own /var/yp
Fri Jun 29 2001 Florian La Roche <Florian.LaRoche@redhat.de>
- update to 1.8
Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.
2004-09-09 15:13:42 +00:00
cvsdist
e4e7a5eb9b auto-import changelog data from ypbind-1.7-8.src.rpm
Mon Jun 04 2001 Preston Brown <pbrown@redhat.com>
- small fixes for initscript. Sometimes had trouble on slower systems
    (#37463)
2004-09-09 15:13:09 +00:00
cvsdist
813126ac3d auto-import changelog data from ypbind-1.7-7.src.rpm
Thu Apr 19 2001 Bill Nottingham <notting@redhat.com>
- don't be in such a hurry (add a couple sleep calls)
2004-09-09 15:12:22 +00:00
cvsdist
5d711fc0e2 auto-import changelog data from ypbind-1.7-6.src.rpm
Sat Mar 03 2001 Preston Brown <pbrown@redhat.com>
- much more sane ypbind init script for when networking is down.
Wed Feb 07 2001 Trond Eivind Glomsrd <teg@redhat.com>
- fix "usage" string (use $0)
Wed Jan 24 2001 Florian La Roche <Florian.LaRoche@redhat.de>
- prepare for initscript translation
- do not prereq /etc/init.d
Thu Jan 11 2001 Bernhard Rosenkraenzer <bero@redhat.com>
- Start after netfs (#23526)
2004-09-09 15:12:20 +00:00
12 changed files with 1064 additions and 161 deletions

View File

@ -1 +0,0 @@
ypbind-mt-1.6.tar.gz

11
.gitignore vendored Normal file
View File

@ -0,0 +1,11 @@
ypbind-mt-1.32.tar.bz2
/ypbind-mt-1.33.tar.bz2
/ypbind-mt-1.35.tar.bz2
/ypbind-mt-1.36.tar.bz2
/ypbind-mt-1.37.1.tar.bz2
/ypbind-mt-1.37.2.tar.bz2
/ypbind-mt-1.38.tar.bz2
/ypbind-mt-2.4.tar.gz
/ypbind-mt-2.5.tar.gz
/ypbind-mt-2.6.1.tar.gz
/ypbind-mt-2.7.2.tar.gz

View File

@ -1,6 +0,0 @@
# Makefile for source rpm: ypbind
# $Id$
NAME := ypbind
SPECFILE = $(firstword $(wildcard *.spec))
include ../common/Makefile.common

104
nis.sh Executable file
View File

@ -0,0 +1,104 @@
#!/bin/bash
#
# nis.sh: dhclient-script plugin for NIS settings,
# place in /etc/dhcp/dhclient.d and 'chmod +x nis.sh' to enable
#
# Copyright (C) 2008 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Author(s): David Cantrell <dcantrell@redhat.com>
CONF=/etc/yp.conf
SAVECONF=${SAVEDIR}/${CONF##*/}.predhclient.${interface}
fix_context() {
if [ -x /sbin/restorecon ]; then
/sbin/restorecon ${1} >/dev/null 2>&1
fi
}
save_config_file() {
if [ ! -d ${SAVEDIR} ]; then
mkdir -p ${SAVEDIR}
fi
if [ -e ${CONF} ]; then
# cp+rm instead of mv: preserve SELinux context
# rhbz#509240
# Do not rely on restorecon.
cp -c ${CONF} ${SAVECONF}
rm ${CONF}
else
echo > ${SAVECONF}
# Try restorecon
fix_context ${SAVECONF}
fi
}
nis_config() {
if [ ! "${PEERNIS}" = "no" ]; then
if [ -n "${new_nis_domain}" ]; then
domainname "${new_nis_domain}"
save_config_file
echo '# generated by /sbin/dhclient-script' > ${CONF}
fix_context ${CONF}
if [ -n "${new_nis_servers}" ]; then
for i in ${new_nis_servers} ; do
echo "domain ${new_nis_domain} server ${i}" >> ${CONF}
done
else
echo "domain ${new_nis_domain} broadcast" >> ${CONF}
fi
elif [ -n "${new_nis_servers}" ]; then
save_config_file
echo '# generated by /sbin/dhclient-script' > ${CONF}
fix_context ${CONF}
for i in ${new_nis_servers} ; do
echo "ypserver ${i}" >> ${CONF}
done
fi
# dimainname or servers changed, restart ypbind
if [ "${old_nis_domain}" != "${new_nis_domain}" ] \
|| [ "${old_nis_servers}" != "${new_nis_servers}" ]
then
service ypbind condrestart >/dev/null 2>&1
fi
fi
}
nis_restore() {
if [ ! "${PEERNIS}" = "no" ]; then
if [ -f ${SAVECONF} ]; then
rm -f ${CONF}
# cp+rm instead of mv: preserve SELinux context
# rhbz#509240
cp -c ${SAVECONF} ${CONF}
rm ${SAVECONF}
fix_context ${CONF} # Restorecon again to be sure.
service ypbind condrestart >/dev/null 2>&1
fi
fi
}
# Local Variables:
# indent-tabs-mode: nil
# sh-basic-offset: 4
# show-trailing-whitespace: t
# End:

View File

@ -1 +1 @@
903b483e2434230c63407216380b6fc9 ypbind-mt-1.6.tar.gz
SHA512 (ypbind-mt-2.7.2.tar.gz) = 415013ea003bb3d6162b1dac76462d13d1264a2a0dd3c4de057cf7239b9706a76d1f14ee1e3dcfba697aa48e25e3a972772c8210d87bbf847344e4a6c708a5b4

View File

@ -0,0 +1,12 @@
diff -up ./po/Makevars.gettextdomain ./po/Makevars
--- ./po/Makevars.gettextdomain 2004-01-14 20:25:25.000000000 +0100
+++ ./po/Makevars 2013-05-06 19:07:24.961484803 +0200
@@ -1,7 +1,7 @@
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
-DOMAIN = $(PACKAGE)
+DOMAIN = ypbind
# These two variables depend on the location of this directory.
subdir = po

148
ypbind-2.5-helpman.patch Normal file
View File

@ -0,0 +1,148 @@
diff -up ypbind-mt-2.5/man/ypbind.8.xml.helpman ypbind-mt-2.5/man/ypbind.8.xml
--- ypbind-mt-2.5/man/ypbind.8.xml.helpman 2018-06-04 15:30:38.000000000 +0200
+++ ypbind-mt-2.5/man/ypbind.8.xml 2018-06-07 16:16:56.967024495 +0200
@@ -39,21 +39,33 @@
<refsynopsisdiv id='synopsis'>
<cmdsynopsis>
<command>ypbind</command>
- <arg choice='opt'>-c </arg>
- <group choice='opt'><arg choice='plain'>-d </arg><arg choice='plain'>-debug </arg></group>
- <arg choice='opt'>-verbose </arg>
- <group choice='opt'><arg choice='plain'>-n </arg><arg choice='plain'>-forground </arg></group>
- <arg choice='opt'>-broadcast </arg>
- <arg choice='opt'>-broken-server </arg>
- <arg choice='opt'>-ypset </arg>
- <arg choice='opt'>-ypsetme </arg>
- <arg choice='opt'>-no-ping </arg>
+ <group choice='opt'>
+ <arg choice='plain'>-broadcast </arg>
+ <arg choice='plain'>-ypset </arg>
+ <arg choice='plain'>-ypsetme </arg>
+ </group>
<arg choice='opt'>-f <replaceable>configfile</replaceable></arg>
+ <arg choice='opt'>-no-ping </arg>
+ <arg choice='opt'>-broken-server </arg>
<arg choice='opt'>-local-only </arg>
- <arg choice='opt'>-ping-interval <replaceable>ping-interval</replaceable></arg>
+
+ <group choice='opt'>
+ <arg choice='plain'>-ping-interval <replaceable>ping-interval</replaceable></arg>
+ <arg choice='plain'>-i <replaceable>ping-interval</replaceable></arg>
+ </group>
+
+ <group choice='opt'><arg choice='plain'>-d </arg><arg choice='plain'>-debug </arg></group>
+ <group choice='opt'><arg choice='plain'>-v </arg><arg choice='plain'>-verbose </arg></group>
+ <group choice='opt'><arg choice='plain'>-n </arg><arg choice='plain'>-foreground </arg></group>
+ <arg choice='opt'>-p <replaceable>port</replaceable></arg>
</cmdsynopsis>
<cmdsynopsis>
<command>ypbind</command>
+ <arg choice='plain'>-c </arg>
+ <arg choice='opt'>-f <replaceable>configfile</replaceable></arg>
+ </cmdsynopsis>
+ <cmdsynopsis>
+ <command>ypbind</command>
<arg choice='plain'>--version </arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -88,6 +100,8 @@
<para>Unless the option
<option>-debug</option>
+or
+<option>-foreground</option>
is used, ypbind detaches itself from the controlling terminal and puts
itself into background.
<command>ypbind</command>
@@ -132,6 +146,57 @@ If the file does not exist or if there a
<command>ypbind</command>
exit.</para>
+<para>
+In Fedora we use systemd for starting services. We need to finish starting
+process of <command>ypbind</command> service not before service is fully
+started, which means <command>ypbind</command> daemon is prepared to answer.
+There is a test script <filename>/usr/libexec/ypbind-post-waitbind</filename>
+used in ypbind.service, that waits for <command>ypbind</command> daemon to be
+fully connected to NIS server and waits by default up to 45s. Sometimes this
+is not enough, because network set up can take longer than 45s during boot, so
+starting ypbind.service fails. User can increase the timeout by setting an
+environment variable NISTIMEOUT in <filename>/etc/sysconfig/ypbind</filename>.
+For example NISTIMEOUT=180 means <command>ypbind</command> will wait up to 180
+seconds for binding to a NIS server. Another option is to enable
+NetworkManager-wait- online.service, which will make <command>ypbind</command>
+to wait until network is properly set up.
+</para>
+
+<para>
+In case something needs to be changed in the ypbind.service, it is adviced not
+to change the ypbind.service directly, but rather to create a new file under
+<filename>/etc/systemd/system/ypbind.service.d/</filename>, i.e. if we need to
+start <command>ypbind</command> before service foo.service, we can create file
+<filename>/etc/systemd/system/ypbind.service.d/wait-foo.conf</filename> with
+the following content:
+</para>
+
+<para>
+<programlisting>
+[Service]
+Before=foo.service
+</programlisting>
+</para>
+<para>
+If you need to pass other arguments to <command>ypbind</command> daemon withing
+systemd unit file, you can set these arguments as OTHER_YPBIND_OPTS environment
+variable in <filename>/etc/sysconfig/ypbind</filename>. For example in order to
+set a fixed port <command>ypbind</command> should run on, you can specify
+OTHER_YPBIND_OPTS="-p 876" in <filename>/etc/sysconfig/ypbind</filename>.
+</para>
+
+<para>
+DHCP client by defualt changes <filename>/etc/yp.conf</filename> in case DHCP
+server sends NIS configuration in the respond. In that case
+<filename>/etc/dhcp/dhclient.d/nis.sh</filename> changes
+<filename>/etc/yp.conf</filename> according such configuration and creates a
+back-up copy of the original configuration file into
+<filename>/var/lib/dhclient/nis.conf.predhclient.$interface</filename>. In
+order to disable changing <filename>/etc/yp.conf</filename> by DHCP client, add
+PEERNIS=no into <filename>/etc/sysconfig/network</filename>.
+</para>
+
+
</refsect1>
<refsect1 id='options'>
@@ -256,6 +321,15 @@ With this options another frequency in s
</listitem>
</varlistentry>
<varlistentry>
+ <term><option>-p</option> port</term>
+ <listitem>
+<para>Lets
+<command>ypbind</command>
+listen on a specified port number, rather than asking portmapper to assingn a
+port for it.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>--version</option></term>
<listitem>
<para>Prints the version number</para>
diff -up ypbind-mt-2.5/man/yp.conf.5.xml.helpman ypbind-mt-2.5/man/yp.conf.5.xml
--- ypbind-mt-2.5/man/yp.conf.5.xml.helpman 2018-06-07 16:29:01.853560699 +0200
+++ ypbind-mt-2.5/man/yp.conf.5.xml 2018-06-07 16:33:59.302833043 +0200
@@ -97,6 +97,14 @@
first the given servers before falling back to broadcasting
for a running server.
</para>
+ <para>
+ Content of <filename>/etc/yp.conf</filename> can be changed by DHCP client,
+ for more info see
+ <citerefentry>
+ <refentrytitle>ypbind</refentrytitle>
+ <manvolnum>8</manvolnum>
+ </citerefentry>.
+ </para>
</refsect1>
<refsect1 id='see_also'>

57
ypbind-post-waitbind Executable file
View File

@ -0,0 +1,57 @@
#!/bin/sh
#
# ypbind-domain
#
# description: This is part of former ypbind init script, which is used
# to fix problems with the init scripts continuing even when
# we are really not bound yet to a server, and then things
# that need NIS fail.
#
# NISTIMEOUT should be a multiple of 15 since
# ypwhich has a hardcoded 15sec timeout
[ -z "$NISTIMEOUT" ] && NISTIMEOUT=45
logger -t ypbind $"Binding NIS service"
timeout=$NISTIMEOUT
firsttime=1
rpcbound=0
SECONDS=0
retval=0
while [ $SECONDS -lt $timeout ] || [ $firsttime -eq 1 ] ; do
firsttime=0
if /usr/sbin/rpcinfo -p | LC_ALL=C fgrep -q ypbind
then
rpcbound=1
/usr/bin/ypwhich > /dev/null 2>&1
retval=$?
if [ $retval -eq 0 ]; then
break;
fi
fi
sleep 2
done
logger -t ypbind "Binding took $SECONDS seconds"
if [ $retval -eq 0 ]; then
if [ $rpcbound -eq 0 ]; then
logger -t ypbind \
"NIS domain: `domainname`, ypbind not registered with rpcbind."
else
logger -t ypbind \
"NIS domain: `domainname`, NIS server: `ypwhich 2> /dev/null`"
fi
else
logger -t ypbind \
"NIS server for domain `domainname` is not responding."
logger -t ypbind \
"Killing ypbind with PID $MAINPID."
kill -s 15 $MAINPID || :
logger -t ypbind \
"Try increase NISTIMEOUT in /etc/sysconfig/ypbind"
fi
exit $retval

44
ypbind-pre-setdomain Executable file
View File

@ -0,0 +1,44 @@
#!/bin/sh
#
# ypbind-domain
#
# description: This is part of former ypbind init script, which is used
# to setup proper domainname before starting ypbind daemon
# itself. If $NISDOMAIN is not defined, it reads config file.
#
TIMEOUT=5
DOMAINNAME=`domainname`
if [ "$DOMAINNAME" = "(none)" -o "$DOMAINNAME" = "" ]; then
echo -n $"Setting NIS domain: "
seconds=0
while [ $seconds -lt $TIMEOUT ]; do
if [ -n "$NISDOMAIN" ]; then
domainname $NISDOMAIN
echo $"'$NISDOMAIN' (environment variable)"
break
else # See if the domain is set in config file
NISDOMAIN=`awk '{ if ($1 == "domain") {print $2; exit} }' /etc/yp.conf`
if [ -n "$NISDOMAIN" ]; then
domainname $NISDOMAIN
echo $"'$NISDOMAIN' (/etc/yp.conf)"
break
else
seconds=$(($seconds+1))
sleep 1
fi
fi
done
# Give up if NISDOMAIN is still not set
[ -z "$NISDOMAIN" ] && logger -t ypbind $"domain not found" && exit 1
fi
#/etc/rpc check
grep ypbind /etc/rpc > /dev/null 2>&1
if [ $? -ne 0 ]; then
logger -t ypbind $"Error: Missing ypbind entry in /etc/rpc."
exit 1
fi
echo

View File

@ -1,98 +0,0 @@
#!/bin/sh
#
# ypbind: Starts the ypbind Daemon
#
# Version: @(#) /etc/init.d/ypbind.init 1.1
#
# chkconfig: - 17 83
# description: This is a daemon which runs on NIS/YP clients and binds them \
# to a NIS domain. It must be running for systems based on glibc \
# to work as NIS clients, but it should not be enabled on systems \
# which are not using NIS.
# processname: ypbind
# config: /etc/yp.conf
OTHER_YPBIND_OPTS=""
# Source function library.
. /etc/init.d/functions
. /etc/sysconfig/network
start() {
DOMAINNAME=`domainname`
if [ "$DOMAINNAME" = "(none)" -o "$DOMAINNAME" = "" ]; then
if [ -n "$NISDOMAIN" ]; then
action "Setting NIS domain name $NISDOMAIN: " domainname $NISDOMAIN
else
exit 1
fi
fi
echo -n "Binding to the NIS domain... "
daemon ypbind $OTHER_YPBIND_OPTS
echo
# the following fixes problems with the init scripts continuing
# even when we are really not bound yet to a server, and then things
# that need NIS fail.
pid=`pidofproc ypbind`
if [ -n "$pid" ]; then
echo -n "Listening for an NIS domain server: "
times=0
until ypwhich > /dev/null 2>&1 || [ "$times" = "10" ]
do
echo -n "." ;
sleep 1
times=$[$times+1]
done
ypwhich
fi
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/ypbind
return $RETVAL
}
stop() {
echo -n "Shutting down NIS services: "
killproc ypbind
RETVAL=$?
if [ $RETVAL -eq 0 ] ; then
rm -f /var/lock/subsys/ypbind
# if we used brute force (like kill -9) we don't want those around
if [ x$(domainname) != x ] ; then
rm -f /var/yp/binding/$(domainname)*
fi
fi
echo
return $RETVAL
}
restart() {
stop
start
}
RETVAL=0
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
status)
status ypbind
;;
restart|reload)
restart
;;
condrestart)
[ -f /var/lock/subsys/ypbind ] && restart || :
;;
*)
echo "*** Usage: ypbind {start|stop|status|restart|condrestart}"
exit 1
esac
exit $?

22
ypbind.service Normal file
View File

@ -0,0 +1,22 @@
# For details how to adjust this file or change daemon settings, please, read ypbind(8).
[Unit]
Description=NIS/YP (Network Information Service) Clients to NIS Domain Binder
Requires=rpcbind.service
Wants=nss-user-lookup.target network-online.target
After=syslog.target rpcbind.service ypserv.service
Before=systemd-user-sessions.service
Before=nss-user-lookup.target
[Service]
Type=notify
NotifyAccess=all
EnvironmentFile=-/etc/sysconfig/network
EnvironmentFile=-/etc/sysconfig/ypbind
ExecStartPre=/usr/libexec/ypbind-pre-setdomain
ExecStartPre=-/bin/bash -c 'selinuxenabled && /usr/sbin/setsebool allow_ypbind=1'
ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS
ExecStartPost=/usr/libexec/ypbind-post-waitbind
PrivateTmp=true
[Install]
WantedBy=multi-user.target

View File

@ -1,88 +1,698 @@
Summary: The NIS daemon which binds NIS clients to an NIS domain.
Summary: The NIS daemon which binds NIS clients to an NIS domain
Name: ypbind
Version: 1.6
Release: 12
Copyright: GPL
Group: System Environment/Daemons
Source0: ftp://ftp.us.kernel.org/pub/linux/NIS/ypbind-mt-%{PACKAGE_VERSION}.tar.gz
Source1: ypbind.init
Patch: ypbind-pthread.patch
Patch1: ypbind-mt-1.6-broadcast.patch
Patch2: ypbind-mt-1.6-syslog.patch
Prereq: /sbin/chkconfig /etc/init.d
Requires: portmap
Requires: yp-tools
Epoch: 3
Buildroot: %{_tmppath}/ypbind-root
Version: 2.7.2
Release: 9%{?dist}
License: GPLv2
Source0: https://github.com/thkukuk/ypbind-mt/archive/v%{version}.tar.gz#/ypbind-mt-%{version}.tar.gz
Url: http://www.linux-nis.org/nis/ypbind-mt/index.html
#Source1: ypbind.init
Source2: nis.sh
Source3: ypbind.service
Source4: ypbind-pre-setdomain
Source5: ypbind-post-waitbind
# Fedora-specific patch. Renaming 'ypbind' package to proper
# 'ypbind-mt' would allow us to drop it.
Patch1: ypbind-1.11-gettextdomain.patch
# Not sent to upstream.
Patch2: ypbind-2.5-helpman.patch
# This is for /bin/systemctl
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
Requires: rpcbind
Requires: yp-tools >= 4.2.2-2
# New nss_nis package in F25+
Requires: nss_nis
BuildRequires: make
BuildRequires: gcc
BuildRequires: dbus-glib-devel, docbook-style-xsl
BuildRequires: systemd
BuildRequires: systemd-devel
BuildRequires: autoconf, automake
BuildRequires: gettext-devel
BuildRequires: libtirpc-devel
BuildRequires: libnsl2-devel
BuildRequires: libxslt
%description
The Network Information Service (NIS) is a system which provides
The Network Information Service (NIS) is a system that provides
network information (login names, passwords, home directories, group
information) to all of the machines on a network. NIS can enable
users to login on any machine on the network, as long as the machine
has the NIS client programs running and the user's password is
recorded in the NIS passwd database. NIS was formerly known as Sun
Yellow Pages (YP).
information) to all of the machines on a network. NIS can allow users
to log in on any machine on the network, as long as the machine has
the NIS client programs running and the user's password is recorded in
the NIS passwd database. NIS was formerly known as Sun Yellow Pages
(YP).
This package provides the ypbind daemon. The ypbind daemon binds NIS
clients to an NIS domain. Ypbind must be running on any machines
which are running NIS client programs.
This package provides the ypbind daemon. The ypbind daemon binds NIS
clients to an NIS domain. Ypbind must be running on any machines
running NIS client programs.
Install the ypbind package on any machines which are running NIS client
programs (included in the yp-tools package). If you need an NIS server,
you'll also need to install the ypserv package to a machine on your
network.
Install the ypbind package on any machines running NIS client programs
(included in the yp-tools package). If you need an NIS server, you
also need to install the ypserv package to a machine on your network.
%prep
%setup -q -n ypbind-mt-%{version}
%patch -p1 -b .pthread-fun
#XXX %patch1 -p0
%patch2 -p1
%patch1 -p1 -b .gettextdomain
%patch2 -p1 -b .helpman
autoreconf -fiv
%build
%configure --disable-nls --sbindir=/sbin
make
%ifarch s390 s390x
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
%else
export CFLAGS="$RPM_OPT_FLAGS -fpic"
%endif
export LDFLAGS="$LDFLAGS -pie -Wl,-z,relro,-z,now"
#export CFLAGS="$CFLAGS -H"
%configure
%make_build
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall sbindir=$RPM_BUILD_ROOT/sbin
%make_install
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d $RPM_BUILD_ROOT/var/yp/binding
install -m 644 etc/yp.conf $RPM_BUILD_ROOT/etc/yp.conf
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ypbind
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/yp/binding
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dhcp/dhclient.d
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
install -m 644 etc/yp.conf $RPM_BUILD_ROOT%{_sysconfdir}/yp.conf
install -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/dhcp/dhclient.d/nis.sh
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/ypbind.service
install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-pre-setdomain
install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind
%clean
rm -rf $RPM_BUILD_ROOT
%{find_lang} %{name}
%post
/sbin/chkconfig --add ypbind
%systemd_post %{name}.service
%preun
if [ "$1" = 0 ] ; then
/sbin/service ypbind stop > /dev/null 2>&1
/sbin/chkconfig --del ypbind
fi
exit 0
%systemd_preun %{name}.service
%postun
if [ "$1" -ge 1 ]; then
/sbin/service ypbind condrestart > /dev/null 2>&1
fi
exit 0
%systemd_postun_with_restart %{name}.service
%files
%defattr(-,root,root)
/sbin/ypbind
%files -f %{name}.lang
%{_sbindir}/*
%{_mandir}/*/*
%config /etc/rc.d/init.d/*
%config /etc/yp.conf
%dir /var/yp/binding
%{_libexecdir}/*
%{_unitdir}/*
%{_sysconfdir}/dhcp/dhclient.d/*
%config(noreplace) %{_sysconfdir}/yp.conf
%dir %{_localstatedir}/yp/binding
%doc README NEWS
%license COPYING
%changelog
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Nov 12 2021 Björn Esser <besser82@fedoraproject.org> - 3:2.7.2-7
- Rebuild(libnsl2)
* Tue Sep 28 2021 Marek Kulik <mkulik@redhat.com> - 3:2.7.2-6
- Fix setsebool message in logs, resolves: #1882069
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3:2.7.2-4
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Apr 20 2020 Filip Januš <fjanus@redhat.com> - 2.7.2-1
- Update version to 2.7.2
- Resolves: #1796030
- Removing obsolete patches
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Jul 30 2019 Matej Mužila <mmuzila@redhat.com> - 3:2.6.1-1
- Update to version 2.6.1
- Resolves: #1668439
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 07 2018 Matej Mužila <mmuzila@redhat.com> - 3:2.5-2
- Fix man pages
* Tue Jun 05 2018 Matej Mužila <mmuzila@redhat.com> - 3:2.5-1
- Update to version 2.5
* Mon Apr 30 2018 Petr Kubat <pkubat@redhat.com> - 3:2.4-8
- Add the runtime dependency on nss_nis back
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3:2.4-7
- Escape macros in %%changelog
* Tue Jan 16 2018 Petr Kubat <pkubat@redhat.com> - 3:2.4-6
- Temporarily remove nss_nis dependency as it got removed from glibc (#1534599)
* Thu Sep 21 2017 Matej Mužila <mmuzila@redhat.com> - 3:2.4-5
- Add "Wants" dependency on network-online.target
- Remove "After" dependency on NetworkManager-wait-online.service
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon May 29 2017 Matej Mužila <mmuzila@gmail.com> - 3:2.4-2
- Require yp-tools >= 4.2.2-2
* Fri May 19 2017 Matej Mužila <mmuzila@redhat.com> - 3:2.4-1
- Update to version 2.4 supporting IPv6
* Wed Mar 29 2017 Petr Kubat <pkubat@redhat.com> - 3:1.38-10
- Wait a while for dhcp to set up the domain (#1170400)
* Mon Mar 20 2017 Petr Kubat <pkubat@redhat.com> - 3:1.38-9
- Add a Wants dependency on nss-user-lookup.target (#1282440)
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.38-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Nov 23 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 3:1.38-7
- Remove check for libsystemd-daemon from ypbind-systemdso.patch (RHBZ#1396893).
- Add check for systemd/sd-daemon.h to ypbind-systemdso.patch.
- Spec file cosmetics.
- Add %%license tag.
* Mon Nov 07 2016 Petr Kubat <pkubat@redhat.com> - 3:1.38-6
- Add runtime dependency on nss_nis
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.38-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Jan 25 2016 Matej Muzila <mmuzila@redhat.com> 3:1.38-4
- Do not restart ypbind on dhcp renew if nis domain or nis servers
haven't changed
Resolves: rhbz#1301708
* Mon Nov 16 2015 Matej Muzila <mmuzila@redhat.com> 3:1.38-3
- Load ypbind.service before nss-user-lookup.target
Resolves: rhbz#1282440
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:1.38-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Oct 21 2014 Matej Mužila <mmuzila@redhat.com> - 3:1.38-1
- Update to 1.38
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:1.37.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Aug 15 2014 Honza Horak <hhorak@redhat.com> - 3:1.37.2-2
- link with systemd.so
* Fri Aug 15 2014 Honza Horak <hhorak@redhat.com> - 3:1.37.2-1
- Update to 1.37.2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:1.37.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Mon Nov 18 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-9
- Replace autoreconf with autoconf
* Mon Nov 18 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-8
- DHCP changes documented
Related: #1031093
* Thu Aug 29 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-7
- Add network-online.target dependency
Resolves: #1002295
* Mon Aug 19 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-6
- Improve systemd documentation
* Mon Jul 29 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-5
- Remove SysV init conversion and systemd macros compatible code
- Require systemd instead systemd-units
- Remove systemd-sysv
* Thu May 09 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-3
- Enable PrivateTmp feature, just for the case
* Tue May 07 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-2
- Syncing help and man pages
* Mon May 06 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-1
- Update to new version 1.37.1
* Tue Jan 29 2013 Honza Horak <hhorak@redhat.com> - 3:1.36-10
- Make re-bind interval a tune-able option
- Fixed bogus dates in changelog
* Wed Dec 19 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-9
- Check presence of ypbind in /etc/rpc
Related: #888778
* Fri Nov 30 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-8
- Build with full relro
* Thu Oct 04 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-7
- Run %%triggerun regardless of systemd_post variable definition
* Mon Sep 24 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-6
- Use sdnotify to inform systemd that daemon is ready
- Minor spec file cleanup
- Use new systemd macros
Resolves: #850375
- Add After: NetworkManager-wait-online.service
Related: #846767
* Thu Aug 23 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-5
- Enhance ypbind(8) with info about NISTIMEOUT
- Add suggestion about extending NISTIMEOUT if ypbind timeouts
* Mon Jul 23 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-4
- Add SIGPIPE to proper signal set
Related: #842228
- Fixed sending TERM signal in ypbind-post-waitbind
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:1.36-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Jul 11 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-2
- Minor spec file fixes
- Helper scripts moved to /usr/libexec
* Wed Jul 11 2012 Honza Horak <hhorak@redhat.com> - 3:1.36-1
- Update to new version 1.36
* Tue Jul 10 2012 Honza Horak <hhorak@redhat.com> - 3:1.35-5
- consider all 127.0.0.0/8 as localhost addresses
Related: #829487
* Mon Jul 09 2012 Honza Horak <hhorak@redhat.com> - 3:1.35-4
- don't go offline when one of NIS servers is localhost
Related: #829487
* Fri Jun 01 2012 Honza Horak <hhorak@redhat.com> - 3:1.35-3
- fixed kill call in ypbind-post-waitbind script
* Wed Apr 18 2012 Honza Horak <hhorak@redhat.com> - 3:1.35-2
- NetworkManager signal name changed
Resolves: #812501
* Mon Mar 26 2012 Honza Horak <hhorak@redhat.com> - 3:1.35-1
- Update to new version with only minor changes
* Tue Jan 24 2012 Honza Horak <hhorak@redhat.com> - 3:1.33-11
- Don't fail when killing ypbind after unsuccessfull start fails
- Let ypbind start before systemd-user-sessions.service
Resolves: #783447
* Thu Jan 12 2012 Honza Horak <hhorak@redhat.com> - 3:1.33-10
- Fail to start ypbind service if domainname is not set
* Wed Nov 16 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-9
- Fixed ypbind-post-waitbind to stop the service when binding is not success
* Tue Nov 15 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-8
- Fixed ypbind-post-waitbind to handle long rpcinfo requests
Resolves: #624688
* Mon Sep 26 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-7
- Don't turn off allow_ypbind SELinux boolean
Resolves: #741141
* Thu Sep 15 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-6
- Fixed systemd unit file
- Log messages when starting ypbind service made more verbose
* Tue Aug 02 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-5
- Fixed rpmlint errors
- Fixed systemd unit files packaging
* Mon Jun 13 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-4
- Changed -n option for staying in foreground to not overlap
with config-file option
* Tue Jun 07 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-3
- Fixed ypbind.service when selinux is disabled
* Tue May 10 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-2
- Added /etc/sysconfig/network to systemd service file
* Tue May 10 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-1
- Update to new version
* Fri Apr 29 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-11
- Removed NM_DBUS_VPN_SIGNAL_STATE_CHANGE, use own constant
NM_DBUS_SIGNAL_STATE_CHANGED.
(rhbz#696629)
* Thu Apr 28 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-10
- Made EnvironmentFile in systemd definition optional
(rhbz#632620)
* Thu Apr 14 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-9
- Add native systemd unit file.
(rhbz#693873)
* Thu Apr 14 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-8
- Added rpcbind to LSB header in SysV init file.
* Wed Apr 06 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-7
- Added LSB init service definition in ypbind.init.
- Fix D-Bus response codes to correspond with NetworkManager.
(rhbz#693873)
* Fri Mar 18 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-6
- Added the -typo2 patch which fixes a spelling error in a man pages.
(rhbz#664870)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:1.32-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Nov 29 2010 Karel Klic <kklic@redhat.com> - 3:1.32-4
- Added the -typo patch which fixes a spelling error in a message.
* Fri Nov 19 2010 Karel Klic <kklic@redhat.com> - 3:1.32-3
- ypbind.init: More effective syntax for #601296.
* Fri Nov 19 2010 Karel Klic <kklic@redhat.com> - 3:1.32-2
- Modified the chkconfig priorities from 27/73 to 24/76, to move
ypbind before netfs. This is useful for hosts that mount NFS file
systems that reside on a server which is resolvable through NIS.
* Thu Jul 8 2010 Karel Klic <kklic@redhat.com> - 3:1.32-1
- Update to new version which contains the -matches.patch
* Wed Jun 23 2010 Karel Klic <kklic@redhat.com> - 3:1.31-7
- Added -matches.patch removing matches when dereferencing
DBus connection.
* Tue Jun 8 2010 Karel Klic <kklic@redhat.com> - 3:1.31-6
- ypbind.init: take the first domainname in yp.conf and use
only that (rhbz#601296)
* Fri May 21 2010 Karel Klic <kklic@redhat.com> - 3:1.31-5
- Moved /sbin/ypbind to /usr/sbin/ypbind, as the package
depends on several utilities from /usr (selinuxenabled,
rpcinfo, ypwhich), and /usr/lib/libdbus-glib-1.so
- Removed trailing whitespaces from ChangeLog
* Wed May 19 2010 Karel Klic <kklic@redhat.com> - 3:1.31-4
- Update SELinux context of /etc/yp.conf in nis.sh (rhbz#593278)
- nis.sh: use condrestart instead of pidfile checking
- nis.sh: various simplifications
- Removed BuildRoot tag
- Removed %%clean section
* Wed Feb 24 2010 Karel Klic <kklic@redhat.com> - 3:1.31-3
- Added COPYING file to the package
* Thu Jan 21 2010 Karel Klic <kklic@redhat.com> - 3:1.31-2
- Rewrote initscript to become closer to Packaging:SysVInitScript
Fedora guildeline. Also fixes rhbz#523913
* Mon Jan 4 2010 Karel Klic <kklic@redhat.com> - 3:1.31-1
- Updated to version 1.31 from upstream
- Removed signalstate patch because it was merged by upstream
- Removed man-port patch, because it was rejected by
the upstream. Option '-p' does not work in all cases, it
is not supported, intentionally not included in
the documentation, and it is also removed from the usage
string in this version
* Thu Nov 19 2009 Karel Klic <kklic@redhat.com> - 3:1.29.91-2
- Added signalstate patch, which fixes compilation with
NetworkManaged-devel headers installed. Resolves #537064.
* Mon Oct 26 2009 Karel Klic <kklic@redhat.com> - 3:1.29.91-1
- Updated to 1.29.91 from upstream
- Removed 1.19-port-leak patch because the upstream source code has
been changed and the port leaks should not happen anymore
- Removed 1.20.4-smartwrite patch because it was merged by upstream
- Removed 1.20.4-nm patch as the upstream merged the important part
- Removed 1.20.4-log-binds patch because it was merged by upstream
- Ported 1.20.4-man-port patch to the new release, sent to Thorsten Kukuk
- Removed 1.11-broadcast patch
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:1.20.4-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Apr 8 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-18
- Remove LSB Header from init script
Resolves: #494827
* Wed Mar 18 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-17
- Fix nis.sh SELinux issue
Resolves: #488865
* Thu Feb 26 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-16
- Fix ypbind script in dos format - bash syntax errors
Resolves: #486722
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:1.20.4-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Feb 19 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-14
- Update helper script for dhclient
* Mon Jan 26 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-13
- Fix ypbind can fail to bind if started soon after NetworkManager
Resolves: #480096
* Mon Jan 5 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-12
- Ship helper script for dhclient
* Wed Dec 3 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-11
- Fix verbose option man page entry
- Add description of port option to man page
Resolves: #474184
* Mon Nov 24 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-10
- Last few Merge Review related changes
- Fix init script arguments and return values
Resolves: #247104, #467861
* Tue Oct 21 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-9
- Merge Review - remove dot from end of the summary, convert all tags
in %%changelog to utf-8, escape %% character in changelog, fix
requires and scriptlets, remove %%makeinstall, do not mark init
script file as config, remove unused patches
Resolves: #226663
* Tue Oct 21 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-8
- Rewrite binding files only when they are changed
Resolves: #454581
* Mon Aug 11 2008 Jason L Tibbitts III <tibbs@math.uh.edu> - 3:1.20.4-7
- Fix license tag.
* Tue Jun 10 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-6
- Don't disable allow_ypbind SELinux boolean on service shutdown
Resolves: #448240
* Wed May 21 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-5
- Fix init script timing again
* Tue Feb 12 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 3:1.20.4-4
- Fix Buildroot
* Fri Jan 11 2008 Steve Dickson <steved@redhat.com> - 3:1.20.4-3
- Fixed init script to wait for ypbind to come up. (bz 322101)
* Mon Sep 17 2007 Steve Dickson <steved@redhat.com> - 3:1.20.4-2
- Fixed a couple of typos in initscript (bz 281951)
* Thu May 3 2007 Steve Dickson <steved@redhat.com> - 3:1.20.4-1
- updated to latest upstream version ypbind-mt-1.20.4
* Tue Apr 17 2007 Steve Dickson <steved@redhat.com> - 3:1.19-9
- Fixed typo in init script (bz 233459)
- Changed init script to look in /etc/yp.conf for the
domain name when not already set. (bz 113386)
- Reworked init script to eliminate unreasonable
hangs when ypbind cannot bind to nis server. (bz 112770)
* Tue Apr 3 2007 Steve Dickson <steved@redhat.com> - 3:1.19-8
- Replace portmap dependency with an rpcbind dependency (bz 228894)
* Fri Dec 1 2006 Steve Dickson <steved@redhat.com> - 3:1.19-7
- Fixed leaking ports (bz 217874)
- Log all server bindings (bz 217782)
- Added better quoting to init script (bz 216739)
* Mon Nov 27 2006 Dan Walsh <dwalsh@redhat.com> - 3:1.19-6
- Correct ordering of turning off SELinux boolean
* Thu Aug 31 2006 Dan Walsh <dwalsh@redhat.com> - 3:1.19-5
- Change init script to automatically turn on/off allow_ypbind boolean
* Wed Aug 23 2006 Steve Dickson <steved@redhat.com> - 3:1.19-4
- Remove the -s from install process making the -debuginfo
package useful (bz 203851)
- Added the sourcing of /etc/sysconfig/ypbind (bz 199448)
* Fri Aug 11 2006 Steve Dickson <steved@redhat.com> - 3:1.19-2
- rebuild
* Tue Jul 25 2006 Steve Dickson <steved@redhat.com> - 3:1.19-0.3
- rebuild
* Tue Jul 18 2006 Steve Dickson <steved@redhat.com> - 3:1.19-0.2
- Added NISTIMEOUT variable to init scrip (bz 196078)
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3:1.19-0.1
- rebuild
* Mon Feb 13 2006 Chris Feist <cfeist@redhat.com> - 3:1.19
- Build for latest version of ypbind-mt
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3:1.17.2-5.2.1
- bump again for double-long bug on ppc(64)
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3:1.17.2-5.2
- rebuilt for new gcc4.1 snapshot and glibc changes
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Mon Jan 24 2005 Steve Dickson <SteveD@RedHat.com> 1.17.2-4
- Changed the initscript to use the logger command instead
of initlog script, since the initlog script has gone away.
* Fri Oct 15 2004 Steve Dickson <SteveD@RedHat.com> 1.17.2-3
- Sped up the ypbind initscript by using fgrep
instead of grep (bz# 81247)
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue Feb 24 2004 Phil Knirsch <pknirsch@redhat.com> 1.17.2-1
- Another updated to latest upstream version.
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Mon Jan 19 2004 Phil Knirsch <pknirsch@redhat.com> 1.16-1
- Updated to latest upstream version.
* Thu Nov 20 2003 Steve Dickson <SteveD@RedHat.com>
- Added a NULL check to test_bindings() to make sure
clnt_call() is not called with a NULL pointer.
* Sat Oct 4 2003 Steve Dickson <SteveD@RedHat.com>
- Updated Release number for RHEL3 QU1
* Tue Sep 9 2003 Steve Dickson <SteveD@RedHat.com>
- Fixed a binding race where the wrong results were being returned.
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed May 21 2003 Bill Nottingham <notting@redhat.com> 1.12-1.10
- make yp.conf %%config(noreplace)
* Thu Apr 24 2003 Steve Dickson <SteveD@RedHat.com>
- Updated to 1.12 from upstream.
- Removed ypbind-1.8-dos.patch since it
was already commented out
- Updated broadcast patch
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Mon Nov 18 2002 Tim Powers <timp@redhat.com>
- build on all arches
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Tue Jun 11 2002 Alex Larsson <alexl@redhat.com> 1.11-1
- Updated to 1.11 from upstream.
- Removed patche that went in upstream.
- Updated broadcast patch
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Mon Mar 25 2002 Alex Larsson <alexl@redhat.com> 1.10-7
- Get failure message right in init script (#37463 again)
* Mon Mar 25 2002 Alex Larsson <alexl@redhat.com> 1.10-6
- Fix bugs in initscript. Should fix #37463 and #61857
* Mon Mar 25 2002 Alex Larsson <alexl@redhat.com> 1.10-5
- New config patch that handles failing gethostbynames even better
* Thu Mar 21 2002 Alex Larsson <alexl@redhat.com> 1.10-4
- Added patch to avoid hanging if gethostbyname fails. (#56322)
* Sun Mar 10 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- fixed #57393
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de>
- update to version 1.10
* Mon Aug 13 2001 Preston Brown <pbrown@redhat.com>
- eliminate potential DOS attack via ypwhich (#38637)
- install PO files
* Tue Jul 17 2001 Karsten Hopp <karsten@redhat.de>
- own /var/yp
* Fri Jun 29 2001 Florian La Roche <Florian.LaRoche@redhat.de>
- update to 1.8
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.
* Mon Jun 4 2001 Preston Brown <pbrown@redhat.com>
- small fixes for initscript. Sometimes had trouble on slower systems (#37463)
* Sat Mar 3 2001 Preston Brown <pbrown@redhat.com>
- much more sane ypbind init script for when networking is down.
* Wed Feb 7 2001 Trond Eivind Glomsrød <teg@redhat.com>
- fix "usage" string (use $0)
* Wed Jan 24 2001 Florian La Roche <Florian.LaRoche@redhat.de>
- prepare for initscript translation
- do not prereq /etc/init.d
* Thu Jan 11 2001 Bernhard Rosenkraenzer <bero@redhat.com>
- Start after netfs (#23526)
* Wed Nov 29 2000 Bill Nottingham <notting@redhat.com>
- set NIS domain name if it's not already set
* Mon Oct 02 2000 Florian La Roche <Florian.LaRoche@redhat.de>
- update to 1.7
* Thu Aug 31 2000 Florian La Roche <Florian.LaRoche@redhat.de>
- add again automatic fallback to broadcast
* Sun Aug 20 2000 Florian La Roche <Florian.LaRoche@redhat.de>
- fix condrestart #16615
- security fix for syslog() call