[arch-commits] Commit in dropbear/repos/community-x86_64 (5 files)

Alexander Rødseth arodseth at archlinux.org
Wed Oct 3 08:15:35 UTC 2018


    Date: Wednesday, October 3, 2018 @ 08:15:35
  Author: arodseth
Revision: 389117

archrelease: copy trunk to community-x86_64

Added:
  dropbear/repos/community-x86_64/PKGBUILD
    (from rev 389116, dropbear/trunk/PKGBUILD)
  dropbear/repos/community-x86_64/dropbear.service
    (from rev 389116, dropbear/trunk/dropbear.service)
  dropbear/repos/community-x86_64/localoptions.h
    (from rev 389116, dropbear/trunk/localoptions.h)
Deleted:
  dropbear/repos/community-x86_64/PKGBUILD
  dropbear/repos/community-x86_64/dropbear.service

------------------+
 PKGBUILD         |  112 ++++++++++++++++++++++++++---------------------------
 dropbear.service |   20 ++++-----
 localoptions.h   |   41 +++++++++++++++++++
 3 files changed, 107 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-03 08:15:26 UTC (rev 389116)
+++ PKGBUILD	2018-10-03 08:15:35 UTC (rev 389117)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: Bartlomiej Piotrowski <nospam at bpiotrowski.pl>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Jason Pierce <pierce.json at gmail.com>
-# Contributor: Jeremy Cowgar <jeremy at cowgar.com>
-# Contributor: Simon Perry <aur at sanxion.net>
-
-pkgbase=dropbear
-pkgname=(dropbear scp)
-pkgver=2018.76
-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}
-        "$pkgname.service")
-sha256sums=('f2fb9167eca8cf93456a5fc1d4faf709902a3ab70dd44e352f3acbc3ffdaea65'
-            'SKIP'
-            '8890a35b6cb14745c1b22f80d3a8532de2a853c78a30eac72b954012e286504a')
-
-prepare() {
-  sed -i 's,usr/libexec/sftp,usr/lib/ssh/sftp,;/#define DROPBEAR_SMALL_CODE/d' \
-    "$pkgname-$pkgver/options.h"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  ./configure --prefix=/usr --bindir=/usr/bin --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_scp() {
-  pkgdesc='Lightweight application for copying files over SSH'
-  conflicts=('openssh')
-
-  make -C "$pkgbase-$pkgver" install PROGRAMS="scp" DESTDIR="$pkgdir"
-  install -Dm644 "$pkgbase-$pkgver/LICENSE" \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:

Copied: dropbear/repos/community-x86_64/PKGBUILD (from rev 389116, dropbear/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-03 08:15:35 UTC (rev 389117)
@@ -0,0 +1,56 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Bartlomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Jason Pierce <pierce.json at gmail.com>
+# Contributor: Jeremy Cowgar <jeremy at cowgar.com>
+# Contributor: Simon Perry <aur at sanxion.net>
+
+pkgbase=dropbear
+pkgname=(dropbear scp)
+pkgver=2018.76
+pkgrel=2
+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=('f2fb9167eca8cf93456a5fc1d4faf709902a3ab70dd44e352f3acbc3ffdaea65'
+            'SKIP'
+            'ad524b470170ecb297df2c4a7307f56d4c56b65fb643b0356775799c4928e879'
+            '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_scp() {
+  pkgdesc='Lightweight application for copying files over SSH'
+  conflicts=('openssh')
+
+  make -C "$pkgbase-$pkgver" install PROGRAMS="scp" DESTDIR="$pkgdir"
+  install -Dm644 "$pkgbase-$pkgver/LICENSE" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: dropbear.service
===================================================================
--- dropbear.service	2018-10-03 08:15:26 UTC (rev 389116)
+++ dropbear.service	2018-10-03 08:15:35 UTC (rev 389117)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Dropbear SSH Daemon
-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 389116, dropbear/trunk/dropbear.service)
===================================================================
--- dropbear.service	                        (rev 0)
+++ dropbear.service	2018-10-03 08:15:35 UTC (rev 389117)
@@ -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

Copied: dropbear/repos/community-x86_64/localoptions.h (from rev 389116, dropbear/trunk/localoptions.h)
===================================================================
--- localoptions.h	                        (rev 0)
+++ localoptions.h	2018-10-03 08:15:35 UTC (rev 389117)
@@ -0,0 +1,41 @@
+/*
+ * 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
+#define DROPBEAR_ECDSA 0
+
+/* SFTP server path */
+#define SFTPSERVER_PATH "/usr/lib/ssh/sftp-server"
+
+/* Spend a small mount of bytes for an increase in performance */
+#define DROPBEAR_SMALL_CODE 0
+
+/* Default path */
+#define DEFAULT_PATH "/usr/bin"



More information about the arch-commits mailing list