summaryrefslogtreecommitdiff
path: root/security/crack/patches
diff options
context:
space:
mode:
authorschwarz <schwarz>2010-01-03 14:30:37 +0000
committerschwarz <schwarz>2010-01-03 14:30:37 +0000
commitaf8eba485e96d237b21786240a9eec36fb9cc276 (patch)
treeb08f9db33914b5f40df6996fa96ce44bb39ec51c /security/crack/patches
parent3e822e31ef9856b9c2cbfcffff38a7f6631720f9 (diff)
downloadpkgsrc-af8eba485e96d237b21786240a9eec36fb9cc276.tar.gz
improved CC and CFLAGS support
Diffstat (limited to 'security/crack/patches')
-rw-r--r--security/crack/patches/patch-aa21
-rw-r--r--security/crack/patches/patch-ac15
2 files changed, 28 insertions, 8 deletions
diff --git a/security/crack/patches/patch-aa b/security/crack/patches/patch-aa
index eafaed0d594..0a9a50aec6d 100644
--- a/security/crack/patches/patch-aa
+++ b/security/crack/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.4 2005/04/29 16:59:02 kristerw Exp $
+$NetBSD: patch-aa,v 1.5 2010/01/03 14:30:37 schwarz Exp $
---- Crack.orig Fri Dec 20 17:09:41 1996
-+++ Crack
+--- Crack.orig 1996-12-21 02:09:41.000000000 +0100
++++ Crack 2010-01-03 15:01:01.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!@@SH@@
@@ -19,7 +19,18 @@ $NetBSD: patch-aa,v 1.4 2005/04/29 16:59:02 kristerw Exp $
# compiler options for crack 5.0
#
-@@ -108,41 +108,11 @@ node=`uname -n`
+@@ -42,8 +42,8 @@
+ #
+
+ # vanilla unix cc
+-CC=cc
+-CFLAGS="-g -O $C5FLAGS"
++#CC=cc
++CFLAGS="$CFLAGS $C5FLAGS"
+ #LIBS=-lcrypt # uncomment only if necessary to use stdlib crypt(), eg: NetBSD MD5
+
+ # gcc 2.7.2
+@@ -108,41 +108,11 @@
# home base
###
@@ -63,7 +74,7 @@ $NetBSD: patch-aa,v 1.4 2005/04/29 16:59:02 kristerw Exp $
###
# Flagwaving
-@@ -279,110 +249,76 @@ fi
+@@ -279,110 +249,76 @@
# Sanity test bindir - written in gruntscript for clarity.
###
diff --git a/security/crack/patches/patch-ac b/security/crack/patches/patch-ac
index 747383d8152..b2bdaed07eb 100644
--- a/security/crack/patches/patch-ac
+++ b/security/crack/patches/patch-ac
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.1 1999/10/04 17:35:52 bouyer Exp $
+$NetBSD: patch-ac,v 1.2 2010/01/03 14:30:37 schwarz Exp $
---- src/libdes/Makefile.orig Thu Dec 19 01:29:21 1996
-+++ src/libdes/Makefile Fri Jan 31 11:14:52 1997
+--- src/libdes/Makefile.orig 1996-12-19 10:29:21.000000000 +0100
++++ src/libdes/Makefile 2010-01-03 15:22:36.000000000 +0100
@@ -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.
@@ -11,3 +11,12 @@ $NetBSD: patch-ac,v 1.1 1999/10/04 17:35:52 bouyer Exp $
# 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.
+@@ -35,7 +35,7 @@
+
+ OPTS= $(OPTS0) $(OPTS1) $(OPTS2)
+
+-CC=cc
++#CC=cc
+ CFLAGS= -O $(OPTS) $(CFLAG)
+
+ #CC=gcc