Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 1998 21:43:23 -0600
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "FreeBSD-Ports" <FreeBSD-Ports@FreeBSD.ORG>, <FreeBSD-Doc@FreeBSD.ORG>
Cc:        "FreeBSD-Current" <FreeBSD-Current@FreeBSD.ORG>, "FreeBSD-Stable" <FreeBSD-Stable@FreeBSD.ORG>
Subject:   Fw: apache_fp-1.3.3
Message-ID:  <001601be33a6$8da151e0$0dcb2e9c@westbend.net>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0013_01BE3374.42250D60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

  Since creating the Apache-FP port, I have received a few requests on how
to install the libdescrypt library, and where it is located. I usually
advise them to use either cvsup (w/src-crypto & src-secure in cvsupfile) and
a make world to install it, or to use the pre-compiled binary for their
release (-CURRENT, -STABLE, -SNAP or -RELEASE).

  Should the attached patches for des/install.sh be added so that the they
can choose if kerberos is to be installed?

  The DES section of the Handbook doesn't mention how to install this
library or where to obtain it (US/CA, International).  The following
information needs to be added to the FreeBSD Handbook possibly in a new
section (i.e. 6.1.2 How to install the DES library) and written a little
better.

Scot

From: Scot W. Hetzel <hetzels@westbend.net>
> > Frontpage requires libdescrypt (as an .so?). I've scoured the web and
> > can't find it. Any suggestions?
> >
> >   jim...
> >
> You need to install the descrypt library from the FreeBSD sources.  You
can
> do this 2 ways:
>
> 1. update yours sources via cvsup making sure to include src-crypto and
> src-secure in your cvsup file. And selecting the appropriate cvsup server
> (US/CA - cvsup.freebsd.org, International - cvsup.internat.freebsd.org).
And
> perform a buildworld.
>
> 2. use ftp to retrieve the compiled binaries
> (US/CA - ftp://ftp.freebsd.org/pub/FreeBSD/<your release>/des ,
> International - ftp://ftp.internat.freebsd.org/pub/FreeBSD/<your
release>/des).
>  You'll need to retrieve a minimum of install.sh, des.*, and optionally
the source
> (ssecure.* scrypto.*).  Then you need to edit the install.sh script to
> remove any lines containing krb.* and skerbero.*.  Theses lines are used
to
> install the kerberos support and is not needed to compile Apache-FP.
>
> Then you need to check that libcrypt* is a link to libdescrypt* in
/usr/lib.
> If it is pointing to the wrong library you need to remove all libcrypt*
> links and recreate them so that they are pointing to the libdescrypt*
> libraries.
>
> The reason Apache_FP requires the descrypt library is because the
pre-built
> binary fpadmsrv.exe was compiled statically with the DES library.  When it
> creates the passwords for the user, author, or administrator web users, it
> encrypts it using DES.  When the Apache server then tries to use the
> password, it rejects the user.
>
> Scot
>
>

------=_NextPart_000_0013_01BE3374.42250D60
Content-Type: application/octet-stream;
	name="30.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="30.diff"

--- des/install.sh.orig	Tue Dec 29 20:41:21 1998=0A=
+++ des/install.sh	Tue Dec 29 20:45:22 1998=0A=
@@ -10,12 +10,22 @@=0A=
 echo -n "otherwise hit return to continue. "=0A=
 read junk=0A=
 cat des.?? | tar --unlink -xpzf - -C ${_DEST}=0A=
-cat krb.?? | tar --unlink -xpzf - -C ${_DEST}=0A=
+echo -n "Do you want to install support for Kerbero (y/n)? "=0A=
+read ans1=0A=
+if [ "$ans" =3D "y" ]; then=0A=
+	cat krb.?? | tar --unlink -xpzf - -C ${_DEST}=0A=
+fi=0A=
 echo -n "Do you want to install the DES sources (y/n)? "=0A=
 read ans=0A=
 if [ "$ans" =3D "y" ]; then=0A=
 	cat scrypto.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src=0A=
-	cat skerbero.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src=0A=
 	cat ssecure.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src=0A=
+fi=0A=
+if [ "$ans1" =3D "y" ]; then=0A=
+	echo -n "Do you want to install the Kerbero sources (y/n)? "=0A=
+	read ans2=0A=
+	if [ "$ans2" =3D "y" ]; then=0A=
+		cat skerbero.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src=0A=
+	fi=0A=
 fi=0A=
 exit 0=0A=

------=_NextPart_000_0013_01BE3374.42250D60
Content-Type: application/octet-stream;
	name="228.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="228.diff"

--- des/install.sh.orig	Tue Dec 29 20:31:00 1998=0A=
+++ des/install.sh	Tue Dec 29 20:38:10 1998=0A=
@@ -8,12 +8,22 @@=0A=
 echo "you want to do this over your installed system?  If not, hit ^C =
now!"=0A=
 read junk=0A=
 cat des.?? | tar --unlink -xpzf - -C /=0A=
-cat krb.?? | tar --unlink -xpzf - -C /=0A=
+echo -n "Do you want to install support for Kerbero (y/n)? "=0A=
+read ans1=0A=
+if [ "$ans" =3D "y" ]; then=0A=
+	cat krb.?? | tar --unlink -xpzf - -C /=0A=
+fi=0A=
 echo -n "Do you want to install the DES sources (y/n)? "=0A=
 read ans=0A=
 if [ "$ans" =3D "y" ]; then=0A=
 	cat scrypto.?? | tar --unlink -xpzf - -C /usr/src=0A=
-	cat skerbero.?? | tar --unlink -xpzf - -C /usr/src=0A=
 	cat ssecure.?? | tar --unlink -xpzf - -C /usr/src=0A=
+fi=0A=
+if [ "$ans1" =3D "y" ]; then=0A=
+	echo -n "Do you want to install the Kerbero sources (y/n)? "=0A=
+	read ans2=0A=
+	if [ "$ans2" =3D "y" ]; then=0A=
+		cat skerbero.?? | tar --unlink -xpzf - -C /usr/src=0A=
+	fi=0A=
 fi=0A=
 exit 0=0A=

------=_NextPart_000_0013_01BE3374.42250D60--


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001601be33a6$8da151e0$0dcb2e9c>