Commit e55f4bad authored by Lukas's avatar Lukas

Remove rssh

parent 336b048f
# $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
}
diff -Naur rssh-2.3.2-orig/Makefile.am rssh-2.3.2/Makefile.am
--- rssh-2.3.2-orig/Makefile.am 2006-01-03 09:34:59.000000000 -0800
+++ rssh-2.3.2/Makefile.am 2006-06-29 23:38:56.000000000 -0700
@@ -16,7 +16,7 @@
$(CC) -c $(DEFS) $(ourdefs) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
install-exec-hook:
- chmod u+s $(libexecdir)/rssh_chroot_helper
+ chmod u+s $(DESTDIR)$(libexecdir)/rssh_chroot_helper
rpm: dist
rpmbuild -ta --sign $(base).tar.gz
diff -Naur rssh-2.3.2-orig/Makefile.in rssh-2.3.2/Makefile.in
--- rssh-2.3.2-orig/Makefile.in 2006-01-06 18:24:57.000000000 -0800
+++ rssh-2.3.2/Makefile.in 2006-06-29 23:38:30.000000000 -0700
@@ -728,7 +728,7 @@
$(CC) -c $(DEFS) $(ourdefs) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
install-exec-hook:
- chmod u+s $(libexecdir)/rssh_chroot_helper
+ chmod u+s $(DESTDIR)$(libexecdir)/rssh_chroot_helper
rpm: dist
rpmbuild -ta --sign $(base).tar.gz
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment