obale / moko_phone_firewall Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
PHONE FIREWALL README ===================== Informations ============ The Phone Firewall is a library which allows you to block telephone calls from numbers which you don't like (also possible with SMS). You can also accept only a few numbers and block the others. To realize this we use a blacklist (all blocked numbers) and a whitelist (all accepted numbers). The sourcecode and all other files which are related to the project (and other projects) you can find here [4]. If you want know more about our project see [3], here you find all important informations. Maintainer ========== Please add your name here when you are also a developer which works on the project. Please add you in an alphabetical order (by firstname). N: Your Name E: <Your E-Mail> S: Your status in the project W: Your website N: Alex Oberhauser E: <[email protected]> S: Project Leader & Core Maintainer W: http://devnull.networld.to N: Andreas Villscheider E: <[email protected]> S: Quality Manager Quickstart ========== Download our modified toolchain from [5], then you can use the "./run.sh" script. If something goes wrong you find under log/ the detailed output of the compile process. Starting ======== To compile the source code you need to have installed the toolchain for the OpenMoko framework ([1] (i686) and [2] (x86_64)), you need also the CUnit framework for the testing (tested with CUnit 2.1). If you have installed the toolchain into the standart path you can execute the script "env-export" with the command and after that compile all: ATTETNTION: To compile the library for the OpenMoko you will need the toolchain [5], with sqlite3 libraries included. $ . env-export $ make $ bin_test/testphonefirwall # Start the program from the root direcotry (where the Makefile is), so that the program can save the blacklist/whitelist in the "db" directory. If you want compile only special parts use: $ make doc # Compiles only the documentation. $ make test # Compiles only the test suite. $ make libphonefirewall.so # Compiles only the library for the ARM # architecture. $ make pf_daemon # Compiles the daemon. Tip for development =================== If you want to develop seriously we recommend to use the following git pre-commit script. So every time you commit your changes, the CUnit tests will be started. If the tests fails no commit is possible. user $ rm .git/hooks/pre-commit user $ cat > .git/hooks/pre-commit << EOF start_cunit_tests() { make clean &> /dev/null; make &> /dev/null; . env-export; ./bin_test/phonefirewall_x86; ret=\$? make clean &> /dev/null; return \$ret; } start_cunit_tests; EOF user $ chmod +x .git/hooks/pre-commit Troubleshouting =============== If the compiling fails or the test suite doesn't work check the Makefile if all paths to the programs are correct. If they are and you have installed all stuff you need to run and compile the software contact one of the maintainer. Links ===== [1]-http://downloads.openmoko.org/toolchains/openmoko-i686-arm-linux-gnueabi-toolchain.tar.bz2 [2]-http://downloads.openmoko.org/toolchains/openmoko-x86_64-arm-linux-gnueabi-toolchain.tar.bz2 [3]-http://moksec.networld.to [4]-http://moko.networld.to [5]-http://moksec.networld.to/sources/toolchain-i686-arm-linux-gnueabi-toolchain-with-sqlite3.tar.gz
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.