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

Chad Perrin code at apotheon.net
Thu Jan 5 02:09:10 UTC 2012


On Thu, Jan 05, 2012 at 09:53:25AM +1000, Da Rock wrote:
> On 01/05/12 01:41, Chad Perrin wrote:
> >On Wed, Jan 04, 2012 at 02:27:57PM +0100, Gary Jennejohn wrote:
> >>On Wed, 04 Jan 2012 22:31:51 +1000 Da Rock
> >><freebsd-ports at herveybayaustralia.com.au>  wrote:
> >>>I was advised to copy the essential parts from a similar port, so I've
> >>>used archivers/linux-f10-ucl. This is my Makefile:
> >[snip]
> >
> >>Doesn't pass portlint.
> >>
> >>Can't fetch the RPM file.
> >>
> >>Otherwise, a pretty good start.
> >It also lacks license information.
> >
> How do I set that? Its linux so its GPL.

This is an example from /usr/ports/x11/xsel-conrad/Makefile:

    LICENSE=        xsel-conrad
    LICENSE_GROUPS= COPYFREE
    LICENSE_NAME=   xsel-conrad license
    LICENSE_FILE=   ${WRKSRC}/COPYING
    LICENSE_PERMS=  auto-accept dist-mirror dist-sell pkg-mirror pkg-sell

I'm not sure it's perfect port maintainer Makefile practice, but it
works, and it's a lot better than no license information at all in my
opinion.  I'd suggest checking that Makefile to see where in the Makefile
to put it.

. . . and if anyone who is more knowledgeable about this stuff than I am
sees something wrong with that Makefile, please let me know.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


More information about the freebsd-ports mailing list