- Fix package creation. [1]
- Update HPN patch and remove IGNORE. [2] - Bump PORTREVISION PR: 103961 Submitted by: Phil Oleson <oz___nixil.net> [1], ale [2]
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= openssh
|
||||
DISTVERSION= 4.4p1
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= security ipv6
|
||||
MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/%SUBDIR%/ \
|
||||
@@ -133,10 +134,9 @@ EXTRA_PATCHES+= ${FILESDIR}/scardpin.patch
|
||||
.endif
|
||||
|
||||
.if defined(WITH_HPN)
|
||||
IGNORE= option HPN is temporary disabled, waiting patch for new openssh release
|
||||
PATCH_DIST_STRIP= -p1
|
||||
PATCH_SITES+= http://www.psc.edu/networking/projects/hpn-ssh/
|
||||
PATCHFILES+= openssh-4.3p2-hpn12.diff.gz
|
||||
PATCHFILES+= openssh-4.4p1-hpn.diff.gz
|
||||
.endif
|
||||
|
||||
.if defined(WITH_OVERWRITE_BASE)
|
||||
@@ -148,9 +148,9 @@ PREFIX= /usr
|
||||
ETCSSH= /etc/ssh
|
||||
USE_RC_SUBR= yes
|
||||
SUB_FILES+= openssh
|
||||
SUB_LIST+= ETCSSH="${ETCSSH}"
|
||||
PLIST_SUB+= NOTBASE="@comment "
|
||||
PLIST_SUB+= BASE=""
|
||||
PLIST_SUB+= BASEPREFIX="${PREFIX}"
|
||||
.else
|
||||
.if exists(/var/empty)
|
||||
EMPTYDIR= /var/empty
|
||||
@@ -159,12 +159,12 @@ EMPTYDIR= ${PREFIX}/empty
|
||||
.endif
|
||||
ETCSSH= ${PREFIX}/etc/ssh
|
||||
USE_RC_SUBR= openssh
|
||||
SUB_LIST+= ETCSSH="${ETCSSH}"
|
||||
PLIST_SUB+= NOTBASE=""
|
||||
PLIST_SUB+= BASE="@comment "
|
||||
.endif
|
||||
|
||||
# After all
|
||||
SUB_LIST+= ETCSSH="${ETCSSH}"
|
||||
PLIST_SUB+= EMPTYDIR="${EMPTYDIR}"
|
||||
CONFIGURE_ARGS+= --sysconfdir=${ETCSSH} --with-privsep-path=${EMPTYDIR}
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
MD5 (openssh-4.4p1.tar.gz) = 793a709a8de695c22f523024d7e9bf07
|
||||
SHA256 (openssh-4.4p1.tar.gz) = 0252474af4009129cde6a2df2893fb1ac24316436758796f6adc043ac73b35ac
|
||||
SIZE (openssh-4.4p1.tar.gz) = 1044334
|
||||
MD5 (openssh-4.4p1-hpn.diff.gz) = d5f07fcb10360b52bdcacf3c7de803b6
|
||||
SHA256 (openssh-4.4p1-hpn.diff.gz) = 6febe17260ff66a8dbb7b466252889f855dcc5dec50c93eff25050839cf65977
|
||||
SIZE (openssh-4.4p1-hpn.diff.gz) = 16258
|
||||
|
||||
@@ -12,8 +12,10 @@ bin/ssh-keyscan
|
||||
%%NOTBASE%%@exec if [ -f %D/etc/sshd_config -a ! -f %D/etc/ssh/sshd_config ]; then ln %D/etc/sshd_config %D/etc/ssh/sshd_config ; fi
|
||||
%%NOTBASE%%@unexec if cmp -s %D/etc/ssh/ssh_config %D/etc/ssh/ssh_config-dist; then rm -f %D/etc/ssh/ssh_config; fi
|
||||
%%NOTBASE%%@unexec if cmp -s %D/etc/ssh/sshd_config %D/etc/ssh/sshd_config-dist; then rm -f %D/etc/ssh/sshd_config; fi
|
||||
%%BASE%%@cwd /
|
||||
etc/ssh/ssh_config-dist
|
||||
etc/ssh/sshd_config-dist
|
||||
%%BASE%%@cwd %%BASEPREFIX%%
|
||||
%%NOTBASE%%@exec if [ ! -f %D/etc/ssh/ssh_config ]; then cp -p %D/etc/ssh/ssh_config-dist %D/etc/ssh/ssh_config ; fi
|
||||
%%NOTBASE%%@exec if [ ! -f %D/etc/ssh/sshd_config ]; then cp -p %D/etc/ssh/sshd_config-dist %D/etc/ssh/sshd_config ; fi
|
||||
%%NOTBASE%%@dirrmtry etc/ssh
|
||||
|
||||
Reference in New Issue
Block a user