1 | diff -urN hydra.orig/Portfile hydra/Portfile |
---|
2 | --- hydra.orig/Portfile Thu May 27 19:02:08 2004 |
---|
3 | +++ hydra/Portfile Thu May 27 20:46:21 2004 |
---|
4 | @@ -1,7 +1,7 @@ |
---|
5 | # $Id: Portfile,v 1.1 2004/03/17 11:50:58 olegb Exp $ |
---|
6 | PortSystem 1.0 |
---|
7 | name hydra |
---|
8 | -version 4.0 |
---|
9 | +version 4.1 |
---|
10 | distname ${name}-${version}-src |
---|
11 | categories security |
---|
12 | maintainers julien.touche@touche.fr.st |
---|
13 | @@ -20,11 +20,9 @@ |
---|
14 | http://www.thehackerschoice.com |
---|
15 | master_sites http://www.thc.org/releases/ |
---|
16 | platforms darwin |
---|
17 | -checksums md5 858e0b049fed9dcf06c7c8d052579f69 |
---|
18 | +checksums md5 63f1bea8ff62d296099f777d25ee842e |
---|
19 | depends_lib \ |
---|
20 | lib:libssl:openssl |
---|
21 | -# need also libdes (in base system: in libcrypto) |
---|
22 | -set worksrcdir ${name}-${version} |
---|
23 | |
---|
24 | build.type gnu |
---|
25 | pre-destroot { |
---|
26 | @@ -35,12 +33,8 @@ |
---|
27 | ${destroot}${prefix}/share/doc/${name} |
---|
28 | } |
---|
29 | |
---|
30 | -#variant darwin { |
---|
31 | -# pre-configure { |
---|
32 | -# ## error |
---|
33 | -# #ld: Undefined symbols: |
---|
34 | -# #_des_set_odd_parity |
---|
35 | -# reinplace "s|LIBDES=\"\"|LIBDES=\"-ldes425 -lcrypto\"|" \ |
---|
36 | -# ${worksrcpath}/configure |
---|
37 | -# } |
---|
38 | -#} |
---|
39 | +variant libssh { |
---|
40 | + depends_lib-append lib:libssh:libssh |
---|
41 | + patchfiles patch-configure |
---|
42 | +} |
---|
43 | + |
---|
44 | diff -urN hydra.orig/files/patch-configure hydra/files/patch-configure |
---|
45 | --- hydra.orig/files/patch-configure Thu Jan 1 01:00:00 1970 |
---|
46 | +++ hydra/files/patch-configure Thu May 27 19:18:55 2004 |
---|
47 | @@ -0,0 +1,11 @@ |
---|
48 | +--- configure.orig Thu May 27 19:18:10 2004 |
---|
49 | ++++ configure Thu May 27 19:18:41 2004 |
---|
50 | +@@ -144,7 +144,7 @@ |
---|
51 | + fi |
---|
52 | + fi |
---|
53 | + done |
---|
54 | +-for i in /usr/local/include /*ssl/include /usr/include . |
---|
55 | ++for i in /usr/local/include /*ssl/include /usr/include . /opt/local/include |
---|
56 | + do |
---|
57 | + if [ "X" = "X$SSH_IPATH" ]; then |
---|
58 | + if [ -f "$i/libssh/libssh.h" ]; then |
---|