Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support FreeBSD #34

Closed
sheo0147 opened this issue Apr 19, 2016 · 11 comments
Closed

Support FreeBSD #34

sheo0147 opened this issue Apr 19, 2016 · 11 comments

Comments

@sheo0147
Copy link

I installed go and vuls to FreeBSD 10.3/go-1.6.1 and it running now.

Does vuls supports FreeBSD vulnerability check?

  • pkg audit -F tells installed packages' vulnerability informations.

Thank you to publish good tool.

@justyntemme
Copy link
Contributor

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.

@sheo0147
Copy link
Author

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...)

@justyntemme
Copy link
Contributor

justyntemme commented May 16, 2016

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.

@sheo0147
Copy link
Author

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' .

@kotakanbe
Copy link
Member

kotakanbe commented May 17, 2016

@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 :)

@justyntemme
Copy link
Contributor

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.

@kotakanbe
Copy link
Member

@sheo0147
Copy link
Author

sheo0147 commented Jun 1, 2016

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.

@justyntemme
Copy link
Contributor

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

@kotakanbe
Copy link
Member

kotakanbe commented Jun 14, 2016

see also #98

@kotakanbe
Copy link
Member

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

@kotakanbe kotakanbe changed the title vuls is running on FreeBSD 10.3 and go 1.6.1 Support FreeBSD Sep 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants