Date: Saturday, June 20, 2020 @ 21:25:55 Author: arodseth Revision: 648657
archrelease: copy trunk to community-x86_64 Added: dropbear/repos/community-x86_64/PKGBUILD (from rev 648656, dropbear/trunk/PKGBUILD) dropbear/repos/community-x86_64/dropbear.service (from rev 648656, dropbear/trunk/dropbear.service) dropbear/repos/community-x86_64/localoptions.h (from rev 648656, 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 | 120 ++++++++++++++++++++++++++--------------------------- dropbear.service | 20 ++++---- localoptions.h | 86 ++++++++++++++++++------------------- 3 files changed, 114 insertions(+), 112 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-06-20 21:25:47 UTC (rev 648656) +++ PKGBUILD 2020-06-20 21:25:55 UTC (rev 648657) @@ -1,59 +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=2019.78 -pkgrel=1 -pkgdesc='Lightweight SSH server' -arch=(x86_64) -url='https://matt.ucc.asn.au/dropbear/dropbear.html' -license=(MIT) -options=(emptydirs) -validpgpkeys=('F7347EF2EE2E07A267628CA944931494F29C6773') -source=("https://matt.ucc.asn.au/$pkgname/releases/$pkgname-$pkgver.tar.bz2"{,.asc} - localoptions.h - $pkgname.service) -sha256sums=('525965971272270995364a0eb01f35180d793182e63dd0b0c3eb0292291644a4' - 'SKIP' - 'a284c2a2570d5b1f98f38fc044ab6fd45b9834be7a91216df7f159257b54e0bc' - '0c0e5b9d121b9d728fed92d6574f2a96d74e4f8a61169dc1e452488f43bb1484') - -prepare() { - cp -f localoptions.h "$pkgname-$pkgver/" -} - -build() { - cd $pkgname-$pkgver - ./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-$pkgver install DESTDIR="$pkgdir" - install -Dm644 $pkgname.service \ - "$pkgdir/usr/lib/systemd/system/$pkgname.service" - install -Dm644 $pkgbase-$pkgver/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-$pkgver install PROGRAMS=scp DESTDIR="$pkgdir" - install -Dm644 $pkgbase-$pkgver/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 648656, dropbear/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-20 21:25:55 UTC (rev 648657) @@ -0,0 +1,61 @@ +# 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: Deleted: dropbear.service =================================================================== --- dropbear.service 2020-06-20 21:25:47 UTC (rev 648656) +++ dropbear.service 2020-06-20 21:25:55 UTC (rev 648657) @@ -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 648656, dropbear/trunk/dropbear.service) =================================================================== --- dropbear.service (rev 0) +++ dropbear.service 2020-06-20 21:25:55 UTC (rev 648657) @@ -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-06-20 21:25:47 UTC (rev 648656) +++ localoptions.h 2020-06-20 21:25:55 UTC (rev 648657) @@ -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 648656, dropbear/trunk/localoptions.h) =================================================================== --- localoptions.h (rev 0) +++ localoptions.h 2020-06-20 21:25:55 UTC (rev 648657) @@ -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"