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

[-- Attachment #1 --]
  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
>
>

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

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

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