Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 1997 22:47:19 +0800 (CST)
From:      yssu@CCCA.NCTU.edu.tw (Yen-Shuo Su.)
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/5198: zh-samba-des: sync with samba-des
Message-ID:  <199712031447.WAA25261@netflow.nctu.edu.tw>
Resent-Message-ID: <199712031450.GAA13118@hub.freebsd.org>

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

>Number:         5198
>Category:       ports
>Synopsis:       sync patches
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec  3 06:50:01 PST 1997
>Last-Modified:
>Originator:     Yen-Shuo Su
>Organization:
Campus Computer Communication Association
>Release:        FreeBSD 2.2-970625-RELENG i386
>Environment:


>Description:

	Sync chinese/zh-samba-des/patches/patch-ab with
	net/samba-des/patches/patch-ab

>How-To-Repeat:


>Fix:
	
The following is the patch:

diff -ruN ../chinese/samba-des/patches/patch-ab samba-des/patches/patch-ab
--- ../chinese/samba-des/patches/patch-ab	Sat Nov 29 13:28:24 1997
+++ samba-des/patches/patch-ab	Wed Dec  3 22:42:31 1997
@@ -1,14 +1,23 @@
---- Makefile.orig	Fri Apr 12 09:18:51 1996
-+++ Makefile	Thu Aug 14 00:49:39 1997
+--- Makefile.orig	Fri Apr 12 02:18:51 1996
++++ Makefile	Tue Dec  2 12:05:41 1997
 @@ -10,7 +10,7 @@
  # If you are on a DEC Alpha, edit des.h and change the DES_LONG
  # define to 'unsigned int'.  I have seen this give a %20 speedup.
  
 -OPTS0= -DRAND -DTERMIO #-DNOCONST
-+OPTS0= -DRAND -DSGTTY #-DNOCONST
++OPTS0= -DTERMIOS -DPERL5 # Don't use crypt() from libdes!
  
  # Version 1.94 has changed the strings_to_key function so that it is
  # now compatible with MITs when the string is longer than 8 characters.
+@@ -39,7 +39,7 @@
+ #CFLAGS= -O $(OPTS) $(CFLAG)
+ 
+ CC=gcc
+-CFLAGS= -O3 -fomit-frame-pointer $(OPTS) $(CFLAG)
++CFLAGS= -O3 $(OPTS) $(CFLAG)
+ 
+ LIBDIR=/usr/local/lib
+ BINDIR=/usr/local/bin
 @@ -72,7 +72,12 @@
  
  DLIB=	libdes.a
@@ -23,6 +32,27 @@
  
  test:	all
  	./destest
+@@ -85,16 +90,16 @@
+ 	else exit 0; fi; fi
+ 
+ destest: destest.o libdes.a
+-	$(CC) $(CFLAGS) -o destest destest.o libdes.a
++	$(CC) $(CFLAGS) -o destest destest.o libdes.a -lcrypt
+ 
+ rpw: rpw.o libdes.a
+-	$(CC) $(CFLAGS) -o rpw rpw.o libdes.a
++	$(CC) $(CFLAGS) -o rpw rpw.o libdes.a -lcrypt
+ 
+ speed: speed.o libdes.a
+-	$(CC) $(CFLAGS) -o speed speed.o libdes.a
++	$(CC) $(CFLAGS) -o speed speed.o libdes.a -lcrypt
+ 
+ des: des.o libdes.a
+-	$(CC) $(CFLAGS) -o des des.o libdes.a
++	$(CC) $(CFLAGS) -o des des.o libdes.a -lcrypt
+ 
+ tags:
+ 	ctags $(DES) $(TESTING) $(LIBDES)
 @@ -152,4 +157,3 @@
  	    cp des.h $(INCDIR)/des.h; \
  	    chmod 644 $(INCDIR)/des.h; \

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712031447.WAA25261>