1 | --- /Users/ecronin/Downloads/Portfile 2006-12-15 14:05:09.000000000 -0500 |
---|
2 | +++ Portfile 2006-12-15 14:02:03.000000000 -0500 |
---|
3 | @@ -1,4 +1,4 @@ |
---|
4 | -# $Id$ |
---|
5 | +# $Id: Portfile 20607 2006-11-08 22:25:48Z pmq@macports.org $ |
---|
6 | |
---|
7 | PortSystem 1.0 |
---|
8 | |
---|
9 | @@ -19,9 +19,9 @@ |
---|
10 | methods. |
---|
11 | homepage http://www.openssh.com/ |
---|
12 | platforms darwin |
---|
13 | -checksums md5 6468c339886f78e8a149b88f695839dd \ |
---|
14 | - sha1 2eefcbbeb9e4fa16fa4500dec107d1a09d3d02d7 \ |
---|
15 | - rmd160 3f70b6f4228e84c7b9b8b3bee7fd3875f3e3bad3 |
---|
16 | +checksums ${name}-${version}.tar.gz md5 6468c339886f78e8a149b88f695839dd \ |
---|
17 | + ${name}-${version}.tar.gz sha1 2eefcbbeb9e4fa16fa4500dec107d1a09d3d02d7 \ |
---|
18 | + ${name}-${version}.tar.gz rmd160 3f70b6f4228e84c7b9b8b3bee7fd3875f3e3bad3 |
---|
19 | master_sites openbsd:OpenSSH/portable \ |
---|
20 | ftp://carroll.cac.psu.edu/pub/OpenBSD/OpenSSH/portable/ |
---|
21 | depends_lib port:openssl port:zlib |
---|
22 | @@ -52,6 +52,17 @@ |
---|
23 | configure.args-append --with-kerberos5=/usr |
---|
24 | } |
---|
25 | |
---|
26 | +# For high-performance patch |
---|
27 | +variant hpn { |
---|
28 | + patch_sites-append http://www.psc.edu/networking/projects/hpn-ssh/ |
---|
29 | + patchfiles-append openssh-4.5p1-hpn12v14.diff.gz |
---|
30 | + checksums-append openssh-4.5p1-hpn12v14.diff.gz sha1 8bea17b13e7e91135785f4222252c28d08c9c887 |
---|
31 | + patch.pre_args -p1 |
---|
32 | + post-patch { |
---|
33 | + reinplace "s|TMP_SSH_VERSION SSH_PORTABLE|TMP_SSH_VERSION SSH_PORTABLE SSH_HPN|" ${worksrcpath}/version.h |
---|
34 | + } |
---|
35 | +} |
---|
36 | + |
---|
37 | platform darwin { |
---|
38 | # ln -s /usr/include/pam to work/include/security because 'security' was |
---|
39 | # renamed to 'pam' in OS X. |
---|