changeset 16:67a67e879654

added sysconfig file for redhat init script
author Simon Horman <horms@verge.net.au>
date Thu, 16 May 2002 10:42:38 +0900
parents 71416111db58
children ec24cbb588b3
files Makefile.am configure.in etc/Makefile.am etc/init.d/Makefile.in etc/init.d/perdition-pbs.rh.in etc/sysconfig/.cvsignore etc/sysconfig/Makefile.am etc/sysconfig/perdition-pbs pbs/Makefile.in
diffstat 9 files changed, 52 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Tue May 14 23:48:36 2002 +0900
+++ b/Makefile.am	Thu May 16 10:42:38 2002 +0900
@@ -23,7 +23,7 @@
 #
 ######################################################################/
 
-SUBDIRS = pbs etc
+SUBDIRS = pbs etc packaging debian
 
 EXTRA_DIST = \
 configure \
--- a/configure.in	Tue May 14 23:48:36 2002 +0900
+++ b/configure.in	Thu May 16 10:42:38 2002 +0900
@@ -102,8 +102,12 @@
 Makefile 
 pbs/Makefile 
 etc/Makefile 
+etc/sysconfig/Makefile 
 etc/init.d/Makefile 
 etc/init.d/perdition-pbs.debian
 etc/init.d/perdition-pbs.rh
 debian/Makefile
+packaging/Makefile
+packaging/lsb/Makefile
+packaging/lsb/perdition-pbs.spec
 INSTALL)
--- a/etc/Makefile.am	Tue May 14 23:48:36 2002 +0900
+++ b/etc/Makefile.am	Thu May 16 10:42:38 2002 +0900
@@ -23,7 +23,7 @@
 #
 ######################################################################
 
-SUBDIRS = init.d
+SUBDIRS = init.d sysconfig
 
 EXTRA_DIST = 
 
--- a/etc/init.d/Makefile.in	Tue May 14 23:48:36 2002 +0900
+++ b/etc/init.d/Makefile.in	Thu May 16 10:42:38 2002 +0900
@@ -1,4 +1,4 @@
-# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
 
 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
@@ -104,7 +104,7 @@
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-TAR = tar
+TAR = gtar
 GZIP_ENV = --best
 all: all-redirect
 .SUFFIXES:
--- a/etc/init.d/perdition-pbs.rh.in	Tue May 14 23:48:36 2002 +0900
+++ b/etc/init.d/perdition-pbs.rh.in	Thu May 16 10:42:38 2002 +0900
@@ -36,6 +36,11 @@
 # Source function library.
 . /etc/rc.d/init.d/functions
 
+if [ -f /etc/sysconfig/perdition-pbs ]; then
+	. /etc/sysconfig/perdition-pbs
+fi
+
+
 # See how we were called.
 case "$1" in
   start)
@@ -52,7 +57,7 @@
 	$0 start
         ;;
   stop)
-       	echo -n "Shutting down perdition-pbs services (POP3): "
+       	echo -n "Shutting down perdition-pbs services: "
 	killproc perdition-pbs
 	rm -f /var/lock/subsys/perdition-pbs
        	echo
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/sysconfig/.cvsignore	Thu May 16 10:42:38 2002 +0900
@@ -0,0 +1,2 @@
+Makefile.in
+Makefile
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/sysconfig/Makefile.am	Thu May 16 10:42:38 2002 +0900
@@ -0,0 +1,26 @@
+######################################################################
+# Makefile.am                                                 May 2002
+# Horms                                             horms@vergenet.net
+#
+# perdition-pbs
+# POP before SMTP Tools
+# Copyright (C) 2002  Horms <horms@vergenet.net>
+# 
+# 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.
+# 
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307  USA
+#
+######################################################################
+
+EXTRA_DIST = perdition-pbs
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/sysconfig/perdition-pbs	Thu May 16 10:42:38 2002 +0900
@@ -0,0 +1,8 @@
+######################################################################
+# /etc/sysconfig/perdition-pbs
+#
+# Run time configuration parameters for perdition-pbs
+######################################################################
+
+# Command line parameters to pass to perdition-pbs
+FLAGS=
--- a/pbs/Makefile.in	Tue May 14 23:48:36 2002 +0900
+++ b/pbs/Makefile.in	Thu May 16 10:42:38 2002 +0900
@@ -1,4 +1,4 @@
-# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
 
 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
@@ -136,7 +136,7 @@
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-TAR = tar
+TAR = gtar
 GZIP_ENV = --best
 DEP_FILES =  .deps/pbs.P .deps/pbs_db.P .deps/pbs_option.P \
 .deps/pbs_record.P