From: <ow...@us...> - 2008-08-08 16:12:08
|
Revision: 1655 http://ipcop.svn.sourceforge.net/ipcop/?rev=1655&view=rev Author: owes Date: 2008-08-08 16:12:12 +0000 (Fri, 08 Aug 2008) Log Message: ----------- Move config/rc.d scripts to src/rc.d Bundle lfs/initscripts into lfs/ipcop Modified Paths: -------------- ipcop/trunk/config/rootfiles/common/ipcop ipcop/trunk/lfs/ipcop ipcop/trunk/make.sh Added Paths: ----------- ipcop/trunk/src/rc.d/ Removed Paths: ------------- ipcop/trunk/config/rc.d/ ipcop/trunk/config/rootfiles/common/initscripts ipcop/trunk/lfs/initscripts Deleted: ipcop/trunk/config/rootfiles/common/initscripts =================================================================== --- ipcop/trunk/config/rootfiles/common/initscripts 2008-08-08 13:06:16 UTC (rev 1654) +++ ipcop/trunk/config/rootfiles/common/initscripts 2008-08-08 16:12:12 UTC (rev 1655) @@ -1,32 +0,0 @@ -## initscripts -## -#etc/rc.d -#etc/rc.d/helper -etc/rc.d/helper/writeipac.pl -etc/rc.d/rc.3cp4218usbadsl -etc/rc.d/rc.alcatelusb -etc/rc.d/rc.alcatelusbk -etc/rc.d/rc.amedynusbadsl -etc/rc.d/rc.bewanadsl -etc/rc.d/rc.conexantusbadsl -etc/rc.d/rc.conexantpciadsl -etc/rc.d/rc.connectioncheck -etc/rc.d/rc.dnsmasq -etc/rc.d/rc.eagleusbadsl -etc/rc.d/rc.eciadsl -etc/rc.d/rc.firewall -etc/rc.d/rc.firewall.local -etc/rc.d/rc.flash.down -etc/rc.d/rc.flash.up -etc/rc.d/rc.fritzdsl -etc/rc.d/rc.halt -etc/rc.d/rc.isdn -etc/rc.d/rc.local -etc/rc.d/rc.netaddress.down -etc/rc.d/rc.netaddress.up -etc/rc.d/rc.network -etc/rc.d/rc.pulsardsl -etc/rc.d/rc.red -etc/rc.d/rc.sysinit -etc/rc.d/rc.updatered -etc/rc.d/rc.wanpipe Modified: ipcop/trunk/config/rootfiles/common/ipcop =================================================================== --- ipcop/trunk/config/rootfiles/common/ipcop 2008-08-08 13:06:16 UTC (rev 1654) +++ ipcop/trunk/config/rootfiles/common/ipcop 2008-08-08 16:12:12 UTC (rev 1655) @@ -1,2 +1,32 @@ +#etc/rc.d +#etc/rc.d/helper +etc/rc.d/helper/writeipac.pl +etc/rc.d/rc.3cp4218usbadsl +etc/rc.d/rc.alcatelusb +etc/rc.d/rc.alcatelusbk +etc/rc.d/rc.amedynusbadsl +etc/rc.d/rc.bewanadsl +etc/rc.d/rc.conexantusbadsl +etc/rc.d/rc.conexantpciadsl +etc/rc.d/rc.connectioncheck +etc/rc.d/rc.dnsmasq +etc/rc.d/rc.eagleusbadsl +etc/rc.d/rc.eciadsl +etc/rc.d/rc.firewall +etc/rc.d/rc.firewall.local +etc/rc.d/rc.flash.down +etc/rc.d/rc.flash.up +etc/rc.d/rc.fritzdsl +etc/rc.d/rc.halt +etc/rc.d/rc.isdn +etc/rc.d/rc.local +etc/rc.d/rc.netaddress.down +etc/rc.d/rc.netaddress.up +etc/rc.d/rc.network +etc/rc.d/rc.pulsardsl +etc/rc.d/rc.red +etc/rc.d/rc.sysinit +etc/rc.d/rc.updatered +etc/rc.d/rc.wanpipe var/log/dyndns var/log/fw_timeframe_log Deleted: ipcop/trunk/lfs/initscripts =================================================================== --- ipcop/trunk/lfs/initscripts 2008-08-08 13:06:16 UTC (rev 1654) +++ ipcop/trunk/lfs/initscripts 2008-08-08 16:12:12 UTC (rev 1655) @@ -1,79 +0,0 @@ -############################################################################### -# This file is part of the IPCop Firewall. # -# # -# IPCop 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. # -# # -# IPCop 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 IPCop; if not, write to the Free Software # -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# # -# Makefiles are based on LFSMake, which is # -# Copyright (C) 2002 Rod Roard <ro...@su...> # -# # -# Modifications by: # -# ??-12-2003 Mark Wormgoor < ma...@wo...> # -# - Modified Makefile for IPCop build # -# # -# $Id$ -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = initscripts -HOST_ARCH = all -OTHER_SRC = yes - -THISAPP = initscripts -DIR_APP = $(DIR_SRC)/$(THISAPP) -TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -############################################################################### -# Top-level Rules -############################################################################### - -install : $(TARGET) - -check : - -download : - -md5 : - -############################################################################### -# Installation Details -############################################################################### - -$(TARGET) : $(firstword $(MAKEFILE_LIST)) - @$(PREBUILD) - - -mkdir -p /etc/rc.d/helper - for i in $(DIR_SRC)/config/rc.d/* ; do \ - if [ -f $$i ]; then \ - sed "s+CONFIG_ROOT+$(CONFIG_ROOT)+g" $$i > /etc/rc.d/`basename $$i`; \ - fi; \ - done - - for i in $(DIR_SRC)/config/rc.d/helper/* ; do \ - if [ -f $$i ]; then \ - sed "s+CONFIG_ROOT+$(CONFIG_ROOT)+g" $$i > /etc/rc.d/helper/`basename $$i`; \ - fi; \ - done - - chmod -R 755 /etc/rc.d - chgrp nobody /etc/rc.d/rc.red - chmod 4750 /etc/rc.d/rc.red - - @$(POSTBUILD) Modified: ipcop/trunk/lfs/ipcop =================================================================== --- ipcop/trunk/lfs/ipcop 2008-08-08 13:06:16 UTC (rev 1654) +++ ipcop/trunk/lfs/ipcop 2008-08-08 16:12:12 UTC (rev 1655) @@ -152,6 +152,24 @@ chown -R root:root $(CONFIG_ROOT)/$$i; \ done + # rc.d scripts + -mkdir -p /etc/rc.d/helper + for i in $(DIR_SRC)/src/rc.d/* ; do \ + if [ -f $$i ]; then \ + sed "s+CONFIG_ROOT+$(CONFIG_ROOT)+g" $$i > /etc/rc.d/`basename $$i`; \ + fi; \ + done + + for i in $(DIR_SRC)/src/rc.d/helper/* ; do \ + if [ -f $$i ]; then \ + sed "s+CONFIG_ROOT+$(CONFIG_ROOT)+g" $$i > /etc/rc.d/helper/`basename $$i`; \ + fi; \ + done + + chmod -R 755 /etc/rc.d + chgrp nobody /etc/rc.d/rc.red + chmod 4750 /etc/rc.d/rc.red + # OpenSWAN if [ -e /etc/rc.d/init.d/ipsec ]; then \ mv -f /etc/rc.d/init.d/ipsec /etc/rc.d/; \ Modified: ipcop/trunk/make.sh =================================================================== --- ipcop/trunk/make.sh 2008-08-08 13:06:16 UTC (rev 1654) +++ ipcop/trunk/make.sh 2008-08-08 16:12:12 UTC (rev 1655) @@ -1778,7 +1778,6 @@ chroot_make gnupg chroot_make hdparm chroot_make ibod - chroot_make initscripts chroot_make iptables chroot_make libnfnetlink chroot_make libnetfilter_conntrack This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |