diff options
author | 2006-02-27 15:17:23 +0000 | |
---|---|---|
committer | 2006-02-27 15:17:23 +0000 | |
commit | 1e1bffbbcdbbda4123096ca868b755bd3f883f8a (patch) | |
tree | d29cd2b027d25fc96bfc61d96b3cd5d36586f8db /net-misc/scponly | |
parent | Stable on ppc64 (diff) | |
download | gentoo-2-1e1bffbbcdbbda4123096ca868b755bd3f883f8a.tar.gz gentoo-2-1e1bffbbcdbbda4123096ca868b755bd3f883f8a.tar.bz2 gentoo-2-1e1bffbbcdbbda4123096ca868b755bd3f883f8a.zip |
Removed old versions.
(Portage version: 2.0.54)
Diffstat (limited to 'net-misc/scponly')
-rw-r--r-- | net-misc/scponly/files/digest-scponly-4.0 | 1 | ||||
-rw-r--r-- | net-misc/scponly/files/digest-scponly-4.1 | 1 | ||||
-rw-r--r-- | net-misc/scponly/scponly-4.0.ebuild | 107 | ||||
-rw-r--r-- | net-misc/scponly/scponly-4.1.ebuild | 46 |
4 files changed, 0 insertions, 155 deletions
diff --git a/net-misc/scponly/files/digest-scponly-4.0 b/net-misc/scponly/files/digest-scponly-4.0 deleted file mode 100644 index 537377f1bde1..000000000000 --- a/net-misc/scponly/files/digest-scponly-4.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 1706732945996865ed0cccd440b64fc1 scponly-4.0.tgz 85053 diff --git a/net-misc/scponly/files/digest-scponly-4.1 b/net-misc/scponly/files/digest-scponly-4.1 deleted file mode 100644 index 83b4f15d8574..000000000000 --- a/net-misc/scponly/files/digest-scponly-4.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 32e4b87dc46c78573010c1146e9744f0 scponly-4.1.tgz 93138 diff --git a/net-misc/scponly/scponly-4.0.ebuild b/net-misc/scponly/scponly-4.0.ebuild deleted file mode 100644 index deb7078f6bb3..000000000000 --- a/net-misc/scponly/scponly-4.0.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/scponly/scponly-4.0.ebuild,v 1.1 2004/12/02 15:30:22 matsuu Exp $ - -inherit eutils - -DESCRIPTION="A tiny pseudoshell which only permits scp and sftp" -HOMEPAGE="http://www.sublimation.org/scponly/" -SRC_URI="http://www.sublimation.org/scponly/${P}.tgz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="x86 amd64 ~sparc ~ppc" -IUSE="" - -DEPEND="virtual/libc - net-misc/openssh" - -src_compile() { - PATH="${PATH}:/usr/lib/misc" \ - econf \ - --enable-rsync-compat \ - --enable-chrooted-binary \ - || die "./configure failed" - emake || die -} - -src_install() { - make prefix=${D}/usr \ - mandir=${D}/usr/share/man \ - CONFDIR=${D}/etc/scponly \ - install || die - - dodoc AUTHOR CHANGELOG CONTRIB README TODO -} - -pkg_postinst() { - # pkg_postinst is based on ${S}/setup_chroot.sh. - - local myuser="scponly" - local myhome="/home/${myuser}" - - einfo "Updating /etc/shells" - { grep -v "^/usr/bin/scponly$" /etc/shells; - echo "/usr/bin/scponly" - } > ${T}/shells - mv -f ${T}/shells /etc/shells - - { grep -v "^/usr/sbin/scponlyc$" /etc/shells; - echo "/usr/sbin/scponlyc" - } > ${T}/shells - mv -f ${T}/shells /etc/shells - - BINARIES="/usr/lib/misc/sftp-server /bin/ls /usr/bin/scp /bin/rm /bin/ln /bin/mv /bin/chmod /bin/chown /bin/chgrp /bin/mkdir /bin/rmdir /bin/pwd /bin/groups /usr/bin/ld /bin/echo /usr/bin/rsync" - LIB_LIST=`/usr/bin/ldd $BINARIES 2> /dev/null | /bin/cut -f2 -d\> | /bin/cut -f1 -d\( | /bin/grep "^ " | /bin/sort -u` - LDSO_LIST="/lib/ld.so /libexec/ld-elf.so /libexec/ld-elf.so.1 /usr/libexec/ld.so /lib/ld-linux.so.2 /usr/libexec/ld-elf.so.1" - for lib in $LDSO_LIST; do - if [ -f $lib ]; then - LIB_LIST="$LIB_LIST $lib" - fi - done - /bin/ls /lib/libnss_compat* > /dev/null 2>&1 - if [ $? -eq 0 ]; then - LIB_LIST="$LIB_LIST /lib/libnss_compat*" - fi - - ldconfig - LIB_LIST="$LIB_LIST /etc/ld.so.cache /etc/ld.so.conf" - - enewgroup ${myuser} - enewuser ${myuser} -1 /usr/sbin/scponlyc ${myhome} ${myuser} - if [ ! -d ${myhome} ]; then - /bin/install -c -d ${myhome} - /bin/chmod 755 ${myhome} - fi - if [ ! -d ${myhome} ]; then - /bin/install -c -d ${myhome}/etc - /bin/chown 0:0 ${myhome}/etc - /bin/chmod 755 ${myhome}/etc - fi - for bin in $BINARIES; do - /bin/install -c -d ${myhome}/`/bin/dirname $bin` - /bin/install -c $bin ${myhome}/$bin - done - for lib in $LIB_LIST; do - /bin/install -c -d ${myhome}/`/bin/dirname $lib` - /bin/install -c $lib ${myhome}/$lib - done - - /bin/chown 0:0 ${myhome} - if [ -d ${myhome}/.ssh ]; then - /bin/chown 0:0 ${myhome}/.ssh - fi - - if [ ! -d ${myhome}/incoming ]; then - einfo "creating ${myhome}/incoming directory for uploading files" - /bin/install -c -o ${myuser} -d ${myhome}/incoming - fi - /bin/chown $myuser:$myuser ${myhome}/incoming - - grep "^${myuser}" /etc/passwd > ${myhome}/etc/passwd - - einfo "" - einfo "if you experience a warning with winscp regarding groups, please install" - einfo "the provided hacked out fake groups program into your chroot, like so:" - einfo "cp groups ${myhome}/bin/groups" -} diff --git a/net-misc/scponly/scponly-4.1.ebuild b/net-misc/scponly/scponly-4.1.ebuild deleted file mode 100644 index 37b07b22eb1e..000000000000 --- a/net-misc/scponly/scponly-4.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/scponly/scponly-4.1.ebuild,v 1.1 2005/09/19 23:11:36 matsuu Exp $ - -inherit eutils - -DESCRIPTION="A tiny pseudoshell which only permits scp and sftp" -HOMEPAGE="http://www.sublimation.org/scponly/" -SRC_URI="http://www.sublimation.org/scponly/${P}.tgz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="" - -DEPEND="virtual/libc - net-misc/openssh" - -src_unpack() { - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/${P}-gentoo.patch -} - -src_compile() { - PATH="${PATH}:/usr/$(get_libdir)/misc" \ - econf \ - --enable-rsync-compat \ - --enable-chrooted-binary \ - || die "./configure failed" -# --enable-svn-compat\ # subversion SCS cli compatibility -# --enable-svnserv-compat\ # subversion SCS svnserve compatibility - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - - dodoc AUTHOR BUILDING-JAILS.TXT CHANGELOG CONTRIB README TODO - dodoc setup_chroot.sh -} - -pkg_postinst() { - einfo "Setting up chroot in pkg_postinst was removed. Please setup manually." -} |