CIRCL / AIL-framework

AIL framework - Analysis Information Leak framework. Project moved to https://github.com/ail-project
https://github.com/ail-project/ail-framework
GNU Affero General Public License v3.0
1.3k stars 282 forks source link

setup gentoo #246

Open necrose99 opened 6 years ago

necrose99 commented 6 years ago

Gentoo sandbox wont like the current.. if its pure python , setup.py etc works..

as well pip for Gentoo , users can use pip ie /home/test-something-user ... however as for globals each python dep is built from source and installed. root can use as root user but not as globals..

as well setup.py can handle deps. for gentoo Ebuild can add each python dep in.

only installing_deps.sh # Faup and lower are not packaged.. rest of python deps are packaged.

https://gpo.zugaina.org/ main gentoo packages / overlays combined search tool.

installing_deps.sh Gentoo defaults to python 3.6

sudo apt-get install python3-pip python-virtualenv python3-dev libfreetype6-dev \
    screen g++ python-tk unzip libsnappy-dev cmake -y
force dev-lang python 3.6 to build with tk support. ensure g++ etc built with gcc etc.

USE="tk objc++ objc " Emerge -v sys-devel/gcc dev-python/pip dev-python/virtualenv media-libs/freetype app-misc/screen =dev-lang/python-3.6.6 dev-util/cmake app-arch/unzip app-arch/snappy

emerge -v app-arch/p7zip dev-libs/libffi sys-devel/autoconf dev-python/python-ssdeep dev-python/graphviz dev-python/pygraphviz dev-libs/boost-numpy net-vpn/tor net-libs/adns dev-libs/libev dev-libs/gmp dev-db/redis

pip3_packages_requirement.txt (ssdeep solved above..) pymisp thehive4py pubsublogger? asciimatics sflock no packaged. https://github.com/trolldbois/python3-adns/ likewsie not packaged. more current than google code... https://github.com/adulau/DomainClassifier easily packageable...

# virtual/python-ipaddress py2/3 to build dev-python/ipaddress for both.

emerge -v dev-python/redis-py dev-python/crcmod dev-python/mmh3 dev-python/pyzmq dev-python/langid virtual/python-dnspython dev-python/logbook dev-python/nltk dev-python/python-levenshtein dev-python/matplotlib dev-python/colorama dev-python/asciitable dev-python/networkx dev-python/terminaltables dev-python/ipython dev-python/flask dev-python/Whoosh dev-python/pycountry virtual/python-ipaddress dev-python/PySocks

mokaddem commented 6 years ago

Hello, To be honest, I'm a bit confused. In the end, did you succeed to install AIL? If yes, could you open a pull request with your changes? Thanks