OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web openpkg$ Date: 04-Jan-2004 09:55:24
Branch: HEAD Handle: 2004010408552202
Added files:
openpkg-re/vcheck vc.daemon
openpkg-src/daemon daemon.conf daemon.spec
Modified files:
openpkg-web news.txt
Log:
new package: daemon 0.6.2 (Daemon Process Manager)
Summary:
Revision Changes Path
1.1 +9 -0 openpkg-re/vcheck/vc.daemon
1.1 +9 -0 openpkg-src/daemon/daemon.conf
1.1 +87 -0 openpkg-src/daemon/daemon.spec
1.7961 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.daemon
============================================================================
$ cvs diff -u -r0 -r1.1 vc.daemon
--- /dev/null 2004-01-04 09:55:22.000000000 +0100
+++ vc.daemon 2004-01-04 09:55:22.000000000 +0100
@@ -0,0 +1,9 @@
+config = {
+}
+
+prog daemon = {
+ version = 0.6.2
+ url = http://libslack.org/daemon/
+ regex = daemon-(__VER__)\.tar\.gz
+}
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/daemon/daemon.conf
============================================================================
$ cvs diff -u -r0 -r1.1 daemon.conf
--- /dev/null 2004-01-04 09:55:24.000000000 +0100
+++ daemon.conf 2004-01-04 09:55:24.000000000 +0100
@@ -0,0 +1,9 @@
+##
+## daemon.conf -- Daemon Configuration
+##
+
+* [EMAIL PROTECTED]@/var/daemon/daemon.log
+* [EMAIL PROTECTED]@/var/daemon/daemon.log
+* [EMAIL PROTECTED]@/var/daemon/daemon.log
+* verbose=9,debug=9
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/daemon/daemon.spec
============================================================================
$ cvs diff -u -r0 -r1.1 daemon.spec
--- /dev/null 2004-01-04 09:55:24.000000000 +0100
+++ daemon.spec 2004-01-04 09:55:24.000000000 +0100
@@ -0,0 +1,87 @@
+##
+## daemon.spec -- OpenPKG RPM Specification
+## Copyright (c) 2000-2004 The OpenPKG Project <http://www.openpkg.org/>
+## Copyright (c) 2000-2004 Ralf S. Engelschall <[EMAIL PROTECTED]>
+## Copyright (c) 2000-2004 Cable & Wireless <http://www.cw.com/>
+##
+## Permission to use, copy, modify, and distribute this software for
+## any purpose with or without fee is hereby granted, provided that
+## the above copyright notice and this permission notice appear in all
+## copies.
+##
+## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+## SUCH DAMAGE.
+##
+
+# package information
+Name: daemon
+Summary: Daemon Process Manager
+URL: http://libslack.org/daemon/
+Vendor: Raf
+Packager: The OpenPKG Project
+Distribution: OpenPKG [EVAL]
+Group: System
+License: GPL
+Version: 0.6.2
+Release: 20040104
+
+# list of sources
+Source0: http://libslack.org/daemon/download/daemon-%{version}.tar.gz
+Source1: daemon.conf
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20030103, perl, gcc
+PreReq: OpenPKG, openpkg >= 20030103
+AutoReq: no
+AutoReqProv: no
+
+%description
+ Daemon turns other process into daemons. There are many tasks that
+ need to be performed to correctly set up a daemon process. This can
+ be tedious. Daemon performs these tasks for other processes. This is
+ useful for writing daemons in arbitrary languages.
+
+%prep
+ %setup -q
+
+%build
+ %{l_shtool} subst \
+ -e 's;/etc/daemon\.conf;%{l_prefix}/etc/daemon/daemon.conf;' \
+ daemon.c
+ ./config
+ %{l_make} %{l_mflags -O}
+ %{l_prefix}/bin/pod2man daemon.c >daemon.1
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}/bin \
+ $RPM_BUILD_ROOT%{l_prefix}/etc/daemon \
+ $RPM_BUILD_ROOT%{l_prefix}/man/man1
+ %{l_shtool} install -c -s -m 755 \
+ daemon $RPM_BUILD_ROOT%{l_prefix}/bin/
+ %{l_shtool} install -c -m 644 \
+ daemon.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
+ %{l_shtool} install -c -m 644 %{l_value -s -a} \
+ %{SOURCE daemon.conf} $RPM_BUILD_ROOT%{l_prefix}/etc/daemon/
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
+ %{l_files_std} \
+ '%config %{l_prefix}/etc/daemon/*'
+
+%files -f files
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.7960 -r1.7961 news.txt
--- openpkg-web/news.txt 4 Jan 2004 08:27:47 -0000 1.7960
+++ openpkg-web/news.txt 4 Jan 2004 08:55:23 -0000 1.7961
@@ -1,3 +1,4 @@
+04-Jan-2004: New package: P<daemon-0.6.2-20040104>
04-Jan-2004: Upgraded package: P<ncurses-5.3.20040103-20040104>
04-Jan-2004: Upgraded package: P<linkchecker-1.10.2-20040104>
04-Jan-2004: Upgraded package: P<perl-mail-20040104-20040104>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]