From owner-freebsd-doc Tue Dec 29 19:43:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA22795 for freebsd-doc-outgoing; Tue, 29 Dec 1998 19:43:50 -0800 (PST) (envelope-from owner-freebsd-doc@FreeBSD.ORG) Received: from mail.westbend.net (ns1.westbend.net [156.46.203.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA22762; Tue, 29 Dec 1998 19:43:43 -0800 (PST) (envelope-from hetzels@westbend.net) Received: from admin (admin.westbend.net [156.46.203.13]) by mail.westbend.net (8.8.8/8.8.8) with SMTP id VAA27851; Tue, 29 Dec 1998 21:43:23 -0600 (CST) (envelope-from hetzels@westbend.net) Message-ID: <001601be33a6$8da151e0$0dcb2e9c@westbend.net> From: "Scot W. Hetzel" To: "FreeBSD-Ports" , Cc: "FreeBSD-Current" , "FreeBSD-Stable" Subject: Fw: apache_fp-1.3.3 Date: Tue, 29 Dec 1998 21:43:23 -0600 Organization: West Bend Internet MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0013_01BE3374.42250D60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.1012.1001 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.1012.1001 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 > > 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//des , > International - ftp://ftp.internat.freebsd.org/pub/FreeBSD//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-doc" in the body of the message