diff --git a/.ypbind.metadata b/.ypbind.metadata new file mode 100644 index 0000000..1a4614b --- /dev/null +++ b/.ypbind.metadata @@ -0,0 +1 @@ +e679133c6938f75988ad625fbc99ad9eb79bdc79 SOURCES/ypbind-mt-1.37.1.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/nis.sh b/SOURCES/nis.sh new file mode 100755 index 0000000..03cb976 --- /dev/null +++ b/SOURCES/nis.sh @@ -0,0 +1,108 @@ +#!/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 . +# +# Author(s): David Cantrell + +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 + let contents=0 + 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} + let contents=contents+1 + done + else + echo "domain ${new_nis_domain} broadcast" >> ${CONF} + let contents=contents+1 + fi + + if [ ${contents} -gt 0 ]; then + service ypbind condrestart >/dev/null 2>&1 + fi + elif [ -n "${new_nis_servers}" ]; then + save_config_file + echo '# generated by /sbin/dhclient-script' > ${CONF} + fix_context ${CONF} + let contents=0 + + for i in ${new_nis_servers} ; do + echo "ypserver ${i}" >> ${CONF} + let contents=contents+1 + done + + if [ $contents -gt 0 ]; then + service ypbind condrestart >/dev/null 2>&1 + fi + 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: diff --git a/SOURCES/ypbind-1.11-gettextdomain.patch b/SOURCES/ypbind-1.11-gettextdomain.patch new file mode 100644 index 0000000..0891dd5 --- /dev/null +++ b/SOURCES/ypbind-1.11-gettextdomain.patch @@ -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 diff --git a/SOURCES/ypbind-helpman.patch b/SOURCES/ypbind-helpman.patch new file mode 100644 index 0000000..82771b3 --- /dev/null +++ b/SOURCES/ypbind-helpman.patch @@ -0,0 +1,114 @@ +diff -up ./man/ypbind.8.helpman ./man/ypbind.8 +--- ./man/ypbind.8.helpman 2013-05-07 11:22:51.178888612 +0200 ++++ ./man/ypbind.8 2013-05-07 11:23:20.497891948 +0200 +@@ -31,9 +31,11 @@ + ypbind \- NIS binding process + .SH "SYNOPSIS" + .HP \w'\fBypbind\fR\ 'u +-\fBypbind\fR [\-c] [\-d | \-debug] [\-verbose] [\-n | \-forground] [\-broadcast] [\-broken\-server] [\-ypset] [\-ypsetme] [\-no\-ping] [\-f\ \fIconfigfile\fR] [\-local\-only] [\-ping\-interval\ \fIping\-interval\fR] [\-rebind\-interval] [\-no\-dbus] ++\fBypbind\fR [\-broadcast\ |\ \-ypset\ |\ \-ypsetme] [\-c] [\-f\ \fIconfigfile\fR] [\-no\-ping] [\-broken\-server] [\-local\-only] [\-i\ |\ \-ping\-interval\ \fIping\-interval\fR] [\-r\ |\ \-rebind\-interval\ \fIrebind\-interval\fR] [\-d\ |\ \-debug] [\-v\ |\ \-verbose] [\-n\ |\ \-foreground] [\-p\ \fIport\fR] [\-log\ \fIlog\-options\fR] [\-no\-dbus] + .HP \w'\fBypbind\fR\ 'u + \fBypbind\fR \-\-version ++.HP \w'\fBypbind\fR\ 'u ++\fBypbind\fR \-\-help + .SH "DESCRIPTION" + .PP + \fBypbind\fR +@@ -164,7 +166,7 @@ on the local machine is allowed to chang + only checks if the config file has syntax errors and exits\&. + .RE + .PP +-\fB\-debug\fR ++\fB\-d, \-debug\fR + .RS 4 + starts + \fBypbind\fR +@@ -173,13 +175,13 @@ in debug mode\&. + will not put itself into background, and error messages and debug output are written to standard error\&. + .RE + .PP +-\fB\-foreground\fR ++\fB\-n, \-foreground\fR + .RS 4 + \fBypbind\fR + will not put itself into backgroun\&. + .RE + .PP +-\fB\-verbose\fR ++\fB\-v, \-verbose\fR + .RS 4 + Causes + \fBypbind\fR +@@ -188,7 +190,7 @@ to syslog(2) any and all changes in the + .PP + \fB\-broken\-server\fR + .RS 4 +-lets ++Lets + \fBypbind\fR + accept answers from servers running on an illegal port number\&. This should usually be avoided, but is required by some + \fBypserv\fR(8) +@@ -218,20 +220,36 @@ and not + will only bind to the loopback device and is not reachable from a remote network\&. + .RE + .PP +-\fB\-ping\-interval\fR ping\-interval ++\fB\-p port\fR ++.RS 4 ++Lets ++\fBypbind\fR ++listen on a specified ++\fBport\fR ++number, rather than asking portmapper to assing a port for it\&. ++.RE ++.PP ++\fB\-i, \-ping\-interval\fR ping\-interval + .RS 4 + The default value for + \fBypbind\fR + to check, if a NIS server is still reachable, is 20 seconds\&. With this options another frequency in seconds can be specified\&. + .RE + .PP +-\fB\-rebind\-interval\fR ++\fB\-r, \-rebind\-interval\fR rebind\-interval + .RS 4 + The default value for + \fBypbind\fR + to search for the fastest NIS server is 900 seconds (15 minutes)\&. With this options another frequency in seconds can be specified\&. + .RE + .PP ++\fB\-log\fR log\-options ++.RS 4 ++Allows to log special events\&. ++\fBlog\-options\fR ++is a logical sum of values for particular events \- 1 for logging rpc calls, 2 for logging broken server calls, 4 for logging server changes\&. ++.RE ++.PP + \fB\-no\-dbus\fR + .RS 4 + Disables DBUS support if compiled in\&. +diff -up ./src/ypbind-mt.c.helpman ./src/ypbind-mt.c +--- ./src/ypbind-mt.c.helpman 2013-04-09 16:03:47.000000000 +0200 ++++ ./src/ypbind-mt.c 2013-05-07 11:22:51.180888612 +0200 +@@ -513,12 +513,17 @@ usage (int ret) + output = stdout; + + fputs (_("Usage:\n"), output); +- fputs (_("\typbind [-broadcast | -ypset | -ypsetme] [-f configfile]\n\t [-no-ping] [-broken-server] [-local-only] [-i ping-interval]\n\t [-r rebind-interval] [-debug] [-verbose] [-n | -foreground]\n"), output); ++ fputs ("\typbind [-broadcast | -ypset | -ypsetme] [-f configfile] [-no-ping]\n" ++ "\t [-broken-server] [-local-only] [-i | -ping-interval ping-interval]\n" ++ "\t [-r | -rebind-interval rebind-interval] [-d | -debug] [-v | -verbose]\n" ++ "\t [-n | -foreground] [-p port] [-log log-options]", output); + #ifdef USE_DBUS_NM +- fputs (_("\t [-no-dbus]\n"), output); ++ fputs (" [-no-dbus]", output); + #endif +- fputs (_("\typbind -c [-f configfile]\n"), output); +- fputs (_("\typbind --version\n"), output); ++ fputs ("\n", output); ++ fputs ("\typbind -c [-f configfile]\n", output); ++ fputs ("\typbind --version\n", output); ++ fputs ("\typbind --help\n", output); + exit (ret); + } + diff --git a/SOURCES/ypbind-mt-1.36-nistimeout.patch b/SOURCES/ypbind-mt-1.36-nistimeout.patch new file mode 100644 index 0000000..64a8eae --- /dev/null +++ b/SOURCES/ypbind-mt-1.36-nistimeout.patch @@ -0,0 +1,35 @@ +diff -up ./man/ypbind.8.nistimeout ./man/ypbind.8 +--- ./man/ypbind.8.nistimeout 2013-04-09 14:31:04.000000000 +0200 ++++ ./man/ypbind.8 2013-05-06 19:11:20.509665809 +0200 +@@ -104,6 +104,31 @@ will behave as usual and assumes there i + will reread all configuration files, registers at the local portmapper and try to search NIS servers\&. If NetworkManager drops a connection, + \fBypbind\fR + will unregister from portmapper\&. ++.PP ++In Fedora we use ++\fBsystemd\fR ++for starting services. We need to finish starting process of ++\fBypbind\fR ++service not before service is fully started, which means ++\fBypbind\fR ++daemon is prepared to answer. There is a test script /usr/libexec/ypbind-post-waitbind used in ++\fBypbind.service\fR, ++that waits for ++\fBypbind\fR ++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 ++\fBypbind.service\fR ++fails. User can increase the ++\fBtimeout\fR ++by setting an environment variable ++\fBNISTIMEOUT\fR ++in /etc/sysconfig/ypbind. For example NISTIMEOUT=180 means ypbind will wait up to 180 seconds for binding to a NIS server. ++Another option is to enable NetworkManager-wait-online.service and add an ordering rule into ++\fBypbind.service\fR, ++ideally by creating /etc/systemd/system/ypbind.service with the following content: ++ ++ .include /lib/systemd/system/ypbind.service ++ [Service] ++ After=NetworkManager-wait-online.service + .SH "OPTIONS" + .PP + \fB\-broadcast\fR diff --git a/SOURCES/ypbind-post-waitbind b/SOURCES/ypbind-post-waitbind new file mode 100755 index 0000000..e3ac27c --- /dev/null +++ b/SOURCES/ypbind-post-waitbind @@ -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 + diff --git a/SOURCES/ypbind-pre-setdomain b/SOURCES/ypbind-pre-setdomain new file mode 100755 index 0000000..1d5dbed --- /dev/null +++ b/SOURCES/ypbind-pre-setdomain @@ -0,0 +1,38 @@ +#!/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. +# + +OTHER_YPBIND_OPTS="" + +DOMAINNAME=`domainname` +if [ "$DOMAINNAME" = "(none)" -o "$DOMAINNAME" = "" ]; then + echo -n $"Setting NIS domain: " + if [ -n "$NISDOMAIN" ]; then + domainname $NISDOMAIN + echo $"'$NISDOMAIN' (environment variable)" + 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)" + else + logger -t ypbind $"domain not found" + exit 1 + fi + fi +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 + diff --git a/SOURCES/ypbind.service b/SOURCES/ypbind.service new file mode 100644 index 0000000..9e8d2ec --- /dev/null +++ b/SOURCES/ypbind.service @@ -0,0 +1,19 @@ +[Unit] +Description=NIS/YP (Network Information Service) Clients to NIS Domain Binder +Requires=rpcbind.service +After=syslog.target network.target rpcbind.service ypserv.service NetworkManager-wait-online.service +Before=systemd-user-sessions.service + +[Service] +Type=notify +NotifyAccess=all +EnvironmentFile=-/etc/sysconfig/network +EnvironmentFile=-/etc/sysconfig/ypbind +ExecStartPre=/usr/libexec/ypbind-pre-setdomain +ExecStartPre=-/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 diff --git a/SPECS/ypbind.spec b/SPECS/ypbind.spec new file mode 100644 index 0000000..6d3e4f1 --- /dev/null +++ b/SPECS/ypbind.spec @@ -0,0 +1,580 @@ +Summary: The NIS daemon which binds NIS clients to an NIS domain +Name: ypbind +Epoch: 3 +Version: 1.37.1 +Release: 5%{?dist} +License: GPLv2 +Group: System Environment/Daemons +Source0: http://www.linux-nis.org/download/ypbind-mt/ypbind-mt-%{version}.tar.bz2 +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-mt-1.36-nistimeout.patch +Patch3: ypbind-helpman.patch +# This is for /bin/systemctl +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd +Requires: rpcbind, yp-tools +BuildRequires: dbus-glib-devel, docbook-style-xsl +BuildRequires: systemd +BuildRequires: systemd-devel +BuildRequires: autoconf, automake + +%description +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 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 +running NIS client programs. + +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} +%patch1 -p1 -b .gettextdomain +%patch2 -p1 -b .nistimeout +%patch3 -p1 -b .helpman + +autoreconf + +%build +%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" +%configure --enable-dbus-nm +make + +%install +make install DESTDIR=$RPM_BUILD_ROOT + +mkdir -p $RPM_BUILD_ROOT/var/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 + +%{find_lang} %{name} + +%post +%systemd_post %{name}.service + +%preun +%systemd_preun %{name}.service + +%postun +%systemd_postun_with_restart %{name}.service + +%files -f %{name}.lang +%{_sbindir}/* +%{_mandir}/*/* +%{_libexecdir}/* +%{_unitdir}/* +%{_sysconfdir}/dhcp/dhclient.d/* +%config(noreplace) %{_sysconfdir}/yp.conf +%dir /var/yp/binding +%doc README NEWS COPYING + +%changelog +* Mon Jul 29 2013 Honza Horak - 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 - 3:1.37.1-3 +- Enable PrivateTmp feature, just for the case + +* Tue May 07 2013 Honza Horak - 3:1.37.1-2 +- Syncing help and man pages + +* Mon May 06 2013 Honza Horak - 3:1.37.1-1 +- Update to new version 1.37.1 + +* Tue Jan 29 2013 Honza Horak - 3:1.36-10 +- Make re-bind interval a tune-able option +- Fixed bogus dates in changelog + +* Wed Dec 19 2012 Honza Horak - 3:1.36-9 +- Check presence of ypbind in /etc/rpc + Related: #888778 + +* Fri Nov 30 2012 Honza Horak - 3:1.36-8 +- Build with full relro + +* Thu Oct 04 2012 Honza Horak - 3:1.36-7 +- Run %%triggerun regardless of systemd_post variable definition + +* Mon Sep 24 2012 Honza Horak - 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 - 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 - 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 - 3:1.36-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jul 11 2012 Honza Horak - 3:1.36-2 +- Minor spec file fixes +- Helper scripts moved to /usr/libexec + +* Wed Jul 11 2012 Honza Horak - 3:1.36-1 +- Update to new version 1.36 + +* Tue Jul 10 2012 Honza Horak - 3:1.35-5 +- consider all 127.0.0.0/8 as localhost addresses + Related: #829487 + +* Mon Jul 09 2012 Honza Horak - 3:1.35-4 +- don't go offline when one of NIS servers is localhost + Related: #829487 + +* Fri Jun 01 2012 Honza Horak - 3:1.35-3 +- fixed kill call in ypbind-post-waitbind script + +* Wed Apr 18 2012 Honza Horak - 3:1.35-2 +- NetworkManager signal name changed + Resolves: #812501 + +* Mon Mar 26 2012 Honza Horak - 3:1.35-1 +- Update to new version with only minor changes + +* Tue Jan 24 2012 Honza Horak - 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 - 3:1.33-10 +- Fail to start ypbind service if domainname is not set + +* Wed Nov 16 2011 Honza Horak - 3:1.33-9 +- Fixed ypbind-post-waitbind to stop the service when binding is not success + +* Tue Nov 15 2011 Honza Horak - 3:1.33-8 +- Fixed ypbind-post-waitbind to handle long rpcinfo requests + Resolves: #624688 + +* Mon Sep 26 2011 Honza Horak - 3:1.33-7 +- Don't turn off allow_ypbind SELinux boolean + Resolves: #741141 + +* Thu Sep 15 2011 Honza Horak - 3:1.33-6 +- Fixed systemd unit file +- Log messages when starting ypbind service made more verbose + +* Tue Aug 02 2011 Honza Horak - 3:1.33-5 +- Fixed rpmlint errors +- Fixed systemd unit files packaging + +* Mon Jun 13 2011 Honza Horak - 3:1.33-4 +- Changed -n option for staying in foreground to not overlap + with config-file option + +* Tue Jun 07 2011 Honza Horak - 3:1.33-3 +- Fixed ypbind.service when selinux is disabled + +* Tue May 10 2011 Honza Horak - 3:1.33-2 +- Added /etc/sysconfig/network to systemd service file + +* Tue May 10 2011 Honza Horak - 3:1.33-1 +- Update to new version + +* Fri Apr 29 2011 Honza Horak - 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 - 3:1.32-10 +- Made EnvironmentFile in systemd definition optional + (rhbz#632620) + +* Thu Apr 14 2011 Honza Horak - 3:1.32-9 +- Add native systemd unit file. + (rhbz#693873) + +* Thu Apr 14 2011 Honza Horak - 3:1.32-8 +- Added rpcbind to LSB header in SysV init file. + +* Wed Apr 06 2011 Honza Horak - 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 - 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 - 3:1.32-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Nov 29 2010 Karel Klic - 3:1.32-4 +- Added the -typo patch which fixes a spelling error in a message. + +* Fri Nov 19 2010 Karel Klic - 3:1.32-3 +- ypbind.init: More effective syntax for #601296. + +* Fri Nov 19 2010 Karel Klic - 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 - 3:1.32-1 +- Update to new version which contains the -matches.patch + +* Wed Jun 23 2010 Karel Klic - 3:1.31-7 +- Added -matches.patch removing matches when dereferencing + DBus connection. + +* Tue Jun 8 2010 Karel Klic - 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 - 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 - 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 - 3:1.31-3 +- Added COPYING file to the package + +* Thu Jan 21 2010 Karel Klic - 3:1.31-2 +- Rewrote initscript to become closer to Packaging:SysVInitScript + Fedora guildeline. Also fixes rhbz#523913 + +* Mon Jan 4 2010 Karel Klic - 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 - 3:1.29.91-2 +- Added signalstate patch, which fixes compilation with + NetworkManaged-devel headers installed. Resolves #537064. + +* Mon Oct 26 2009 Karel Klic - 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 - 3:1.20.4-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Apr 8 2009 Vitezslav Crhonek - 3:1.20.4-18 +- Remove LSB Header from init script + Resolves: #494827 + +* Wed Mar 18 2009 Vitezslav Crhonek - 3:1.20.4-17 +- Fix nis.sh SELinux issue + Resolves: #488865 + +* Thu Feb 26 2009 Vitezslav Crhonek - 3:1.20.4-16 +- Fix ypbind script in dos format - bash syntax errors + Resolves: #486722 + +* Wed Feb 25 2009 Fedora Release Engineering - 3:1.20.4-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Feb 19 2009 Vitezslav Crhonek - 3:1.20.4-14 +- Update helper script for dhclient + +* Mon Jan 26 2009 Vitezslav Crhonek - 3:1.20.4-13 +- Fix ypbind can fail to bind if started soon after NetworkManager + Resolves: #480096 + +* Mon Jan 5 2009 Vitezslav Crhonek - 3:1.20.4-12 +- Ship helper script for dhclient + +* Wed Dec 3 2008 Vitezslav Crhonek - 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 - 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 - 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 - 3:1.20.4-8 +- Rewrite binding files only when they are changed + Resolves: #454581 + +* Mon Aug 11 2008 Jason L Tibbitts III - 3:1.20.4-7 +- Fix license tag. + +* Tue Jun 10 2008 Vitezslav Crhonek - 3:1.20.4-6 +- Don't disable allow_ypbind SELinux boolean on service shutdown + Resolves: #448240 + +* Wed May 21 2008 Vitezslav Crhonek - 3:1.20.4-5 +- Fix init script timing again + +* Tue Feb 12 2008 Vitezslav Crhonek - 3:1.20.4-4 +- Fix Buildroot + +* Fri Jan 11 2008 Steve Dickson - 3:1.20.4-3 +- Fixed init script to wait for ypbind to come up. (bz 322101) + +* Mon Sep 17 2007 Steve Dickson - 3:1.20.4-2 +- Fixed a couple of typos in initscript (bz 281951) + +* Thu May 3 2007 Steve Dickson - 3:1.20.4-1 +- updated to latest upstream version ypbind-mt-1.20.4 + +* Tue Apr 17 2007 Steve Dickson - 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 - 3:1.19-8 +- Replace portmap dependency with an rpcbind dependency (bz 228894) + +* Fri Dec 1 2006 Steve Dickson - 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 - 3:1.19-6 +- Correct ordering of turning off SELinux boolean + +* Thu Aug 31 2006 Dan Walsh - 3:1.19-5 +- Change init script to automatically turn on/off allow_ypbind boolean + +* Wed Aug 23 2006 Steve Dickson - 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 - 3:1.19-2 +- rebuild + +* Tue Jul 25 2006 Steve Dickson - 3:1.19-0.3 +- rebuild + +* Tue Jul 18 2006 Steve Dickson - 3:1.19-0.2 +- Added NISTIMEOUT variable to init scrip (bz 196078) + +* Wed Jul 12 2006 Jesse Keating - 3:1.19-0.1 +- rebuild + +* Mon Feb 13 2006 Chris Feist - 3:1.19 +- Build for latest version of ypbind-mt + +* Fri Feb 10 2006 Jesse Keating - 3:1.17.2-5.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 3:1.17.2-5.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Mon Jan 24 2005 Steve Dickson 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 1.17.2-3 +- Sped up the ypbind initscript by using fgrep + instead of grep (bz# 81247) + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue Feb 24 2004 Phil Knirsch 1.17.2-1 +- Another updated to latest upstream version. + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Mon Jan 19 2004 Phil Knirsch 1.16-1 +- Updated to latest upstream version. + +* Thu Nov 20 2003 Steve Dickson +- 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 +- Updated Release number for RHEL3 QU1 + +* Tue Sep 9 2003 Steve Dickson +- Fixed a binding race where the wrong results were being returned. + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Wed May 21 2003 Bill Nottingham 1.12-1.10 +- make yp.conf %%config(noreplace) + +* Thu Apr 24 2003 Steve Dickson +- 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 +- rebuilt + +* Mon Nov 18 2002 Tim Powers +- build on all arches + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Tue Jun 11 2002 Alex Larsson 1.11-1 +- Updated to 1.11 from upstream. +- Removed patche that went in upstream. +- Updated broadcast patch + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Mon Mar 25 2002 Alex Larsson 1.10-7 +- Get failure message right in init script (#37463 again) + +* Mon Mar 25 2002 Alex Larsson 1.10-6 +- Fix bugs in initscript. Should fix #37463 and #61857 + +* Mon Mar 25 2002 Alex Larsson 1.10-5 +- New config patch that handles failing gethostbynames even better + +* Thu Mar 21 2002 Alex Larsson 1.10-4 +- Added patch to avoid hanging if gethostbyname fails. (#56322) + +* Sun Mar 10 2002 Florian La Roche +- fixed #57393 + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Sat Nov 17 2001 Florian La Roche +- update to version 1.10 + +* Mon Aug 13 2001 Preston Brown +- eliminate potential DOS attack via ypwhich (#38637) +- install PO files + +* Tue Jul 17 2001 Karsten Hopp +- own /var/yp + +* Fri Jun 29 2001 Florian La Roche +- update to 1.8 + +* Sun Jun 24 2001 Elliot Lee +- Bump release + rebuild. + +* Mon Jun 4 2001 Preston Brown +- small fixes for initscript. Sometimes had trouble on slower systems (#37463) + +* Sat Mar 3 2001 Preston Brown +- much more sane ypbind init script for when networking is down. + +* Wed Feb 7 2001 Trond Eivind Glomsrød +- fix "usage" string (use $0) + +* Wed Jan 24 2001 Florian La Roche +- prepare for initscript translation +- do not prereq /etc/init.d + +* Thu Jan 11 2001 Bernhard Rosenkraenzer +- Start after netfs (#23526) + +* Wed Nov 29 2000 Bill Nottingham +- set NIS domain name if it's not already set + +* Mon Oct 02 2000 Florian La Roche +- update to 1.7 + +* Thu Aug 31 2000 Florian La Roche +- add again automatic fallback to broadcast + +* Sun Aug 20 2000 Florian La Roche +- fix condrestart #16615 +- security fix for syslog() call + +* Sun Aug 6 2000 Florian La Roche +- do not include broadcast fallback until it is more tested + +* Sun Aug 6 2000 Florian La Roche +- add automatic fallback to broadcast +- add "exit 0" to the scripts + +* Wed Aug 2 2000 Bill Nottingham +- turn off broadcast; authconfig will enable this... +- put the pid that's actually listening to signals in the pidfile + +* Thu Jul 20 2000 Bill Nottingham +- move initscript back + +* Thu Jul 13 2000 Prospector +- automatic rebuild + +* Fri Jul 7 2000 Florian La Roche +- prereq init.d + +* Wed Jul 5 2000 Florian La Roche +- re-enable broadcasts + +* Tue Jul 4 2000 Florian La Roche +- fix scripts + +* Mon Jul 3 2000 Nalin Dahyabhai +- bump epoch + +* Mon Jul 3 2000 Florian La Roche +- switch from ypbind to ypbind-mt