summaryrefslogtreecommitdiff
path: root/packages/shorewall
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/shorewall
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/shorewall')
-rw-r--r--packages/shorewall/.mtn2git_empty0
-rw-r--r--packages/shorewall/files/.mtn2git_empty0
-rw-r--r--packages/shorewall/files/install-no-chown.diff283
3 files changed, 283 insertions, 0 deletions
diff --git a/packages/shorewall/.mtn2git_empty b/packages/shorewall/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/shorewall/.mtn2git_empty
diff --git a/packages/shorewall/files/.mtn2git_empty b/packages/shorewall/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/shorewall/files/.mtn2git_empty
diff --git a/packages/shorewall/files/install-no-chown.diff b/packages/shorewall/files/install-no-chown.diff
index e69de29bb2..ea58bc1b85 100644
--- a/packages/shorewall/files/install-no-chown.diff
+++ b/packages/shorewall/files/install-no-chown.diff
@@ -0,0 +1,283 @@
+--- install.sh.o 2004-10-16 23:26:17.400735392 +0200
++++ install.sh 2004-10-16 23:29:59.284004008 +0200
+@@ -76,7 +76,7 @@
+ install_file_with_backup() # $1 = source $2 = target $3 = mode
+ {
+ backup_file $2
+- run_install -o $OWNER -g $GROUP -m $3 $1 ${2}
++ run_install -m $3 $1 ${2}
+ }
+
+ #
+@@ -134,8 +134,8 @@
+ DEBIAN=
+
+ if [ -n "$PREFIX" ]; then
+- install -d -o $OWNER -g $GROUP -m 755 ${PREFIX}/sbin
+- install -d -o $OWNER -g $GROUP -m 755 ${PREFIX}${DEST}
++ install -d -m 755 ${PREFIX}/sbin
++ install -d -m 755 ${PREFIX}${DEST}
+ elif [ -d /etc/apt -a -e /usr/bin/dpkg ]; then
+ DEBIAN=yes
+ fi
+@@ -185,7 +185,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/shorewall.conf ]; then
+ backup_file /etc/shorewall/shorewall.conf
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 shorewall.conf ${PREFIX}/etc/shorewall/shorewall.conf
++ run_install -m 0600 shorewall.conf ${PREFIX}/etc/shorewall/shorewall.conf
+ echo
+ echo "Config file installed as ${PREFIX}/etc/shorewall/shorewall.conf"
+ fi
+@@ -195,7 +195,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/zones ]; then
+ backup_file /etc/shorewall/zones
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 zones ${PREFIX}/etc/shorewall/zones
++ run_install -m 0600 zones ${PREFIX}/etc/shorewall/zones
+ echo
+ echo "Zones file installed as ${PREFIX}/etc/shorewall/zones"
+ fi
+@@ -232,7 +232,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/policy ]; then
+ backup_file /etc/shorewall/policy
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 policy ${PREFIX}/etc/shorewall/policy
++ run_install -m 0600 policy ${PREFIX}/etc/shorewall/policy
+ echo
+ echo "Policy file installed as ${PREFIX}/etc/shorewall/policy"
+ fi
+@@ -242,7 +242,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/interfaces ]; then
+ backup_file /etc/shorewall/interfaces
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 interfaces ${PREFIX}/etc/shorewall/interfaces
++ run_install -m 0600 interfaces ${PREFIX}/etc/shorewall/interfaces
+ echo
+ echo "Interfaces file installed as ${PREFIX}/etc/shorewall/interfaces"
+ fi
+@@ -252,7 +252,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/hosts ]; then
+ backup_file /etc/shorewall/hosts
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 hosts ${PREFIX}/etc/shorewall/hosts
++ run_install -m 0600 hosts ${PREFIX}/etc/shorewall/hosts
+ echo
+ echo "Hosts file installed as ${PREFIX}/etc/shorewall/hosts"
+ fi
+@@ -262,7 +262,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/rules ]; then
+ backup_file /etc/shorewall/rules
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 rules ${PREFIX}/etc/shorewall/rules
++ run_install -m 0600 rules ${PREFIX}/etc/shorewall/rules
+ echo
+ echo "Rules file installed as ${PREFIX}/etc/shorewall/rules"
+ fi
+@@ -272,7 +272,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/nat ]; then
+ backup_file /etc/shorewall/nat
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 nat ${PREFIX}/etc/shorewall/nat
++ run_install -m 0600 nat ${PREFIX}/etc/shorewall/nat
+ echo
+ echo "NAT file installed as ${PREFIX}/etc/shorewall/nat"
+ fi
+@@ -282,7 +282,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/netmap ]; then
+ backup_file /etc/shorewall/netmap
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 netmap ${PREFIX}/etc/shorewall/netmap
++ run_install -m 0600 netmap ${PREFIX}/etc/shorewall/netmap
+ echo
+ echo "NETMAP file installed as ${PREFIX}/etc/shorewall/netmap"
+ fi
+@@ -292,7 +292,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/params ]; then
+ backup_file /etc/shorewall/params
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 params ${PREFIX}/etc/shorewall/params
++ run_install -m 0600 params ${PREFIX}/etc/shorewall/params
+ echo
+ echo "Parameter file installed as ${PREFIX}/etc/shorewall/params"
+ fi
+@@ -302,7 +302,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/proxyarp ]; then
+ backup_file /etc/shorewall/proxyarp
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 proxyarp ${PREFIX}/etc/shorewall/proxyarp
++ run_install -m 0600 proxyarp ${PREFIX}/etc/shorewall/proxyarp
+ echo
+ echo "Proxy ARP file installed as ${PREFIX}/etc/shorewall/proxyarp"
+ fi
+@@ -312,7 +312,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/routestopped ]; then
+ backup_file /etc/shorewall/routestopped
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 routestopped ${PREFIX}/etc/shorewall/routestopped
++ run_install -m 0600 routestopped ${PREFIX}/etc/shorewall/routestopped
+ echo
+ echo "Stopped Routing file installed as ${PREFIX}/etc/shorewall/routestopped"
+ fi
+@@ -322,7 +322,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/maclist ]; then
+ backup_file /etc/shorewall/maclist
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 maclist ${PREFIX}/etc/shorewall/maclist
++ run_install -m 0600 maclist ${PREFIX}/etc/shorewall/maclist
+ echo
+ echo "MAC list file installed as ${PREFIX}/etc/shorewall/maclist"
+ fi
+@@ -332,7 +332,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/masq ]; then
+ backup_file /etc/shorewall/masq
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 masq ${PREFIX}/etc/shorewall/masq
++ run_install -m 0600 masq ${PREFIX}/etc/shorewall/masq
+ echo
+ echo "Masquerade file installed as ${PREFIX}/etc/shorewall/masq"
+ fi
+@@ -342,7 +342,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/modules ]; then
+ backup_file /etc/shorewall/modules
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 modules ${PREFIX}/etc/shorewall/modules
++ run_install -m 0600 modules ${PREFIX}/etc/shorewall/modules
+ echo
+ echo "Modules file installed as ${PREFIX}/etc/shorewall/modules"
+ fi
+@@ -352,7 +352,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/tcrules ]; then
+ backup_file /etc/shorewall/tcrules
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 tcrules ${PREFIX}/etc/shorewall/tcrules
++ run_install -m 0600 tcrules ${PREFIX}/etc/shorewall/tcrules
+ echo
+ echo "TC Rules file installed as ${PREFIX}/etc/shorewall/tcrules"
+ fi
+@@ -363,7 +363,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/tos ]; then
+ backup_file /etc/shorewall/tos
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 tos ${PREFIX}/etc/shorewall/tos
++ run_install -m 0600 tos ${PREFIX}/etc/shorewall/tos
+ echo
+ echo "TOS file installed as ${PREFIX}/etc/shorewall/tos"
+ fi
+@@ -373,7 +373,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/tunnels ]; then
+ backup_file /etc/shorewall/tunnels
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 tunnels ${PREFIX}/etc/shorewall/tunnels
++ run_install -m 0600 tunnels ${PREFIX}/etc/shorewall/tunnels
+ echo
+ echo "Tunnels file installed as ${PREFIX}/etc/shorewall/tunnels"
+ fi
+@@ -383,7 +383,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/blacklist ]; then
+ backup_file /etc/shorewall/blacklist
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 blacklist ${PREFIX}/etc/shorewall/blacklist
++ run_install -m 0600 blacklist ${PREFIX}/etc/shorewall/blacklist
+ echo
+ echo "Blacklist file installed as ${PREFIX}/etc/shorewall/blacklist"
+ fi
+@@ -418,7 +418,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/init ]; then
+ backup_file /etc/shorewall/init
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 init ${PREFIX}/etc/shorewall/init
++ run_install -m 0600 init ${PREFIX}/etc/shorewall/init
+ echo
+ echo "Init file installed as ${PREFIX}/etc/shorewall/init"
+ fi
+@@ -428,7 +428,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/initdone ]; then
+ backup_file /etc/shorewall/initdone
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 initdone ${PREFIX}/etc/shorewall/initdone
++ run_install -m 0600 initdone ${PREFIX}/etc/shorewall/initdone
+ echo
+ echo "Initdone file installed as ${PREFIX}/etc/shorewall/initdone"
+ fi
+@@ -438,7 +438,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/start ]; then
+ backup_file /etc/shorewall/start
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 start ${PREFIX}/etc/shorewall/start
++ run_install -m 0600 start ${PREFIX}/etc/shorewall/start
+ echo
+ echo "Start file installed as ${PREFIX}/etc/shorewall/start"
+ fi
+@@ -448,7 +448,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/stop ]; then
+ backup_file /etc/shorewall/stop
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 stop ${PREFIX}/etc/shorewall/stop
++ run_install -m 0600 stop ${PREFIX}/etc/shorewall/stop
+ echo
+ echo "Stop file installed as ${PREFIX}/etc/shorewall/stop"
+ fi
+@@ -458,7 +458,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/stopped ]; then
+ backup_file /etc/shorewall/stopped
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 stopped ${PREFIX}/etc/shorewall/stopped
++ run_install -m 0600 stopped ${PREFIX}/etc/shorewall/stopped
+ echo
+ echo "Stopped file installed as ${PREFIX}/etc/shorewall/stopped"
+ fi
+@@ -468,7 +468,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/ecn ]; then
+ backup_file /etc/shorewall/ecn
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 ecn ${PREFIX}/etc/shorewall/ecn
++ run_install -m 0600 ecn ${PREFIX}/etc/shorewall/ecn
+ echo
+ echo "ECN file installed as ${PREFIX}/etc/shorewall/ecn"
+ fi
+@@ -478,7 +478,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/accounting ]; then
+ backup_file /etc/shorewall/accounting
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 accounting ${PREFIX}/etc/shorewall/accounting
++ run_install -m 0600 accounting ${PREFIX}/etc/shorewall/accounting
+ echo
+ echo "Accounting file installed as ${PREFIX}/etc/shorewall/accounting"
+ fi
+@@ -496,7 +496,7 @@
+ if [ -f ${PREFIX}/etc/shorewall/actions ]; then
+ backup_file /etc/shorewall/actions
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 actions ${PREFIX}/etc/shorewall/actions
++ run_install -m 0600 actions ${PREFIX}/etc/shorewall/actions
+ echo
+ echo "Actions file installed as ${PREFIX}/etc/shorewall/actions"
+ fi
+@@ -507,7 +507,7 @@
+ if [ -f ${PREFIX}/usr/share/shorewall/$f ]; then
+ backup_file /usr/share/shorewall/$f
+ else
+- run_install -o $OWNER -g $GROUP -m 0600 $f ${PREFIX}/usr/share/shorewall/$f
++ run_install -m 0600 $f ${PREFIX}/usr/share/shorewall/$f
+ echo
+ echo "Action ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
+ fi
+@@ -542,7 +542,7 @@
+ if [ -z "$PREFIX" ]; then
+ if -n "$first_install" ]; then
+ if [ -n "$DEBIAN" ]; then
+- run_install -o $OWNER -g $GROUP -m 0644 default.debian /etc/default/shorewall
++ run_install -m 0644 default.debian /etc/default/shorewall
+ ln -s ../init.d/shorewall /etc/rcS.d/S40shorewall
+ echo
+ echo "shorewall will start automatically at boot"
+@@ -583,7 +583,7 @@
+ ########################################################################" > /etc/shorewall/startup_disabled
+ fi
+ elif [ -n "$DEBIAN" -a ! -f /etc/default/shorewall ]; then
+- run_install -o $OWNER -g $GROUP -m 0644 default.debian /etc/default/shorewall
++ run_install -m 0644 default.debian /etc/default/shorewall
+ fi
+ fi
+ #