<?xml version="1.0"?>
<packages>
  <package name="openssh" version="6.7" revision="2">
    <category>Applications/Cryptography</category>
    <title>OpenSSH Secure Shell</title>
    <vendor>OpenSSH Developers</vendor>

    <description attribution="The OpenPKG Project">
Secure Shell (SSH) is a facility for logging into a remote machine and
for remotely executing commands on a remote machine. It is intended to
replace rlogin(1) and rsh(1), and provide secure encrypted
communications between two untrusted hosts over an insecure network.
X11 connections and arbitrary TCP/IP ports can also be forwarded over
the secure channel. OpenSSH is OpenBSD's rework of the last free
version of SSH, bringing it up to date in terms of security and
features, as well as removing all patented algorithms to separate
libraries (OpenSSL).
    </description>

    <install-name>openssh67</install-name>

    <package-manager name="depot">
      <pkgname-base>TWWopenssh67</pkgname-base>
      <version>6.7</version>
      <revision>2</revision>

      <init name="/sbin/init.d/TWWopenssh67"
        path="init-hpux"/>
      <init link-src="/sbin/rc2.d/S662TWWopenssh67"
        link-dest="/sbin/init.d/TWWopenssh67"/>
      <init link-src="/sbin/rc1.d/K268TWWopenssh67"
        link-dest="/sbin/init.d/TWWopenssh67"/>
      <config>/sbin/init.d/TWWopenssh67</config>

      <config upgrade="1">/etc${INSTALL_PREFIX}/shosts.equiv</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_config</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_dsa_key</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_dsa_key.pub</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_key</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_key.pub</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_rsa_key</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_rsa_key.pub</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_known_hosts</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/sshd_config</config>

      <subpkg type="conf">
        <depend user="sshd" group="sshd"/>

        <depend pkgname-base="TWWprngd"
          subpkg="conf"
          systype="*-hpux11.11">v&gt;=0.9.25</depend>
      </subpkg>
      <subpkg type="runtime">
        <depend pkgname-base="TWWlibedit21"
          subpkg="runtime">v&gt;=2.11</depend>
        <depend pkgname-base="TWWlibopenssl10"
          subpkg="runtime">v&gt;=1.0.0k</depend>
        <depend pkgname-base="TWWlibz12"
          subpkg="runtime">v&gt;=1.2.5</depend>
        <depend pkgname-base="TWWprngd"
          subpkg="runtime"
          systype="*-hpux11.11">v&gt;=0.9.25</depend>
      </subpkg>

      <replace pkgname-base="TWWopenssh62"
        install-name="openssh62"/>
      <replace pkgname-base="TWWopenssh59"
        install-name="openssh59"/>
      <replace pkgname-base="TWWossh52"
        install-name="openssh52"/>

      <changelog>
        <change date="2015 May 1" revision="2"
        author="Albert Chin-A-Young" email="china@thewrittenword.com">
          <item><para>Automatically create ed25519 keys on
startup. OpenSSH now requires them by default.</para></item>
        </change>
      </changelog>
    </package-manager>

    <package-manager name="lpp">
      <pkgname-base>TWW.openssh67</pkgname-base>
      <version>6.7.0</version>
      <revision>2</revision>

      <init name="/etc/rc.d/rc2.d/TWWopenssh67"
        path="init-aix"/>
      <init link-src="/etc/rc.d/rc2.d/S80TWWopenssh67"
        link-dest="TWWopenssh67"/>
      <init link-src="/etc/rc.d/rc2.d/K18TWWopenssh67"
        link-dest="TWWopenssh67"/>
      <config>/etc/rc.d/rc2.d/TWWopenssh67</config>

      <config upgrade="1">/etc${INSTALL_PREFIX}/shosts.equiv</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_config</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_dsa_key</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_dsa_key.pub</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_key</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_key.pub</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_rsa_key</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_rsa_key.pub</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_known_hosts</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/sshd_config</config>

      <subpkg type="conf">
        <depend user="sshd" group="sshd"/>

      </subpkg>
      <subpkg type="runtime">
        <depend pkgname-base="TWW.libedit21"
          subpkg="runtime">v&gt;=2.11.0.1</depend>
        <depend pkgname-base="TWW.libopenssl10"
          subpkg="runtime">v&gt;=1.0.0.1</depend>
        <depend pkgname-base="TWW.libz12"
          subpkg="runtime">v&gt;=1.2.5.1</depend>
      </subpkg>

      <replace pkgname-base="TWW.openssh62"
        install-name="openssh62"/>
      <replace pkgname-base="TWW.openssh59"
        install-name="openssh59"/>
      <replace pkgname-base="TWW.openssh52"
        install-name="openssh52"/>

      <changelog>
        <change date="2015 May 1" revision="2"
        author="Albert Chin-A-Young" email="china@thewrittenword.com">
          <item><para>Automatically create ed25519 keys on
startup. OpenSSH now requires them by default.</para></item>
        </change>
      </changelog>
    </package-manager>

    <package-manager name="pkgadd">
      <pkgname-base>TWWopenssh67</pkgname-base>
      <version>6.7</version>
      <revision>2</revision>

      <init name="/etc/init.d/TWWopenssh67"
        path="init-sol"/>
      <init link-src="/etc/rc2.d/S80TWWopenssh67"
        link-dest="/etc/init.d/TWWopenssh67"/>
      <init link-src="/etc/rc1.d/K18TWWopenssh67"
        link-dest="/etc/init.d/TWWopenssh67"/>
      <init link-src="/etc/rc0.d/K18TWWopenssh67"
        link-dest="/etc/init.d/TWWopenssh67"/>
      <config>/etc/init.d/TWWopenssh67</config>

      <config upgrade="1">/etc${INSTALL_PREFIX}/shosts.equiv</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_config</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_dsa_key</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_dsa_key.pub</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_key</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_key.pub</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_rsa_key</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_rsa_key.pub</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_known_hosts</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/sshd_config</config>

      <subpkg type="conf">
        <depend user="sshd" group="sshd"/>
      </subpkg>
      <subpkg type="runtime">
        <depend pkgname-base="TWWlibedit21"
          title="NetBSD Editline library - libedit"
          subpkg="runtime">v&gt;=2.11</depend>
        <depend pkgname-base="TWWlibopenssl10"
          title="OpenSSL SSL/TLS Crypto Toolkit"
          subpkg="runtime">v&gt;=1.0.0k</depend>
        <depend pkgname-base="TWWlibz12"
          title="ZLIB Compression Library"
          subpkg="runtime">v&gt;=1.2.5</depend>
      </subpkg>

      <replace pkgname-base="TWWopenssh62"
        install-name="openssh62"/>
      <replace pkgname-base="TWWopenssh59"
        install-name="openssh59"/>
      <replace pkgname-base="TWWopenssh52"
        install-name="openssh52"/>

      <changelog>
        <change date="2015 May 1" revision="2"
        author="Albert Chin-A-Young" email="china@thewrittenword.com">
          <item><para>Automatically create ed25519 keys on
startup. OpenSSH now requires them by default.</para></item>
        </change>
      </changelog>
    </package-manager>

    <package-manager name="rpm4">
      <pkgname-base>TWWopenssh67</pkgname-base>
      <version>6.7</version>
      <revision>2</revision>

      <init name="/etc/rc.d/rc2.d/TWWopenssh67"
        path="init-aix"
        systype="*-aix*"/>
      <init link-src="/etc/rc.d/rc2.d/S80TWWopenssh67"
        link-dest="TWWopenssh67"
        systype="*-aix*"/>
      <init link-src="/etc/rc.d/rc2.d/K18TWWopenssh67"
        link-dest="TWWopenssh67"
        systype="*-aix*"/>
      <config systype="*-aix*">/etc/rc.d/rc2.d/TWWopenssh67</config>

      <init name="/sbin/init.d/TWWopenssh67"
        path="init-hpux"
        systype="*-hpux*"/>
      <init link-src="/sbin/rc2.d/S662TWWopenssh67"
        link-dest="/sbin/init.d/TWWopenssh67"
        systype="*-hpux*"/>
      <init link-src="/sbin/rc1.d/K268TWWopenssh67"
        link-dest="/sbin/init.d/TWWopenssh67"
        systype="*-hpux*"/>
      <config systype="*-hpux*">/sbin/init.d/TWWopenssh67</config>

      <init name="/etc/rc.d/init.d/TWWopenssh67"
        path="init-rhel"
        systype="*-redhat-linuxe4"/>
      <init name="/etc/rc.d/init.d/TWWopenssh67"
        path="init-rhel5"
        systype="*-redhat-linuxe[56]"/>
      <config
        systype="*-redhat-linuxe[456]">/etc/rc.d/init.d/TWWopenssh67</config>

      <systemd name="TWWopenssh67-sshd-keygen.service"
        path="sshd-keygen.service"
        systype="*-linuxe7"/>
      <systemd name="TWWopenssh67-sshd.service"
        path="sshd.service"
        systype="*-linuxe7"/>
      <systemd name="TWWopenssh67-sshd.socket"
        path="sshd.socket"
        systype="*-linuxe7"/>

      <init name="/etc/init.d/TWWopenssh67"
        path="init-sles"
        systype="*-suse-linux*"/>
      <config systype="*-suse-linux*">/etc/init.d/TWWopenssh67</config>

      <init name="/etc/init.d/TWWopenssh67"
        path="init-sol"
        systype="*-solaris*"/>
      <init link-src="/etc/rc2.d/S80TWWopenssh67"
        link-dest="/etc/init.d/TWWopenssh67"
        systype="*-solaris*"/>
      <init link-src="/etc/rc1.d/K18TWWopenssh67"
        link-dest="/etc/init.d/TWWopenssh67"
        systype="*-solaris*"/>
      <init link-src="/etc/rc0.d/K18TWWopenssh67"
        link-dest="/etc/init.d/TWWopenssh67"
        systype="*-solaris*"/>
      <config systype="*-solaris*">/etc/init.d/TWWopenssh67</config>

      <config upgrade="1">/etc${INSTALL_PREFIX}/shosts.equiv</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_config</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_dsa_key</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_dsa_key.pub</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_key</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_key.pub</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_rsa_key</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_host_rsa_key.pub</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/ssh_known_hosts</config>
      <config upgrade="1">/etc${INSTALL_PREFIX}/sshd_config</config>

      <subpkg type="conf">
        <depend user="sshd" group="sshd"/>

        <depend pkgname-base="TWWprngd"
          subpkg="conf"
          systype="*-hpux11.11">v&gt;=0.9.25</depend>
      </subpkg>
      <subpkg type="runtime">
        <depend pkgname-base="TWWlibedit21"
          subpkg="runtime">v&gt;=2.11</depend>
        <depend pkgname-base="TWWlibopenssl10"
          subpkg="runtime">v&gt;=1.0.0k</depend>
        <depend pkgname-base="TWWlibz12"
          subpkg="runtime">v&gt;=1.2.5</depend>
        <depend pkgname-base="TWWprngd"
          subpkg="runtime"
          systype="*-hpux11.11">v&gt;=0.9.25</depend>
      </subpkg>

      <replace pkgname-base="TWWopenssh62"
        install-name="openssh62"/>
      <replace pkgname-base="TWWopenssh59"
        install-name="openssh59"/>
      <replace pkgname-base="TWWopenssh52"
        install-name="openssh52"/>

      <changelog>
        <change date="2015 May 1" revision="2"
        author="Albert Chin-A-Young" email="china@thewrittenword.com">
          <item><para>Automatically create ed25519 keys on
startup. OpenSSH now requires them by default.</para></item>
        </change>
      </changelog>
    </package-manager>

    <changelog>
      <change date="2015 May 1" revision="2"
      author="Albert Chin-A-Young" email="china@thewrittenword.com">
        <item><para>Automatically create ed25519 keys on
startup. OpenSSH now requires them by default.</para></item>
      </change>
    </changelog>
  </package>
</packages>
