Skip to content

Instantly share code, notes, and snippets.

@Tux
Created August 17, 2015 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tux/dd607326bc17e57f75bf to your computer and use it in GitHub Desktop.
Save Tux/dd607326bc17e57f75bf to your computer and use it in GitHub Desktop.
PSF for OpenSSH
# VSN = /usr/local/bin/ssh -V 2>&1 | perl -ne'm/_([^, ]+)/ and print$1'
depot
layout_version 1.0
vendor
tag PROCURA
title PROCURA B.V
category
tag open_source
title Open Source Software Distributions
description These are Open Source Software Depot's
revision 1.0
end
product
tag openssh
revision VSN
architecture HP-UX_B.11.00_PA
vendor_tag PROCURA
title openssh
category_tag open_source
machine_type *
os_name HP-UX
os_release ?.11.00
os_version ?
directory /
is_locatable false
fileset
tag openssh-RUN
title OpenSSH binaries
prerequisites openssl
file_permissions -u 000 -o root -g sys
directory /usr/local/bin=/usr/local/bin
file scp
file scp-VSN
file ssh-add
file ssh-add-VSN
file ssh-agent
file ssh-agent-VSN
file ssh-keygen
file ssh-keygen-VSN
file ssh-keyscan
file ssh-keyscan-VSN
file sftp
file sftp-VSN
file ssh
file ssh-VSN
directory /usr/local/sbin=/usr/local/sbin
file sshd
file sshd-VSN
directory /usr/local/libexec=/usr/local/libexec
file s[fs]*
directory /usr/local/share=/usr/local/share
file Ssh.bin
end
fileset
tag openssh-MAN
title OpenSSH documentation and manuals
file_permissions -u 000 -o root -g sys
directory /usr/local/man/man1=/usr/local/man/man1
file scp.1
file sftp.1
file slogin.1
file ssh-add.1
file ssh-agent.1
file ssh-keygen.1
file ssh-keyscan.1
file ssh.1
directory /usr/local/man/man5=/usr/local/man/man5
file ssh_config.5
file sshd_config.5
directory /usr/local/man/man8=/usr/local/man/man8
file sftp-server.8
file ssh-keysign.8
file sshd.8
end
fileset
tag openssh-CFG
title OpenSSH configuration files
file_permissions -u 000 -o root -g sys
directory /usr/local/etc=/usr/local/etc
file moduli
file ssh_config
file sshd_config
directory /sbin/init.d=/sbin/init.d
file openssh
directory /etc/rc.config.d=/etc/rc.config.d
file opensshd
end
=> which expands to this
depot
layout_version 1.0
vendor
tag PROCURA
title PROCURA B.V
category
tag open_source
title Open Source Software Distributions
description These are Open Source Software Depot's
revision 1.0
end
product
tag openssh
revision 7.0p1
architecture HP-UX_B.11.31_64
vendor_tag PROCURA
title openssh
category_tag open_source
machine_type *
os_name HP-UX
os_release ?.11.31
os_version ?
directory /
is_locatable false
fileset
tag openssh-RUN
title OpenSSH binaries
prerequisites openssl
file_permissions -u 000 -o root -g sys
directory /usr/local/bin=/usr/local/bin
file scp
file scp-7.0p1
file ssh-add
file ssh-add-7.0p1
file ssh-agent
file ssh-agent-7.0p1
file ssh-keygen
file ssh-keygen-7.0p1
file ssh-keyscan
file ssh-keyscan-7.0p1
file sftp
file sftp-7.0p1
file ssh
file ssh-7.0p1
directory /usr/local/sbin=/usr/local/sbin
file sshd
file sshd-7.0p1
directory /usr/local/libexec=/usr/local/libexec
file sftp-server
file ssh-keysign
file ssh-pkcs11-helper
directory /usr/local/share=/usr/local/share
file Ssh.bin
end
fileset
tag openssh-MAN
title OpenSSH documentation and manuals
file_permissions -u 000 -o root -g sys
directory /usr/local/man/man1=/usr/local/man/man1
file scp.1
file sftp.1
file slogin.1
file ssh-add.1
file ssh-agent.1
file ssh-keygen.1
file ssh-keyscan.1
file ssh.1
directory /usr/local/man/man5=/usr/local/man/man5
file ssh_config.5
file sshd_config.5
directory /usr/local/man/man8=/usr/local/man/man8
file sftp-server.8
file ssh-keysign.8
file sshd.8
end
fileset
tag openssh-CFG
title OpenSSH configuration files
file_permissions -u 000 -o root -g sys
directory /usr/local/etc=/usr/local/etc
file moduli
file ssh_config
file sshd_config
directory /sbin/init.d=/sbin/init.d
file openssh
directory /etc/rc.config.d=/etc/rc.config.d
file opensshd
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment