Git Product home page Git Product logo

moko_phone_firewall's Introduction

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

moko_phone_firewall's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

networld-to

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.