mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
aur/dropbear to 2011.55-1
This commit is contained in:
parent
9ae48d69ad
commit
e7e88c5696
2 changed files with 12 additions and 19 deletions
|
@ -1,33 +1,30 @@
|
|||
# Maintainer Kai Uwe Jesussek <kajot@gmx.net>
|
||||
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||
# Contributor: Jason Pierce <`echo 'moc tod liamg ta nosaj tod ecreip' | rev`>
|
||||
# Contributor: Jeremy Cowgar <jeremy@cowgar.com>
|
||||
|
||||
plugrel=1
|
||||
pkgname=dropbear
|
||||
pkgver=0.53.1
|
||||
pkgver=2011.55
|
||||
pkgrel=1
|
||||
pkgdesc="Lightweight replacement for openssh"
|
||||
arch=('arm' 'i686' 'x86_64')
|
||||
pkgdesc="Lightweight replacement for sshd"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://matt.ucc.asn.au/dropbear/dropbear.html"
|
||||
license=('custom')
|
||||
depends=('zlib')
|
||||
provides=('openssh')
|
||||
conflicts=('openssh')
|
||||
backup=(etc/conf.d/dropbear)
|
||||
source=(http://matt.ucc.asn.au/$pkgname/releases/$pkgname-$pkgver.tar.bz2 \
|
||||
$pkgname-conf.d \
|
||||
$pkgname-rc.d)
|
||||
sha256sums=('e24d3cbecd3bc850b2b336b8eb50c845a285ceef8e22544938a582e163d36393'
|
||||
'd5a3b08e4e79b841ba1cd592d79cf91cd9cd7948e683d35de550cb08bd3f285f'
|
||||
'29ab5438d15bfa727620fc04ec52ff55d676577b903c9261ce00bb291ae171a8')
|
||||
sha256sums=('04982af2a10b220fa940f9f72f276d612c9bb643cfbb5ee1416e5a0f00de9b0f'
|
||||
'eaec8cecae4476a660351ba9079c91b7c379146a22df881bd24b81af8f50d74c'
|
||||
'29ab5438d15bfa727620fc04ec52ff55d676577b903c9261ce00bb291ae171a8')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
|
||||
sed -i 's:usr/libexec/sftp:usr/lib/ssh/sftp:' options.h
|
||||
|
||||
./configure --prefix=/usr --enable-pam
|
||||
LIBS="-lcrypt" make PROGRAMS="dropbear dropbearkey dropbearconvert dbclient scp" MULTI=0 STATIC=0 SCPPROGRESS=1
|
||||
./configure --prefix=/usr
|
||||
LIBS="-lcrypt" make
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@ -35,10 +32,6 @@ package() {
|
|||
|
||||
make prefix=${pkgdir}/usr install
|
||||
|
||||
#make it openssh compatible
|
||||
ln -s /usr/bin/dbclient ${pkgdir}/usr/bin/ssh
|
||||
install -D -m755 scp ${pkgdir}/usr/bin/scp
|
||||
|
||||
#man pages
|
||||
install -D -m644 dbclient.1 ${pkgdir}/usr/share/man/man1/dbclient.1
|
||||
install -D -m644 $pkgname.8 ${pkgdir}/usr/share/man/man8/$pkgname.8
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# the TCP port that Dropbear listens on
|
||||
DROPBEAR_PORT="0.0.0.0:22" # Default to local-only.
|
||||
DROPBEAR_PORT="127.0.0.1:22" # Default to local-only.
|
||||
|
||||
# any additional arguments for Dropbear
|
||||
DROPBEAR_EXTRA_ARGS="" # Default to no-root logins.
|
||||
DROPBEAR_EXTRA_ARGS="-w" # Default to no-root logins.
|
||||
|
||||
# specify an optional banner file containing a message to be
|
||||
# sent to clients before they connect, such as "/etc/issue.net"
|
||||
|
|
Loading…
Reference in a new issue