linux-f10-nss_ldap: my first port - be gentle :)

Da Rock freebsd-ports at
Sat Jan 7 02:51:21 UTC 2012

Ok, clean slate. Lets start afresh :)

First I need a way to test properly. Alex, you mention I need a ports 
tree on the machine, and then you say to create a directory somewhere 
and put Makefile in it and run make (as root). Does the directory need 
to be in the ports tree then?

The rpm files extracted: is there anyway to distinguish which files are 
copied or is it simply put into LINUXBASE wholesale? I ask because the 
rpm in question contains pam libraries which are unneeded obviously as 
authentication is done by the "host"? system. I believe this could 
represent a bit of a security risk, but I suppose one could setup an 
option if wanted.
And how does this affect PLIST?

And by running make a port is normally built in the port's directory. In 
the case of a linux port it is only downloaded into the distfiles/. Is 
it extracted during make or make install though? I couldn't quite 
determine that categorically.

I've also changed the Makefile to use instead of

I have setup a pkg-descr file to be put in the directory.

Chris, you're right about the license situation. I nearly fell for it: 
ass-u-me... :)

Hosting: I downloaded the rpm myself (including srpm), and I can host 
them and maybe arrange for them to be hosted elsewhere as well. Can I 
use MASTER_SITES to append/prepend? I also have to untangle the web of 
how to determine which file to download - argh hem! Sorry, fetch ;)

if the linux-f10 base ports are obtained from the Fedora sites, then 
what happens if f10 rpms are no longer available there?

And finally checksums: I create a checksum for the port, the linux sites 
have checksums, and I was advised in passing to check the checksums 
match. The checksums are going to differ aren't they? Linux and BSD 
checksums wouldn't be the same, surely?

I'll keep at it in the meantime... :)

More information about the freebsd-ports mailing list