Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 1999 21:22:39 -0700 (PDT)
From:      Mike Meyer <mwm@phone.net>
To:        stable@freebsd.org
Subject:   Re: encrypt
Message-ID:  <Pine.BSF.4.10.9909012109261.354-100000@guru.phone.net>
In-Reply-To: <Pine.LNX.4.05.9908252150230.7342-100000@monet.etfal.g12.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Aug 1999, Aldenor Falcao wrote:
:->
:->I need to build python, cause the one the comes with 3.2 is broken.
:-> It doesn't have the thread and SHA compiled in.

Huh? The one I just built (3.2-STABLE from late May) has thread built
in.

Not sha, though - you're right. You do want the stuff in shamodule.c,
right? But adding modules to Python is straightforward:

Add the appropriate line to the Setup file in the
/usr/ports/lang/python/work/Python-1.5.2/Modules/Setup file, *after*
the "*shared*" line:

	sha shamodule.c

Then do:

	./makesetup
	make shamodule.so
	cp shamodule.so /usr/local/lib/site-python

(You may want to chose something other than
/usr/local/lib/site-python, but that works). After doing that, I can
import sha, create new sha objects with sha.new, and use it like the
other digest modules.

:->Anyone of you otu there knows where can I find the Freesec lib?
:->
:-> Any help will be appreciated.

Try rebuilding the /usr/ports version, and going through the above. In
particular, see if it builds the crypt module. Mine did, but that may
be related to using it in the US.

	<mike




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909012109261.354-100000>