]> TLD Linux GIT Repositories - packages/shorewall.git/blob - tld.patch
- updated to 5.2.8
[packages/shorewall.git] / tld.patch
1 diff -ur shorewall-5.2.1.orig/shorewall/install.sh shorewall-5.2.1/shorewall/install.sh
2 --- shorewall-5.2.1.orig/shorewall/install.sh   2018-10-11 21:40:46.293033000 +0000
3 +++ shorewall-5.2.1/shorewall/install.sh        2018-10-11 21:41:47.396033000 +0000
4 @@ -220,6 +220,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 @@ -277,6 +279,9 @@
14      alt)
15         echo "Installing ALT-specific configuration...";
16         ;;
17 +    tld)
18 +       echo "Installing TLD-specific configuration..."
19 +       ;;
20      linux)
21         ;;
22      *)
23 diff -ur shorewall-5.2.1.orig/shorewall6/install.sh shorewall-5.2.1/shorewall6/install.sh
24 --- shorewall-5.2.1.orig/shorewall6/install.sh  2018-10-11 21:40:46.293033000 +0000
25 +++ shorewall-5.2.1/shorewall6/install.sh       2018-10-11 21:41:47.397033000 +0000
26 @@ -220,6 +220,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 @@ -277,6 +279,9 @@
36      alt)
37         echo "Installing ALT-specific configuration...";
38         ;;
39 +    tld)
40 +       echo "Installing TLD-specific configuration..."
41 +       ;;
42      linux)
43         ;;
44      *)
45 diff -ur shorewall-5.2.1.orig/shorewall6-lite/install.sh shorewall-5.2.1/shorewall6-lite/install.sh
46 --- shorewall-5.2.1.orig/shorewall6-lite/install.sh     2018-10-11 21:40:46.294033000 +0000
47 +++ shorewall-5.2.1/shorewall6-lite/install.sh  2018-10-11 21:41:47.397033000 +0000
48 @@ -274,6 +274,9 @@
49      alt)
50         echo "Installing ALT-specific configuration...";
51         ;;
52 +    tld)
53 +       echo "Installing TLD-specific configuration..."
54 +       ;;
55      linux)
56         ;;
57      *)
58 diff -ur shorewall-5.2.1.orig/shorewall-core/install.sh shorewall-5.2.1/shorewall-core/install.sh
59 --- shorewall-5.2.1.orig/shorewall-core/install.sh      2018-10-02 15:21:54.000000000 +0000
60 +++ shorewall-5.2.1/shorewall-core/install.sh   2018-10-11 21:42:16.164033000 +0000
61 @@ -195,6 +195,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 @@ -243,7 +245,7 @@
71      apple)
72         echo "Installing Mac-specific configuration...";
73         ;;
74 -    debian|gentoo|redhat|slackware|archlinux|linux|suse|openwrt|alt)
75 +    debian|gentoo|redhat|slackware|archlinux|linux|suse|openwrt|alt|tld)
76         ;;
77      *)
78         fatal_error "Unknown HOST \"$HOST\""
79 diff -ur shorewall-5.2.1.orig/shorewall-init/install.sh shorewall-5.2.1/shorewall-init/install.sh
80 --- shorewall-5.2.1.orig/shorewall-init/install.sh      2018-10-11 21:40:46.294033000 +0000
81 +++ shorewall-5.2.1/shorewall-init/install.sh   2018-10-11 21:41:47.397033000 +0000
82 @@ -206,6 +206,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 @@ -261,6 +263,9 @@
92      alt)
93         echo "Installing ALT-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.1.orig/shorewall-lite/install.sh shorewall-5.2.1/shorewall-lite/install.sh
102 --- shorewall-5.2.1.orig/shorewall-lite/install.sh      2018-10-11 21:40:46.295033000 +0000
103 +++ shorewall-5.2.1/shorewall-lite/install.sh   2018-10-11 21:41:47.398033000 +0000
104 @@ -274,6 +274,9 @@
105      alt)
106         echo "Installing ALT-specific configuration...";
107         ;;
108 +    tld)
109 +       echo "Installing TLD-specific configuration..."
110 +       ;;
111      linux)
112         ;;
113      *)