[arch-commits] Commit in dropbear/trunk (PKGBUILD localoptions.h)

Alexander Rødseth arodseth at archlinux.org
Wed May 12 09:09:09 UTC 2021


    Date: Wednesday, May 12, 2021 @ 09:09:08
  Author: arodseth
Revision: 931435

Enable DROPBEAR_ENABLE_GCM_MODE ref FS#70781

Modified:
  dropbear/trunk/PKGBUILD
  dropbear/trunk/localoptions.h

----------------+
 PKGBUILD       |   12 ++++++------
 localoptions.h |    3 +++
 2 files changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-12 09:07:00 UTC (rev 931434)
+++ PKGBUILD	2021-05-12 09:09:08 UTC (rev 931435)
@@ -9,7 +9,7 @@
 pkgbase=dropbear
 pkgname=(dropbear dropbear-scp)
 pkgver=2020.81
-pkgrel=2
+pkgrel=3
 pkgdesc='Lightweight SSH server'
 arch=(x86_64)
 url='https://github.com/mkj/dropbear'
@@ -20,12 +20,12 @@
 source=("git+$url#commit=d852d69b50187dd81d424846e7dc677ec57e2d4f" # tag: DROPBEAR_2020.81
         localoptions.h
         $pkgname.service)
-sha256sums=('SKIP'
-            'a284c2a2570d5b1f98f38fc044ab6fd45b9834be7a91216df7f159257b54e0bc'
-            '0c0e5b9d121b9d728fed92d6574f2a96d74e4f8a61169dc1e452488f43bb1484')
+b2sums=(SKIP
+        49628bbce0d26eb33598de276ede705bd592a38b7892c9db0ceebfb0598a1ee6e7e84ed03dbf255ee1adcad0c5214d38dc03e6c04176a405f59a19765cb28388
+        e3481447cac72e416a1d332ddb4bc2fbc78b2e558f929449469e05c269e27482e13357d467b8a11c9b7bf6fdecdd6e57717c8008247922adfc545c36e5775217)
 
 prepare() {
-  cp -f localoptions.h $pkgname/localoptions.h
+  cp -fv localoptions.h $pkgname/localoptions.h
 }
 
 build() {
@@ -55,5 +55,5 @@
   make -C $pkgbase install PROGRAMS=scp DESTDIR="$pkgdir"
   install -Dm644 $pkgbase/LICENSE \
     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  rmdir "$pkgdir/usr/share/man"{/man1,}
+  rmdir "$pkgdir/usr/share/man/"{man1,}
 }

Modified: localoptions.h
===================================================================
--- localoptions.h	2021-05-12 09:07:00 UTC (rev 931434)
+++ localoptions.h	2021-05-12 09:09:08 UTC (rev 931435)
@@ -41,3 +41,6 @@
 
 /* Default path */
 #define DEFAULT_PATH "/usr/bin"
+
+/* Enable GCM mode, ref. FS#70781 */
+#define DROPBEAR_ENABLE_GCM_MODE 1



More information about the arch-commits mailing list