From owner-freebsd-ports Tue Mar 28 15: 0:11 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0DA6F37B714 for ; Tue, 28 Mar 2000 15:00:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA82813; Tue, 28 Mar 2000 15:00:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from imperious.educ.utas.edu.au (imperious.educ.utas.edu.au [144.6.57.107]) by hub.freebsd.org (Postfix) with ESMTP id 2929D37B931 for ; Tue, 28 Mar 2000 14:52:49 -0800 (PST) (envelope-from brook@imperious.educ.utas.edu.au) Received: (from root@localhost) by imperious.educ.utas.edu.au (8.9.3/8.9.3) id JAA08102; Wed, 29 Mar 2000 09:53:52 +1000 (EST) (envelope-from brook) Message-Id: <200003282353.JAA08102@imperious.educ.utas.edu.au> Date: Wed, 29 Mar 2000 09:53:52 +1000 (EST) From: Brook.Schofield@imperious.educ.utas.edu.au Reply-To: brook.schofield@utas.edu.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/17652: netatalk port change for des/md5 checking Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17652 >Category: ports >Synopsis: netatalk port modification for des/md5 checking >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 28 15:00:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Brook Schofield >Release: FreeBSD 3.4-RELEASE i386 >Organization: University of Tasmania >Environment: >Description: Netatalk-asun port fails to build on MD5 password systems. Included patch fixes this problem. >How-To-Repeat: Build the netatalk-1.4b2+asun2.1.3 port on a system with MD5 passwords rather than with DES passwords. The build fails on: auth.c:145: des.h: No such file or directory >Fix: Apply the following patch to patches/patch-aa to check for the existance of the des library. Information taken from an email by Sheldon Hearn http://www.freebsd.org/cgi/getmsg.cgi?fetch=1745536+0+/usr/local/www/db/text/1999/freebsd-questions/19991121.freebsd-questions --- patch-aa.orig Wed Mar 29 09:34:18 2000 +++ patch-aa Wed Mar 29 09:42:06 2000 @@ -1,5 +1,5 @@ ---- Makefile.orig Sun Feb 7 12:15:46 1999 -+++ Makefile Mon Mar 8 09:42:21 1999 +--- Makefile.orig Sun Feb 7 22:15:46 1999 ++++ Makefile Wed Mar 29 09:40:16 2000 @@ -1,15 +1,15 @@ # Root of installation. Subdirectories will be ${DESTDIR}/etc, # ${DESTDIR}/bin, and ${DESTDIR}/lib. @@ -19,7 +19,7 @@ # for configuration files (AppleVolumes.system, etc.) ETCDIR=$(DESTDIR)/etc # for include files -@@ -27,22 +27,27 @@ +@@ -27,22 +27,29 @@ #MANDIR=/usr/man # Location of the Berkeley v2 db library and include files. @@ -32,7 +32,9 @@ # don't want Randnum Exchange and 2-Way Randnum Exchange as allowable UAMs # for afpd. We expect libdes.a in $DESDIR/lib and des.h in $DESDIR/include. -DESDIR=/usr/local ++.if exist(/usr/lib/libdes.a) +DESDIR=/usr ++.endif # Location of the tcp wrapper library and include files. Comment this out # if you don't want tcp wrapper support. having tcp wrapper support is @@ -52,7 +54,7 @@ # Location of the AFS and Kerberos libraries and include files. Uncomment # and edit these if you want to include AFS or Kerberos support in afpd -@@ -77,12 +82,13 @@ +@@ -77,12 +84,13 @@ ETCDIR="${ETCDIR}" LIBDIR="${LIBDIR}" INCDIR="${INCDIR}" \ DESTDIR="${DESTDIR}" MANDIR="${MANDIR}" \ TCPWRAPDIR="${TCPWRAPDIR}" PAMDIR="${PAMDIR}" DB2DIR="${DB2DIR}" \ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message