Re: Trouble determining configure options in ports

2004-12-28 Thread Lowell Gilbert
"Jonathan Reeder" <[EMAIL PROTECTED]> writes:

> I'm trying to install the samba3 port, and I'm having trouble figuring out
> whether or not the --with-pam config option is being set.  I've looked
> through the Makefile in /usr/ports/net/samba3, but I have to admit its not
> making all that much sense to me.

It says that --with-pam is always set, and that --with-pam_smbpass is
set if you select the appropriate option in "make config".

> I really don't want to install samba from source, but it doesn't appear to
> me that --with-pam is being set by ports' Makefile, since I don't have a
> /etc/pam.d/samba file when all is said and done.  Can anyone offer me any
> pointers?

"pkg_info -L"?

> I guess a broader question is, how can you control the options that you
> could normally set in ./configure when installing via ports?

If they're useful options, the port Makefile will usually support
them, including any localisation to make them work on FreeBSD.  If
not, you can add them to the CONFIGURE_ARGS variable yourself.  See
the Porter's Handbook if you need more information on how to tweak a
port. 


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Trouble determining configure options in ports

2004-12-28 Thread Jonathan Reeder
I had not looked prior to now, but I just did and it is empty.

-Original Message-
From: Ruben de Groot [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 28, 2004 4:41 AM
To: Jonathan Reeder
Cc: freebsd-questions@freebsd.org
Subject: Re: Trouble determining configure options in ports


On Mon, Dec 27, 2004 at 03:30:30PM -0600, Jonathan Reeder typed:
> I'm trying to install the samba3 port, and I'm having trouble figuring out
> whether or not the --with-pam config option is being set.  I've looked
> through the Makefile in /usr/ports/net/samba3, but I have to admit its not
> making all that much sense to me.
>
> I really don't want to install samba from source, but it doesn't appear to
> me that --with-pam is being set by ports' Makefile, since I don't have a
> /etc/pam.d/samba file when all is said and done.  Can anyone offer me any
> pointers?

Have you looked in /usr/local/etc/pam.d/ ?

> I guess a broader question is, how can you control the options that you
> could normally set in ./configure when installing via ports?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Trouble determining configure options in ports

2004-12-28 Thread Ruben de Groot
On Mon, Dec 27, 2004 at 03:30:30PM -0600, Jonathan Reeder typed:
> I'm trying to install the samba3 port, and I'm having trouble figuring out
> whether or not the --with-pam config option is being set.  I've looked
> through the Makefile in /usr/ports/net/samba3, but I have to admit its not
> making all that much sense to me.
> 
> I really don't want to install samba from source, but it doesn't appear to
> me that --with-pam is being set by ports' Makefile, since I don't have a
> /etc/pam.d/samba file when all is said and done.  Can anyone offer me any
> pointers?

Have you looked in /usr/local/etc/pam.d/ ?

> I guess a broader question is, how can you control the options that you
> could normally set in ./configure when installing via ports?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Trouble determining configure options in ports

2004-12-27 Thread Subhro




> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Jonathan Reeder
> Sent: Tuesday, December 28, 2004 3:01
> To: freebsd-questions@freebsd.org
> Subject: Trouble determining configure options in ports
> 
> I'm trying to install the samba3 port, and I'm having trouble figuring out
> whether or not the --with-pam config option is being set.  I've looked
> through the Makefile in /usr/ports/net/samba3, but I have to admit its not
> making all that much sense to me.
> 
> I really don't want to install samba from source, but it doesn't appear to
> me that --with-pam is being set by ports' Makefile, since I don't have a
> /etc/pam.d/samba file when all is said and done.  Can anyone offer me any
> pointers?
> 
> I guess a broader question is, how can you control the options that you
> could normally set in ./configure when installing via ports?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"

You can control the compile time options, using make -DOption make_option.

Something like make -Dwith_samba install or sth

Regards
S.

 Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


Re: Trouble determining configure options in ports

2004-12-27 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Jonathan Reeder thusly...
>
> I'm trying to install the samba3 port, and I'm having trouble
> figuring out whether or not the --with-pam config option is being
> set.  I've looked through the Makefile in /usr/ports/net/samba3,
> but I have to admit its not making all that much sense to me.

Well, looking in the Makefile, "--with-pam" configure option is
added whenever $SAMBA_SUBPORT is not defined (lines 82 & 86 of
version 1.132 2004/12/21 12:24:03).

I guess -- have no interest whatsoever to be sure -- that in your
$SAMBA_SUBPORT would not be defined as net/samba3 seems to be the
parent port.


> I guess a broader question is, how can you control the options
> that you could normally set in ./configure when installing via
> ports?

One scans for one of $CONFIGURE_ARGS, $CONFIGURE_ENV, $MAKE_ARGS or
similar variables.  Edit their content as desired.  Optionally,
make options out of your edits and send a unified diff patch via
send-pr.

If they are missing, then, /i/ would most likely run "make extract"
in the port's directory; change to the extracted source directory;
run "./configure" w/ desired options; cd -; run "make
(build|install|package)" as appropriate.  Done.


  - Parv

-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Trouble determining configure options in ports

2004-12-27 Thread Jonathan Reeder
I'm trying to install the samba3 port, and I'm having trouble figuring out
whether or not the --with-pam config option is being set.  I've looked
through the Makefile in /usr/ports/net/samba3, but I have to admit its not
making all that much sense to me.

I really don't want to install samba from source, but it doesn't appear to
me that --with-pam is being set by ports' Makefile, since I don't have a
/etc/pam.d/samba file when all is said and done.  Can anyone offer me any
pointers?

I guess a broader question is, how can you control the options that you
could normally set in ./configure when installing via ports?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"