4656f8
 %global first_tc_version 2.29-2
4656f8
4656f8
Summary: The NIS (Network Information Service) server
4656f8
Url: http://www.linux-nis.org/nis/ypserv/index.html
4656f8
Name: ypserv
10dfb7
Version: 4.1
10dfb7
Release: 1%{?dist}
4656f8
License: GPLv2
4656f8
Group: System Environment/Daemons
10dfb7
Source0: https://github.com/thkukuk/%{name}/archive/v%{version}.tar.gz
4656f8
Source1: ypserv.service
4656f8
Source2: yppasswdd.service
4656f8
Source3: ypxfrd.service
4656f8
Source4: rpc.yppasswdd.env
4656f8
Source5: yppasswdd-pre-setdomain
4656f8
4656f8
Requires: gawk, make, portmap, bash >= 2.0
4656f8
Requires: tokyocabinet
4656f8
# requirement for domainname
4656f8
Requires(pre): hostname
4656f8
Requires(post): systemd
4656f8
Requires(preun): systemd
4656f8
Requires(postun): systemd
4656f8
4656f8
Patch0: ypserv-2.5-redhat.patch
4656f8
Patch1: ypserv-2.21-path.patch
4656f8
Patch2: ypserv-2.5-nfsnobody2.patch
4656f8
Patch3: ypserv-2.13-ypxfr-zeroresp.patch
4656f8
Patch4: ypserv-2.13-nonedomain.patch
4656f8
Patch5: ypserv-2.19-slp-warning.patch
4656f8
Patch6: ypserv-2.24-manfix.patch
4656f8
Patch7: ypserv-2.24-aliases.patch
4656f8
Patch8: ypserv-2.27-confpost.patch
4656f8
Patch9: ypserv-2.29-relro.patch
4656f8
Patch10: ypserv-2.31-netgrprecur.patch
4656f8
Patch11: ypserv-2.32-systemdso.patch
4656f8
Patch12: ypserv-4.0-headers.patch
4656f8
4656f8
BuildRequires: tokyocabinet-devel
4656f8
BuildRequires: systemd
4656f8
BuildRequires: autoconf, automake
4656f8
BuildRequires: systemd-devel
4656f8
BuildRequires: libnsl2-devel
4656f8
BuildRequires: libtirpc-devel
4656f8
BuildRequires: docbook-style-xsl
4656f8
BuildRequires: libxslt
4656f8
4656f8
%description
4656f8
The Network Information Service (NIS) is a system that provides
4656f8
network information (login names, passwords, home directories, group
4656f8
information) to all of the machines on a network. NIS can allow users
4656f8
to log in on any machine on the network, as long as the machine has
4656f8
the NIS client programs running and the user's password is recorded in
4656f8
the NIS passwd database. NIS was formerly known as Sun Yellow Pages
4656f8
(YP).
4656f8
4656f8
This package provides the NIS server, which will need to be running on
4656f8
your network. NIS clients do not need to be running the server.
4656f8
4656f8
Install ypserv if you need an NIS server for your network. You also
4656f8
need to install the yp-tools and ypbind packages on any NIS client
4656f8
machines.
4656f8
4656f8
%prep
4656f8
10dfb7
%setup -q
4656f8
4656f8
%patch0 -p1 -b .redhat
4656f8
#%patch1 -p1 -b .path
4656f8
%patch2 -p1 -b .nfsnobody
4656f8
%patch3 -p1 -b .respzero
4656f8
%patch4 -p1 -b .nonedomain
4656f8
%patch5 -p1 -b .slp-warning
4656f8
#%patch6 -p1 -b .manfix
4656f8
%patch7 -p1 -b .aliases
4656f8
%patch8 -p1 -b .confpost
4656f8
#%patch9 -p1 -b .relro
4656f8
%patch10 -p1 -b .netgrprecur
4656f8
#%patch11 -p1 -b .systemdso
4656f8
%patch12  -b .headers
4656f8
4656f8
autoreconf -i
4656f8
4656f8
%build
4656f8
cp etc/README etc/README.etc
4656f8
%ifarch s390 s390x
4656f8
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
4656f8
%else
4656f8
export CFLAGS="$RPM_OPT_FLAGS -fpic"
4656f8
%endif
4656f8
4656f8
4656f8
%configure \
4656f8
	--enable-checkroot \
4656f8
	--enable-fqdn \
4656f8
	--libexecdir=%{_libdir}/yp \
4656f8
	--with-dbmliborder=tokyocabinet \
4656f8
    -localstatedir=%{_localstatedir}
4656f8
4656f8
make
4656f8
4656f8
%install
4656f8
#make install ROOT=$RPM_BUILD_ROOT
4656f8
#%make_install libexecdir=$RPM_BUILD_ROOT%{_libdir}/yp INSTALL_PROGRAM=install
4656f8
%make_install
4656f8
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
4656f8
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
4656f8
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
4656f8
install -m 644 etc/ypserv.conf $RPM_BUILD_ROOT%{_sysconfdir}
4656f8
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/ypserv.service
4656f8
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_unitdir}/yppasswdd.service
4656f8
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/ypxfrd.service
4656f8
install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/yppasswdd-pre-setdomain
4656f8
4656f8
mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
4656f8
cat >$RPM_BUILD_ROOT/etc/sysconfig/yppasswdd <
4656f8
# The passwd and shadow files are located under the specified
4656f8
# directory path. rpc.yppasswdd will use these files, not /etc/passwd
4656f8
# and /etc/shadow.
4656f8
#ETCDIR=/etc
4656f8
4656f8
# This option tells rpc.yppasswdd to use a different source file
4656f8
# instead of /etc/passwd
4656f8
# You can't mix usage of this with ETCDIR
4656f8
#PASSWDFILE=/etc/passwd
4656f8
4656f8
# This option tells rpc.yppasswdd to use a different source file
4656f8
# instead of /etc/passwd.
4656f8
# You can't mix usage of this with ETCDIR
4656f8
#SHADOWFILE=/etc/shadow
4656f8
4656f8
# Additional arguments passed to yppasswd
4656f8
YPPASSWDD_ARGS=
4656f8
EOF
4656f8
4656f8
# We need to pass all environment variables set in /etc/sysconfig/yppasswdd 
4656f8
# only if they are not empty. However, this simple logic is not supported 
4656f8
# by systemd. The script rpc.yppasswdd.env wraps the main binary and 
4656f8
# prepares YPPASSWDD_ARGS variable to include all necessary variables 
4656f8
# (ETCDIR, PASSWDFILE and SHADOWFILE). The script ensures, that the 
4656f8
# rpc.yppasswdd arguments are not used when the appropriate environment 
4656f8
# variables are empty.
4656f8
install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/rpc.yppasswdd.env
4656f8
4656f8
%post
4656f8
%systemd_post ypserv.service
4656f8
%systemd_post ypxfrd.service
4656f8
%systemd_post yppasswdd.service
4656f8
4656f8
%preun
4656f8
%systemd_preun ypserv.service
4656f8
%systemd_preun ypxfrd.service
4656f8
%systemd_preun yppasswdd.service
4656f8
4656f8
%postun
4656f8
%systemd_postun_with_restart ypserv.service
4656f8
%systemd_postun_with_restart ypxfrd.service
4656f8
%systemd_postun_with_restart yppasswdd.service
4656f8
4656f8
%if 0%{?fedora}>=18
4656f8
4656f8
# After switching from gdbm to Tokyo Cabinet we need to rebuild maps
4656f8
# during update, but without pushing to slave servers
4656f8
# In case domainname is not set, but it is defined in 
4656f8
# /etc/sysconfig/network, we do the same work as service yppasswdd 
4656f8
# do before starting.
4656f8
# The original domainname value is set back in the end.
4656f8
# The whole work is created before installing new ypserv, so we use old
4656f8
# utilities and commands are stored into temporary file (that is necessary,
4656f8
# because we cannot read old maps using new package)
4656f8
# If old package used gdbm, the prepared script is executed after new package
4656f8
# is installed.
4656f8
%global rebuild_maps_script /var/yp/rpm_rebuild_maps
4656f8
%pre
4656f8
if [ $1 == 2 ] ; then
4656f8
    # stop ypserv if running and then start it again
4656f8
    ypservactive=0
4656f8
    if /usr/bin/systemctl is-active ypserv.service>/dev/null 2>&1 ; then
4656f8
        ypservactive=1
4656f8
        /usr/bin/systemctl stop ypserv.service>/dev/null 2>&1
4656f8
    fi
4656f8
    # store old domainname and set the correct one
4656f8
    olddomain=`domainname`
4656f8
    [ -f /etc/sysconfig/network ] $$ . /etc/sysconfig/network
4656f8
    DOMAINNAME=`domainname`
4656f8
    if [ "$olddomain" = "(none)" -o "x$olddomain" = "x" ]; then
4656f8
        if [ -n "$NISDOMAIN" ]; then
4656f8
            domainname $NISDOMAIN
4656f8
        fi
4656f8
    fi
4656f8
4656f8
    newdomain=`domainname`
4656f8
    if [ "$newdomain" != "(none)" -a "x$newdomain" != "x" ]; then
4656f8
        pushd "/var/yp/$newdomain">/dev/null
4656f8
        echo "" > %rebuild_maps_script
4656f8
        chmod 0600 %rebuild_maps_script
4656f8
        # loop through maps
4656f8
        for map in * ; do
4656f8
            # this server is a master for this map
4656f8
            if %{_libdir}/yp/yphelper -i "$map" >/dev/null 2>&1 ; then
4656f8
                echo "rm -f `pwd`/$map" >> %rebuild_maps_script
4656f8
            # this server is a slave for this map
4656f8
            else
4656f8
                master=`%{_libdir}/yp/makedbm -u $map 2>/dev/null | grep  YP_MASTER_NAME | sed -e 's/YP_MASTER_NAME//'`
4656f8
                if [ "x$master" != "x" ] ; then
4656f8
                    echo "%{_libdir}/yp/ypxfr -f -h $master -c -d $newdomain $map" >> %rebuild_maps_script
4656f8
		    fi
4656f8
            fi
4656f8
        done
4656f8
        echo "make NOPUSH=true -C /var/yp" >> %rebuild_maps_script
4656f8
    fi
4656f8
    /bin/domainname "$olddomain"
4656f8
    # if ypserv was running before, start it again
4656f8
    if [ $ypservactive -eq 1 ] ; then
4656f8
        /usr/bin/systemctl start ypserv.service>/dev/null 2>&1
4656f8
    fi
4656f8
fi
4656f8
4656f8
%triggerpostun -- ypserv < %{first_tc_version}
4656f8
if [ -e %rebuild_maps_script ] ; then
4656f8
    bash %rebuild_maps_script >/dev/null 2>&1 || :
4656f8
    rm -f %rebuild_maps_script >/dev/null 2>&1
4656f8
fi
4656f8
4656f8
%endif
4656f8
4656f8
%files
4656f8
%doc AUTHORS README INSTALL ChangeLog TODO NEWS COPYING
4656f8
%doc etc/ypserv.conf etc/securenets etc/README.etc
4656f8
%doc etc/netgroup etc/locale etc/netmasks etc/timezone
4656f8
%config(noreplace) %{_sysconfdir}/ypserv.conf
4656f8
%config(noreplace) %{_sysconfdir}/sysconfig/yppasswdd
4656f8
%config(noreplace) /var/yp/*
4656f8
%{_unitdir}/*
4656f8
%{_libexecdir}/*
4656f8
%{_libdir}/yp/*
4656f8
%{_sbindir}/*
4656f8
%{_mandir}/*/*
4656f8
%{_includedir}/rpcsvc
4656f8
4656f8
%changelog
10dfb7
* Tue Jun 29 2021 Filip Januš <fjanus@redhat.com> - 4.1-1
10dfb7
- Update to v4.1
10dfb7
- Resolves: #1974925
10dfb7
4656f8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-6.20170331git5bfba76
4656f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4656f8
4656f8
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 4.0-5.20170331git5bfba76
4656f8
- Rebuilt for switch to libxcrypt
4656f8
4656f8
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-4.20170331git5bfba76
4656f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4656f8
4656f8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-3.20170331git5bfba76
4656f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4656f8
4656f8
* Thu Apr 6 2017 Matej Mužila <mmuzila@redhat.com> - 4.0-2.20170331git5bfba76
4656f8
- Rebase to ypserv 4.0
4656f8
- Added IPv6 support
4656f8
4656f8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.32.1-8
4656f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4656f8
4656f8
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.32.1-7
4656f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4656f8
4656f8
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.32.1-6
4656f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4656f8
4656f8
* Fri Sep 05 2014 Honza Horak <hhorak@redhat.com> - 2.32.1-5
4656f8
- Require hostname for domainname in pre
4656f8
  Do not crash in pre if /etc/sysconfig/network is missing
4656f8
4656f8
* Thu Aug 21 2014 Kevin Fenzi <kevin@scrye.com> - 2.32.1-4
4656f8
- Rebuild for rpm bug 1131960
4656f8
4656f8
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.32.1-3
4656f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4656f8
4656f8
* Wed Aug 13 2014 Honza Horak <hhorak@redhat.com> - 2.32.1-2
4656f8
- Link with systemd.so
4656f8
4656f8
* Tue Aug 12 2014 Honza Horak <hhorak@redhat.com> - 2.32.1-1
4656f8
- New upstream release 2.32.1
4656f8
4656f8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.32-3
4656f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4656f8
4656f8
* Mon May 26 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.32-2
4656f8
- Own %%{_includedir}/rpcsvc (RHBZ #1100354).
4656f8
4656f8
* Mon Nov 18 2013 Honza Horak <hhorak@redhat.com> - 2.32-1
4656f8
- Update to new upstream version 2.32
4656f8
4656f8
* Wed Sep  4 2013 Honza Horak <hhorak@redhat.com> - 2.31-5
4656f8
- Return proper error code when map file opening did not succeeded
4656f8
  RHBZ#1004110
4656f8
- Read MINUID and MINGID values from /etc/login.defs
4656f8
  RHBZ#1004090
4656f8
4656f8
* Mon Jul 29 2013 Honza Horak <hhorak@redhat.com> - 2.31-4
4656f8
- Remove systemd-units and systemd-sysv requirements
4656f8
- Clean-up SysV init conversion code
4656f8
- Clean-up systemd preset macros compatibility code
4656f8
4656f8
* Mon May 27 2013 Honza Horak <hhorak@redhat.com> - 2.31-3
4656f8
- Fix crash when netgroups include recursive dependency
4656f8
4656f8
* Thu May 09 2013 Honza Horak <hhorak@redhat.com> - 2.31-2
4656f8
- Enable PrivateTmp feature, just for the case
4656f8
4656f8
* Mon May 06 2013 Honza Horak <hhorak@redhat.com> - 2.31-1
4656f8
- Update to new upstream version
4656f8
 
4656f8
* Mon Feb 04 2013 Honza Horak <hhorak@redhat.com> - 2.29-8
4656f8
- Stop ypserv daemon temporary when reading info about maps
4656f8
4656f8
* Mon Jan 28 2013 Honza Horak <hhorak@redhat.com> - 2.29-7
4656f8
- Open maps with no blocking for reading
4656f8
4656f8
* Mon Jan 21 2013 Honza Horak <hhorak@redhat.com> - 2.29-6
4656f8
- Open database files with correct mode
4656f8
- Make rebuilding maps during upgrade a bit more clever
4656f8
4656f8
* Fri Nov 30 2012 Honza Horak <hhorak@redhat.com> - 2.29-5
4656f8
- Build daemons and yppush with full relro
4656f8
- Move rpc.yppasswdd.env into /usr/libexec
4656f8
4656f8
* Fri Nov 09 2012 Honza Horak <hhorak@redhat.com> - 2.29-4
4656f8
- Add missing break in switch
4656f8
4656f8
* Thu Oct 04 2012 Honza Horak <hhorak@redhat.com> - 2.29-3
4656f8
- Run %%triggerun regardless of systemd_post variable definition
4656f8
4656f8
* Mon Sep 24 2012 Honza Horak <hhorak@redhat.com> - 2.29-2
4656f8
- Use new systemd macros
4656f8
  Resolves: #850376
4656f8
4656f8
* Mon Sep 03 2012 Honza Horak <hhorak@redhat.com> - 2.29-1
4656f8
- Update to new upstream version that fix memory leaks (Related: #845283)
4656f8
- Use sdnotify to inform systemd that daemons are ready
4656f8
- Some minor spec file clean up
4656f8
- Added systemd-devel as a build requirement
4656f8
4656f8
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.28-3
4656f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4656f8
4656f8
* Wed Jul 11 2012 Honza Horak <hhorak@redhat.com> - 2.28-2
4656f8
- Minor spec file fixes
4656f8
- Helper scripts moved to /usr/libexec
4656f8
4656f8
* Mon Jun 04 2012 Honza Horak <hhorak@redhat.com> - 2.28-1
4656f8
- Update to new upstream version, which fixes several bugs
4656f8
- Use Tokyo Cabinet as DBM and rebuild maps after updating
4656f8
- Consider NISDOMAIN variable from /etc/sysconfig/network
4656f8
4656f8
* Mon May 14 2012 Honza Horak <hhorak@redhat.com> - 2.27-5
4656f8
- Checking if domainname is set moved from ypserv.service
4656f8
  to yppasswdd.service
4656f8
  Related: #456249
4656f8
4656f8
* Thu Apr 26 2012 Honza Horak <hhorak@redhat.com> - 2.27-4
4656f8
- Build against qdbm and rebuild maps after updating
4656f8
4656f8
* Thu Apr 26 2012 Honza Horak <hhorak@redhat.com> - 2.27-3
4656f8
- Added patch to handle crypt() returning NULL
4656f8
4656f8
* Fri Apr 13 2012 Honza Horak <hhorak@redhat.com> - 2.27-2
4656f8
- Use O_CLOEXEC when opening pid file to avoid SELinux issues
4656f8
  Resolves: #809120
4656f8
4656f8
* Wed Feb 01 2012 Honza Horak <hhorak@redhat.com> - 2.27-1
4656f8
- Update to new upstream version, which fixes several bugs 
4656f8
  (removing patches that aren't needed any more)
4656f8
4656f8
* Thu Jan 12 2012 Honza Horak <hhorak@redhat.com> - 2.26-10
4656f8
- Added ypserv-pre-setdomain to respect NISDOMAIN environment variable 
4656f8
  and set domainname if empty
4656f8
- Added autoreconf call (thus .path patch modified to keep impact)
4656f8
- Patch .aliases fixed
4656f8
  Resolves: #699826
4656f8
4656f8
* Mon Dec 12 2011 Honza Horak <hhorak@redhat.com> - 2.26-9
4656f8
- Rebuild against compat_gdbm, because gdbm has changed license 
4656f8
  to GPLv3+ and it is not compatible with ypserv GPLv2
4656f8
4656f8
* Mon Nov 28 2011 Honza Horak <hhorak@redhat.com> - 2.26-8
4656f8
- Fixed returning success when shadow file is not writable
4656f8
  Resolves: #747335
4656f8
4656f8
* Fri Nov 25 2011 Honza Horak <hhorak@redhat.com> - 2.26-7
4656f8
- Fixed empty domain handling in ypinit script
4656f8
  Resolves: #751427
4656f8
- Added a wrapper script to use all variables correctly in the unit file
4656f8
  Resolves: #755775
4656f8
4656f8
* Mon Oct 10 2011 Honza Horak <hhorak@redhat.com> - 2.26-6
4656f8
- Made error messages in yppasswdd more accurate
4656f8
  Resolves: #695754
4656f8
4656f8
* Fri Sep 30 2011 Honza Horak <hhorak@redhat.com> - 2.26-5
4656f8
- Rebuild with new gdbm-1.9.1
4656f8
4656f8
* Fri Sep 30 2011 Honza Horak <hhorak@redhat.com> - 2.26-4
4656f8
- Added passwd.adjunct support in yppasswdd to recognize 
4656f8
  password format correctly when changing password using yppasswd
4656f8
  Resolves: #699667
4656f8
4656f8
* Wed Aug 31 2011 Honza Horak <hhorak@redhat.com> - 2.26-3
4656f8
- fixed hiding the change request when external script is used 
4656f8
  in rpc.yppasswdd
4656f8
4656f8
* Wed Aug 03 2011 Honza Horak <hhorak@redhat.com> - 2.26-2
4656f8
- fixed systemd unit files requires and description
4656f8
4656f8
* Tue Aug 02 2011 Honza Horak <hhorak@redhat.com> - 2.26-1
4656f8
- Update to new upstream version
4656f8
  Simplified systemd snippets in spec file
4656f8
4656f8
* Tue Jun 14 2011 Honza Horak <hhorak@redhat.com> - 2.25-3
4656f8
- Adjust yppush man page and add a comment how to assign options 
4656f8
  to yppush (#712239)
4656f8
4656f8
* Tue May 10 2011 Honza Horak <hhorak@redhat.com> - 2.25-2
4656f8
- Add systemd native services files for ypserv, ypxfrd and yppasswdd
4656f8
  (#696903)
4656f8
4656f8
* Tue May 10 2011 Honza Horak <hhorak@redhat.com> - 2.25-1
4656f8
- Update to new upstream version, which contains .staticanal patch 
4656f8
4656f8
* Fri May 06 2011 Honza Horak <hhorak@redhat.com> - 2.24-4
4656f8
- Change default aliases file location to /etc/aliases to correspond 
4656f8
  with default MTAs' config (#699826)
4656f8
4656f8
* Tue Apr 26 2011 Honza Horak <hhorak@redhat.com> - 2.24-3
4656f8
- Fix problems found by static analysis
4656f8
- Added man page info about passing arguments to daemons
4656f8
4656f8
* Tue Oct 19 2010 Karel Klic <kklic@redhat.com> - 2.24-2
4656f8
- Removed Buildroot tag
4656f8
- Removed %%clean section
4656f8
- Replace custom %%initdir macro with systemwide %%_initrddir
4656f8
4656f8
* Tue Oct 19 2010 Karel Klic <kklic@redhat.com> - 2.24-1
4656f8
- New upstream version.
4656f8
4656f8
* Thu Mar 11 2010 Karel Klic <kklic@redhat.com> - 2.23-4
4656f8
- Rebuilt for gdbm upgrade
4656f8
4656f8
* Mon Mar 01 2010 Karel Klic <kklic@redhat.com> - 2.23-3
4656f8
- /var/yp is owned by filesystem (#569382)
4656f8
4656f8
* Mon Mar 01 2010 Karel Klic <kklic@redhat.com> - 2.23-2
4656f8
- Added COPYING file to the package
4656f8
- Removed Obsoletes: yppasswd
4656f8
- Spec file cleanup
4656f8
4656f8
* Wed Feb 24 2010 Karel Klic <kklic@redhat.com> - 2.23-1
4656f8
- Updated to new upstream version
4656f8
- Removed pidfile and nodbclose patches, as those were
4656f8
  merged by the upstream
4656f8
4656f8
* Thu Jan 28 2010 Karel Klic <kklic@redhat.com> - 2.21-4
4656f8
- Removed ypserv-2.21-iface.patch, because upstream refused to 
4656f8
  merge it three times over 7 years. "Since this is 
4656f8
  not supported by RPC (means portmapper still shows ypserv 
4656f8
  for the other subnets and portmapper can forward requests 
4656f8
  from other subnets via loopback), this will give quite some 
4656f8
  unexpected behaviors and makes it pretty difficult to debug 
4656f8
  such scenarios."
4656f8
4656f8
* Wed Jan 27 2010 Karel Klic <kklic@redhat.com> - 2.21-3
4656f8
- Added patch removing invalid ypdb_close call (#403621, #430902)
4656f8
4656f8
* Thu Jan 21 2010 Karel Klic <kklic@redhat.com> - 2.21-2
4656f8
- Added patch for rpc.ypxfrd to create a pid file
4656f8
- Rewrote initscripts to become closer to Packaging:SysVInitScript
4656f8
  Fedora guildeline
4656f8
- Fixed initscript for ypserv (rhbz#523438)
4656f8
- Fixed initscript for yppasswdd (rhbz#523394)
4656f8
- Fixed initscript for ypxfrd (rhbz#523397)
4656f8
4656f8
* Wed Jan 13 2010 Karel Klic <kklic@redhat.com> - 2.21-1
4656f8
- Updated to new upstream version
4656f8
- Removed ypserv-2.11-nomap.patch, it has been applied by upstream
4656f8
- Removed ypserv-2.19-quieter.patch, it has been applied by upstream
4656f8
- Removed ypserv-2.13-yplib-memleak.patch, upstream version fixes the problem
4656f8
- Removed ypserv-2.19-debuginfo.patch, upstream version no longer needs it
4656f8
- Ported -path, -iface patches to the new version
4656f8
4656f8
* Thu Jan  7 2010 Karel Klic <kklic@redhat.com> - 2.19-15
4656f8
- Removed Prereq use in the spec file
4656f8
- Removed usage of RPM_SOURCE_DIR from the spec file
4656f8
4656f8
* Tue Jan  5 2010 Karel Klic <kklic@redhat.com> - 2.19-14
4656f8
- Removed --enable-yppasswd from configure, as this option is
4656f8
  ignored
4656f8
4656f8
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.19-13
4656f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4656f8
4656f8
* Tue Mar  3 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.19-12
4656f8
- Mark apropriate config files as noreplace
4656f8
4656f8
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.19-11
4656f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4656f8
4656f8
* Thu Sep 25 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.19-10
4656f8
- Rediff all patches to work with patch --fuzz=0
4656f8
4656f8
* Wed Feb 13 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.19-9
4656f8
- Mark /var/yp/Makefile as %%config(noreplace)
4656f8
  Resolves: #432582
4656f8
- Comment "slp" part of ypserv.conf to avoid ypserv warnings
4656f8
  Resolves: #154806
4656f8
- Spec file cleanup - remove period from end of Summary,
4656f8
  fix license, remove macros from Changelog
4656f8
4656f8
* Mon Feb  4 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.19-8
4656f8
- Fix Buildroot
4656f8
- Fix /var/yp/Makefile
4656f8
  Resolves: #431008
4656f8
4656f8
* Tue Jan  8 2008 Steve Dickson <steved@redhat.com> 2.19-7
4656f8
- Changed Makefiles.in so binaries are not stripped.
4656f8
4656f8
* Sat Sep 15 2007 Steve Dickson <steved@redhat.com> 2.19-6
4656f8
- Fixed init scripts to return correct exit code on
4656f8
 'service status' (bz 248097)
4656f8
4656f8
* Tue Jul 31 2007 Steve Dickson <steved@redhat.com> 2.19-5
4656f8
- Changed install process to create an useful debuginfo package (bz 249961)
4656f8
4656f8
* Fri Dec 22 2006 Steve Dickson <steved@redhat.com> - 2.19-4
4656f8
- Made ypserver less verbose on common errors (bz #199236)
4656f8
- Don't allow a make for empty domainname's or domainname's set to (none)
4656f8
  (bz #197646)
4656f8
4656f8
* Wed Sep 13 2006 Steve Dickson <steved@redhat.com> - 2.19-3
4656f8
- Added range checks to port values given on command line 
4656f8
  (bz 205354)
4656f8
4656f8
* Tue Jul 25 2006 Steve Dickson <steved@redhat.com> - 2.19-2
4656f8
- fixed typo in ypxfrd initscript (bz 185403)
4656f8
4656f8
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 2.19-1
4656f8
- rebuild
4656f8
4656f8
* Mon Feb 13 2006 Chris Feist <cfeist@redhat.com> - 2.19-0
4656f8
- Rebuilt against latest upstream sources (2.19).
4656f8
4656f8
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.13-10.2
4656f8
- bump again for double-long bug on ppc(64)
4656f8
4656f8
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.13-10.1
4656f8
- rebuilt for new gcc4.1 snapshot and glibc changes
4656f8
4656f8
* Mon Jan  9 2006 Chris Feist <cfeist@redhat.com> - 2.13-10
4656f8
- Fix crash with ypxfr caused by failing to zero out data (bz #161217)
4656f8
4656f8
* Wed Jan  4 2006 Jesse Keating <jkeating@redhat.com> - 2.13-6.2
4656f8
- rebuilt for new gcc
4656f8
4656f8
* Thu Oct 14 2004 Miloslav Trmac <mitr@redhat.com> - 2.13-5
4656f8
- Fix crash with -p (#134910, #129676)
4656f8
4656f8
* Tue Aug 31 2004 Steve Dickson <SteveD@RedHat.com>
4656f8
- Zeroed out the ypxfr response buffer so allocated memory
4656f8
  is not freed with the transfer fails
4656f8
4656f8
* Sat Jun 19 2004 Steve Dickson <SteveD@RedHat.com>
4656f8
- Closed a memory leak in GDBM database routines (bz 120980)
4656f8
4656f8
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
4656f8
- rebuilt
4656f8
4656f8
* Mon May 17 2004 Thomas Woerner <twoerner@redhat.com> 2.13-1
4656f8
- compiling rpc.yppasswdd, rpc.ypxfrd, yppush and ypserv PIE
4656f8
4656f8
* Fri Apr 16 2004 Steve Dickson <SteveD@RedHat.com>
4656f8
- Updated to 2.13
4656f8
4656f8
* Fri Apr  2 2004 Steve Dickson <SteveD@RedHat.com>
4656f8
- Change ypMakefile to create services.byservicename
4656f8
  maps correctly
4656f8
4656f8
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
4656f8
- rebuilt
4656f8
4656f8
* Tue Feb 24 2004 Phil Knirsch <pknirsch@redhat.com> 2.12.1-1
4656f8
- Updated to latest upstream version.
4656f8
4656f8
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
4656f8
- rebuilt
4656f8
4656f8
* Mon Jan 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.11-1
4656f8
- Updated to latest upstream version.
4656f8
- Dropped ypserv-2.8-echild.patch (not needed anymore).
4656f8
- Fixed several other patches for new version.
4656f8
4656f8
* Mon Sep 15 2003 Steve Dickson <SteveD@RedHat.com>
4656f8
- updated Release number for QU1
4656f8
4656f8
* Mon Sep 15 2003 Steve Dickson <SteveD@RedHat.com>
4656f8
- Recompiled for AS2.1
4656f8
4656f8
* Wed Sep 10 2003 Steve Dickson <SteveD@RedHat.com>
4656f8
- Added the --iface flag.
4656f8
4656f8
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
4656f8
- rebuilt
4656f8
4656f8
* Thu Apr 24 2003 Steve Dickson <SteveD@RedHat.com>
4656f8
- Update to 2.8
4656f8
4656f8
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
4656f8
- rebuilt
4656f8
4656f8
* Tue Nov  5 2002 Alexander Larsson <alexl@redhat.com> 2.6-1
4656f8
- Updated to 2.6, allows you to disable db caching, bug #76618
4656f8
4656f8
* Mon Oct  7 2002 Alexander Larsson <alexl@redhat.com> 2.5-2
4656f8
- Added comments to nfsnobody patch
4656f8
- Corrected URL
4656f8
- fixed missing %%doc file, bug #74060
4656f8
4656f8
* Thu Aug 15 2002 Alexander Larsson <alexl@redhat.com> 2.5-1
4656f8
- Update to 2.5, fixes memleak
4656f8
- remove manpage patch since it was already fixed upstream
4656f8
4656f8
* Thu Aug 15 2002 Alexander Larsson <alexl@redhat.com>
4656f8
- Fix ypserv.conf manpage, bug #69785
4656f8
- Don't leak nfsnobody into nfs maps, bug #71515
4656f8
4656f8
* Thu Aug  8 2002 Alexander Larsson <alexl@redhat.com> 2.3-3
4656f8
- Remove old broken triggers that are not needed anymore. Fixes #70612
4656f8
4656f8
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.3-2
4656f8
- automated rebuild
4656f8
4656f8
* Tue Jun 11 2002 Alex Larsson <alexl@redhat.com> 2.3-1
4656f8
- Updated to 2.3 from upstream.
4656f8
- Removed patches that went in upstream.
4656f8
4656f8
* Thu May 23 2002 Tim Powers <timp@redhat.com>
4656f8
- automated rebuild
4656f8
4656f8
* Tue Apr 16 2002 Alex Larsson <alexl@redhat.com> 2.2-9
4656f8
- Removed my ypserv-2.2-services patch. According to thorsten
4656f8
  (yp maintainer) the key in services.byname actually
4656f8
  SHOULD be port/protocol.
4656f8
4656f8
* Mon Apr  8 2002 Alex Larsson <alexl@redhat.com> 2.2-8
4656f8
- Change the yppush patch to the patch from thorsten.
4656f8
4656f8
* Fri Apr  5 2002 Alex Larsson <alexl@redhat.com> 2.2-7
4656f8
- Added patch to fix yppush timeout errors (#62429)
4656f8
4656f8
* Wed Mar 27 2002 Alex Larsson <alexl@redhat.com> 2.2-6
4656f8
- Make yppasswdd source /etc/sysconf/yppasswd for options (#52253) 
4656f8
4656f8
* Mon Mar 25 2002 Alex Larsson <alexl@redhat.com> 2.2-5
4656f8
- Add patch that fixes generation of services.byname. (#41851)
4656f8
- Actually apply patch #5, seems like it got left out by misstake
4656f8
4656f8
* Fri Mar 22 2002 Alex Larsson <alexl@redhat.com> 2.2-4
4656f8
- Changed Copyright from GNU to GPL
4656f8
4656f8
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
4656f8
- automated rebuild
4656f8
4656f8
* Sat Dec 08 2001 Florian La Roche <Florian.LaRoche@redhat.de>
4656f8
- fix restart initscript option #57129
4656f8
- add a "gawk" requires #57002
4656f8
- fix printcap bug #56993
4656f8
- fix ypxfrd init script #55234
4656f8
4656f8
* Wed Dec 05 2001 Florian La Roche <Florian.LaRoche@redhat.de>
4656f8
- update to 2.2 plus first official bug-fix
4656f8
4656f8
* Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de>
4656f8
- update to version 2.1, adjust all patches
4656f8
4656f8
* Mon Aug 27 2001 Florian La Roche <Florian.LaRoche@redhat.de>
4656f8
- set domainname if it is not yet set #52514
4656f8
4656f8
* Tue Jul 24 2001 Florian La Roche <Florian.LaRoche@redhat.de>
4656f8
- add gdbm-devel BuildReq #49767
4656f8
- add ypxfrd init script #44845
4656f8
- fix #44805
4656f8
- fix #20042, adding option to yppasswdd startup
4656f8
- own /var/yp
4656f8
4656f8
* Mon Jul  9 2001 Tim Powers <timp@redhat.com>
4656f8
- added reload entry to initscript (same as restart)
4656f8
4656f8
* Fri Jun 29 2001 Florian La Roche <Florian.LaRoche@redhat.de>
4656f8
- update to 1.3.12
4656f8
4656f8
* Wed Mar 28 2001 Florian La Roche <Florian.LaRoche@redhat.de>
4656f8
- do not require tcp_wrappers anymore
4656f8
4656f8
* Thu Mar 15 2001 Philipp Knirsch <pknirsch@redhat.com>
4656f8
- Added missing make requirement
4656f8
4656f8
* Tue Feb 27 2001 Preston Brown <pbrown@redhat.com>
4656f8
- don't own dir /var/yp
4656f8
4656f8
* Wed Jan 24 2001 Florian La Roche <Florian.LaRoche@redhat.de>
4656f8
- prepare for startup script translation
4656f8
4656f8
* Thu Jan 11 2001 Bernhard Rosenkraenzer <bero@redhat.com>
4656f8
- Start after netfs (#23527)
4656f8
4656f8
* Wed Aug 16 2000 Than Ngo <than@redhat.com>
4656f8
- fix typo in startup script (Bug #15999)
4656f8
4656f8
* Wed Jul 19 2000 Than Ngo <than@redhat.de>
4656f8
- inits back to rc.d/init.d, using service
4656f8
- fix initscript again
4656f8
4656f8
* Mon Jul 17 2000 Bill Nottingham <notting@redhat.com>
4656f8
- move initscript back
4656f8
- fix format syslog bug
4656f8
4656f8
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
4656f8
- automatic rebuild
4656f8
4656f8
* Fri Jul  7 2000 Florian La Roche <Florian.LaRoche@redhat.de>
4656f8
- prereq /etc/init.d
4656f8
4656f8
* Tue Jun 27 2000 Than Ngo <than@redhat.de>
4656f8
- /etc/rc.d/init.d -> /etc/init.d
4656f8
- fix initscript
4656f8
4656f8
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
4656f8
- FHS fixes,
4656f8
- fix docdir
4656f8
4656f8
* Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com>
4656f8
- disable "netgrp" target in default all: (/var/yp/Makefile)
4656f8
4656f8
* Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com>
4656f8
- update to 1.3.11
4656f8
4656f8
* Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com>
4656f8
- add patch to avoid potential deadlock on the server (fix #9968)
4656f8
4656f8
* Wed Feb  2 2000 Florian La Roche <Florian.LaRoche@redhat.com>
4656f8
- fix typo in %%triggerpostun
4656f8
4656f8
* Mon Oct 25 1999 Bill Nottingham <notting@redhat.com>
4656f8
- update to 1.3.9
4656f8
- use gdbm, move back to /usr/sbin
4656f8
4656f8
* Tue Aug 17 1999 Bill Nottingham <notting@redhat.com>
4656f8
- initscript munging
4656f8
- ypserv goes on root partition
4656f8
4656f8
* Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com>
4656f8
- version 1.3.7
4656f8
4656f8
* Thu Jul  1 1999 Bill Nottingham <notting@redhat.com>
4656f8
- start after network FS
4656f8
4656f8
* Tue Jun  1 1999 Jeff Johnson <jbj@redhat.com>
4656f8
- update to 1.3.6.94.
4656f8
4656f8
* Sun May 30 1999 Jeff Johnson <jbj@redhat.com>
4656f8
- improved daemonization.
4656f8
4656f8
* Sat May 29 1999 Jeff Johnson <jbj@redhat.com>
4656f8
- fix buffer overflow in rpc.yppasswd (#3126).
4656f8
4656f8
* Fri May 28 1999 Jeff Johnson <jbj@redhat.com>
4656f8
- update to 1.3.6.92.
4656f8
4656f8
* Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com>
4656f8
- version 1.3.6.91
4656f8
4656f8
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
4656f8
- auto rebuild in the new build environment (release 4)
4656f8
4656f8
* Mon Feb  8 1999 Bill Nottingham <notting@redhat.com>
4656f8
- move to start before ypbind
4656f8
4656f8
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
4656f8
- build for glibc 2.1
4656f8
- upgraded to 1.3.5
4656f8
4656f8
* Tue Aug  4 1998 Jeff Johnson <jbj@redhat.com>
4656f8
- yppasswd.init: lock file must have same name as init.d script, not daemon
4656f8
4656f8
* Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com>
4656f8
- upgraded to 1.3.4
4656f8
- fixed the fubared Makefile
4656f8
- link against gdbm instead of ndbm (it seems to work better)
4656f8
4656f8
* Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
4656f8
- upgraded to 1.3.1
4656f8
- enhanced init scripts
4656f8
4656f8
* Fri May 01 1998 Jeff Johnson <jbj@redhat.com>
4656f8
- added triggerpostun
4656f8
- Use libdb fro dbp_*().
4656f8
4656f8
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
4656f8
- translations modified for de, fr, tr
4656f8
4656f8
* Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com>
4656f8
- updated to 1.3.0
4656f8
4656f8
* Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com>
4656f8
- updated to 1.2.5
4656f8
- added buildroot; updated spec file
4656f8
- added yppasswdd init file
4656f8
4656f8
* Tue Nov 04 1997 Erik Troan <ewt@redhat.com>
4656f8
- init script shouldn't set the domain name
4656f8
4656f8
* Tue Oct 14 1997 Erik Troan <ewt@redhat.com>
4656f8
- supports chkconfig
4656f8
- updated initscript for status and restart
4656f8
- turned off in all runlevels, by default
4656f8
- removed postinstall script which didn't do anything
4656f8
4656f8
* Thu Oct 09 1997 Erik Troan <ewt@redhat.com>
4656f8
- added patch to build against later glibc
4656f8
4656f8
* Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
4656f8
- built against glibc
4656f8
4656f8
* Wed Apr 23 1997 Erik Troan <ewt@redhat.com>
4656f8
- updated to 1.1.7.
4656f8
4656f8
* Fri Mar 14 1997 Erik Troan <ewt@redhat.com>
4656f8
- Updated to ypserv 1.1.5, ported to Alpha (glibc).
4656f8
4656f8
* Fri Mar 07 1997 Erik Troan <ewt@redhat.com>
4656f8
- Removed -pedantic which confuses the SPARC :-(