Comments (7)
FYI, found a gentoo tool to generate the full list:
https://github.com/williamh/get-ego-vendor
The problem solve ;-)
from nmap.
If you are curious about why go modules have multiple versions, I recommend taking a look at https://blog.golang.org/using-go-modules :)
from nmap.
Also, there are different calls. The release tar.gz file has "github.com/ullaakut/cameradar" structure (low case),
however the package called "github.com/Ullaakut/cameradar"
from nmap.
Hi @blshkv !
I'm not sure what the issue is that you are pointing out by linking the go module and the import of the osfamilies package from xml.go
? It is normal that there isn't a specific go module for the osfamilies
package. It is a package that is part of the github.com/Ullaakut/nmap/v2
, as expected.
I don't really understand why your compilation fails. On my end, running go get github.com/Ullaakut/nmap/v2/pkg/osfamilies
works just fine, and so does building Cameradar both manually and in Docker.
- Which version of go are you using? Are go modules enabled?
- Did you use
go get
/go mod
to fetch your dependencies, or did you manually download and extract the tar.gz archive? I am pretty sure that using the archive is not going to work. - Where do you expect the package to be fetched from? Can you show me what it contains?
Removing the go module versions would be a huge breaking change and make most users upset, and creating folders named v2
and v5
would also be problematic, as it would conflict with the go module path, so it's not the right solution.
from nmap.
I'm using dev-lang/go-1.16.2, modules are enabled and manually downloaded .tar.gz. It works for any other tools just fine.
It also works fine if I create these symlinks.
Sorry, I'm not a "go" expert. I'm just trying to follow the existing Gentoo API (eclass). But I find these v2 and v5 are very confusing and not consistent with the rest of the packages.
from nmap.
Ah, so the way those versions work in modern Go (>1.13) is that there are now modules, which can be versioned, and contain one or more packages. Unfortunately, while this makes version control of multiple dependencies very neat for Go developers, it also means you can no longer just rely on the file system and use the tarballs from GitHub releases.
What you'll need to do if you want to properly download your dependencies is to run go mod download
or go mod vendor
.
Let me know if you need more details, but without more context on your build it's difficult to pinpoint you to the exact right direction 😅
from nmap.
There is a new 'go-modules' Gentoo eclass, but the list of dependencies is much longer.
Some modules need to have multiple versions for no real reason. This is crazy.
Ok, nevermind. I'll just symlink whatever I need ;-)
from nmap.
Related Issues (20)
- RunWithProgress goes from 100% to 0% and back again HOT 2
- Still timing out after 5 minutes HOT 2
- RunAsync lost s.cmd.Wait() ? HOT 1
- How should I get the json output of the Run HOT 4
- How i use this in windows10 , i have go build , but can't user, please tell me, thank you ! HOT 2
- Run the nmap scanned with custom arguments HOT 3
- Run nmap without runtime interaction HOT 6
- If the service recognises that there is a "?", how to deal with it? HOT 4
- Memory Usage is too high when using Progress(...) HOT 6
- XML to JSON support HOT 1
- The basic_scan_async demo cannot output the results in real time on the console HOT 3
- unable to create nmap scanner: nmap binary was not found HOT 2
- How we can do the OS scan with root privileges HOT 2
- unable to parse nmap output, see warnings for details: XML syntax error on line 7: unexpected EOF HOT 12
- nmap.WithOSDetection() HOT 1
- what's the equivalent of `-n` and `--defeat-rst-ratelimit` flag? HOT 1
- Example should be updated
- Error running scan: exit status 1 HOT 1
- when I run the code whit WithScripts hava warning HOT 1
- Memory Usage is too high HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nmap.