diff options
author | mnag <mnag@FreeBSD.org> | 2008-04-19 21:46:24 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2008-04-19 21:46:24 +0800 |
commit | 1ed95390b175ae8673933f14555a7bf4f1f5096a (patch) | |
tree | 76743158244507c2643bbfaf9721ab7a8c8d3683 /security/openssh-portable/Makefile | |
parent | 57b3a47c812818a2afdd011255e006a2978c6f70 (diff) | |
download | freebsd-ports-gnome-1ed95390b175ae8673933f14555a7bf4f1f5096a.tar.gz freebsd-ports-gnome-1ed95390b175ae8673933f14555a7bf4f1f5096a.tar.zst freebsd-ports-gnome-1ed95390b175ae8673933f14555a7bf4f1f5096a.zip |
- Update to 5.0p1
- Port LPK patch to 5.0p1 and add to files dir
- Remove USE_PERL_BUILD since doesn't need [1]
- Update KERB_GSSAPI to 5.0p1
- Update HPN patch to 5.0p1 13v3
- Respect LOCALBASE on configure_args of LPK [2]
- Change MASTER_SITE of snapshot
- portlint(1)
PR: 121826 [2]
Submitted by: Andrew Kolchoogin <andrew___rinet.ru> [2]
Reported by: Björn König <bkoenig___alpha-tierchen.d [1]
Diffstat (limited to 'security/openssh-portable/Makefile')
-rw-r--r-- | security/openssh-portable/Makefile | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index e93940fecca3..9a846065a04f 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -6,14 +6,15 @@ # PORTNAME= openssh -DISTVERSION= 4.7p1 -PORTREVISION= 1 +DISTVERSION= 5.0p1 PORTEPOCH= 1 CATEGORIES= security ipv6 -MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/%SUBDIR%/ \ - ftp://carroll.cac.psu.edu/pub/OpenBSD/OpenSSH/portable/%SUBDIR%/ \ - http://mirror.mcs.anl.gov/openssh/portable/%SUBDIR%/ -MASTER_SITE_SUBDIR= # empty +.if defined(OPENSSH_SNAPSHOT) +MASTER_SITES= http://www.mindrot.org/openssh_snap/ +.else +MASTER_SITES= ${MASTER_SITE_OPENBSD} +MASTER_SITE_SUBDIR= OpenSSH/portable +.endif PKGNAMESUFFIX= ${PORTABLE_SUFFIX}${GSSAPI_SUFFIX}${BASE_SUFFIX} DISTNAME= # empty @@ -23,7 +24,6 @@ COMMENT= The portable version of OpenBSD's OpenSSH .if defined(OPENSSH_SNAPSHOT) PORTREVISION!= date -v-1d +%Y%m%d NO_CHECKSUM= yes -MASTER_SITE_SUBDIR+= snapshot DISTNAME+= ${PORTNAME}-SNAP-${PORTREVISION} .else DISTNAME+= ${PORTNAME}-${DISTVERSION} @@ -39,7 +39,6 @@ MAN8= sftp-server.8 sshd.8 ssh-keysign.8 CONFLICTS?= openssh-3.* ssh-1.* ssh2-3.* USE_OPENSSL= yes -USE_PERL5_BUILD= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --prefix=${PREFIX} --with-md5-passwords \ @@ -95,7 +94,7 @@ CONFIGURE_ARGS+= --disable-suid-ssh .if defined(WITH_KERB_GSSAPI) PATCH_DIST_STRIP= -p0 PATCH_SITES+= http://www.sxw.org.uk/computing/patches/ -PATCHFILES+= openssh-4.7p1-gsskex-20070927.patch +PATCHFILES+= openssh-5.0p1-gsskex-20080404.patch .endif PORTABLE_SUFFIX= # empty GSSAPI_SUFFIX= -gssapi @@ -140,18 +139,16 @@ BROKEN= HPN and LPK patches are incompatible .if defined(WITH_HPN) PATCH_DIST_STRIP= -p1 PATCH_SITES+= http://www.psc.edu/networking/projects/hpn-ssh/ -PATCHFILES+= openssh-4.7p1-hpn12v20.diff.gz +PATCHFILES+= openssh-5.0p1-hpn13v3.diff.gz .endif # See http://dev.inversepath.com/trac/openssh-lpk .if defined(WITH_LPK) -PATCH_DIST_STRIP= -p2 -PATCH_SITES+= http://dev.inversepath.com/openssh-lpk/ -PATCHFILES+= openssh-lpk-4.6p1-0.3.9.patch +EXTRA_PATCHES= ${FILESDIR}/openssh-lpk-5.0p1-0.3.9.patch USE_OPENLDAP= yes CPPFLAGS+= "-I${LOCALBASE}/include -DWITH_LDAP_PUBKEY" -CONFIGURE_ARGS+= --with-libs='-lldap' --with-ldflags='-L/usr/local/lib' \ - --with-cppflags='-I/usr/local/include -DWITH_LDAP_PUBKEY' +CONFIGURE_ARGS+= --with-libs='-lldap' --with-ldflags='-L${LOCALBASE}/lib' \ + --with-cppflags='-I${LOCALBASE}/include -DWITH_LDAP_PUBKEY' .endif .if defined(WITH_OVERWRITE_BASE) |