... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Sat Apr 3 21:05:35 EEST 2010 (edwin) |
|
2 |
+------------------------------------- |
|
3 |
+ * contrib/split-tarball.sh: update to work with 0.96 |
|
4 |
+ |
|
1 | 5 |
Sat Apr 3 20:30:39 EEST 2010 (edwin) |
2 | 6 |
------------------------------------- |
3 | 7 |
* libclamav/Makefile.{am,in}: Fix unit test failure with non-English locale (bb #1922) |
... | ... |
@@ -32,15 +32,26 @@ mv libclamunrar $UNRARDIR |
32 | 32 |
cp -R m4/ $UNRARDIR |
33 | 33 |
cp -R config/ $UNRARDIR |
34 | 34 |
cp configure.in $UNRARDIR |
35 |
+cp platform.h.in $UNRARDIR |
|
35 | 36 |
cp COPYING{,.unrar,.LGPL} $UNRARDIR |
36 | 37 |
cd ../ |
37 | 38 |
tar -czf $DFSGPKG clamav-$2+dfsg/ |
38 | 39 |
cd $UNRARDIR |
39 | 40 |
echo "Preparing unrar package" |
41 |
+# The sed sorcery below makes sure that the AC_OUTPUT in the unrar package looks |
|
42 |
+# like: |
|
43 |
+# AC_OUTPUT([ |
|
44 |
+# libclamunrar_iface/Makefile |
|
45 |
+# Makefile |
|
46 |
+# platform.h |
|
47 |
+# ]) |
|
48 |
+# It also removes ltdl, and renames the AC_CONFIG_SRCDIR parameter to an |
|
49 |
+# existing file. |
|
40 | 50 |
sed -i '/AC_OUTPUT/,/])/ { |
41 |
-/^AC_OUTPUT/p |
|
42 |
-s/^libclamav\/Makefile/libclamunrar_iface\/Makefile/p |
|
51 |
+/^AC_OUTPUT(\[$/p |
|
52 |
+s/^clamscan\/Makefile/libclamunrar_iface\/Makefile/p |
|
43 | 53 |
/^Makefile/p |
54 |
+/^platform.h/p |
|
44 | 55 |
/^])/p |
45 | 56 |
d |
46 | 57 |
} |