FreshPorts / freshports

The website part of FreshPorts
http://www.freshports.org/
BSD 2-Clause "Simplified" License
69 stars 24 forks source link

add new symbol that shows port includes precompiled binary #104

Open cruftie opened 5 years ago

cruftie commented 5 years ago

Would it be possible to do and maybe include a link to a brief explanation of the security implications of running such a port.

Much appreciate the good work you're doing.

dlangille commented 5 years ago

First step: create a script to identify such ports.

cruftie commented 5 years ago

I'll give that some thought as time allows.

What I was actually looking forward to was designing the image/icon for it.

I think in the glory days of Hollywood schlock/horror, 'blobs' were always considered as being green. I think with my almost non-existent Gimp skillz, I might just manage a green blob!

dlangille commented 5 years ago

Ask around, on freebsd-ports mailing list etc, see what you can find.

Or if you know a port with such a feature, look in the Makefile (there's a link to the subversion repo on every port page).

dlangille commented 4 years ago

@cruftie how do we know if a port uses a precompiled binary?

dlangille commented 4 years ago

re https://twitter.com/DLangille/status/1295033552740986881

The closest I can think of is extracting (not building) the dist file and seeing if any of the files are included in the built package.

i.e. an intersection between the tarball contents and pkg-plist

LICENSE comes to mind, README.txt.

That might get confusing for packages which are not built, e.g. scripts only, e.g. PHP, perl, shell scripts

You can then apply file to the results to find executables. Or objects, or libraries. Or maybe just filter out text files.

dlangille commented 3 years ago

@cruftie Do you know of such a port please? A good place to start is knowing a port which installs a precompiled binary file.

dlangille commented 1 year ago

@cruftie ping

dlangille commented 1 year ago

@cruftie please come back. ;)