summaryrefslogtreecommitdiff
path: root/extra/rssh/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
commit1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch)
tree8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /extra/rssh/PKGBUILD
parentbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff)
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'extra/rssh/PKGBUILD')
-rw-r--r--extra/rssh/PKGBUILD38
1 files changed, 22 insertions, 16 deletions
diff --git a/extra/rssh/PKGBUILD b/extra/rssh/PKGBUILD
index 131c0ed16..c1d9e08f7 100644
--- a/extra/rssh/PKGBUILD
+++ b/extra/rssh/PKGBUILD
@@ -1,15 +1,17 @@
-# $Id: PKGBUILD 100737 2010-11-25 18:27:36Z bisson $
-# Maintainer: Judd Vinet <jvinet@zeroflux.org>
+# $Id: PKGBUILD 149042 2012-02-05 15:15:17Z bisson $
+# Contributor: Judd Vinet <jvinet@zeroflux.org>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+
pkgname=rssh
pkgver=2.3.3
-pkgrel=2
-pkgdesc='A restricted shell for use with OpenSSH, allowing only scp and/or sftp'
-arch=('i686' 'x86_64')
+pkgrel=3
+pkgdesc='Restricted shell for use with OpenSSH, allowing only scp and/or sftp'
url='http://www.pizzashack.org/rssh/'
-depends=('openssh' 'glibc')
-backup=('etc/rssh.conf')
license=('custom:rssh')
-source=("http://downloads.sourceforge.net/sourceforge/rssh/rssh-$pkgver.tar.gz"
+arch=('i686' 'x86_64')
+backup=('etc/rssh.conf')
+depends=('openssh')
+source=("http://downloads.sourceforge.net/sourceforge/rssh/rssh-${pkgver}.tar.gz"
'destdir.patch'
'rsync.patch')
sha1sums=('0a6dd80b5e6059e0db12c9f1276121dd966b610a'
@@ -17,18 +19,22 @@ sha1sums=('0a6dd80b5e6059e0db12c9f1276121dd966b610a'
'41f32f8a77b3a2b924ede6044ab67846e06b5d20')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -p1 -i ../destdir.patch
+ patch -p1 -i ../rsync.patch # FS#21783, debian patch
- patch -p1 < ../destdir.patch
- patch -p1 < ../rsync.patch # FS#21783, debian patch
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/rssh \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
- ./configure --prefix=/usr --libexecdir=/usr/lib/rssh \
- --mandir=/usr/share/man --sysconfdir=/etc
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/rssh/LICENSE
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/rssh/LICENSE
}