rpms/audio-entropyd/devel audio-entropyd, NONE, 1.1 audio-entropyd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Tue Jun 5 19:19:59 UTC 2007
- Previous message: rpms/audio-entropyd import.log,1.1,1.2
- Next message: rpms/trackballs/devel trackballs-1.1.4-destdir.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 trackballs.spec, 1.3, 1.4 trackballs-16.png, 1.1, NONE trackballs-32.png, 1.1, NONE trackballs-48.png, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: spot
Update of /cvs/extras/rpms/audio-entropyd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8832/devel
Modified Files:
.cvsignore sources
Added Files:
audio-entropyd audio-entropyd.spec
Log Message:
initial cvs import
--- NEW FILE audio-entropyd ---
#! /bin/sh
#
# audio-entropyd: Starts the Audio Entropy Daemon
#
# chkconfig: 345 98 02
# description: This is a daemon which runs on client machines to generate entropy
# from the system soundcard (if present and active).
# processname: audio-entropyd
# config:
# Source function library.
. /etc/init.d/functions
AED_BIN=/usr/sbin/audio-entropyd
test -x $AED_BIN || exit 5
LOCKFILE=/var/lock/subsys/audio-entropyd
case "$1" in
start)
echo -n $"Starting Audio Entropy daemon... "
daemon $AED_BIN
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch $LOCKFILE
;;
stop)
echo -n $"Shutting down Audio Entropy daemon: "
killproc $AED_BIN
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f $LOCKFILE
;;
restart|reload)
$0 stop
$0 start
;;
condrestart)
[ -f $LOCKFILE ] && restart || :
;;
status)
status audio-entropyd
RETVAL=$?
;;
*)
echo $"Usage: $0 {start|stop|status|reload|restart|condrestart}"
RETVAL=1
;;
esac
exit $RETVAL
--- NEW FILE audio-entropyd.spec ---
Name: audio-entropyd
Version: 1.0.0
Release: 2%{?dist}
License: GPL
Group: System Environment/Daemons
Summary: Generate entropy from audio output
URL: http://www.vanheusden.com/aed/
Source0: http://www.vanheusden.com/aed/audio-entropyd-%{version}.tgz
Source1: audio-entropyd
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): chkconfig
Requires(preun): chkconfig, initscripts
Requires(postun): initscripts
%description
Audio-entropyd generates entropy-data for the /dev/random device.
%prep
%setup -q
%build
make OPT_FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
install -m0755 audio-entropyd $RPM_BUILD_ROOT%{_sbindir}
mkdir -p $RPM_BUILD_ROOT%{_initrddir}
install -m0755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/chkconfig --add audio-entropyd
%preun
if [ "$1" -eq "0" ]; then
/sbin/service audio-entropyd stop >/dev/null 2>&1
/sbin/chkconfig --del audio-entropyd
fi
%postun
if [ "$1" -ge "1" ]; then
/sbin/service audio-entropyd condrestart >/dev/null 2>&1
fi
%files
%defattr(-,root,root,-)
%doc COPYING README README.2 TODO
%{_initrddir}/audio-entropyd
%{_sbindir}/audio-entropyd
%changelog
* Tue Jun 5 2007 Tom "spot" Callaway <tcallawa at redhat.com> 1.0.0-2
- add condrestart to postun
* Tue May 15 2007 Tom "spot" Callaway <tcallawa at redhat.com> 1.0.0-1
- initial package for Fedora Extras
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/audio-entropyd/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 5 Jun 2007 15:05:56 -0000 1.1
+++ .cvsignore 5 Jun 2007 19:19:18 -0000 1.2
@@ -0,0 +1 @@
+audio-entropyd-1.0.0.tgz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/audio-entropyd/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 5 Jun 2007 15:05:56 -0000 1.1
+++ sources 5 Jun 2007 19:19:18 -0000 1.2
@@ -0,0 +1 @@
+0957c4817aba487966fc711d77182576 audio-entropyd-1.0.0.tgz
- Previous message: rpms/audio-entropyd import.log,1.1,1.2
- Next message: rpms/trackballs/devel trackballs-1.1.4-destdir.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 trackballs.spec, 1.3, 1.4 trackballs-16.png, 1.1, NONE trackballs-32.png, 1.1, NONE trackballs-48.png, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list