Git Product home page Git Product logo

Comments (10)

cejkato2 avatar cejkato2 commented on July 16, 2024 1

Localhost, Fedora28.
Something like:

git clone ... && cd ... && ./bootstrap.sh && ./configure -q && make rpm

from nemea-modules.

jaroslavh avatar jaroslavh commented on July 16, 2024

I have made a script that does that. Does this apply to all files? If yes, just tell me and I will push the fix.

from nemea-modules.

jaroslavh avatar jaroslavh commented on July 16, 2024

You can see the changes here.

https://github.com/jaroslavh/Nemea-Modules/commit/cf87c84bc69bbacd8dcbcba7bc6264c514d9873d

I have no way to test it other than creating a pull request.

from nemea-modules.

cejkato2 avatar cejkato2 commented on July 16, 2024

I've tested your commit and got the following output. That means I described the problem in a bad way - sorry.

*** WARNING: ./usr/lib64/liburfilter.la is executable but has empty or no shebang, removing executable bit
mangling shebang in /usr/bin/nemea/unirec2json.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/idea2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/minerdetector2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/amplification2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/sipbf2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/haddrscan2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/bruteforce2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/ddos_detector2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/dnstunnel2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/voipfraud2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/vportscan2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/venom2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/urlblacklist2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/ipblacklist2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/hoststats2idea.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/json_replay.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/json_dump.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/svm-tools/trans_class.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/svm-tools/subset.py from /usr/bin/env python2 to #!/usr/bin/python2
*** WARNING: ./usr/bin/nemea/svm-tools/subr.py is executable but has empty or no shebang, removing executable bit
mangling shebang in /usr/bin/nemea/svm-tools/measure.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/svm-tools/checkdata.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/svm-tools/grid.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/svm-tools/easy.py from /usr/bin/env python2 to #!/usr/bin/python2
mangling shebang in /usr/bin/nemea/svm-tools/binary.py from /usr/bin/env python2 to #!/usr/bin/python2
Processing files: nemea-modules-2.8.1-1.x86_64

from nemea-modules.

jaroslavh avatar jaroslavh commented on July 16, 2024

Where and how did you test it? I tried to recreate this message and cannot get it.

from nemea-modules.

jaroslavh avatar jaroslavh commented on July 16, 2024

I have tried make distcheck make rpm on our test collector and it works fine without any errors or warning.

from nemea-modules.

cejkato2 avatar cejkato2 commented on July 16, 2024

from nemea-modules.

jaroslavh avatar jaroslavh commented on July 16, 2024

What should we do next then? Rewrite those scripts to python3?

from nemea-modules.

jaroslavh avatar jaroslavh commented on July 16, 2024

Changed the location of fixed scripts to https://github.com/jaroslavh/Nemea-Modules/commit/cf87c84bc69bbacd8dcbcba7bc6264c514d9873d so please use git pull first - made some not so nice "git magic" in my fork.

from nemea-modules.

cejkato2 avatar cejkato2 commented on July 16, 2024

This was solved already.

from nemea-modules.

Related Issues (20)

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.