Added mysecureshell ebuild
git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@14927 cbe59ace-07ea-0310-918e-868702b5370d
This commit is contained in:
parent
72c4179ac4
commit
8ae7c38c19
3
net-misc/mysecureshell/Manifest
Normal file
3
net-misc/mysecureshell/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
AUX mysecureshell-1.20-root-detection.patch 580 RMD160 4d589fb2e0481ffddd8a5edb0a1737b6e086edac SHA1 25faea42658becccbf9a44d99735133b5501e0ab SHA256 09c9cd566b58590246ce6c060c038bf48efa6efd707fa01831831e3c99817b5b
|
||||
DIST mysecureshell_1.20.tar.gz 124848 RMD160 2168037395e9edd18df662d151c3d21996a52493 SHA1 6779c56ec5a4830a1f9dc412865f72a062a95cfd SHA256 14ab06fffd4978a504f24bf7073e0d524c99c9c895cbaef70dde801dc4f4561e
|
||||
EBUILD mysecureshell-1.20.ebuild 769 RMD160 cd227ab5f1f36dda5a58232883090fcb44e28a3e SHA1 baaf955aef833c352e5904d18d288070eec6c7ff SHA256 2e070a2e2f5f6df1a67fcf3e22e93310cb6505015e3fcf674bce1a85e3621a10
|
@ -0,0 +1,22 @@
|
||||
--- mysecureshell_1.20/install.sh.in.orig 2010-10-18 13:36:37.240389434 +0200
|
||||
+++ mysecureshell_1.20/install.sh.in 2010-10-18 13:36:54.981660373 +0200
|
||||
@@ -75,19 +75,6 @@
|
||||
fi
|
||||
fi
|
||||
|
||||
-## Root detection
|
||||
-
|
||||
-if [ "$USER" != "root" ] ; then
|
||||
- echo ""
|
||||
- echo "###################################################################"
|
||||
- tmp=`MyGetLocale 'sorry'`
|
||||
- echo " $tmp $USER"
|
||||
- MyGetLocale 'Warning root ask'
|
||||
- echo "###################################################################"
|
||||
- echo ""
|
||||
- exit 1
|
||||
-fi
|
||||
-
|
||||
## Functions
|
||||
detecfiles() {
|
||||
fileufund=`MyGetLocale 'Existing file'`
|
32
net-misc/mysecureshell/mysecureshell-1.20.ebuild
Normal file
32
net-misc/mysecureshell/mysecureshell-1.20.ebuild
Normal file
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Shell with advanced settings for sftp-server"
|
||||
HOMEPAGE="http://mysecureshell.sourceforge.net/en/index.html"
|
||||
SRC_URI="http://mysecureshell.free.fr/repository/index.php/source/${PN}_${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
RESTRICT="nomirror"
|
||||
|
||||
DEPEND="net-misc/openssh"
|
||||
|
||||
S="${WORKDIR}/${PN}_${PV}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
epatch "${FILESDIR}/${P}-root-detection.patch" || die "patching failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Workaround for unclean DESTDIR support
|
||||
addpredict /etc/sftp.shut
|
||||
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
prepallman
|
||||
dodoc LICENSE README-en README-fr
|
||||
}
|
Loading…
Reference in New Issue
Block a user