[arch-commits] Commit in dropbear/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sat Jun 20 21:25:48 UTC 2020
Date: Saturday, June 20, 2020 @ 21:25:47
Author: arodseth
Revision: 648656
upgpkg: dropbear 2020.79-1
Modified:
dropbear/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-20 21:17:11 UTC (rev 648655)
+++ PKGBUILD 2020-06-20 21:25:47 UTC (rev 648656)
@@ -8,28 +8,30 @@
pkgbase=dropbear
pkgname=(dropbear dropbear-scp)
-pkgver=2019.78
+pkgver=2020.79
pkgrel=1
pkgdesc='Lightweight SSH server'
arch=(x86_64)
-url='https://matt.ucc.asn.au/dropbear/dropbear.html'
+url='https://github.com/mkj/dropbear'
license=(MIT)
options=(emptydirs)
+makedepends=('git')
validpgpkeys=('F7347EF2EE2E07A267628CA944931494F29C6773')
-source=("https://matt.ucc.asn.au/$pkgname/releases/$pkgname-$pkgver.tar.bz2"{,.asc}
+source=("git+$url#commit=1e10af850ba6e0c3a9af1382ed0f33981d2754ec" # tag: DROPBEAR_2020.79
localoptions.h
$pkgname.service)
-sha256sums=('525965971272270995364a0eb01f35180d793182e63dd0b0c3eb0292291644a4'
- 'SKIP'
+sha256sums=('SKIP'
'a284c2a2570d5b1f98f38fc044ab6fd45b9834be7a91216df7f159257b54e0bc'
'0c0e5b9d121b9d728fed92d6574f2a96d74e4f8a61169dc1e452488f43bb1484')
prepare() {
- cp -f localoptions.h "$pkgname-$pkgver/"
+ cp -f localoptions.h "$pkgname/"
}
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
+ autoconf
+ autoheader
./configure --bindir=/usr/bin --prefix=/usr --sbindir=/usr/bin
make \
PROGRAMS='dbclient dropbear dropbearconvert dropbearkey scp' \
@@ -38,10 +40,10 @@
package_dropbear() {
install -d "$pkgdir/etc/$pkgname"
- make -C $pkgbase-$pkgver install DESTDIR="$pkgdir"
+ make -C $pkgbase install DESTDIR="$pkgdir"
install -Dm644 $pkgname.service \
"$pkgdir/usr/lib/systemd/system/$pkgname.service"
- install -Dm644 $pkgbase-$pkgver/LICENSE \
+ install -Dm644 $pkgbase/LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
@@ -50,8 +52,8 @@
provides=(scp)
conflicts=(openssh)
- make -C $pkgbase-$pkgver install PROGRAMS=scp DESTDIR="$pkgdir"
- install -Dm644 $pkgbase-$pkgver/LICENSE \
+ make -C $pkgbase install PROGRAMS=scp DESTDIR="$pkgdir"
+ install -Dm644 $pkgbase/LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
rmdir "$pkgdir/usr/share/man"{/man1,}
}
More information about the arch-commits
mailing list