mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
aur/dropbear to 2013.58-4
This commit is contained in:
parent
05aaaa6ade
commit
79aecb3a8a
3 changed files with 19 additions and 8 deletions
|
@ -6,31 +6,32 @@
|
|||
# Contributor: Simon Perry <aur [at] sanxion [dot] net>
|
||||
|
||||
pkgname=dropbear
|
||||
pkgver=2013.56
|
||||
pkgrel=1
|
||||
pkgver=2013.58
|
||||
pkgrel=4
|
||||
pkgdesc="Lightweight replacement for sshd"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://matt.ucc.asn.au/dropbear/dropbear.html"
|
||||
install=${pkgname}.install
|
||||
license=('MIT')
|
||||
depends=('zlib')
|
||||
source=(http://matt.ucc.asn.au/$pkgname/releases/$pkgname-$pkgver.tar.bz2
|
||||
$pkgname.service)
|
||||
sha256sums=('bd01d5759948d78dfac7a929f11119f1174c03e1a09fa7fd197f9e9649f27251'
|
||||
'f0158ba3c98e9b26ca0ef1f5a1047d72677ba5011f2e2d2014a12e48c2af09bf')
|
||||
sha256sums=('d866189b1d14e15353aeb4feb616f6132a63ea7c25ca8aa12b63a3a397822e55'
|
||||
'1920dc2d9a1dd86b3137ae4348196f9b95142d6eee484ee536bc7dfed7f0def0')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
|
||||
sed -i 's|usr/libexec/sftp|usr/lib/ssh/sftp|' options.h
|
||||
|
||||
./configure --prefix=/usr
|
||||
./configure --prefix=/usr --sbindir=/usr/bin
|
||||
LIBS="-lcrypt" make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
|
||||
make prefix=${pkgdir}/usr install
|
||||
make prefix=${pkgdir}/usr sbindir=${pkgdir}/usr/bin install
|
||||
|
||||
#man pages
|
||||
install -D -m644 dbclient.1 ${pkgdir}/usr/share/man/man1/dbclient.1
|
||||
|
|
10
aur/dropbear/dropbear.install
Normal file
10
aur/dropbear/dropbear.install
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
post_upgrade() {
|
||||
cat << _EOF
|
||||
|
||||
* IMPORTANT: Location of the dropbear binary has changed
|
||||
* from /usr/sbin to /usr/bin
|
||||
|
||||
_EOF
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/sbin/dropbear -F -P /run/dropbear.pid
|
||||
ExecStart=/usr/bin/dropbear -F -P /run/dropbear.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue