auto-import changelog data from ypserv-2.2-8.src.rpm
Mon Apr 08 2002 Alex Larsson <alexl@redhat.com> 2.2-8 - Change the yppush patch to the patch from thorsten. Fri Apr 05 2002 Alex Larsson <alexl@redhat.com> 2.2-7 - Added patch to fix yppush timeout errors (#62429) Wed Mar 27 2002 Alex Larsson <alexl@redhat.com> 2.2-6 - Make yppasswdd source /etc/sysconf/yppasswd for options (#52253) Mon Mar 25 2002 Alex Larsson <alexl@redhat.com> 2.2-5 - Add patch that fixes generation of services.byname. (#41851) - Actually apply patch #5, seems like it got left out by misstake Fri Mar 22 2002 Alex Larsson <alexl@redhat.com> 2.2-4 - Changed Copyright from GNU to GPL Wed Jan 09 2002 Tim Powers <timp@redhat.com> - automated rebuild Sat Dec 08 2001 Florian La Roche <Florian.LaRoche@redhat.de> - fix restart initscript option #57129 - add a "gawk" requires #57002 - fix printcap bug #56993 - fix ypxfrd init script #55234 Wed Dec 05 2001 Florian La Roche <Florian.LaRoche@redhat.de> - update to 2.2 plus first official bug-fix Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de> - update to version 2.1, adjust all patches
This commit is contained in:
parent
6f4560d768
commit
b50889dad8
|
@ -1 +1 @@
|
|||
ypserv-1.3.12.tar.gz
|
||||
ypserv-2.2.tar.bz2
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
182385ce28fd35fe537cb8eb3f4d692a ypserv-1.3.12.tar.gz
|
||||
779dff50ddb3e7cb57d7ee5a633fdc62 ypserv-2.2.tar.bz2
|
||||
|
|
|
@ -18,6 +18,22 @@
|
|||
# getting the YP-Domainname
|
||||
. /etc/sysconfig/network
|
||||
|
||||
# Get the settings
|
||||
. /etc/sysconfig/yppasswdd
|
||||
|
||||
if [ "$ETCDIR" ]; then
|
||||
YPPASSWDD_ARGS="$YPPASSWDD_ARGS -D $ETCDIR"
|
||||
fi
|
||||
|
||||
if [ "$PASSWDFILE" ]; then
|
||||
YPPASSWDD_ARGS="$YPPASSWDD_ARGS -p $PASSWDFILE"
|
||||
fi
|
||||
|
||||
if [ "$SHADOWFILE" ]; then
|
||||
YPPASSWDD_ARGS="$YPPASSWDD_ARGS -s $SHADOWFILE"
|
||||
fi
|
||||
|
||||
|
||||
RETVAL=0
|
||||
|
||||
start() {
|
||||
|
|
|
@ -60,13 +60,10 @@ case "$1" in
|
|||
status)
|
||||
status ypserv
|
||||
;;
|
||||
restart)
|
||||
restart|reload)
|
||||
stop
|
||||
start
|
||||
;;
|
||||
reload)
|
||||
restart
|
||||
;;
|
||||
condrestart)
|
||||
if [ -f /var/lock/subsys/ypserv ]; then
|
||||
stop
|
||||
|
|
|
@ -20,7 +20,7 @@ RETVAL=0
|
|||
|
||||
start() {
|
||||
echo -n $"Starting YP map server: "
|
||||
daemon ypxfrd $YPXFRD_ARGS
|
||||
daemon rpc.ypxfrd $YPXFRD_ARGS
|
||||
ETVAL=$?
|
||||
echo
|
||||
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/ypxfrd
|
||||
|
@ -29,7 +29,7 @@ start() {
|
|||
|
||||
stop() {
|
||||
echo -n $"Stopping YP map server: "
|
||||
killproc ypxfrd
|
||||
killproc rpc.ypxfrd
|
||||
RETVAL=$?
|
||||
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/ypxfrd
|
||||
echo
|
||||
|
@ -45,7 +45,7 @@ case "$1" in
|
|||
stop
|
||||
;;
|
||||
status)
|
||||
status ypxfrd
|
||||
status rpc.ypxfrd
|
||||
;;
|
||||
restart|reload)
|
||||
stop
|
||||
|
|
80
ypserv.spec
80
ypserv.spec
|
@ -3,19 +3,23 @@
|
|||
Summary: The NIS (Network Information Service) server.
|
||||
Url: http://www.suse.de/~kukuk
|
||||
Name: ypserv
|
||||
Version: 1.3.12
|
||||
Release: 2
|
||||
Copyright: GNU
|
||||
Version: 2.2
|
||||
Release: 8
|
||||
Copyright: GPL
|
||||
Group: System Environment/Daemons
|
||||
Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypserv-%{version}.tar.gz
|
||||
Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypserv-%{version}.tar.bz2
|
||||
Source1: ypserv-ypserv.init
|
||||
Source2: ypserv-yppasswdd.init
|
||||
Source3: ypserv-ypxfrd.init
|
||||
Requires: make, portmap, bash >= 2.0
|
||||
Requires: gawk, make, portmap, bash >= 2.0
|
||||
Prereq: /sbin/chkconfig /sbin/service
|
||||
Patch0: ypserv-1.3.11-redhat.patch
|
||||
Patch1: ypserv-1.3.9-ndbmkey.patch
|
||||
Patch3: ypserv-syslog.patch
|
||||
Patch1: ypserv-2.2-printcap.patch
|
||||
Patch3: ypserv-2.1-syslog.patch
|
||||
Patch4: ypserv-2.1-path.patch
|
||||
Patch5: ypserv-2.2.ypxfr.diff
|
||||
Patch6: ypserv-2.2-services.patch
|
||||
Patch7: ypserv-2.2-yppush.patch
|
||||
Obsoletes: yppasswd
|
||||
BuildRequires: gdbm-devel
|
||||
Buildroot: %{_tmppath}/%{name}-root
|
||||
|
@ -41,6 +45,10 @@ machines.
|
|||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p0 -b .ypxfr
|
||||
%patch6 -p1 -b .services
|
||||
%patch7 -p0 -b .yppush
|
||||
|
||||
%build
|
||||
cp etc/README etc/README.etc
|
||||
|
@ -50,13 +58,35 @@ make
|
|||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make install ROOT=$RPM_BUILD_ROOT
|
||||
#make install ROOT=$RPM_BUILD_ROOT
|
||||
%makeinstall libexecdir=$RPM_BUILD_ROOT%{_libdir}/yp
|
||||
mkdir -p $RPM_BUILD_ROOT%{initdir}
|
||||
install -m644 etc/ypserv.conf $RPM_BUILD_ROOT%{_sysconfdir}
|
||||
install -m755 $RPM_SOURCE_DIR/ypserv-ypserv.init $RPM_BUILD_ROOT%{initdir}/ypserv
|
||||
install -m755 $RPM_SOURCE_DIR/ypserv-yppasswdd.init $RPM_BUILD_ROOT%{initdir}/yppasswdd
|
||||
install -m755 $RPM_SOURCE_DIR/ypserv-ypxfrd.init $RPM_BUILD_ROOT%{initdir}/ypxfrd
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
|
||||
cat >$RPM_BUILD_ROOT/etc/sysconfig/yppasswdd <<EOF
|
||||
# The passwd and shadow files are located under the specified
|
||||
# directory path. rpc.yppasswdd will use these files, not /etc/passwd
|
||||
# and /etc/shadow.
|
||||
#ETCDIR=/etc
|
||||
|
||||
# This options tells rpc.yppasswdd to use a different source file
|
||||
# instead of /etc/passwd
|
||||
# You can't mix usage of this with ETCDIR
|
||||
#PASSWDFILE=/etc/passwd
|
||||
|
||||
# This options tells rpc.yppasswdd to use a different source file
|
||||
# instead of /etc/passwd.
|
||||
# You can't mix usage of this with ETCDIR
|
||||
#SHADOWFILE=/etc/shadow
|
||||
|
||||
# Additional arguments passed to yppasswd
|
||||
YPPASSWDD_ARGS=
|
||||
EOF
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
@ -91,9 +121,10 @@ exit 0
|
|||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README README.secure INSTALL ChangeLog TODO BUGS NEWS
|
||||
%doc README README.secure INSTALL ChangeLog TODO NEWS
|
||||
%doc etc/ypserv.conf etc/securenets etc/README.etc
|
||||
%config %{_sysconfdir}/ypserv.conf
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/yppasswdd
|
||||
%config /var/yp/*
|
||||
%dir /var/yp
|
||||
%config %{initdir}/*
|
||||
|
@ -103,6 +134,37 @@ exit 0
|
|||
%{_includedir}/*/*
|
||||
|
||||
%changelog
|
||||
* Mon Apr 8 2002 Alex Larsson <alexl@redhat.com> 2.2-8
|
||||
- Change the yppush patch to the patch from thorsten.
|
||||
|
||||
* Fri Apr 5 2002 Alex Larsson <alexl@redhat.com> 2.2-7
|
||||
- Added patch to fix yppush timeout errors (#62429)
|
||||
|
||||
* Wed Mar 27 2002 Alex Larsson <alexl@redhat.com> 2.2-6
|
||||
- Make yppasswdd source /etc/sysconf/yppasswd for options (#52253)
|
||||
|
||||
* Mon Mar 25 2002 Alex Larsson <alexl@redhat.com> 2.2-5
|
||||
- Add patch that fixes generation of services.byname. (#41851)
|
||||
- Actually apply patch #5, seems like it got left out by misstake
|
||||
|
||||
* Fri Mar 22 2002 Alex Larsson <alexl@redhat.com> 2.2-4
|
||||
- Changed Copyright from GNU to GPL
|
||||
|
||||
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
||||
- automated rebuild
|
||||
|
||||
* Sat Dec 08 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||
- fix restart initscript option #57129
|
||||
- add a "gawk" requires #57002
|
||||
- fix printcap bug #56993
|
||||
- fix ypxfrd init script #55234
|
||||
|
||||
* Wed Dec 05 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||
- update to 2.2 plus first official bug-fix
|
||||
|
||||
* Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||
- update to version 2.1, adjust all patches
|
||||
|
||||
* Mon Aug 27 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||
- set domainname if it is not yet set #52514
|
||||
|
||||
|
|
Loading…
Reference in New Issue