MIT instead of Heimdal

2006-07-30 Thread Michael D. Norwick
Over the last several months I have been splattering the various freebsd
mailing lists with questions about using MIT Kerberos instead of
Heimdal.  My reasons for this are simply, I want MIT Kerberos.  But, in
all my googling and archive archaeology I have yet to find a clean way
to implement this due to FreeBSD's default to Heimdal and it's
associated dependencies.  I do not upgrade my systems every nanosecond,
choosing to stay with what works.  I recently did a portmanager -u to
get any security fixes and garfed Samba and others due to dependencies
on Heimdal.  Is there a clean solution to this and if so where can I
find it.  I want no hand holding, just a clue.

The output of uname -a is;
FreeBSD server1.testsystem.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jul
29 21:47:30 CDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL_SMP073106  i386

Thank You

Michael

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


Re: mmap error (?) when building clisp-2.38 in freebsd-6.1-release for amd64

2006-07-30 Thread Alejandro Pulver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 31 Jul 2006 03:07:10 +0530
"Gautham Ganapathy" <[EMAIL PROTECTED]> wrote:

> On 7/30/06, Alejandro Pulver <[EMAIL PROTECTED]> wrote:
> >
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On Sat, 29 Jul 2006 13:24:54 +0530
> > Gautham Ganapathy <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > 3. However, the third error is beyond me.
> > >
> > > ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc
> > > -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))
> > > (ext::exit t)"
> > > Cannot map memory to address 0x4 .
> > > [spvw_mmap.d:359] errno = EINVAL: Invalid argument.
> > > ./lisp.run: Not enough memory for Lisp.
> > > *** Error code 1
> > >
> >
> > Hello.
> >
> > I think you are using an old version of the lang/clisp port (current
> > one is clisp-2.38_1, where building on amd64 was fixed).
> >
> > Could you please update your ports and try again?
> >
> > Best Regards,
> > Ale
> >
> >
> Hi
> 
> How should I update this port? Would it be possible to update just this port
> without modifying the rest of the ports?
> 
> Regards
> Gautham

Hello.

To update that port only you have to download the port from
http://www.freebsd.org/ports/ (search for 'clisp' and press the
'Download' button). Then delete /usr/ports/lang/clisp recursively and
extract the downloaded tarball there. Like (as root):

# tar zxf clisp.tar.gz -C /usr/ports/lang

However it's recommended that you update your whole ports tree as some
ports require new versions of others (so basically they may work or
not). To update the whole ports tree you can use CVSup or portsnap:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

It also describes how to update the installed ports.

Best Regards,
Ale
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQFEzXc3iV05EpRcP2ERAnK0AJ9Fj4xe94AK5oD2QuH0kekuzlxBegCdGJvC
EfmDV9wAh/oqs2voH9MUs3g=
=jxtL
-END PGP SIGNATURE-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: mmap error (?) when building clisp-2.38 in freebsd-6.1-release for amd64

2006-07-30 Thread Gautham Ganapathy

On 7/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hello;

I had the same problems building clisp on amd64, but I reported the amd64
vs
x86_64 issue on sourceforge: I think they fixed it.

The mmap issue is AFAICT, well known. The port has these lines:

.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CONFIGURE_ARGS+=--disable-mmap
MAKEMAKE_ARGS+= --disable-mmap
.endif

hope that helps,

Pedro.



Hi

I tried this. Now, a new error comes up. While running clisp during
installation, it core dumps and gives an error message

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


Re: mmap error (?) when building clisp-2.38 in freebsd-6.1-release for amd64

2006-07-30 Thread Gautham Ganapathy

On 7/30/06, Alejandro Pulver <[EMAIL PROTECTED]> wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 29 Jul 2006 13:24:54 +0530
Gautham Ganapathy <[EMAIL PROTECTED]> wrote:

>
> 3. However, the third error is beyond me.
>
> ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc
> -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))
> (ext::exit t)"
> Cannot map memory to address 0x4 .
> [spvw_mmap.d:359] errno = EINVAL: Invalid argument.
> ./lisp.run: Not enough memory for Lisp.
> *** Error code 1
>

Hello.

I think you are using an old version of the lang/clisp port (current
one is clisp-2.38_1, where building on amd64 was fixed).

Could you please update your ports and try again?

Best Regards,
Ale



Hi

How should I update this port? Would it be possible to update just this port
without modifying the rest of the ports?

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


Re: Ruby vulnerability?

2006-07-30 Thread Simon L. Nielsen
On 2006.07.30 17:47:33 +0200, Frank Steinborn wrote:
> Shaun Amott wrote:
> > On Fri, Jul 28, 2006 at 03:03:43PM +1000, Joel Hatton wrote:
> > > 
> > > FYI, Red Hat released an advisory today about a vulnerability in Ruby. So
> > > far it doesn't appear in the VuXML, but am I correct in presuming it will
> > > soon?
> > > 
> > 
> > I've added it; thanks for the report.
> 
> Hmm, i saw the flaw with "portaudit -Fda" yesterday, however - today
> my ruby isn't shown as vulnerable anymore. Why?

The database was broken for a bit due to an invalid entry, try again
now.

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


Re: is somebody working on a xorg 7.1 port to FreeBSD ?

2006-07-30 Thread Stanislav Sedov
On Sun, 30 Jul 2006 10:59:22 -0700
vehemens <[EMAIL PROTECTED]> mentioned:

> >IMHO you should wait until we are ready to do a test-run on pointyhat.
> >Otherwise you are going to be finding problems one-at-a-time that we
> >can otherwise find out in bulk.
> 
> How does one get access to the port code?
> 

You can install X.org from GIT repository - it works fine out-of-the-box
on freebsd. Just install it under the different PREFIX (e.g. /usr/x11r7)
and you will not have problems with uninstall.


-- 
Stanislav Sedov MBSD labs, Inc. <[EMAIL PROTECTED]>
Россия, Москва http://mbsd.msk.ru


If the facts don't fit the theory, change the facts.  -- A. Einstein

PGP fingerprint:  F21E D6CC 5626 9609 6CE2  A385 2BF5 5993 EB26 9581


signature.asc
Description: PGP signature


Re: kdemultimedia3 fails with "cannot find -ldpstk"? In FBSD 6.0

2006-07-30 Thread B Briggs

lysergius2001 wrote:

Hi

Tearing my hair out with this one.  Googling a solution has not helped.
Ports are up to date.  libxine seems to be the problem.  Any suggestions
gratefully accepted

Many thanks



If libxine isn't building, try commenting out your CFLAGS in 
/etc/make.conf and then trying to rebuild. But I don't think that's what 
you're asking.


I assume you're trying to build kdemultimedia3 WITH_XINE, not run it.
If kdemm3 uses libxine, then libxine might be using libdpstk.so. AFAIR, 
libdpstk.so has been removed from the Xorg libraries.


Try rebuilding libxine first.

If you don't have libchk, you might want to try:
/usr/ports/sysutils/libchk

It will show you any binaries that you have that are still linked with 
libdpstk.so and you'll want to rebuild these.


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


Re: Ruby vulnerability?

2006-07-30 Thread Randy Pratt
On Sun, 30 Jul 2006 17:47:33 +0200
Frank Steinborn <[EMAIL PROTECTED]> wrote:

> Shaun Amott wrote:
> > On Fri, Jul 28, 2006 at 03:03:43PM +1000, Joel Hatton wrote:
> > > 
> > > FYI, Red Hat released an advisory today about a vulnerability in Ruby. So
> > > far it doesn't appear in the VuXML, but am I correct in presuming it will
> > > soon?
> > > 
> > 
> > I've added it; thanks for the report.
> 
> Hmm, i saw the flaw with "portaudit -Fda" yesterday, however - today
> my ruby isn't shown as vulnerable anymore. Why?

I show it as a vulnerability here.  It could be that you may have
gotten your last update from a server that hasn't caught up yet.

Try running it again and see if that helps.

Randy

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


is somebody working on a xorg 7.1 port to FreeBSD ?

2006-07-30 Thread vehemens
>IMHO you should wait until we are ready to do a test-run on pointyhat.
>Otherwise you are going to be finding problems one-at-a-time that we
>can otherwise find out in bulk.

How does one get access to the port code?

>To reiterate: there is very active work to get us to xorg7.  It's not
>as trivial as some people have thought it is.

What are the obstacles to incorporating xorg7.1 into ports?

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


kdemultimedia3 fails with "cannot find -ldpstk"? In FBSD 6.0

2006-07-30 Thread lysergius2001

Hi

Tearing my hair out with this one.  Googling a solution has not helped.
Ports are up to date.  libxine seems to be the problem.  Any suggestions
gratefully accepted

Many thanks

--
Lysergius says, "Stay light, but trust gravity"
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OCaml language support in ports

2006-07-30 Thread Stephane Legrand
On Sat, Jul 29, 2006 at 11:27:22PM +0400, Stanislav Sedov wrote:
> We have a lot of OCaml ports that provides additional language
> packages for OCaml language. Installing of such pacakge requites
> a lot of steps, e.g. running ocamlfind utility on install/deinstall
> with correct enviropment, updating OCaml-specific ld.conf on
> install/deinstall and other. As result ports become a bit complex
> and very large. You can see working examples in devel/ocaml-equeue,
> devel/ocaml-sem etc. This ports do similar work "by-hand" via
> pmake constructs and pkg-install script.
> 
>   I have submitted include to support OCaml language recently
>   (http://www.freebsd.org/cgi/query-pr.cgi?pr=101029).
> 
> ...
> 
>   It would be nice to have your opinions/suggestions/blames/flames
>   here. Especially, ocaml-* ports maintainers.
> 
>   Thanks!

Hello,

Well, it would be definitely interesting to have a such framework
for the OCaml ports. Ruby, Perl, Python and Tcl already have one,
i can see no reason why to not have one for OCaml.

Regards,
Stephane Legrand.

-- 
<[EMAIL PROTECTED]>
Club Unix/Log. libres Cosne/Loire: www.cosnix.org
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ruby vulnerability?

2006-07-30 Thread Frank Steinborn
Shaun Amott wrote:
> On Fri, Jul 28, 2006 at 03:03:43PM +1000, Joel Hatton wrote:
> > 
> > FYI, Red Hat released an advisory today about a vulnerability in Ruby. So
> > far it doesn't appear in the VuXML, but am I correct in presuming it will
> > soon?
> > 
> 
> I've added it; thanks for the report.

Hmm, i saw the flaw with "portaudit -Fda" yesterday, however - today
my ruby isn't shown as vulnerable anymore. Why?

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


[RFC] Upgrading ports/lang/f2c.

2006-07-30 Thread Thierry Thomas
Hello,

I have just sent a PR to upgrade lang/f2c to its latest version:

.

It has been tested successfully against the ports which use it as a
dependency, but this is almost the plain version, without FreeBSD
specific patches.

Because I don't know why this port uses a specific tarball, and which
are the differences between this tarball and the previous official
tarball, I have possibily missed important things...

Your comments are welcome! I won't have an access to Internet for 3 or 4
days, then don't expect a quick answer...

Thanks.
-- 
Th. Thomas.


pgpUeNquONbow.pgp
Description: PGP signature


Re: Ruby vulnerability?

2006-07-30 Thread Remko Lodder

Sergey Matveychuk wrote:

Sergey Matveychuk wrote:

Good. There is three patches there.
I'll test if they fix the vulnerabilities.



FYI The fixes was committed.



Thanks a lot for the work Sergey!

--
Kind regards,

 Remko Lodder   ** [EMAIL PROTECTED]
 FreeBSD** [EMAIL PROTECTED]

 /* Quis custodiet ipsos custodes */
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ruby vulnerability?

2006-07-30 Thread Sergey Matveychuk
Sergey Matveychuk wrote:
> Good. There is three patches there.
> I'll test if they fix the vulnerabilities.
> 

FYI The fixes was committed.

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


Fwd: mplayer port, compliation error

2006-07-30 Thread Adam McCann

Further to my post:

I am actually attempting to compile mplayer-pre8, not pre7 which is what 
post I referred to was in relation to.


All the ports are up to date.  Any ideas?

Thanks,
Adam

 Original Message 
Subject:mplayer port, compliation error
Date:   Sun, 30 Jul 2006 03:45:39 +0100
From:   Adam McCann <[EMAIL PROTECTED]>
Reply-To:   [EMAIL PROTECTED]
Organisation:   Pro-G Media Limited
To: freebsd-ports@freebsd.org



Hi,

When compiling mplayer, I get the following error(s):

font_load_ft.c:30:35: fontconfig/fontconfig.h: No such file or directory
font_load_ft.c:93:1: warning: "ALIGN" redefined
In file included from /usr/include/sys/param.h:109,
   from ../bswap.h:5,
   from font_load_ft.c:33:
/usr/include/machine/param.h:79:1: warning: this is the location of the 
previous definition

font_load_ft.c: In function `decode_char':
font_load_ft.c:745: warning: passing arg 2 of `libiconv' from 
incompatible pointer type

font_load_ft.c: In function `load_font_ft':
font_load_ft.c:1133: error: `FcPattern' undeclared (first use in this 
function)
font_load_ft.c:1133: error: (Each undeclared identifier is reported only 
once

font_load_ft.c:1133: error: for each function it appears in.)
font_load_ft.c:1133: error: `fc_pattern' undeclared (first use in this 
function)
font_load_ft.c:1134: error: `FcChar8' undeclared (first use in this 
function)

font_load_ft.c:1134: error: `s' undeclared (first use in this function)
font_load_ft.c:1135: error: syntax error before "scalable"
font_load_ft.c:1153: error: `FcMatchPattern' undeclared (first use in 
this function)
font_load_ft.c:1156: error: `FC_SCALABLE' undeclared (first use in this 
function)
font_load_ft.c:1156: error: `scalable' undeclared (first use in this 
function)

font_load_ft.c:1157: error: `FcTrue' undeclared (first use in this function)
font_load_ft.c:1164: error: `FC_FILE' undeclared (first use in this 
function)

gmake[1]: *** [font_load_ft.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/multimedia/mplayer/work/MPlayer-1.0pre8/libvo'

gmake: *** [libvo/libvo.a] Error 2
*** Error code 2

System: FreeBSD 6.1-RELEASE i386

This appears to be the exact same error as this guy: 
http://lists.freebsd.org/pipermail/freebsd-ports/2006-March/030048.html


However, I have tried the suggested patch (and of course fontconfig is 
installed) with no luck.  I am installing this without x11 / GUI.  I'm 
guessing I have to copy the fontconfig directory somewhere or something?


Any ideas?

Thanks in advance,
Adam McCann





No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/403 - Release Date: 28/07/2006
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: graphics/png - CC

2006-07-30 Thread [LoN]Kamikaze
I have finally found the reason for all this. In my make.conf I have set

WRKDIRPREFIX=/usr/obj

because /usr/ports is a read only nfs mount. Also it makes cleaning everything 
up a lot faster (than running 'make clean' in /usr/ports).

Now I have in my make.conf something like this:

if ${.CURDIR:M/usr/ports/*}
CC= distcc cc
.endif

It's actually more complex, but that's what it comes down to.

If I now do that:

# cd /usr/ports/graphics/png; make -V CC
distcc cc

I can see that the ports makefile has the right CC setting. However, the file 
/usr/obj/usr/ports/graphics/png/work/libpng-1.2.12/scripts/makefile.freebsd 
will read make.conf again and this time CC will not be set. Thus make will fall 
back to the default.

As I said before this is because CC is only forwarded to the configure script 
by bsd.port.mk . The do-build target doesn't forward CC to the makefile. 
However it forwards command line parameters, so that the problem doesn't appear 
when running 'make CC="distcc cc"'.

Weather that should be fixed in the port or in bsd.port.mk, should, I think be 
said by portmgr (CC). Probably several ports are affected, thus I'd prefer a 
solution in bsd.port.mk.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD Port: pam_mysql-0.6.2

2006-07-30 Thread Rayed Alrashed

Hello Andres,


I had a problem with pam_mysql port not supporting MD5 encryption.



When I used "crypt=3" in my pam.d config file I get this error:

pam_mysql - non-crypt()ish MD5 hash is not supported in this build.



To fix it I edited the port Makefile to add openssl support (needed for 
MD5):


19c19
< CONFIGURE_ARGS=   --with-mysql=${LOCALBASE} 
--with-pam-mods-dir=${PREFIX}/lib --with-pam=/usr --with-openssl

---
> CONFIGURE_ARGS=   --with-mysql=${LOCALBASE} 
--with-pam-mods-dir=${PREFIX}/lib --with-pam=/usr




Tested with FreeBSD 5.3


Best regards,

Rayed

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


Re: Ruby vulnerability?

2006-07-30 Thread Sergey Matveychuk
植田 裕之 wrote:
> Dear Sirs,
> 
> 
>> CVE report is very unpleasant: "Multiple unspecified vulnerabilities".
>> Secunia has more professional report.
>>
>> RedHat is only vendor who released updates, but they are binary. So,
>> there is no known fix now.
> 
> Following information maybe help you:
> 
>   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=378029
> 

Good. There is three patches there.
I'll test if they fix the vulnerabilities.

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