update AFWall to 1.2.6 (32)

This commit is contained in:
David Black 2013-08-11 11:37:00 +01:00
parent c18af58675
commit b9c88dffc2

View file

@ -9,7 +9,6 @@ Summary:Control network traffic
Description: Description:
Firewall (iptables frontend), based on DroidWall which is no longer being Firewall (iptables frontend), based on DroidWall which is no longer being
developed. developed.
* Supports ICS/JB 4.2.2
* Import/Export Rules to external storage * Import/Export Rules to external storage
* Search Applications * Search Applications
* Multiple profiles with custom names * Multiple profiles with custom names
@ -106,6 +105,32 @@ mv busybox ../../res/raw/busybox_g1 && cd ../iptables && python extensions/fixin
$$NDK$$/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk && \ $$NDK$$/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk && \
mv libs/armeabi/iptables ../../res/raw/iptables_armv5 mv libs/armeabi/iptables ../../res/raw/iptables_armv5
Build Version:1.2.6,132,v1.2.6,\
srclibs=ActionBarSherlock@4.2.0;LockPattern@1c1307;iptables@android-4.2.2_r1,\
extlibs=android/android-support-v4.jar;afwall.patch,\
prebuild=rm -rf external/iptables/* && cp -r $$iptables$$/* external/iptables/ && \
mv libs/afwall.patch . && \
tr -d '\r' < AndroidManifest.xml > output.file && mv output.file AndroidManifest.xml && \
touch external/iptables/extensions/fixinit.py && git apply afwall.patch && \
cd external/busybox/ && tar -jxf busybox-1.21.1.tar.bz2 && \
cd busybox-1.21.1/ && patch -p1 < ../022-ipv6.patch && \
cp ../defconfig .config && cd ../../../ && \
rm res/raw/busybox_g2 res/raw/iptables_armv5 res/raw/nflog \
external/busybox/busybox-1.21.1.tar.bz2 && \
mv libs/android-support-v4.jar $$ActionBarSherlock$$/libs/ && \
sed -i 's@\(.1=\).*@\1$$ActionBarSherlock$$@' project.properties && \
sed -i 's@\(.2=\).*@\1$$LockPattern$$@' project.properties,\
build=export PATH=$$NDK$$/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin:$PATH && \
cd external/busybox/busybox-1.21.1/ && \
make CONFIG_SYSROOT="$$NDK$$/platforms/android-9/arch-arm" ARCH=arm ANDROID_NDK=$$NDK$$ && \
mv busybox ../../../res/raw/busybox_g2 && \
cd ../../iptables && python extensions/fixinit.py && cd ../../ && \
$$NDK$$/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=external/iptables/Android.mk && \
mv libs/armeabi/iptables res/raw/iptables_armv5 && \
$$NDK$$/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=external/nflog/Android.mk && \
mv libs/armeabi/nflog res/raw/
# iptables patch doesn't work with ndk-r9 (even with legacy toolchains)!
Auto Update Mode:None Auto Update Mode:None
Update Check Mode:Tags Update Check Mode:Tags
Current Version:1.2.6 Current Version:1.2.6