Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2000 09:53:52 +1000 (EST)
From:      Brook.Schofield@imperious.educ.utas.edu.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/17652: netatalk port change for des/md5 checking
Message-ID:  <200003282353.JAA08102@imperious.educ.utas.edu.au>

next in thread | raw e-mail | index | archive | help

>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 <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:
>Unformatted:


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?200003282353.JAA08102>