mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:57:14 +08:00
26 lines
869 B
Bash
26 lines
869 B
Bash
# $Id: PKGBUILD 57421 2009-10-31 14:48:15Z allan $
|
|
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
|
|
pkgname=rssh
|
|
pkgver=2.3.2
|
|
pkgrel=3
|
|
pkgdesc="A restricted shell for use with OpenSSH, allowing only scp and/or sftp"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.pizzashack.org/rssh/index.shtml"
|
|
depends=('openssh' 'glibc')
|
|
backup=('etc/rssh.conf')
|
|
license=('custom:rssh')
|
|
source=(http://downloads.sourceforge.net/sourceforge/rssh/rssh-$pkgver.tar.gz
|
|
rssh.patch)
|
|
md5sums=('65712f2c06ff5fc6fc783bc8c2e4e1ba' '7b8c260ce1952afe6ebaf9972bf78341')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
patch -Np1 -i $srcdir/rssh.patch || return 1
|
|
./configure --prefix=/usr --libexecdir=/usr/lib/rssh \
|
|
--mandir=/usr/share/man --sysconfdir=/etc
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install
|
|
# install license
|
|
install -Dm644 LICENSE $pkgdir/usr/share/licenses/rssh/LICENSE
|
|
}
|