Date: Wed, 11 Jan 2012 05:29:29 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Da Rock <freebsd-ports@herveybayaustralia.com.au> Cc: freebsd-ports@freebsd.org Subject: Re: linux-f10-nss_ldap: my first port - be gentle :) Message-ID: <20120111052929.0000403a@unknown> In-Reply-To: <4F0CDB99.1010403@herveybayaustralia.com.au> References: <4F0446B7.4090703@herveybayaustralia.com.au> <20120104142757.1c77c347@ernst.jennejohn.org> <4F04E648.9090206@herveybayaustralia.com.au> <20120105121825.656677e4@ernst.jennejohn.org> <20120106221610.00005fbe@unknown> <CADLo83-YUtUgAw_r2QNpB2mPxbvPfV0vCRMih-ncAQBCWj73LQ@mail.gmail.com> <20120108160316.00003d59@unknown> <4F0A8164.9090502@herveybayaustralia.com.au> <20120110221115.00007dc1@unknown> <4F0CDB99.1010403@herveybayaustralia.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 11 Jan 2012 10:45:13 +1000 Da Rock <freebsd-ports@herveybayaustralia.com.au> wrote: > On 01/11/12 07:11, Alexander Leidinger wrote: > > On Mon, 09 Jan 2012 15:55:48 +1000 Da Rock > > <freebsd-ports@herveybayaustralia.com.au> wrote: > >> CATEGORIES= net linux > >> MASTER_SITES= > >> ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/updates/testing/10/i386/ > >> \ > >> > >> http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/10/Everything/i386/os/Packages/ > >> \ > >> http://herveybayaustralia.com.au/ports/distfiles/ > > I can't remember if we have the fedora archives in bsd.sites.mk (if > > not, it would be worth to add it), and I'm too lazy ATM to search > > for it. If we have them (and they are OK), it would be better to > > use the bsd.sites.mk shortcodes for them. This would change > > automatically the master sites for this port if they are > > changed/improved in bsd.sites.mk. > I'm not 100% sure about the fedora archives, but I don't think > they're exactly right. I keep getting (in most linux ports) a hunt > through the MASTER_SITES for the file, starting with the archives. > > The other pbone.net is definitely not in the sites list. I did check > that file thoroughly using grep and by manual sighting. If it is an official mirror, we should maybe add it to bsd.sites.mk. > One thing to note though is that when I tried with MASTER_SITES set > to the FEDORA_LINUX set it failed to find the files. Also the files I > need are only on pbone.net- they are more recent than the original. > Or can I set the rpm version to "float" a bit? If they are only available on pbone, there's no need to include the archives. Keep the rpm version stable. It's the right thing to do, and making it dynamic looks a little bit hard as a first port IMO. > >> LINUX_DIST_VER= 10 > >> RPMVERSION= 6.fc10 > >> USE_LDCONFIG= yes > >> > >> PLIST_FILES= usr/lib/libnss_ldap.so.2 usr/lib/libnss_ldap.so > >> usr/lib/libnss_ldap-264.so > >> DOCSDIR= > >> ${PREFIX}/usr/share/doc/${PKGNAMEPREFIX}-${PORTNAME}-${PORTVERSION} > >> PORTDOCS= COPYING NEWS README THANKS TODO > >> DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr > >> > >> post-extract: > >> .if !defined(WITH_PAM) The .if (and .else / .endif) needs to start at the first character of the line. As soon as you indent it, it will be executed as a shell command. > Only one more thing: do I need USE_LDCONFIG? Yes, for usr/lib/libnss_* it is needed. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120111052929.0000403a>