auto-import changelog data from am-utils-6.0.5-1.src.rpm
Sat Apr 07 2001 Nalin Dahyabhai <nalin@redhat.com> - update to 6.0.5 - remove /net from the default MOUNTPTS Tue Mar 13 2001 Nalin Dahyabhai <nalin@redhat.com> - use MOUNTPTS when starting Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment Wed Feb 14 2001 Nalin Dahyabhai <nalin@redhat.com> - redo i18n for the init script Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com> - re-do workaround from advice from the am-utils maintainers - redo i18n for the init script Sat Jan 20 2001 Nalin Dahyabhai <nalin@redhat.com> - work around clash with nfs3_fh definition in 2.4 Tue Jan 16 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script (#24087) Tue Dec 19 2000 Nalin Dahyabhai <nalin@redhat.com> - add ldconfig to %postun - chuck the hesiod patch -- new bind-utils doesn't have the support for it Fri Sep 08 2000 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment
This commit is contained in:
parent
f65ef2b861
commit
fedb53a7a2
|
@ -1 +1 @@
|
||||||
am-utils-6.0.4s5.tar.gz
|
am-utils-6.0.5.tar.gz
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Version: 1.3
|
# Version: 1.3
|
||||||
#
|
#
|
||||||
|
@ -16,21 +16,26 @@
|
||||||
# Source function library.
|
# Source function library.
|
||||||
. /etc/init.d/functions
|
. /etc/init.d/functions
|
||||||
|
|
||||||
. /etc/sysconfig/amd
|
# Recover AMDOPTS from /etc/sysconfig/amd.
|
||||||
|
if [ -f /etc/sysconfig/amd ] ; then
|
||||||
|
. /etc/sysconfig/amd
|
||||||
|
fi
|
||||||
|
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
|
prog=amd
|
||||||
|
amd=/usr/sbin/amd
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
echo -n "Starting amd: "
|
echo -n $"Starting $prog: "
|
||||||
daemon /usr/sbin/amd -F /etc/amd.conf $AMDOPTS
|
daemon $amd -F /etc/amd.conf $AMDOPTS $OPTIONS $MOUNTPTS
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
[ $RETVAL = 0 ] && touch /var/lock/subsys/amd
|
[ $RETVAL = 0 ] && touch /var/lock/subsys/amd
|
||||||
return $RETVAL
|
return $RETVAL
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
echo -n "Shutting down amd: "
|
echo -n $"Stopping $prog: "
|
||||||
delay=5
|
delay=5
|
||||||
count=10
|
count=10
|
||||||
i=1
|
i=1
|
||||||
|
@ -53,7 +58,7 @@ stop() {
|
||||||
i=`expr $i + 1`
|
i=`expr $i + 1`
|
||||||
done
|
done
|
||||||
if [ -n "$is_down" ] ; then
|
if [ -n "$is_down" ] ; then
|
||||||
killproc amd
|
killproc $amd
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
fi
|
fi
|
||||||
[ $RETVAL = 0 ] && rm -f /var/lock/subsys/amd
|
[ $RETVAL = 0 ] && rm -f /var/lock/subsys/amd
|
||||||
|
@ -70,7 +75,7 @@ case "$1" in
|
||||||
stop
|
stop
|
||||||
;;
|
;;
|
||||||
status)
|
status)
|
||||||
status amd
|
status $amd
|
||||||
;;
|
;;
|
||||||
restart)
|
restart)
|
||||||
stop
|
stop
|
||||||
|
@ -83,10 +88,10 @@ case "$1" in
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
reload)
|
reload)
|
||||||
killall -HUP amd
|
action $"Reloading $prog:" killall -HUP $amd
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: amd {start|stop|status|restart|condrestart|reload}"
|
echo $"Usage: $0 {start|stop|restart|reload|condrestart|status}"
|
||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
Summary: Automount utilities including an updated version of Amd.
|
Summary: Automount utilities including an updated version of Amd.
|
||||||
Name: am-utils
|
Name: am-utils
|
||||||
Version: 6.0.4s5
|
Version: 6.0.5
|
||||||
Release: 8
|
Release: 1
|
||||||
Copyright: BSD
|
Copyright: BSD
|
||||||
# XXX up serial with 6.0.4 comes out
|
Epoch: 5
|
||||||
Serial: 4
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.cs.columbia.edu/~ezk/am-utils/
|
URL: http://am-utils.org/
|
||||||
Source: ftp://shekel.mcl.cs.columbia.edu/pub/am-utils/snapshots/am-utils-%{version}.tar.gz
|
Source: ftp://ftp.am-utils.org/pub/am-utils/am-utils-%{version}.tar.gz
|
||||||
Source1: am-utils.init
|
Source1: am-utils.init
|
||||||
Source2: am-utils.conf
|
Source2: am-utils.conf
|
||||||
Source3: am-utils.sysconf
|
Source3: am-utils.sysconf
|
||||||
Source4: am-utils.net.map
|
Source4: am-utils.net.map
|
||||||
|
Patch: am-utils-6.0.4-nfs3.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
|
BuildPrereq: openldap-devel
|
||||||
Requires: portmap, grep, gawk, findutils
|
Requires: portmap, grep, gawk, findutils
|
||||||
Prereq: /sbin/install-info, /etc/init.d, /sbin/chkconfig, grep
|
Prereq: /sbin/install-info, /sbin/chkconfig, grep
|
||||||
Obsoletes: amd
|
Obsoletes: amd
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -30,9 +31,12 @@ mounting and unmounting filesystems.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -p1 -b .nfs3
|
||||||
|
autoheader
|
||||||
|
autoconf
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-shared --enable-libs=-lnsl --disable-amq-mount
|
%configure --enable-shared --enable-libs="-lnsl -lresolv" --disable-amq-mount
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -88,6 +92,7 @@ fi
|
||||||
if [ $1 -ge 1 ]; then
|
if [ $1 -ge 1 ]; then
|
||||||
/sbin/service amd condrestart >/dev/null 2>&1
|
/sbin/service amd condrestart >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
@ -105,6 +110,36 @@ fi
|
||||||
/usr/lib/libamu.so.*.*
|
/usr/lib/libamu.so.*.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Apr 7 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- update to 6.0.5
|
||||||
|
- remove /net from the default MOUNTPTS
|
||||||
|
|
||||||
|
* Tue Mar 13 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- use MOUNTPTS when starting
|
||||||
|
|
||||||
|
* Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- rebuild in new environment
|
||||||
|
|
||||||
|
* Wed Feb 14 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- redo i18n for the init script
|
||||||
|
|
||||||
|
* Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- re-do workaround from advice from the am-utils maintainers
|
||||||
|
- redo i18n for the init script
|
||||||
|
|
||||||
|
* Sat Jan 20 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- work around clash with nfs3_fh definition in 2.4
|
||||||
|
|
||||||
|
* Tue Jan 16 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- gettextize the init script (#24087)
|
||||||
|
|
||||||
|
* Tue Dec 19 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- add ldconfig to %%postun
|
||||||
|
- chuck the hesiod patch -- new bind-utils doesn't have the support for it
|
||||||
|
|
||||||
|
* Fri Sep 8 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- rebuild in new environment
|
||||||
|
|
||||||
* Sat Jul 15 2000 Bill Nottingham <notting@redhat.com>
|
* Sat Jul 15 2000 Bill Nottingham <notting@redhat.com>
|
||||||
- move initscript back
|
- move initscript back
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
|
#MOUNTPTS='/net /etc/amd.net'
|
||||||
ADIR=/.automount
|
ADIR=/.automount
|
||||||
MOUNTPTS='/net /etc/amd.conf'
|
|
||||||
AMDOPTS=
|
AMDOPTS=
|
||||||
|
|
Loading…
Reference in New Issue