summaryrefslogtreecommitdiffstats
path: root/tools/debian/patches/weechat_debian_wheezy.patch
blob: 37b70324b968c4cc08de4d6bcb3e78e015501647 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
diff --git a/debian-devel/compat b/debian-devel/compat
index b4de39476..ec635144f 100644
--- a/debian-devel/compat
+++ b/debian-devel/compat
@@ -1 +1 @@
-11
+9
diff --git a/debian-devel/control b/debian-devel/control
index d3a1dad8b..4c5953e46 100644
--- a/debian-devel/control
+++ b/debian-devel/control
@@ -3,8 +3,7 @@ Section: net
 Priority: optional
 Maintainer: Sébastien Helleu <flashcode@flashtux.org>
 Build-Depends:
-    asciidoctor (>= 1.5.4),
-    debhelper (>= 11),
+    debhelper (>= 9),
     cmake, pkg-config,
     libncursesw5-dev,
     gem2deb,
@@ -12,14 +11,12 @@ Build-Depends:
     python-dev,
     libaspell-dev,
     liblua5.1-0-dev,
-    tcl8.6-dev,
+    tcl8.5-dev,
     guile-2.0-dev,
-    libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
-    php-dev, libphp-embed, libargon2-0-dev, libsodium-dev,
-    libxml2-dev,
+    libv8-dev,
     libcurl4-gnutls-dev,
-    libgcrypt20-dev,
-    libgnutls28-dev,
+    libgcrypt11-dev,
+    libgnutls-dev,
     zlib1g-dev
 Standards-Version: 4.1.5
 Homepage: https://weechat.org/
@@ -47,7 +44,7 @@ Description: Fast, light and extensible chat client (metapackage)
   - 256 colors support
   - incremental text search
   - dynamic filtering of buffer content
-  - Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
+  - Perl, Python, Ruby, Lua, Tcl, Scheme and JavaScript scripting
   - script manager
   - spell checking
   - highly customizable and extensible
@@ -77,7 +74,7 @@ Description: Fast, light and extensible chat client - console client
   - 256 colors support
   - incremental text search
   - dynamic filtering of buffer content
-  - Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
+  - Perl, Python, Ruby, Lua, Tcl, Scheme and JavaScript scripting
   - script manager
   - spell checking
   - highly customizable and extensible
@@ -108,7 +105,7 @@ Description: Fast, light and extensible chat client - headless client
   - 256 colors support
   - incremental text search
   - dynamic filtering of buffer content
-  - Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
+  - Perl, Python, Ruby, Lua, Tcl, Scheme and JavaScript scripting
   - script manager
   - spell checking
   - highly customizable and extensible
@@ -246,20 +243,6 @@ Description: Fast, light and extensible chat client - JavaScript plugin
  .
  This package provides the JavaScript scripting API plugin.
 
-Package: weechat-devel-php
-Architecture: any
-Depends:
-    ${misc:Depends},
-    ${shlibs:Depends},
-    weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version}),
-    libphp-embed
-Conflicts: weechat-php
-Description: Fast, light and extensible chat client - PHP plugin
- WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
- for many operating systems. Everything can be done with a keyboard.
- .
- This package provides the PHP scripting API plugin.
-
 Package: weechat-devel-doc
 Section: doc
 Architecture: all
diff --git a/debian-devel/rules b/debian-devel/rules
index 16a5f9516..3edb65fa5 100755
--- a/debian-devel/rules
+++ b/debian-devel/rules
@@ -1,7 +1,5 @@
 #!/usr/bin/make -f
 
-export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-
 BUILDDIR = builddir
 
 $(BUILDDIR)/Makefile:
diff --git a/debian-devel/weechat-devel-php.dirs b/debian-devel/weechat-devel-php.dirs
deleted file mode 120000
index e4853a588..000000000
--- a/debian-devel/weechat-devel-php.dirs
+++ /dev/null
@@ -1 +0,0 @@
-../debian-stable/weechat-php.dirs
\ No newline at end of file
diff --git a/debian-devel/weechat-devel-php.install b/debian-devel/weechat-devel-php.install
deleted file mode 120000
index e358b515a..000000000
--- a/debian-devel/weechat-devel-php.install
+++ /dev/null
@@ -1 +0,0 @@
-../debian-stable/weechat-php.install
\ No newline at end of file
diff --git a/debian-stable/compat b/debian-stable/compat
index b4de39476..ec635144f 100644
--- a/debian-stable/compat
+++ b/debian-stable/compat
@@ -1 +1 @@
-11
+9
diff --git a/debian-stable/control b/debian-stable/control
index 8fbf582b3..a30e30053 100644
--- a/debian-stable/control
+++ b/debian-stable/control
@@ -3,8 +3,7 @@ Section: net
 Priority: optional
 Maintainer: Emmanuel Bouthenot <kolter@debian.org>
 Build-Depends:
-    asciidoctor (>= 1.5.4),
-    debhelper (>= 11),
+    debhelper (>= 9),
     cmake, pkg-config,
     libncursesw5-dev,
     gem2deb,
@@ -12,14 +11,12 @@ Build-Depends:
     python-dev,
     libaspell-dev,
     liblua5.1-0-dev,
-    tcl8.6-dev,
+    tcl8.5-dev,
     guile-2.0-dev,
-    libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
-    php-dev, libphp-embed, libargon2-0-dev, libsodium-dev,
-    libxml2-dev,
+    libv8-dev,
     libcurl4-gnutls-dev,
-    libgcrypt20-dev,
-    libgnutls28-dev,
+    libgcrypt11-dev,
+    libgnutls-dev,
     zlib1g-dev
 Standards-Version: 4.1.5
 Homepage: https://weechat.org/
@@ -46,7 +43,7 @@ Description: Fast, light and extensible chat client (metapackage)
   - 256 colors support
   - incremental text search
   - dynamic filtering of buffer content
-  - Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
+  - Perl, Python, Ruby, Lua, Tcl, Scheme and JavaScript scripting
   - script manager
   - spell checking
   - highly customizable and extensible
@@ -75,7 +72,7 @@ Description: Fast, light and extensible chat client - console client
   - 256 colors support
   - incremental text search
   - dynamic filtering of buffer content
-  - Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
+  - Perl, Python, Ruby, Lua, Tcl, Scheme and JavaScript scripting
   - script manager
   - spell checking
   - highly customizable and extensible
@@ -105,7 +102,7 @@ Description: Fast, light and extensible chat client - headless client
   - 256 colors support
   - incremental text search
   - dynamic filtering of buffer content
-  - Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
+  - Perl, Python, Ruby, Lua, Tcl, Scheme and JavaScript scripting
   - script manager
   - spell checking
   - highly customizable and extensible
@@ -234,19 +231,6 @@ Description: Fast, light and extensible chat client - JavaScript plugin
  .
  This package provides the JavaScript scripting API plugin.
 
-Package: weechat-php
-Architecture: any
-Depends:
-    ${misc:Depends},
-    ${shlibs:Depends},
-    weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version}),
-    libphp-embed
-Description: Fast, light and extensible chat client - PHP plugin
- WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
- for many operating systems. Everything can be done with a keyboard.
- .
- This package provides the PHP scripting API plugin.
-
 Package: weechat-doc
 Section: doc
 Architecture: all
diff --git a/debian-stable/rules b/debian-stable/rules
index 16a5f9516..3edb65fa5 100755
--- a/debian-stable/rules
+++ b/debian-stable/rules
@@ -1,7 +1,5 @@
 #!/usr/bin/make -f
 
-export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-
 BUILDDIR = builddir
 
 $(BUILDDIR)/Makefile:
diff --git a/debian-stable/weechat-php.dirs b/debian-stable/weechat-php.dirs
deleted file mode 100644
index 68457717b..000000000
--- a/debian-stable/weechat-php.dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib
diff --git a/debian-stable/weechat-php.install b/debian-stable/weechat-php.install
deleted file mode 100644
index 0a1b73563..000000000
--- a/debian-stable/weechat-php.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/*/weechat/plugins/php.so