Giter VIP home page Giter VIP logo

Comments (11)

justyntemme avatar justyntemme commented on August 16, 2024

Would it be better to copy linux.go and re-format it for BSD and include the package check? Or just appended it to linux.go if def style? looking to fix this for fun today, just not sure the best way to go about it.

from vuls.

sheo0147 avatar sheo0147 commented on August 16, 2024

I think vuls can support many package distribution systems like yum/RPM, apt, and so on.

I want to add some pkg platforms like followings.
FreeBSD: pkg
OS-X: HomeBrew
and
pkgsrc (mainly used by NetBSD but can use Solaris/Linux/BSD/AIX...)

from vuls.

justyntemme avatar justyntemme commented on August 16, 2024

So maybe a new file specifically providing functions for package managers? I would start hacking away but i wan't to make sure my goals are aligned with the repo owners.

from vuls.

sheo0147 avatar sheo0147 commented on August 16, 2024

For example,.
HomeBrew can get installed package version using ' brew ls --versions '
FreeBSD/pkg system can get installed package version using ' pkg version ' or ' pkg info '
and shows package audit information using 'pkg audit -F' .

from vuls.

kotakanbe avatar kotakanbe commented on August 16, 2024

@justyntemme
Sorry for late reply. I am repo owner.

Current Structure is

  • linux.go
    • redhat.go
    • debian.go

linux is a base struct. I was considered to define common functions of debian / redhat to linux. But now, common functions related linux archicture is none :)

So I am going to change the name of linux.go to something good name.
Please add freebsd.go under linux.go for now.

  • linux.go
    • redhat.go
    • debian.go
    • freebsd.go

I don't know so much about FreeBSD and I don't have FreeBSD machine now.
The structure may be changed after your hacking or pull request :)

from vuls.

justyntemme avatar justyntemme commented on August 16, 2024

I have a little bit of experience in BSD. I spinning up a VM and will get to work. plan to go as described all in linux.go if things work as planned. Don't see any reason why it wouldn'tB.

from vuls.

kotakanbe avatar kotakanbe commented on August 16, 2024

@justyntemme are working.
https://github.com/justyntemme/vuls

from vuls.

sheo0147 avatar sheo0147 commented on August 16, 2024

Sorry for late reply.
I think linkx.go will rename to target_common.go, so looks clean of hierarchical structure.

sorry for my poor english.

from vuls.

justyntemme avatar justyntemme commented on August 16, 2024

I have renamed linux.go to target_common.go in my fork. Progress is slow but feature is on it's way.

from vuls.

kotakanbe avatar kotakanbe commented on August 16, 2024

see also #98

from vuls.

kotakanbe avatar kotakanbe commented on August 16, 2024

FreeBSD support was implemented.
The remaining of FreeBSD is Jail(container) Support.
Jail support is working on #102

from vuls.

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.