Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jan 2012 12:46:54 +1000
From:      Da Rock <freebsd-ports@herveybayaustralia.com.au>
To:        freebsd-ports@freebsd.org
Subject:   Re: linux-f10-nss_ldap: my first port - be gentle :)
Message-ID:  <4F07B21E.3070607@herveybayaustralia.com.au>
In-Reply-To: <20120106224635.000034e3@unknown>
References:  <4F0446B7.4090703@herveybayaustralia.com.au> <20120104142757.1c77c347@ernst.jennejohn.org> <4F04E648.9090206@herveybayaustralia.com.au> <20120106224635.000034e3@unknown>

next in thread | previous in thread | raw e-mail | index | archive | help
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 bsd.linux-rpm.mk instead of 
bsd.port.mk.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F07B21E.3070607>