1 | --- Portfile.orig Thu Sep 9 22:02:32 2004 |
---|
2 | +++ Portfile Fri Sep 10 05:20:41 2004 |
---|
3 | @@ -1,7 +1,7 @@ |
---|
4 | # $Id: Portfile,v 1.2 2004/05/24 05:40:44 blb Exp $ |
---|
5 | PortSystem 1.0 |
---|
6 | name hydra |
---|
7 | -version 4.0 |
---|
8 | +version 4.3 |
---|
9 | distname ${name}-${version}-src |
---|
10 | categories security |
---|
11 | maintainers julien.touche@touche.fr.st |
---|
12 | @@ -20,11 +20,12 @@ |
---|
13 | http://www.thehackerschoice.com |
---|
14 | master_sites http://www.thc.org/releases/ |
---|
15 | platforms darwin |
---|
16 | -checksums md5 858e0b049fed9dcf06c7c8d052579f69 |
---|
17 | +checksums md5 e135798de515bb2f7a231625046210a9 |
---|
18 | depends_lib \ |
---|
19 | lib:libssl:openssl |
---|
20 | # need also libdes (in base system: in libcrypto) |
---|
21 | -set worksrcdir ${name}-${version} |
---|
22 | +#set worksrcdir ${name}-${version} |
---|
23 | +patchfiles patch-Makefile_am |
---|
24 | |
---|
25 | build.type gnu |
---|
26 | pre-destroot { |
---|
27 | @@ -35,12 +36,8 @@ |
---|
28 | ${destroot}${prefix}/share/doc/${name} |
---|
29 | } |
---|
30 | |
---|
31 | -#variant darwin { |
---|
32 | -# pre-configure { |
---|
33 | -# ## error |
---|
34 | -# #ld: Undefined symbols: |
---|
35 | -# #_des_set_odd_parity |
---|
36 | -# reinplace "s|LIBDES=\"\"|LIBDES=\"-ldes425 -lcrypto\"|" \ |
---|
37 | -# ${worksrcpath}/configure |
---|
38 | -# } |
---|
39 | -#} |
---|
40 | +variant libssh { |
---|
41 | + depends_lib-append lib:libssh:libssh |
---|
42 | + patchfiles-append patch-configure |
---|
43 | +} |
---|
44 | + |
---|