From 86022ea717bce91f4aec1f2295b53e915839bbd7 Mon Sep 17 00:00:00 2001 From: Sebastian Jaenicke Date: Tue, 16 Sep 2003 23:33:11 +0000 Subject: [PATCH] Sebastian Jaenicke : add openslp 1.0.11 git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1431 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- Documentation/Developers/CHANGELOG-RENE | 1 + package/tsa/openslp/openslp.conf | 2 ++ package/tsa/openslp/openslp.desc | 43 ++++++++++++++++++++++++ package/tsa/openslp/slpd.init | 44 +++++++++++++++++++++++++ 4 files changed, 90 insertions(+) create mode 100644 package/tsa/openslp/openslp.conf create mode 100644 package/tsa/openslp/openslp.desc create mode 100644 package/tsa/openslp/slpd.init diff --git a/Documentation/Developers/CHANGELOG-RENE b/Documentation/Developers/CHANGELOG-RENE index 2f5820676..07f7e0721 100644 --- a/Documentation/Developers/CHANGELOG-RENE +++ b/Documentation/Developers/CHANGELOG-RENE @@ -5,6 +5,7 @@ - futher jail cleanups and the new includedir addition - Alejandro Mery: fixes to mnemoc - Daniel Pischl: IceWM + - Sebastian Jaenicke: added openslp *) 2003-09-15 (2.0.0-rc1 - 2.0.0-rc2) diff --git a/package/tsa/openslp/openslp.conf b/package/tsa/openslp/openslp.conf new file mode 100644 index 000000000..1c80924b8 --- /dev/null +++ b/package/tsa/openslp/openslp.conf @@ -0,0 +1,2 @@ + +postmake="install_init slpd $confdir/slpd.init" diff --git a/package/tsa/openslp/openslp.desc b/package/tsa/openslp/openslp.desc new file mode 100644 index 000000000..c9a415d0c --- /dev/null +++ b/package/tsa/openslp/openslp.desc @@ -0,0 +1,43 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/tsa/openslp/openslp.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] Open implementation of the Service Location Protocol v2 (RFC 2608). + +[T] The OpenSLP project is an effort to develop an open-source implementation +[T] of the Service Location Protocol (RFC 2608) suitable for commercial and +[T] non-commercial applications. + +[U] http://www.openslp.org + +[A] Caldera Systems, Inc. +[M] Sebastian Jaenicke + +[C] extra/network +[C] extra/server + +[L] BSD +[S] Stable +[V] 1.0.11 +[P] X -----5---9 800.000 + +[D] 0 openslp-1.0.11.tar.gz http://heanet.dl.sourceforge.net/sourceforge/openslp/ diff --git a/package/tsa/openslp/slpd.init b/package/tsa/openslp/slpd.init new file mode 100644 index 000000000..7bd4c138b --- /dev/null +++ b/package/tsa/openslp/slpd.init @@ -0,0 +1,44 @@ +#!/bin/sh +# +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/tsa/openslp/slpd.init +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- +# +# Desc: SLP daemon +# +# Runlevel: 25 rcX +# + +main_begin + + block_begin(start, `Starting slpd') + check(`D_prefix/sbin/slpd') + block_end + + block_begin(stop, `Stopping slpd.') + check(`killall -15 D_prefix/sbin/slpd') + block_end + + block_begin(restart, `Restarting slpd.') + check(`killall -1 D_prefix/sbin/slpd') + block_end + +main_end