diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
commit | 003727289cc45e29eff0c0c48ad0f9660f96644f (patch) | |
tree | 0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/util/openssh.xibuild | |
parent | d2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff) |
separated patch, build, check and package stages
Diffstat (limited to 'repo/util/openssh.xibuild')
-rw-r--r-- | repo/util/openssh.xibuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/repo/util/openssh.xibuild b/repo/util/openssh.xibuild index 3ed91ef..a7e4b75 100644 --- a/repo/util/openssh.xibuild +++ b/repo/util/openssh.xibuild @@ -2,7 +2,8 @@ DEPS=(glibc krb5 openssl libedit ldns libxcrypt zlib pam) -SOURCE=https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.8p1.tar.gz +PKG_VER=8.8p1 +SOURCE=https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$PKG_VER.tar.gz DESC="Premier connectivity tool for remote login with the SSH protocol" build () { @@ -14,17 +15,17 @@ build () { --with-superuser-path=/usr/sbin:/usr/bin \ --with-pid-dir=/run make - make DESTDIR=$PKG_DEST install } package () { + make DESTDIR=$PKG_DEST install install -v -m755 contrib/ssh-copy-id $PKG_DEST/usr/bin install -v -m644 contrib/ssh-copy-id.1 \ $PKG_DEST/usr/share/man/man1 - install -v -m755 -d $PKG_DEST/usr/share/doc/openssh-8.8p1 + install -v -m755 -d $PKG_DEST/usr/share/doc/openssh-$PKG_VER install -v -m644 INSTALL LICENCE OVERVIEW README* \ - $PKG_DEST/usr/share/doc/openssh-8.8p1 + $PKG_DEST/usr/share/doc/openssh-$PKG_VER } |