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

2012-01-12 Thread Da Rock
On 01/12/12 17:54, Matthew Seaman wrote: On 12/01/2012 06:44, Da Rock wrote: I have a Makefile, pkg-desc, pkg-plist, pkg-message, distinfo. I also have the files hosted and the MASTER_FILES set to include the linux sites (just where the files are located). I am looking for a backup site to all

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

2012-01-12 Thread Chris Rees
On 12 January 2012 12:26, Da Rock freebsd-po...@herveybayaustralia.com.au wrote: On 01/12/12 17:54, Matthew Seaman wrote: On 12/01/2012 06:44, Da Rock wrote: I have a Makefile, pkg-desc, pkg-plist, pkg-message, distinfo. I also have the files hosted and the MASTER_FILES set to include the

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

2012-01-12 Thread Da Rock
On 01/13/12 04:19, Chris Rees wrote: On 12 January 2012 12:26, Da Rock freebsd-po...@herveybayaustralia.com.au wrote: On 01/12/12 17:54, Matthew Seaman wrote: On 12/01/2012 06:44, Da Rock wrote: I have a Makefile, pkg-desc, pkg-plist, pkg-message, distinfo. I also have the files hosted and

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

2012-01-11 Thread Paul Schmehl
--On January 11, 2012 10:44:11 AM +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: My last problem is with the define knobs. I have an .if defined(WITH_PAM) .else ... .endif statement, but it keeps giving me trouble. I can't quite figure what I've got wrong. The statement looks like

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

2012-01-11 Thread Eitan Adler
On Wed, Jan 11, 2012 at 10:37 AM, Paul Schmehl pschmehl_li...@tx.rr.com wrote: --On January 11, 2012 10:44:11 AM +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: My last problem is with the define knobs. I have an .if defined(WITH_PAM) .else ... .endif statement, but it keeps

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

2012-01-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/11/12 11:10 AM, Eitan Adler wrote: On Wed, Jan 11, 2012 at 10:37 AM, Paul Schmehl pschmehl_li...@tx.rr.com wrote: --On January 11, 2012 10:44:11 AM +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: My last problem is with the

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

2012-01-11 Thread Matthew Seaman
On 11/01/2012 16:10, Eitan Adler wrote: post-extract: .if defined(WITH_PAM) PLIST_FILES+=lib/security/pam_ldap.so .else @if [ -f ${WRKDIR}/lib/security/pam_ldap.so ]; then \ ${RM}

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

2012-01-11 Thread Da Rock
On 01/12/12 02:23, Matthew Seaman wrote: On 11/01/2012 16:10, Eitan Adler wrote: post-extract: .if defined(WITH_PAM) PLIST_FILES+=lib/security/pam_ldap.so .else @if [ -f ${WRKDIR}/lib/security/pam_ldap.so ]; then \

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

2012-01-11 Thread Matthew Seaman
On 12/01/2012 06:44, Da Rock wrote: I have a Makefile, pkg-desc, pkg-plist, pkg-message, distinfo. I also have the files hosted and the MASTER_FILES set to include the linux sites (just where the files are located). I am looking for a backup site to all that IF I can twist someones arm? I

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

2012-01-10 Thread Alexander Leidinger
On Mon, 09 Jan 2012 15:55:48 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: Now my Makefile looks like this: # New ports collection makefile for:linux-f10-nss_ldap # Date created: 2012-01-04 # Whom: da porta

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

2012-01-10 Thread Paul Schmehl
--On January 10, 2012 10:11:15 PM +0100 Alexander Leidinger alexan...@leidinger.net wrote: On Mon, 09 Jan 2012 15:55:48 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: Now my Makefile looks like this: # New ports collection makefile for:linux-f10-nss_ldap # Date created:

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

2012-01-10 Thread Da Rock
On 01/11/12 07:11, Alexander Leidinger wrote: On Mon, 09 Jan 2012 15:55:48 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: Now my Makefile looks like this: # New ports collection makefile for:linux-f10-nss_ldap # Date created: 2012-01-04 # Whom:

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

2012-01-10 Thread Da Rock
On 01/11/12 07:11, Alexander Leidinger wrote: On Mon, 09 Jan 2012 15:55:48 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: Now my Makefile looks like this: # New ports collection makefile for:linux-f10-nss_ldap # Date created: 2012-01-04 # Whom:

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

2012-01-10 Thread Alexander Leidinger
On Tue, 10 Jan 2012 15:30:53 -0600 Paul Schmehl pschmehl_li...@tx.rr.com wrote: --On January 10, 2012 10:11:15 PM +0100 Alexander Leidinger alexan...@leidinger.net wrote: 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

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

2012-01-10 Thread Alexander Leidinger
On Wed, 11 Jan 2012 10:45:13 +1000 Da Rock freebsd-po...@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-po...@herveybayaustralia.com.au wrote: CATEGORIES=net linux MASTER_SITES=

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

2012-01-09 Thread Chris Rees
On 9 Jan 2012 06:01, Da Rock freebsd-po...@herveybayaustralia.com.au wrote: All arguments aside, I've finally made headway - I think... its really frustrating for me because to me it seems a bit of a blackbox atm. I'm still trying to untangle the threads. I fiddled and tweaked and finally got

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

2012-01-09 Thread Paul Schmehl
--On January 9, 2012 3:55:48 PM +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: I just need to work out how to check the checksum against a linux source. I haven't found that yet. My brief search was unsuccessful as well. Is it really possible that the LInux community has

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

2012-01-09 Thread Matthew Seaman
On 09/01/2012 22:28, Paul Schmehl wrote: --On January 9, 2012 3:55:48 PM +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: I just need to work out how to check the checksum against a linux source. I haven't found that yet. My brief search was unsuccessful as well. Is it really

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

2012-01-09 Thread Chuck Swiger
On Jan 9, 2012, at 2:28 PM, Paul Schmehl wrote: My brief search was unsuccessful as well. Is it really possible that the LInux community has abandoned providing checksums for RPM packages? If so, that boggles the mind. Surely they don't believe their repositories are unassailable? rpm

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

2012-01-09 Thread Da Rock
On 01/10/12 08:28, Paul Schmehl wrote: --On January 9, 2012 3:55:48 PM +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: I just need to work out how to check the checksum against a linux source. I haven't found that yet. My brief search was unsuccessful as well. Is it really

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

2012-01-08 Thread Alexander Leidinger
On Sat, 7 Jan 2012 20:31:04 + Chris Rees cr...@freebsd.org wrote: On 6 January 2012 21:16, Alexander Leidinger alexan...@leidinger.net wrote: The linux ports are a little bit special. They are binary ports and the GPL requires that we distribute the source too. Really? That's not

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

2012-01-08 Thread Da Rock
All arguments aside, I've finally made headway - I think... its really frustrating for me because to me it seems a bit of a blackbox atm. I'm still trying to untangle the threads. I fiddled and tweaked and finally got make to run. I then ran make -DPACKAGE_BUILD makesum and got a checksum

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

2012-01-07 Thread Gary Jennejohn
On Sat, 07 Jan 2012 12:46:54 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: 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

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

2012-01-07 Thread Da Rock
On 01/07/12 19:11, Gary Jennejohn wrote: On Sat, 07 Jan 2012 12:46:54 +1000 Da Rockfreebsd-po...@herveybayaustralia.com.au wrote: 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

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

2012-01-07 Thread Rainer Hurling
On 07.01.2012 14:01 (UTC+1), Da Rock wrote: On 01/07/12 19:11, Gary Jennejohn wrote: On Sat, 07 Jan 2012 12:46:54 +1000 Da Rockfreebsd-po...@herveybayaustralia.com.au wrote: And finally checksums: I create a checksum for the port, the linux sites have checksums, and I was advised in passing

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

2012-01-07 Thread Alexander Leidinger
On Sat, 07 Jan 2012 12:46:54 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: 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

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

2012-01-07 Thread Chris Rees
On 6 January 2012 21:16, Alexander Leidinger alexan...@leidinger.net wrote: The linux ports are a little bit special. They are binary ports and the GPL requires that we distribute the source too. Really? That's not how I read the GPL, nor its interpretation:

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

2012-01-07 Thread Chad Perrin
On Sat, Jan 07, 2012 at 08:31:04PM +, Chris Rees wrote: On 6 January 2012 21:16, Alexander Leidinger alexan...@leidinger.net wrote: The linux ports are a little bit special. They are binary ports and the GPL requires that we distribute the source too. Really? That's not how I read the

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

2012-01-06 Thread Da Rock
On 01/05/12 21:18, Gary Jennejohn wrote: On Thu, 05 Jan 2012 09:52:40 +1000 Da Rockfreebsd-po...@herveybayaustralia.com.au wrote: On 01/04/12 23:27, Gary Jennejohn wrote: On Wed, 04 Jan 2012 22:31:51 +1000 Da Rockfreebsd-po...@herveybayaustralia.com.au wrote: I've been advised I should

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

2012-01-06 Thread Matthew Seaman
On 06/01/2012 14:33, Da Rock wrote: There are native ports, and there are the linux base ports. For the native ports the maintainer hosts? But these linux ports are they hosted on the linux rpm sites? Or are they hosted by the maintainer? So I believe I cannot sort a few things out until I

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

2012-01-06 Thread Chris Rees
On 6 Jan 2012 14:37, Da Rock freebsd-po...@herveybayaustralia.com.au wrote: If I have to find a host for it I can host it, but what opportunities for a backup site exist in case of failure? Do I have to arrange that as the maintainer, or is it mirrored by FreeBSD automatically? Ideally I suppose

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

2012-01-06 Thread Gary Jennejohn
On Sat, 07 Jan 2012 00:33:30 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: On 01/05/12 21:18, Gary Jennejohn wrote: [snip lots of old stuff] There are native ports, and there are the linux base ports. For the native ports the maintainer hosts? But these linux ports are they

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

2012-01-06 Thread Alexander Leidinger
On Thu, 5 Jan 2012 12:18:25 +0100 Gary Jennejohn gljennj...@googlemail.com wrote: On Thu, 05 Jan 2012 09:52:40 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: And I have a question or two about the rpm. Do I need to script something to just extract the files needed, or is it

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

2012-01-06 Thread Alexander Leidinger
On Thu, 05 Jan 2012 10:42:17 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: On 01/05/12 07:10, Alexander Leidinger wrote: On Wed, 04 Jan 2012 22:31:51 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: I've been advised I should attempt to port this for general

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

2012-01-06 Thread Alexander Leidinger
On Wed, 4 Jan 2012 20:19:55 -0700 Chad Perrin c...@apotheon.net wrote: On Thu, Jan 05, 2012 at 12:20:45PM +1000, Da Rock wrote: On 01/05/12 12:11, Chad Perrin wrote: The best way to learn, I think, is to get yourself a mentor and jump in. That's how I'm doing it (and yeah, that means

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

2012-01-06 Thread Alexander Leidinger
On Fri, 6 Jan 2012 17:24:50 +0100 Gary Jennejohn gljennj...@googlemail.com wrote: On Sat, 07 Jan 2012 00:33:30 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: All I want is 3 files from the usr/lib in the rpm (I think). What I couldn't quite ascertain is what is done here in

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

2012-01-06 Thread Alexander Leidinger
On Sat, 07 Jan 2012 00:33:30 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: On 01/05/12 21:18, Gary Jennejohn wrote: See the comment in /usr/ports/Mk/bsd.port.mk. There are lots of very informative comments in that file. I've read that before too, but I seem to be missing

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

2012-01-06 Thread Alexander Leidinger
On Thu, 05 Jan 2012 09:52:40 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: In the porters handbook it mentions checksums and make makesum - does that mean I have to put it in the ports tree to try it? You need to have the ports tree on the machine where you try it. Just create a

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

2012-01-06 Thread Da Rock
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

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

2012-01-05 Thread Gary Jennejohn
On Thu, 05 Jan 2012 09:52:40 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: On 01/04/12 23:27, Gary Jennejohn wrote: On Wed, 04 Jan 2012 22:31:51 +1000 Da Rockfreebsd-po...@herveybayaustralia.com.au wrote: I've been advised I should attempt to port this for general use to

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

2012-01-05 Thread Chris Rees
On 5 Jan 2012 04:13, Janketh Jay jan...@unfs.us wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi guys! On 01/04/2012 08:19 PM, Chad Perrin wrote: On Thu, Jan 05, 2012 at 12:20:45PM +1000, Da Rock wrote: On 01/05/12 12:11, Chad Perrin wrote: The best way to learn, I think, is

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

2012-01-05 Thread Chris Rees
On 4 Jan 2012 23:58, Da Rock freebsd-po...@herveybayaustralia.com.au 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-po...@herveybayaustralia.com.au wrote: I was advised to

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

2012-01-05 Thread Paul Schmehl
--On January 5, 2012 12:22:45 PM +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: Ok. I've been working through the handbook step by step, and I'm stuck at checksums so I probably haven't yet reached that part yet. I'll check it out now To get the checksums, type make fetch

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

2012-01-04 Thread Gary Jennejohn
On Wed, 04 Jan 2012 22:31:51 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: I've been advised I should attempt to port this for general use to FreeBSD. I've been operating it manually very successfully now in a number of operations. This is, however, my first attempt at a port

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

2012-01-04 Thread Chad Perrin
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-po...@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]

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

2012-01-04 Thread Da Rock
On 01/04/12 23:27, Gary Jennejohn wrote: On Wed, 04 Jan 2012 22:31:51 +1000 Da Rockfreebsd-po...@herveybayaustralia.com.au wrote: I've been advised I should attempt to port this for general use to FreeBSD. I've been operating it manually very successfully now in a number of operations. This

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

2012-01-04 Thread Da Rock
On 01/05/12 07:10, Alexander Leidinger wrote: On Wed, 04 Jan 2012 22:31:51 +1000 Da Rock freebsd-po...@herveybayaustralia.com.au wrote: I've been advised I should attempt to port this for general use to FreeBSD. I've been operating it manually very successfully now in a number of operations.

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

2012-01-04 Thread Chad Perrin
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-po...@herveybayaustralia.com.au wrote: I was advised to copy the essential parts

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

2012-01-04 Thread Chad Perrin
On Thu, Jan 05, 2012 at 10:42:17AM +1000, Da Rock wrote: On 01/05/12 07:10, Alexander Leidinger wrote: This should be you (if you're willing to maintain the port). You keep dropping hints like this all the time Alex :) Honestly, though, I'm not sure whats involved or whether I'm capable

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

2012-01-04 Thread Da Rock
On 01/05/12 12:11, Chad Perrin wrote: On Thu, Jan 05, 2012 at 10:42:17AM +1000, Da Rock wrote: On 01/05/12 07:10, Alexander Leidinger wrote: This should be you (if you're willing to maintain the port). You keep dropping hints like this all the time Alex :) Honestly, though, I'm not sure

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

2012-01-04 Thread Da Rock
On 01/05/12 12:08, Chad Perrin wrote: 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-po...@herveybayaustralia.com.au wrote: I

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

2012-01-04 Thread Chad Perrin
On Thu, Jan 05, 2012 at 12:20:45PM +1000, Da Rock wrote: On 01/05/12 12:11, Chad Perrin wrote: The best way to learn, I think, is to get yourself a mentor and jump in. That's how I'm doing it (and yeah, that means I'm not the right person to mentor you). Thats what I'm looking for,

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

2012-01-04 Thread Janketh Jay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi guys! On 01/04/2012 08:19 PM, Chad Perrin wrote: On Thu, Jan 05, 2012 at 12:20:45PM +1000, Da Rock wrote: On 01/05/12 12:11, Chad Perrin wrote: The best way to learn, I think, is to get yourself a mentor and jump in. That's how I'm doing it

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

2012-01-04 Thread Eitan Adler
On Wed, Jan 4, 2012 at 11:13 PM, Janketh Jay jan...@unfs.us wrote:    As much as I hate to toss Chris Rees under the bus on this, he's be EXTREMELY helpful to me when creating ports that have small hiccups like this. He's very knowledgeable. While he might be a bit too busy to be a mentor, I'm

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

2012-01-04 Thread Da Rock
On 01/05/12 14:13, Janketh Jay wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi guys! On 01/04/2012 08:19 PM, Chad Perrin wrote: On Thu, Jan 05, 2012 at 12:20:45PM +1000, Da Rock wrote: On 01/05/12 12:11, Chad Perrin wrote: The best way to learn, I think, is to get yourself a mentor

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

2012-01-04 Thread Da Rock
On 01/05/12 14:15, Eitan Adler wrote: On Wed, Jan 4, 2012 at 11:13 PM, Janketh Jayjan...@unfs.us wrote: As much as I hate to toss Chris Rees under the bus on this, he's be EXTREMELY helpful to me when creating ports that have small hiccups like this. He's very knowledgeable. While he might

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

2012-01-04 Thread Janketh Jay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Rock, On 01/04/2012 09:24 PM, Da Rock wrote: On 01/05/12 14:15, Eitan Adler wrote: On Wed, Jan 4, 2012 at 11:13 PM, Janketh Jayjan...@unfs.us wrote: As much as I hate to toss Chris Rees under the bus on this, he's be EXTREMELY helpful to me