rpms/tabled/devel import.log, NONE, 1.1 tabled.init, NONE, 1.1 tabled.spec, NONE, 1.1 tabled.sysconf, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jeff Garzik
jgarzik at fedoraproject.org
Tue Jul 21 16:00:07 UTC 2009
- Previous message (by thread): rpms/ntp/devel ntp-4.2.4p7-editline.patch, NONE, 1.1 ntp-4.2.4p7-sleep.patch, NONE, 1.1 ntpstat-0.2-clksrc.patch, NONE, 1.1 ntpstat-0.2-multipacket.patch, NONE, 1.1 ntp.conf, 1.15, 1.16 ntp.spec, 1.91, 1.92 ntp-4.2.4p4-bsdadv.patch, 1.1, NONE ntp-4.2.4p5-sleep.patch, 1.2, NONE
- Next message (by thread): rpms/librapi/devel .cvsignore, 1.6, 1.7 librapi.spec, 1.10, 1.11 sources, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jgarzik
Update of /cvs/pkgs/rpms/tabled/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19129/devel
Modified Files:
.cvsignore sources
Added Files:
import.log tabled.init tabled.spec tabled.sysconf
Log Message:
initial revision
--- NEW FILE import.log ---
tabled-0_3-0_2_g6f015fa5_fc10:HEAD:tabled-0.3-0.2.g6f015fa5.fc10.src.rpm:1248191988
--- NEW FILE tabled.init ---
#!/bin/sh
#
# tabled Starts/stop the distributed table daemon
#
# chkconfig: - 97 5
# description: Distributed key/value table service
# processname: tabled
### BEGIN INIT INFO
# Provides: tabled
# Required-Start: $local_fs $network
# Required-Stop: $local_fs $network
# Should-Start:
# Default-Start:
# Default-Stop: 0 1 2 3 4 5 6
# Short-Description: Distributed key/value table service
# Description: Distributed key/value table service
### END INIT INFO
# Source function library.
. /etc/rc.d/init.d/functions
exec=/usr/sbin/tabled
prog="tabled"
config=/etc/sysconfig/tabled
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
lockfile=/var/lock/subsys/$prog
start() {
[ -x $exec ] || exit 5
[ -f $config ] || exit 6
echo -n $"Starting $prog: "
daemon $exec $OPTS && success || failure
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
return $retval
}
stop() {
echo -n $"Stopping $prog: "
if [ -n "`pidfileofproc $exec`" ] ; then
killproc $exec
RETVAL=3
else
failure $"Stopping $prog"
fi
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
return $retval
}
restart() {
stop
start
}
reload() {
restart
}
force_reload() {
restart
}
rh_status() {
# run checks to determine if the service is running or use generic status
status $prog
}
rh_status_q() {
rh_status >/dev/null 2>&1
}
case "$1" in
start)
rh_status_q && exit 0
$1
;;
stop)
rh_status_q || exit 0
$1
;;
restart)
$1
;;
reload)
rh_status_q || exit 7
$1
;;
force-reload)
force_reload
;;
status)
rh_status
;;
condrestart|try-restart)
rh_status_q || exit 0
restart
;;
*)
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
exit 2
esac
exit $?
--- NEW FILE tabled.spec ---
Name: tabled
Version: 0.3
Release: 0.2.g6f015fa5%{?dist}
Summary: Distributed key/value table service
Group: System Environment/Base
License: GPLv2
URL: http://hail.wiki.kernel.org/
# pulled from upstream git, commit 6f015fa5f920da809d66e57515672b26d0e82b89
# to recreate tarball, check out commit, then run "make dist"
Source0: tabled-%{version}git.tar.gz
Source2: tabled.init
Source3: tabled.sysconf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# N.B. We need chunkd and cld to build, because our "make check" spawns
# private copies of infrastructure daemons.
BuildRequires: db4-devel libevent-devel glib2-devel pcre-devel
BuildRequires: chunkd chunkd-devel cld cld-devel
# cld is broken on big-endian... embarrassing!!!
# FIXME: remove this when cld is fixed
ExcludeArch: ppc ppc64
%description
tabled provides an infinitely scalable, lexicographically sorted
key/value lookup table. Keys cannot exceed 1024 bytes; values can be
any size, including several gigabytes or more.
tabled user interface is HTTP REST, and is intended to be compatible with
existing Amazon S3 clients.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n %{name}-%{version}git
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_initddir}
install -m 755 %{SOURCE2} %{buildroot}%{_initddir}/tabled
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/tabled
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%check
make -s check
%clean
rm -rf %{buildroot}
%post
/sbin/ldconfig
# must be in chkconfig on
/sbin/chkconfig --add tabled
%preun
if [ "$1" = 0 ] ; then
/sbin/service tabled stop >/dev/null 2>&1 ||:
/sbin/chkconfig --del tabled
fi
%postun
/sbin/ldconfig
if [ "$1" -ge "1" ]; then
/sbin/service tabled condrestart >/dev/null 2>&1 ||:
fi
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING LICENSE README NEWS doc/*.txt
%{_sbindir}/tabled
%{_sbindir}/tdbadm
%{_libdir}/*.so.*
%attr(0755,root,root) %{_initddir}/tabled
%config(noreplace) %{_sysconfdir}/sysconfig/tabled
%files devel
%defattr(-,root,root,-)
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
%{_includedir}/*
%changelog
* Sun Jul 19 2009 Jeff Garzik <jgarzik at redhat.com> - 0.3-0.2.g6f015fa5
- update to git commit 6f015fa5f920da809d66e57515672b26d0e82b89
- expanded description
- describe source tarball regen, per pkg guidelines
* Fri Jul 17 2009 Jeff Garzik <jgarzik at redhat.com> - 0.3-0.1.g2783d260
- new release version scheme
* Thu Jul 16 2009 Jeff Garzik <jgarzik at redhat.com> - 0.3git-5
- chkconfig default off
- add docs: COPYING, LICENSE
- config(noreplace) sysconfig/tabled
* Thu Jul 16 2009 Jeff Garzik <jgarzik at redhat.com> - 0.3git-4
- minor spec updates for review feedback, Fedora packaging guidelines
* Wed Mar 18 2009 Jeff Garzik <jgarzik at redhat.com> - 0.3git-3
- rename lib to libhttpstor
* Wed Mar 18 2009 Jeff Garzik <jgarzik at redhat.com> - 0.3git-2
- package and ship libs3c
* Wed Mar 18 2009 Jeff Garzik <jgarzik at redhat.com> - 0.3git-1
- initial release
--- NEW FILE tabled.sysconf ---
# specify additional command line arguments for tabled
#
#example:
#OPTS="--debug"
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/tabled/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 21 Jul 2009 15:22:54 -0000 1.1
+++ .cvsignore 21 Jul 2009 16:00:06 -0000 1.2
@@ -0,0 +1 @@
+tabled-0.3git.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tabled/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 21 Jul 2009 15:22:54 -0000 1.1
+++ sources 21 Jul 2009 16:00:07 -0000 1.2
@@ -0,0 +1 @@
+020857a49bb22d2f2dedd52531a66dd8 tabled-0.3git.tar.gz
- Previous message (by thread): rpms/ntp/devel ntp-4.2.4p7-editline.patch, NONE, 1.1 ntp-4.2.4p7-sleep.patch, NONE, 1.1 ntpstat-0.2-clksrc.patch, NONE, 1.1 ntpstat-0.2-multipacket.patch, NONE, 1.1 ntp.conf, 1.15, 1.16 ntp.spec, 1.91, 1.92 ntp-4.2.4p4-bsdadv.patch, 1.1, NONE ntp-4.2.4p5-sleep.patch, 1.2, NONE
- Next message (by thread): rpms/librapi/devel .cvsignore, 1.6, 1.7 librapi.spec, 1.10, 1.11 sources, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list