mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
aur -> community/dropbear
This commit is contained in:
parent
bd63550973
commit
52a470e601
2 changed files with 16 additions and 10 deletions
|
@ -1,15 +1,19 @@
|
|||
# Maintainer: Simon Perry <aur [at] sanxion [dot] net>
|
||||
# $Id$
|
||||
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
|
||||
# Contributor: Simon Perry <aur [at] sanxion [dot] net>
|
||||
# Contributor: Bartlomiej Piotrowski <nospam@bpiotrowski.pl>
|
||||
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||
# Contributor: Jason Pierce <`echo 'moc tod liamg ta nosaj tod ecreip' | rev`>
|
||||
# Contributor: Jeremy Cowgar <jeremy@cowgar.com>
|
||||
# Contributor: Simon Perry <aur [at] sanxion [dot] net>
|
||||
|
||||
# Remove when bumped upstream
|
||||
|
||||
pkgname=dropbear
|
||||
pkgver=2014.65
|
||||
pkgrel=1
|
||||
pkgdesc="Lightweight replacement for sshd"
|
||||
arch=('i686' 'x86_64' 'armv6h')
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://matt.ucc.asn.au/dropbear/dropbear.html"
|
||||
license=('MIT')
|
||||
depends=('zlib')
|
||||
|
@ -18,25 +22,27 @@ source=(http://matt.ucc.asn.au/$pkgname/releases/$pkgname-$pkgver.tar.bz2
|
|||
sha256sums=('e20057aa7db0f9ea4efdcbfc6fc6b73a648b47b6ab6a01659472142b06f5f56c'
|
||||
'1920dc2d9a1dd86b3137ae4348196f9b95142d6eee484ee536bc7dfed7f0def0')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
prepare() {
|
||||
sed -i 's|usr/libexec/sftp|usr/lib/ssh/sftp|' $pkgname-$pkgver/options.h
|
||||
}
|
||||
|
||||
sed -i 's|usr/libexec/sftp|usr/lib/ssh/sftp|' options.h
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
DESTDIR=${pkgdir} make install
|
||||
make install DESTDIR="${pkgdir}/"
|
||||
|
||||
# Configuration files
|
||||
install -d ${pkgdir}/etc/$pkgname
|
||||
install -D -m644 ${srcdir}/$pkgname.service ${pkgdir}/usr/lib/systemd/system/$pkgname.service
|
||||
install -d "${pkgdir}/etc/$pkgname"
|
||||
install -D -m644 "${srcdir}/$pkgname.service" "${pkgdir}/usr/lib/systemd/system/$pkgname.service"
|
||||
|
||||
# License file
|
||||
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
Loading…
Reference in a new issue