[arch-commits] Commit in (5 files)
Timothy Redaelli
tredaelli at archlinux.org
Wed Sep 17 09:22:47 UTC 2014
Date: Wednesday, September 17, 2014 @ 11:22:47
Author: tredaelli
Revision: 119083
Add new package (dropbear)
Added:
dropbear/
dropbear/repos/
dropbear/trunk/
dropbear/trunk/PKGBUILD
dropbear/trunk/dropbear.service
------------------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
dropbear.service | 10 ++++++++++
2 files changed, 56 insertions(+)
Added: dropbear/trunk/PKGBUILD
===================================================================
--- dropbear/trunk/PKGBUILD (rev 0)
+++ dropbear/trunk/PKGBUILD 2014-09-17 09:22:47 UTC (rev 119083)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Simon Perry <aur [at] sanxion [dot] net>
+# Contributor: Bartlomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Jason Pierce <`echo 'moc tod liamg ta nosaj tod ecreip' | rev`>
+# Contributor: Jeremy Cowgar <jeremy at cowgar.com>
+# Contributor: Simon Perry <aur [at] sanxion [dot] net>
+
+pkgname=dropbear
+pkgver=2014.65
+pkgrel=1
+pkgdesc="Lightweight replacement for sshd"
+arch=('i686' 'x86_64' 'armv6h')
+url="http://matt.ucc.asn.au/dropbear/dropbear.html"
+license=('MIT')
+depends=('zlib')
+source=(http://matt.ucc.asn.au/$pkgname/releases/$pkgname-$pkgver.tar.bz2
+ $pkgname.service)
+sha256sums=('e20057aa7db0f9ea4efdcbfc6fc6b73a648b47b6ab6a01659472142b06f5f56c'
+ '1920dc2d9a1dd86b3137ae4348196f9b95142d6eee484ee536bc7dfed7f0def0')
+
+prepare() {
+ sed -i 's|usr/libexec/sftp|usr/lib/ssh/sftp|' $pkgname-$pkgver/options.h
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make install DESTDIR="${pkgdir}/"
+
+ # Configuration files
+ 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"
+}
+
Property changes on: dropbear/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: dropbear/trunk/dropbear.service
===================================================================
--- dropbear/trunk/dropbear.service (rev 0)
+++ dropbear/trunk/dropbear.service 2014-09-17 09:22:47 UTC (rev 119083)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Dropbear SSH Daemon
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/dropbear -F -P /run/dropbear.pid
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list