Merge lp:~vibhavp/ubuntu/saucy/aufs-tools/merge-from-debian into lp:ubuntu/saucy/aufs-tools
- Saucy (13.10)
- merge-from-debian
- Merge into saucy
Proposed by
Vibhav Pant
Status: | Work in progress |
---|---|
Proposed branch: | lp:~vibhavp/ubuntu/saucy/aufs-tools/merge-from-debian |
Merge into: | lp:ubuntu/saucy/aufs-tools |
Diff against target: |
570 lines (+152/-196) 16 files modified
.pc/01-static.patch/Makefile (+0/-118) .pc/applied-patches (+0/-2) .pc/fix-ftbfs-with-rc-kernel.patch/ver.c (+0/-39) Makefile (+1/-0) aufs.in.5 (+20/-0) debian/changelog (+54/-15) debian/control (+2/-1) debian/copyright (+2/-2) debian/patches/0001-static.patch (+14/-0) debian/patches/0002-manpage.patch (+26/-0) debian/patches/0003-shebang.patch (+27/-0) debian/patches/01-static.patch (+0/-14) debian/patches/series (+4/-2) debian/rules (+1/-1) debian/source/options (+0/-1) ver.c (+1/-1) |
To merge this branch: | bzr merge lp:~vibhavp/ubuntu/saucy/aufs-tools/merge-from-debian |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Bhavani Shankar (community) | Needs Information | ||
Ubuntu branches | Pending | ||
Review via email: mp+161784@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Unmerged revisions
- 13. By Vibhav Pant
-
* Merge from Debian unstable. Remaining changes:
- Build for both 3.x-rcN & 3.0+ kernels. Fixes FTBFS.
* Taking over with maintainer's consent.
* Removing all references to my old email address.
* Merging upstream version 3.0+20130111.
* Prefixing patches with four digits.
* Updating year in copyright file.
* Setting shebang for the time being to bash in included shell scripts
(Closes: #701552).
* Trimming diff header in static.patch.
* Correcting manpage example syntax, thanks to Dan Greene <dan-
<email address hidden>> (Closes: #700111).
* Dropping dpkg-source compression levels.
* Updating year in copyright file. - 12. By Vibhav Pant
-
Merging shared upstream rev into target branch.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === removed directory '.pc/01-static.patch' |
2 | === removed file '.pc/01-static.patch/Makefile' |
3 | --- .pc/01-static.patch/Makefile 2012-05-18 13:17:14 +0000 |
4 | +++ .pc/01-static.patch/Makefile 1970-01-01 00:00:00 +0000 |
5 | @@ -1,118 +0,0 @@ |
6 | - |
7 | -# Copyright (C) 2005-2011 Junjiro R. Okajima |
8 | -# |
9 | -# This program, aufs is free software; you can redistribute it and/or modify |
10 | -# it under the terms of the GNU General Public License as published by |
11 | -# the Free Software Foundation; either version 2 of the License, or |
12 | -# (at your option) any later version. |
13 | -# |
14 | -# This program is distributed in the hope that it will be useful, |
15 | -# but WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17 | -# GNU General Public License for more details. |
18 | -# |
19 | -# You should have received a copy of the GNU General Public License |
20 | -# along with this program; if not, write to the Free Software |
21 | -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
22 | - |
23 | -HOSTCC ?= cc |
24 | -CFLAGS += -I./libau |
25 | -CFLAGS += -O -Wall |
26 | - |
27 | -# MountCmdPath: dirty trick to support local nfs-mount. |
28 | -# - on a single host, mount aufs, export it via nfs, and mount it again |
29 | -# via nfs locally. |
30 | -# in this situation, a deadlock MAY happen between the aufs branch |
31 | -# management and nfsd. |
32 | -# - mount.aufs enters the pseudo-link maintenance mode which prohibits |
33 | -# all processes acess to the aufs mount except its children. |
34 | -# - mount.aufs calls execvp(3) to execute mount(8). |
35 | -# - then nfsd MAY searches mount(8) under the nfs-mounted aufs which is |
36 | -# already prohibited. |
37 | -# the search behaviour is highly depending upon the system environment, |
38 | -# but if we specify the path of mount(8) we can keep it from the |
39 | -# deadlock. |
40 | - |
41 | -ifdef MountCmdPath |
42 | -override CPPFLAGS += -DMOUNT_CMD_PATH=\"${MountCmdPath}/\" |
43 | -else |
44 | -override CPPFLAGS += -DMOUNT_CMD_PATH=\"\" |
45 | -endif |
46 | - |
47 | -Cmd = aubusy auchk aubrsync |
48 | -Man = aufs.5 |
49 | -Etc = etc_default_aufs |
50 | -Bin = auibusy auplink mount.aufs umount.aufs #auctl |
51 | -BinObj = $(addsuffix .o, ${Bin}) |
52 | -LibUtil = libautil.a |
53 | -LibUtilObj = proc_mnt.o br.o plink.o mtab.o |
54 | -LibUtilHdr = au_util.h |
55 | -export |
56 | - |
57 | -all: ver_test ${Man} ${Bin} ${Etc} |
58 | - ${MAKE} -C libau $@ |
59 | - ln -sf ./libau/libau*.so . |
60 | - |
61 | -ver_test: ver |
62 | - ./ver |
63 | - |
64 | -${Bin}: LDFLAGS += -static -s |
65 | -${Bin}: LDLIBS = -L. -lautil |
66 | -${BinObj}: %.o: %.c ${LibUtilHdr} ${LibUtil} |
67 | - |
68 | -${LibUtilObj}: %.o: %.c ${LibUtilHdr} |
69 | -#${LibUtil}: ${LibUtil}(${LibUtilObj}) |
70 | -${LibUtil}: $(foreach o, ${LibUtilObj}, ${LibUtil}(${o})) |
71 | -.NOTPARALLEL: ${LibUtil} |
72 | - |
73 | -etc_default_aufs: c2sh aufs.shlib |
74 | - ${RM} $@ |
75 | - echo '# aufs variables for shell scripts' > $@ |
76 | - ./c2sh >> $@ |
77 | - echo >> $@ |
78 | - sed -e '0,/^$$/d' aufs.shlib >> $@ |
79 | - |
80 | -aufs.5: aufs.in.5 c2tmac |
81 | - ${RM} $@ |
82 | - ./c2tmac > $@ |
83 | - awk '{ \ |
84 | - gsub(/\140[^\047]*\047/, "\\[oq]&\\[cq]"); \ |
85 | - gsub(/\\\[oq\]\140/, "\\[oq]"); \ |
86 | - gsub(/\047\\\[cq\]/, "\\[cq]"); \ |
87 | - gsub(/\047/, "\\[aq]"); \ |
88 | - print; \ |
89 | - }' aufs.in.5 >> $@ |
90 | - chmod a-w $@ |
91 | - |
92 | -c2sh c2tmac ver: CC = ${HOSTCC} |
93 | -.INTERMEDIATE: c2sh c2tmac ver |
94 | - |
95 | -Install = install -o root -g root -p |
96 | -install_sbin: File = auibusy auplink mount.aufs umount.aufs |
97 | -install_sbin: Tgt = ${DESTDIR}/sbin |
98 | -install_ubin: File = aubusy auchk aubrsync #auctl |
99 | -install_ubin: Tgt = ${DESTDIR}/usr/bin |
100 | -install_sbin install_ubin: ${File} |
101 | - install -d ${Tgt} |
102 | - ${Install} -m 755 ${File} ${Tgt} |
103 | -install_etc: File = etc_default_aufs |
104 | -install_etc: Tgt = ${DESTDIR}/etc/default/aufs |
105 | -install_etc: ${File} |
106 | - install -d $(dir ${Tgt}) |
107 | - ${Install} -m 644 -T ${File} ${Tgt} |
108 | -install_man: File = aufs.5 |
109 | -install_man: Tgt = ${DESTDIR}/usr/share/man/man5 |
110 | -install_man: ${File} |
111 | - install -d ${Tgt} |
112 | - ${Install} -m 644 ${File} ${Tgt} |
113 | -install_ulib: |
114 | - ${MAKE} -C libau $@ |
115 | - |
116 | -install: install_man install_sbin install_ubin install_etc install_ulib |
117 | - |
118 | -clean: |
119 | - ${RM} ${Man} ${Bin} ${Etc} ${LibUtil} libau.so* *~ |
120 | - ${RM} ${BinObj} ${LibUtilObj} |
121 | - ${MAKE} -C libau $@ |
122 | - |
123 | --include priv.mk |
124 | |
125 | === removed file '.pc/applied-patches' |
126 | --- .pc/applied-patches 2012-12-31 16:52:55 +0000 |
127 | +++ .pc/applied-patches 1970-01-01 00:00:00 +0000 |
128 | @@ -1,2 +0,0 @@ |
129 | -01-static.patch |
130 | -fix-ftbfs-with-rc-kernel.patch |
131 | |
132 | === removed directory '.pc/fix-ftbfs-with-rc-kernel.patch' |
133 | === removed file '.pc/fix-ftbfs-with-rc-kernel.patch/ver.c' |
134 | --- .pc/fix-ftbfs-with-rc-kernel.patch/ver.c 2012-12-31 16:52:55 +0000 |
135 | +++ .pc/fix-ftbfs-with-rc-kernel.patch/ver.c 1970-01-01 00:00:00 +0000 |
136 | @@ -1,39 +0,0 @@ |
137 | -/* |
138 | - * Copyright (C) 2011 Junjiro R. Okajima |
139 | - * |
140 | - * This program, aufs is free software; you can redistribute it and/or modify |
141 | - * it under the terms of the GNU General Public License as published by |
142 | - * the Free Software Foundation; either version 2 of the License, or |
143 | - * (at your option) any later version. |
144 | - * |
145 | - * This program is distributed in the hope that it will be useful, |
146 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
147 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
148 | - * GNU General Public License for more details. |
149 | - * |
150 | - * You should have received a copy of the GNU General Public License |
151 | - * along with this program; if not, write to the Free Software |
152 | - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
153 | - */ |
154 | - |
155 | -#include <linux/aufs_type.h> |
156 | -#include <regex.h> |
157 | -#include <stdio.h> |
158 | -#include <string.h> |
159 | -#include "au_util.h" |
160 | - |
161 | -int main(int argc, char *argv[]) |
162 | -{ |
163 | - regex_t preg; |
164 | - const char *pat = "^3\\.[0-9](-|$)"; |
165 | - |
166 | - if (regcomp(&preg, pat, REG_EXTENDED | REG_NOSUB)) |
167 | - AuFin("regcomp"); |
168 | - |
169 | - if (!regexec(&preg, AUFS_VERSION, 0, NULL, 0)) |
170 | - return 0; |
171 | - |
172 | - puts("Wrong version!\n" |
173 | - AuVersion ", but aufs is " AUFS_VERSION "."); |
174 | - return -1; |
175 | -} |
176 | |
177 | === modified file 'Makefile' |
178 | --- Makefile 2012-05-18 13:17:14 +0000 |
179 | +++ Makefile 2013-05-01 06:49:31 +0000 |
180 | @@ -56,6 +56,7 @@ |
181 | ver_test: ver |
182 | ./ver |
183 | |
184 | +${Bin}: LDFLAGS += -static -s |
185 | ${Bin}: LDLIBS = -L. -lautil |
186 | ${BinObj}: %.o: %.c ${LibUtilHdr} ${LibUtil} |
187 | |
188 | |
189 | === modified file 'aufs.in.5' |
190 | --- aufs.in.5 2012-05-18 13:17:14 +0000 |
191 | +++ aufs.in.5 2013-05-01 06:49:31 +0000 |
192 | @@ -685,6 +685,15 @@ |
193 | This is the current limitation of aufs. |
194 | On 64bit environment, this limitation becomes more strict and the |
195 | supported largest inode number is less than LLONG_MAX/8\-1. |
196 | +In order to estimate the size of the table for your readonly branch fs, |
197 | +try |
198 | + |
199 | +.nf |
200 | +$ echo $((4 * $(sudo find /branch_fs -xdev -printf "%i\\n" | |
201 | + sort -n | tail -n 1))) |
202 | +.fi |
203 | + |
204 | +For 64bit environment, replace 4 by 8 in above equation. |
205 | |
206 | The xino files are always hidden, i.e. removed. So you cannot |
207 | do `ls \-l xino_file'. |
208 | @@ -737,6 +746,17 @@ |
209 | You can truncate it anytime you like if you specify `trunc_xib' mount |
210 | option. But when the accessed inode number was not deleted, nothing |
211 | will be truncated. |
212 | +The truncation is essentially equivalent to |
213 | + |
214 | +.nf |
215 | +$ cp --sparse=always <current xino file> <new xino file> && |
216 | + rm <current xino file> |
217 | +.fi |
218 | + |
219 | +It means that you have two xino files during the copy, and you should |
220 | +pay attention to the free space of the filesystem where the xino file is |
221 | +located. |
222 | + |
223 | If you do not want to truncate it (it may be slow) when you delete a |
224 | branch, specify `notrunc_xib' after `del' mount option. |
225 | For the table, see trunc_xino_path=BRANCH, itrunc_xino=INDEX, trunc_xino |
226 | |
227 | === modified file 'debian/changelog' |
228 | --- debian/changelog 2012-12-31 16:52:55 +0000 |
229 | +++ debian/changelog 2013-05-01 06:49:31 +0000 |
230 | @@ -1,3 +1,42 @@ |
231 | +aufs-tools (1:3.0+20130111-3ubuntu1) saucy; urgency=low |
232 | + |
233 | + * Merge from Debian unstable. Remaining changes: |
234 | + - Build for both 3.x-rcN & 3.0+ kernels. Fixes FTBFS. |
235 | + |
236 | + -- Vibhav Pant <vibhavp@ubuntu.com> Wed, 01 May 2013 12:13:05 +0530 |
237 | + |
238 | +aufs-tools (1:3.0+20130111-3) unstable; urgency=low |
239 | + |
240 | + * Taking over with maintainer's consent. |
241 | + |
242 | + -- Luk Claes <luk@debian.org> Sat, 20 Apr 2013 18:24:07 +0200 |
243 | + |
244 | +aufs-tools (1:3.0+20130111-2) unstable; urgency=low |
245 | + |
246 | + * Removing all references to my old email address. |
247 | + |
248 | + -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 10 Mar 2013 19:50:11 +0100 |
249 | + |
250 | +aufs-tools (1:3.0+20130111-1) unstable; urgency=low |
251 | + |
252 | + * Merging upstream version 3.0+20130111. |
253 | + * Prefixing patches with four digits. |
254 | + * Updating year in copyright file. |
255 | + * Setting shebang for the time being to bash in included shell scripts |
256 | + (Closes: #701552). |
257 | + |
258 | + -- Daniel Baumann <mail@daniel-baumann.ch> Tue, 26 Feb 2013 11:57:59 +0100 |
259 | + |
260 | +aufs-tools (1:3.0+20120411-4) unstable; urgency=low |
261 | + |
262 | + * Trimming diff header in static.patch. |
263 | + * Correcting manpage example syntax, thanks to Dan Greene <dan- |
264 | + greene@wi.rr.com> (Closes: #700111). |
265 | + * Dropping dpkg-source compression levels. |
266 | + * Updating year in copyright file. |
267 | + |
268 | + -- Daniel Baumann <mail@daniel-baumann.ch> Sat, 09 Feb 2013 08:02:05 +0100 |
269 | + |
270 | aufs-tools (1:3.0+20120411-3ubuntu1) raring; urgency=low |
271 | |
272 | * Build for both 3.x-rcN & 3.0+ kernels. Fixes FTBFS. |
273 | @@ -10,7 +49,7 @@ |
274 | * Updating to standards version 3.9.4. |
275 | * Making build-depends on linux-libc-dev unversioned again for jessie. |
276 | |
277 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Tue, 11 Dec 2012 21:14:26 +0100 |
278 | + -- Daniel Baumann <mail@daniel-baumann.ch> Tue, 11 Dec 2012 21:14:26 +0100 |
279 | |
280 | aufs-tools (1:3.0+20120411-2) unstable; urgency=low |
281 | |
282 | @@ -18,7 +57,7 @@ |
283 | * Trimming lintian overrides. |
284 | * Switching to xz compression. |
285 | |
286 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Fri, 29 Jun 2012 03:32:01 +0200 |
287 | + -- Daniel Baumann <mail@daniel-baumann.ch> Fri, 29 Jun 2012 03:32:01 +0200 |
288 | |
289 | aufs-tools (1:3.0+20120411-1) unstable; urgency=low |
290 | |
291 | @@ -27,14 +66,14 @@ |
292 | * Updating copyright file to machine-readable format version 1.0. |
293 | * Merging upstream version 3.0+20120411. |
294 | |
295 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Fri, 18 May 2012 13:17:14 +0200 |
296 | + -- Daniel Baumann <mail@daniel-baumann.ch> Fri, 18 May 2012 13:17:14 +0200 |
297 | |
298 | aufs-tools (1:3.0+20111101-1) unstable; urgency=low |
299 | |
300 | * Merging upstream version 3.0+20111101. |
301 | * Updating build-depends to linux-libc-dev (Closes: #649051). |
302 | |
303 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Sat, 10 Dec 2011 10:17:51 +0100 |
304 | + -- Daniel Baumann <mail@daniel-baumann.ch> Sat, 10 Dec 2011 10:17:51 +0100 |
305 | |
306 | aufs-tools (1:3.0+20111022-1) unstable; urgency=low |
307 | |
308 | @@ -45,7 +84,7 @@ |
309 | * Sorting overrides in rules alphabetically. |
310 | * Updating lintian overrides. |
311 | |
312 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Thu, 03 Nov 2011 10:04:55 +0100 |
313 | + -- Daniel Baumann <mail@daniel-baumann.ch> Thu, 03 Nov 2011 10:04:55 +0100 |
314 | |
315 | aufs-tools (20110410-1) unstable; urgency=low |
316 | |
317 | @@ -64,20 +103,20 @@ |
318 | * Adding manpage symlinks for aubusy and auibusy. |
319 | * Updating lintian overrides. |
320 | |
321 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Sun, 28 Aug 2011 00:22:02 +0200 |
322 | + -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 28 Aug 2011 00:22:02 +0200 |
323 | |
324 | aufs-tools (20100901-2) experimental; urgency=low |
325 | |
326 | * Updating to debhelper version 8. |
327 | * Switching to source format 3.0 (quilt). |
328 | |
329 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Fri, 26 Nov 2010 17:30:56 +0100 |
330 | + -- Daniel Baumann <mail@daniel-baumann.ch> Fri, 26 Nov 2010 17:30:56 +0100 |
331 | |
332 | aufs-tools (20100901-1) experimental; urgency=low |
333 | |
334 | * Merging upstream version 20100901. |
335 | |
336 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Wed, 01 Sep 2010 09:41:49 +0200 |
337 | + -- Daniel Baumann <mail@daniel-baumann.ch> Wed, 01 Sep 2010 09:41:49 +0200 |
338 | |
339 | aufs-tools (20100801-1) experimental; urgency=low |
340 | |
341 | @@ -85,33 +124,33 @@ |
342 | * Merging upstream version 20100801. |
343 | * Updating standards version to 3.9.1. |
344 | |
345 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Sat, 14 Aug 2010 13:51:36 +0200 |
346 | + -- Daniel Baumann <mail@daniel-baumann.ch> Sat, 14 Aug 2010 13:51:36 +0200 |
347 | |
348 | aufs-tools (20100601-1) unstable; urgency=low |
349 | |
350 | * Merging upstream version 20100601. |
351 | |
352 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Tue, 01 Jun 2010 07:00:25 +0200 |
353 | + -- Daniel Baumann <mail@daniel-baumann.ch> Tue, 01 Jun 2010 07:00:25 +0200 |
354 | |
355 | aufs-tools (20100501-1) unstable; urgency=low |
356 | |
357 | * Merging upstream version 20100501. |
358 | * Updating rules file for new upstream version. |
359 | |
360 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Sat, 01 May 2010 05:16:04 +0200 |
361 | + -- Daniel Baumann <mail@daniel-baumann.ch> Sat, 01 May 2010 05:16:04 +0200 |
362 | |
363 | aufs-tools (20100401-1) unstable; urgency=low |
364 | |
365 | * Merging upstream version 20100401. |
366 | |
367 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Fri, 02 Apr 2010 09:06:19 +0200 |
368 | + -- Daniel Baumann <mail@daniel-baumann.ch> Fri, 02 Apr 2010 09:06:19 +0200 |
369 | |
370 | aufs-tools (20100301-1) unstable; urgency=low |
371 | |
372 | * Merging upstream version 20100301. |
373 | * Sorting dh call in rules to more common order. |
374 | |
375 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Fri, 12 Mar 2010 18:02:27 +0100 |
376 | + -- Daniel Baumann <mail@daniel-baumann.ch> Fri, 12 Mar 2010 18:02:27 +0100 |
377 | |
378 | aufs-tools (20100201-1) unstable; urgency=low |
379 | |
380 | @@ -120,10 +159,10 @@ |
381 | * Merging upstream version 20100201. |
382 | * Updating year in copyright file. |
383 | |
384 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Mon, 01 Feb 2010 12:48:24 +0100 |
385 | + -- Daniel Baumann <mail@daniel-baumann.ch> Mon, 01 Feb 2010 12:48:24 +0100 |
386 | |
387 | aufs-tools (20100101-1) unstable; urgency=low |
388 | |
389 | * Initial release. |
390 | |
391 | - -- Daniel Baumann <daniel.baumann@progress-technologies.net> Sun, 27 Dec 2009 11:14:34 +0100 |
392 | + -- Daniel Baumann <mail@daniel-baumann.ch> Sun, 27 Dec 2009 11:14:34 +0100 |
393 | |
394 | === modified file 'debian/control' |
395 | --- debian/control 2012-12-31 16:52:55 +0000 |
396 | +++ debian/control 2013-05-01 06:49:31 +0000 |
397 | @@ -2,7 +2,8 @@ |
398 | Section: kernel |
399 | Priority: optional |
400 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
401 | -XSBC-Original-Maintainer: Daniel Baumann <daniel.baumann@progress-technologies.net> |
402 | +XSBC-Original-Maintainer: Filesystems Group <filesystems-devel@lists.alioth.debian.org> |
403 | +Uploaders: Luk Claes <luk@debian.org> |
404 | Build-Depends: debhelper (>= 9), linux-libc-dev |
405 | Standards-Version: 3.9.4 |
406 | Homepage: http://aufs.sourceforge.net/ |
407 | |
408 | === modified file 'debian/copyright' |
409 | --- debian/copyright 2012-06-29 03:32:01 +0000 |
410 | +++ debian/copyright 2013-05-01 06:49:31 +0000 |
411 | @@ -4,11 +4,11 @@ |
412 | Source: http://aufs.git.sourceforge.net/git/gitweb.cgi?p=aufs/aufs-util.git |
413 | |
414 | Files: * |
415 | -Copyright: 2005-2012 Junjiro R. Okajima |
416 | +Copyright: 2005-2013 Junjiro R. Okajima |
417 | License: GPL-2+ |
418 | |
419 | Files: debian/* |
420 | -Copyright: 2009-2012 Daniel Baumann <daniel.baumann@progress-technologies.net> |
421 | +Copyright: 2009-2013 Daniel Baumann <mail@daniel-baumann.ch> |
422 | License: GPL-2+ |
423 | |
424 | License: GPL-2+ |
425 | |
426 | === added file 'debian/patches/0001-static.patch' |
427 | --- debian/patches/0001-static.patch 1970-01-01 00:00:00 +0000 |
428 | +++ debian/patches/0001-static.patch 2013-05-01 06:49:31 +0000 |
429 | @@ -0,0 +1,14 @@ |
430 | +Author: Daniel Baumann <mail@daniel-baumann.ch> |
431 | +Description: Don't build static linked binaries. |
432 | + |
433 | +diff -Naurp aufs-tools.orig/Makefile aufs-tools/Makefile |
434 | +--- aufs-tools.orig/Makefile |
435 | ++++ aufs-tools/Makefile |
436 | +@@ -55,7 +55,6 @@ all: ver_test ${Man} ${Bin} ${Etc} |
437 | + ver_test: ver |
438 | + ./ver |
439 | + |
440 | +-${Bin}: LDFLAGS += -static -s |
441 | + ${Bin}: LDLIBS = -L. -lautil |
442 | + ${BinObj}: %.o: %.c ${LibUtilHdr} ${LibUtil} |
443 | + |
444 | |
445 | === added file 'debian/patches/0002-manpage.patch' |
446 | --- debian/patches/0002-manpage.patch 1970-01-01 00:00:00 +0000 |
447 | +++ debian/patches/0002-manpage.patch 2013-05-01 06:49:31 +0000 |
448 | @@ -0,0 +1,26 @@ |
449 | +Author: Daniel Baumann <mail@daniel-baumann.ch> |
450 | +Description: |
451 | + Correcting example syntax, thanks to Dan Greene <dan-greene@wi.rr.com> |
452 | + (Closes: #700111). |
453 | + |
454 | +diff -Naurp aufs-tools.orig/aufs.in.5 aufs-tools/aufs.in.5 |
455 | +--- aufs-tools.orig/aufs.in.5 |
456 | ++++ aufs-tools/aufs.in.5 |
457 | +@@ -1769,7 +1769,7 @@ shows how the options are handled. (assu |
458 | + installed) |
459 | + |
460 | + .nf |
461 | +-# mount -v -t aufs br:/day0:/base none /u |
462 | ++# mount -v -t aufs -o br:/day0:/base none /u |
463 | + none on /u type aufs (rw,xino=/day0/.aufs.xino,br:/day0=rw:/base=ro) |
464 | + # mount -v -o remount,\\ |
465 | + prepend:/day1,\\ |
466 | +@@ -1781,7 +1781,7 @@ none on /u type aufs (rw,xino=/day1/xino |
467 | + .fi |
468 | + |
469 | + .nf |
470 | +-# mount -t aufs br:/rw none /u |
471 | ++# mount -t aufs -o br:/rw none /u |
472 | + # mount -o remount,append:/ro /u |
473 | + different uid/gid/permission, /ro |
474 | + # mount -o remount,del:/ro /u |
475 | |
476 | === added file 'debian/patches/0003-shebang.patch' |
477 | --- debian/patches/0003-shebang.patch 1970-01-01 00:00:00 +0000 |
478 | +++ debian/patches/0003-shebang.patch 2013-05-01 06:49:31 +0000 |
479 | @@ -0,0 +1,27 @@ |
480 | +diff -Naurp aufs-tools.orig/aubrsync aufs-tools/aubrsync |
481 | +--- aufs-tools.orig/aubrsync |
482 | ++++ aufs-tools/aubrsync |
483 | +@@ -1,4 +1,4 @@ |
484 | +-#!/bin/sh |
485 | ++#!/bin/bash |
486 | + |
487 | + # Copyright (C) 2005-2011 Junjiro R. Okajima |
488 | + # |
489 | +diff -Naurp aufs-tools.orig/aubusy aufs-tools/aubusy |
490 | +--- aufs-tools.orig/aubusy |
491 | ++++ aufs-tools/aubusy |
492 | +@@ -1,4 +1,4 @@ |
493 | +-#!/bin/sh |
494 | ++#!/bin/bash |
495 | + |
496 | + # Copyright (C) 2011 Junjiro R. Okajima |
497 | + # |
498 | +diff -Naurp aufs-tools.orig/auchk aufs-tools/auchk |
499 | +--- aufs-tools.orig/auchk |
500 | ++++ aufs-tools/auchk |
501 | +@@ -1,4 +1,4 @@ |
502 | +-#!/bin/sh - |
503 | ++#!/bin/bash |
504 | + |
505 | + # Copyright (C) 2005-2011 Junjiro R. Okajima |
506 | + # |
507 | |
508 | === removed file 'debian/patches/01-static.patch' |
509 | --- debian/patches/01-static.patch 2011-08-28 00:22:02 +0000 |
510 | +++ debian/patches/01-static.patch 1970-01-01 00:00:00 +0000 |
511 | @@ -1,14 +0,0 @@ |
512 | -Author: Daniel Baumann <daniel.baumann@progress-technologies.net> |
513 | -Description: Don't build static linked binaries. |
514 | - |
515 | -diff -Naurp aufs-tools.orig/Makefile aufs-tools/Makefile |
516 | ---- aufs-tools.orig/Makefile 2011-08-28 00:11:10.954083160 +0200 |
517 | -+++ aufs-tools/Makefile 2011-08-28 00:12:41.178530561 +0200 |
518 | -@@ -55,7 +55,6 @@ all: ver_test ${Man} ${Bin} ${Etc} |
519 | - ver_test: ver |
520 | - ./ver |
521 | - |
522 | --${Bin}: LDFLAGS += -static -s |
523 | - ${Bin}: LDLIBS = -L. -lautil |
524 | - ${BinObj}: %.o: %.c ${LibUtilHdr} ${LibUtil} |
525 | - |
526 | |
527 | === modified file 'debian/patches/series' |
528 | --- debian/patches/series 2012-12-31 16:52:55 +0000 |
529 | +++ debian/patches/series 2013-05-01 06:49:31 +0000 |
530 | @@ -1,2 +1,4 @@ |
531 | -01-static.patch |
532 | -fix-ftbfs-with-rc-kernel.patch |
533 | +0001-static.patch |
534 | +0002-manpage.patch |
535 | +0003-shebang.patch |
536 | +fix-ftbfs-with-rc-kernel.patch |
537 | \ No newline at end of file |
538 | |
539 | === modified file 'debian/rules' |
540 | --- debian/rules 2012-06-29 03:32:01 +0000 |
541 | +++ debian/rules 2013-05-01 06:49:31 +0000 |
542 | @@ -7,7 +7,7 @@ |
543 | dh_auto_install -- DESTDIR=$(CURDIR)/debian/aufs-tools |
544 | |
545 | override_dh_builddeb: |
546 | - dh_builddeb -- -Zxz -z9 |
547 | + dh_builddeb -- -Zxz |
548 | |
549 | override_dh_strip: |
550 | dh_strip --dbg-package=aufs-tools-dbg |
551 | |
552 | === modified file 'debian/source/options' |
553 | --- debian/source/options 2012-06-29 03:32:01 +0000 |
554 | +++ debian/source/options 2013-05-01 06:49:31 +0000 |
555 | @@ -1,2 +1,1 @@ |
556 | compression = xz |
557 | -compression-level = 9 |
558 | |
559 | === modified file 'ver.c' |
560 | --- ver.c 2012-12-31 16:52:55 +0000 |
561 | +++ ver.c 2013-05-01 06:49:31 +0000 |
562 | @@ -25,7 +25,7 @@ |
563 | int main(int argc, char *argv[]) |
564 | { |
565 | regex_t preg; |
566 | - const char *pat = "^3\\.[0-9x](-|$)"; |
567 | + const char *pat = "^3\\.[0-9](-|$)"; |
568 | |
569 | if (regcomp(&preg, pat, REG_EXTENDED | REG_NOSUB)) |
570 | AuFin("regcomp"); |
Hi Vibhav,
It fails to build for me on my i386 saucy pbuilder
gpgv: Signature made Wed May 1 08:43:45 2013 UTC using RSA key ID 2E303A1E tools_3. 0+20130111- 3ubuntu1. dsc 3.0+20130111 3.0+20130111. orig.tar. xz 3.0+20130111- 3ubuntu1. debian. tar.xz with-rc- kernel. patch usr/lib/ ccache: /usr/sbin: /usr/bin: /sbin:/ bin" dpkg-buildpackage -us -uc -rfakeroot 3ubuntu1 3.0+20130111 3.0+20130111/ debian/ source/ options: --compression=xz aufs-tools- 3.0+20130111' aufs-tools- 3.0+20130111/ libau' aufs-tools- 3.0+20130111/ libau' aufs-tools- 3.0+20130111' 3.0+20130111 3.0+20130111/ debian/ source/ options: --compression=xz tools_3. 0+20130111. orig.tar. xz 3.0+20130111- 3ubuntu1. debian. tar.xz 3.0+20130111- 3ubuntu1. dsc configure aufs-tools- 3.0+20130111' ssp-buffer- size=4 -Wformat -Werror= format- security -I./libau -O -Wall -D_FORTIFY_SOURCE=2 -DMOUNT_ CMD_PATH= \"\" -Wl,-Bsymbolic- functions -Wl,-z,relro ver.c -o ver linux/aufs_ type.h: 19:34: fatal error: uapi/linux/ aufs_type. h: No such file or directory aufs_type. h>
^ aufs-tools- 3.0+20130111'
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./aufs-
dpkg-source: info: extracting aufs-tools in aufs-tools-
dpkg-source: info: unpacking aufs-tools_
dpkg-source: info: unpacking aufs-tools_
dpkg-source: info: applying fix-ftbfs-
dpkg-source: info: applying 0001-static.patch
dpkg-source: info: applying 0002-manpage.patch
dpkg-source: info: applying 0003-shebang.patch
I: Building the package
I: Running cd tmp/buildd/*/ && env PATH="/
dpkg-buildpackage: source package aufs-tools
dpkg-buildpackage: source version 1:3.0+20130111-
dpkg-buildpackage: source changed by Vibhav Pant <email address hidden>
dpkg-buildpackage: host architecture i386
dpkg-source --before-build aufs-tools-
dpkg-source: info: using options from aufs-tools-
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
make[1]: Entering directory `/tmp/buildd/
rm -f aufs.5 auibusy auplink mount.aufs umount.aufs etc_default_aufs libautil.a libau.so* *~
rm -f auibusy.o auplink.o mount.aufs.o umount.aufs.o proc_mnt.o br.o plink.o mtab.o
make -C libau clean
make[2]: Entering directory `/tmp/buildd/
rm -f libau.so libau.so.* libau.o rdu_lib.o rdu.o rdu64.o pathconf.o *~
test -L rdu64.c && rm -f rdu64.c || :
make[2]: Leaving directory `/tmp/buildd/
make[1]: Leaving directory `/tmp/buildd/
dh_clean
dpkg-source -b aufs-tools-
dpkg-source: info: using options from aufs-tools-
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building aufs-tools using existing ./aufs-
dpkg-source: info: building aufs-tools in aufs-tools_
dpkg-source: info: building aufs-tools in aufs-tools_
debian/rules build
dh build
dh_testdir
dh_auto_
dh_auto_build
make[1]: Entering directory `/tmp/buildd/
cc -g -O2 -fstack-protector --param=
In file included from ver.c:19:0:
/usr/include/
#include <uapi/linux/
compilation terminated.
make[1]: *** [ver] Error 1
make[1]: Leaving directory `/tmp/buildd/
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /var/cache/pbu...