]> TLD Linux GIT Repositories - packages/shorewall.git/blob - tld.patch
c8b84e8523e6eecef23e51526cd78637a60c2460
[packages/shorewall.git] / tld.patch
1 diff -ur shorewall-5.2.0.5.orig/shorewall-5.2.0.5/install.sh shorewall-5.2.0.5/shorewall-5.2.0.5/install.sh
2 --- shorewall-5.2.0.5.orig/shorewall-5.2.0.5/install.sh 2018-05-18 18:46:49.000000000 +0000
3 +++ shorewall-5.2.0.5/shorewall-5.2.0.5/install.sh      2018-06-14 21:55:53.138150020 +0000
4 @@ -215,6 +215,8 @@
5                 BUILD=archlinux
6             elif [ -f ${CONFDIR}/openwrt_release ] ; then
7                 BUILD=openwrt
8 +           elif [ -f /etc/tld-release ] ; then
9 +               BUILD=tld
10             else
11                 BUILD=linux
12             fi
13 @@ -269,6 +271,9 @@
14      openwrt)
15         echo "Installing OpenWRT-specific configuration..."
16         ;;
17 +    tld)
18 +       echo "Installing TLD-specific configuration..."
19 +       ;;
20      linux)
21         ;;
22      *)
23 diff -ur shorewall-5.2.0.5.orig/shorewall6-5.2.0.5/install.sh shorewall-5.2.0.5/shorewall6-5.2.0.5/install.sh
24 --- shorewall-5.2.0.5.orig/shorewall6-5.2.0.5/install.sh        2018-05-18 18:46:49.000000000 +0000
25 +++ shorewall-5.2.0.5/shorewall6-5.2.0.5/install.sh     2018-06-14 21:56:25.519149655 +0000
26 @@ -215,6 +215,8 @@
27                 BUILD=archlinux
28             elif [ -f ${CONFDIR}/openwrt_release ] ; then
29                 BUILD=openwrt
30 +           elif [ -f /etc/tld-release ] ; then
31 +               BUILD=tld
32             else
33                 BUILD=linux
34             fi
35 @@ -269,6 +271,9 @@
36      openwrt)
37         echo "Installing OpenWRT-specific configuration..."
38         ;;
39 +    tld)
40 +       echo "Installing TLD-specific configuration..."
41 +       ;;
42      linux)
43         ;;
44      *)
45 diff -ur shorewall-5.2.0.5.orig/shorewall6-lite-5.2.0.5/install.sh shorewall-5.2.0.5/shorewall6-lite-5.2.0.5/install.sh
46 --- shorewall-5.2.0.5.orig/shorewall6-lite-5.2.0.5/install.sh   2018-05-18 18:46:50.000000000 +0000
47 +++ shorewall-5.2.0.5/shorewall6-lite-5.2.0.5/install.sh        2018-06-14 21:53:33.408151593 +0000
48 @@ -266,6 +266,9 @@
49      openwrt)
50         echo "Installing OpenWRT-specific configuration..."
51         ;;
52 +    tld)
53 +       echo "Installing TLD-specific configuration..."
54 +       ;;
55      linux)
56         ;;
57      *)
58 diff -ur shorewall-5.2.0.5.orig/shorewall-core-5.2.0.5/install.sh shorewall-5.2.0.5/shorewall-core-5.2.0.5/install.sh
59 --- shorewall-5.2.0.5.orig/shorewall-core-5.2.0.5/install.sh    2018-05-18 18:46:49.000000000 +0000
60 +++ shorewall-5.2.0.5/shorewall-core-5.2.0.5/install.sh 2018-06-14 21:57:08.268149174 +0000
61 @@ -190,6 +190,8 @@
62                 BUILD=archlinux
63             elif [ -f ${CONFDIR}/openwrt_release ] ; then
64                 BUILD=openwrt
65 +           elif [ -f /etc/tld-release ] ; then
66 +               BUILD=tld
67             else
68                 BUILD=linux
69             fi
70 @@ -238,7 +240,7 @@
71      apple)
72         echo "Installing Mac-specific configuration...";
73         ;;
74 -    debian|gentoo|redhat|slackware|archlinux|linux|suse|openwrt)
75 +    debian|gentoo|redhat|slackware|archlinux|linux|suse|openwrt|tld)
76         ;;
77      *)
78         fatal_error "Unknown HOST \"$HOST\""
79 diff -ur shorewall-5.2.0.5.orig/shorewall-init-5.2.0.5/install.sh shorewall-5.2.0.5/shorewall-init-5.2.0.5/install.sh
80 --- shorewall-5.2.0.5.orig/shorewall-init-5.2.0.5/install.sh    2018-05-18 18:46:49.000000000 +0000
81 +++ shorewall-5.2.0.5/shorewall-init-5.2.0.5/install.sh 2018-06-14 21:54:45.169150785 +0000
82 @@ -201,6 +201,8 @@
83                 BUILD=archlinux
84             elif [ -f ${CONFDIR}/openwrt_release ]; then
85                 BUILD=openwrt
86 +           elif [ -f /etc/tld-release ] ; then
87 +               BUILD=tld
88             else
89                 BUILD=linux
90             fi
91 @@ -253,6 +255,9 @@
92      openwrt)
93         echo "Installing Openwrt-specific configuration..."
94         ;;
95 +    tld)
96 +       echo "Installing TLD-specific configuration..."
97 +       ;;
98      linux)
99         fatal_error "Shorewall-init is not supported on this system"
100         ;;
101 diff -ur shorewall-5.2.0.5.orig/shorewall-lite-5.2.0.5/install.sh shorewall-5.2.0.5/shorewall-lite-5.2.0.5/install.sh
102 --- shorewall-5.2.0.5.orig/shorewall-lite-5.2.0.5/install.sh    2018-05-18 18:46:50.000000000 +0000
103 +++ shorewall-5.2.0.5/shorewall-lite-5.2.0.5/install.sh 2018-06-14 21:52:59.958151970 +0000
104 @@ -266,6 +266,9 @@
105      openwrt)
106         echo "Installing OpenWRT-specific configuration..."
107         ;;
108 +    tld)
109 +       echo "Installing TLD-specific configuration..."
110 +       ;;
111      linux)
112         ;;
113      *)