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