Giter Site home page Giter Site logo

hntool's People

Contributors

arthurassuncao avatar coreb1t avatar dogoncouch avatar garrocho avatar hdoria avatar matheussl avatar skateforever avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hntool's Issues

Test only one requirement

Return true if only one file is valid.

def requirements_met(pfile):
'''This method should check if all the requirements (files)
are met (one or more files can be found on the system)'''

for f in pfile:
    if os.path.isfile(f):
        return True  # <---------------------

return False

setup.py with --prefix option: module not found errors (Debian-based distros)

The recommended install method:
python setup.py install --prefix /usr/ --root /
Installs packages to /usr/lib/pythonx.x/site-packages. Debian (and its derivatives) stopped putting site-packages in their sys.path, and now uses dist-packages instead, so you'll get module not found errors for all of the required modules. the --prefix option overrides Debian's default path for installing modules.

Running setup.py like this works fine:
python setup.py install

incorrect-fsf-address

Due https://fedoraproject.org/wiki/Common_Rpmlint_issues#incorrect-fsf-address I need to tell upstream that hntool should fix this issue.

List of afftected files:
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/apache.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/remote.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/ssh.py
hntool.noarch: E: incorrect-fsf-address /usr/share/doc/hntool/LICENSE
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/util.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/ports.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/vsftpd.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/init.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/postgresql.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/proftpd.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/php.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/filesystems.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/authentication.py
hntool.noarch: E: incorrect-fsf-address /usr/bin/hntool
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/system-wide.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/output/terminal.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/core.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/output/init.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/output/html.py
hntool.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/HnTool/modules/rule.py

Another question, I'm maintaining hntool package in Fedora, but upstream looks dead, do you have plans to keep hntool development or should I retire it from Fedora?
Thanks,

Filipe R.

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.