From brook@imperious.educ.utas.edu.au  Tue Mar 28 14:52:52 2000
Return-Path: <brook@imperious.educ.utas.edu.au>
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 <FreeBSD-gnats-submit@freebsd.org>; 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
Sender: brook@imperious.educ.utas.edu.au
Reply-To: brook.schofield@utas.edu.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: netatalk port change for des/md5 checking
X-Send-Pr-Version: 3.2

>Number:         17652
>Category:       ports
>Synopsis:       netatalk port modification for des/md5 checking
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 28 15:00:01 PST 2000
>Closed-Date:    Sat Mar 17 04:27:55 PST 2001
>Last-Modified:  Sat Mar 17 04:30:04 PST 2001
>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 <sheldonh@uunet.co.za>
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:
Responsible-Changed-From-To: freebsd-ports->stb 
Responsible-Changed-By: mharo 
Responsible-Changed-When: Sat Apr 1 19:04:30 PST 2000 
Responsible-Changed-Why:  
over to maintainer 
Responsible-Changed-From-To: stb->freebsd-ports 
Responsible-Changed-By: kris 
Responsible-Changed-When: Fri Jan 26 21:09:11 PST 2001 
Responsible-Changed-Why:  
Maintainer is inactive 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17652 
State-Changed-From-To: open->closed 
State-Changed-By: kuriyama 
State-Changed-When: Sat Mar 17 04:27:55 PST 2001 
State-Changed-Why:  
Committed to net/netatalk-asun. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17652 

From: dirk.meyer@dinoex.sub.org (Dirk Meyer)
To: freebsd-gnats-submit@FreeBSD.org, kuriyama@FreeBSD.org
Cc:  
Subject: ports/17652
Date: Sat, 17 Mar 2001 13:16:27 +0100

 The patch seem to be committed.
 can the PR be closed?
 
 kind regards Dirk
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
 
 ----------------------------
 revision 1.4
 date: 2000/12/23 05:04:22;  author: kuriyama;  state: Exp;  lines: +6 -4
 Check libdes.a to use DES.
 
 Submitted by:   Brook Schofield <brook.schofield@utas.edu.au>
 PR:             ports/17652 (for net/netatalk)
 ----------------------------
 
>Unformatted:
