Date: Friday, August 14, 2020 @ 13:27:30 Author: arodseth Revision: 679137
archrelease: copy trunk to community-x86_64 Added: dropbear/repos/community-x86_64/PKGBUILD (from rev 679136, dropbear/trunk/PKGBUILD) dropbear/repos/community-x86_64/dropbear.service (from rev 679136, dropbear/trunk/dropbear.service) dropbear/repos/community-x86_64/localoptions.h (from rev 679136, dropbear/trunk/localoptions.h) Deleted: dropbear/repos/community-x86_64/PKGBUILD dropbear/repos/community-x86_64/dropbear.service dropbear/repos/community-x86_64/localoptions.h ------------------+ PKGBUILD | 121 ++++++++++++++++++++++++++--------------------------- dropbear.service | 20 ++++---- localoptions.h | 86 ++++++++++++++++++------------------- 3 files changed, 113 insertions(+), 114 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-14 13:27:23 UTC (rev 679136) +++ PKGBUILD 2020-08-14 13:27:30 UTC (rev 679137) @@ -1,61 +0,0 @@ -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> -# Contributor: Timothy Redaelli <timothy.redae...@gmail.com> -# Contributor: Bartlomiej Piotrowski <nos...@bpiotrowski.pl> -# Contributor: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> -# Contributor: Jason Pierce <pierce.j...@gmail.com> -# Contributor: Jeremy Cowgar <jer...@cowgar.com> -# Contributor: Simon Perry <a...@sanxion.net> - -pkgbase=dropbear -pkgname=(dropbear dropbear-scp) -pkgver=2020.79 -pkgrel=1 -pkgdesc='Lightweight SSH server' -arch=(x86_64) -url='https://github.com/mkj/dropbear' -license=(MIT) -options=(emptydirs) -makedepends=('git') -validpgpkeys=('F7347EF2EE2E07A267628CA944931494F29C6773') -source=("git+$url#commit=1e10af850ba6e0c3a9af1382ed0f33981d2754ec" # tag: DROPBEAR_2020.79 - localoptions.h - $pkgname.service) -sha256sums=('SKIP' - 'a284c2a2570d5b1f98f38fc044ab6fd45b9834be7a91216df7f159257b54e0bc' - '0c0e5b9d121b9d728fed92d6574f2a96d74e4f8a61169dc1e452488f43bb1484') - -prepare() { - cp -f localoptions.h "$pkgname/" -} - -build() { - cd $pkgname - autoconf - autoheader - ./configure --bindir=/usr/bin --prefix=/usr --sbindir=/usr/bin - make \ - PROGRAMS='dbclient dropbear dropbearconvert dropbearkey scp' \ - SCPPROGRESS=1 -} - -package_dropbear() { - install -d "$pkgdir/etc/$pkgname" - make -C $pkgbase install DESTDIR="$pkgdir" - install -Dm644 $pkgname.service \ - "$pkgdir/usr/lib/systemd/system/$pkgname.service" - install -Dm644 $pkgbase/LICENSE \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -package_dropbear-scp() { - pkgdesc='Lightweight application for copying files over SSH' - provides=(scp) - conflicts=(openssh) - - make -C $pkgbase install PROGRAMS=scp DESTDIR="$pkgdir" - install -Dm644 $pkgbase/LICENSE \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - rmdir "$pkgdir/usr/share/man"{/man1,} -} - -# vim: ts=2 sw=2 et: Copied: dropbear/repos/community-x86_64/PKGBUILD (from rev 679136, dropbear/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-14 13:27:30 UTC (rev 679137) @@ -0,0 +1,60 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: Timothy Redaelli <timothy.redae...@gmail.com> +# Contributor: Bartlomiej Piotrowski <nos...@bpiotrowski.pl> +# Contributor: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> +# Contributor: Jason Pierce <pierce.j...@gmail.com> +# Contributor: Jeremy Cowgar <jer...@cowgar.com> +# Contributor: Simon Perry <a...@sanxion.net> + +pkgbase=dropbear +pkgname=(dropbear dropbear-scp) +pkgver=2020.80 +pkgrel=1 +pkgdesc='Lightweight SSH server' +arch=(x86_64) +url='https://github.com/mkj/dropbear' +license=(MIT) +options=(emptydirs) +makedepends=('git') +validpgpkeys=('F7347EF2EE2E07A267628CA944931494F29C6773') +source=("git+$url#commit=80e928170150f2f11ce6aeaa030870608bb6323b" # tag: DROPBEAR_2020.80 + localoptions.h + $pkgname.service) +sha256sums=('SKIP' + 'a284c2a2570d5b1f98f38fc044ab6fd45b9834be7a91216df7f159257b54e0bc' + '0c0e5b9d121b9d728fed92d6574f2a96d74e4f8a61169dc1e452488f43bb1484') + +prepare() { + cp -f localoptions.h "$pkgname/" +} + +build() { + cd $pkgname + autoconf + autoheader + ./configure --bindir=/usr/bin --prefix=/usr --sbindir=/usr/bin + make \ + PROGRAMS='dbclient dropbear dropbearconvert dropbearkey scp' SCPPROGRESS=1 +} + +package_dropbear() { + install -d "$pkgdir/etc/$pkgname" + make -C $pkgbase install DESTDIR="$pkgdir" + install -Dm644 $pkgname.service \ + "$pkgdir/usr/lib/systemd/system/$pkgname.service" + install -Dm644 $pkgbase/LICENSE \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_dropbear-scp() { + pkgdesc='Lightweight application for copying files over SSH' + provides=(scp) + conflicts=(openssh) + + make -C $pkgbase install PROGRAMS=scp DESTDIR="$pkgdir" + install -Dm644 $pkgbase/LICENSE \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rmdir "$pkgdir/usr/share/man"{/man1,} +} + +# vim: ts=2 sw=2 et: Deleted: dropbear.service =================================================================== --- dropbear.service 2020-08-14 13:27:23 UTC (rev 679136) +++ dropbear.service 2020-08-14 13:27:30 UTC (rev 679137) @@ -1,10 +0,0 @@ -[Unit] -Description=Dropbear SSH Server -After=network.target - -[Service] -Type=simple -ExecStart=/usr/bin/dropbear -F -P /run/dropbear.pid -R - -[Install] -WantedBy=multi-user.target Copied: dropbear/repos/community-x86_64/dropbear.service (from rev 679136, dropbear/trunk/dropbear.service) =================================================================== --- dropbear.service (rev 0) +++ dropbear.service 2020-08-14 13:27:30 UTC (rev 679137) @@ -0,0 +1,10 @@ +[Unit] +Description=Dropbear SSH Server +After=network.target + +[Service] +Type=simple +ExecStart=/usr/bin/dropbear -F -P /run/dropbear.pid -R + +[Install] +WantedBy=multi-user.target Deleted: localoptions.h =================================================================== --- localoptions.h 2020-08-14 13:27:23 UTC (rev 679136) +++ localoptions.h 2020-08-14 13:27:30 UTC (rev 679137) @@ -1,43 +0,0 @@ -/* - * Arch Linux configuration for DropBear - * - * The majority of these options are disabled or enabled as a result of - * running ssh-audit: - * - * https://github.com/arthepsy/ssh-audit - */ - -/* Disable CBC mode for ciphers */ -#define DROPBEAR_ENABLE_CBC_MODE 0 - -/* Disable X11 forwarding on the server */ -#define DROPBEAR_X11FWD 0 - -/* Disable reverse DNS lookups */ -#define DO_HOST_LOOKUP 0 - -/* Enable twofish128 and twofish256 */ -#define DROPBEAR_TWOFISH128 1 -#define DROPBEAR_TWOFISH256 1 - -/* Disable SHA-96 */ -#define DROPBEAR_SHA1_HMAC 0 -#define DROPBEAR_SHA1_96_HMAC 0 - -/* Disable DSS */ -#define DROPBEAR_DSS 0 - -/* Disable ECDH */ -#define DROPBEAR_ECDH 0 - -/* Keep ECDSA, for practical purposes */ -#define DROPBEAR_ECDSA 1 - -/* SFTP server path */ -#define SFTPSERVER_PATH "/usr/lib/ssh/sftp-server" - -/* Spend a small amount of bytes for an increase in performance */ -#define DROPBEAR_SMALL_CODE 0 - -/* Default path */ -#define DEFAULT_PATH "/usr/bin" Copied: dropbear/repos/community-x86_64/localoptions.h (from rev 679136, dropbear/trunk/localoptions.h) =================================================================== --- localoptions.h (rev 0) +++ localoptions.h 2020-08-14 13:27:30 UTC (rev 679137) @@ -0,0 +1,43 @@ +/* + * Arch Linux configuration for DropBear + * + * The majority of these options are disabled or enabled as a result of + * running ssh-audit: + * + * https://github.com/arthepsy/ssh-audit + */ + +/* Disable CBC mode for ciphers */ +#define DROPBEAR_ENABLE_CBC_MODE 0 + +/* Disable X11 forwarding on the server */ +#define DROPBEAR_X11FWD 0 + +/* Disable reverse DNS lookups */ +#define DO_HOST_LOOKUP 0 + +/* Enable twofish128 and twofish256 */ +#define DROPBEAR_TWOFISH128 1 +#define DROPBEAR_TWOFISH256 1 + +/* Disable SHA-96 */ +#define DROPBEAR_SHA1_HMAC 0 +#define DROPBEAR_SHA1_96_HMAC 0 + +/* Disable DSS */ +#define DROPBEAR_DSS 0 + +/* Disable ECDH */ +#define DROPBEAR_ECDH 0 + +/* Keep ECDSA, for practical purposes */ +#define DROPBEAR_ECDSA 1 + +/* SFTP server path */ +#define SFTPSERVER_PATH "/usr/lib/ssh/sftp-server" + +/* Spend a small amount of bytes for an increase in performance */ +#define DROPBEAR_SMALL_CODE 0 + +/* Default path */ +#define DEFAULT_PATH "/usr/bin"