Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=45ca36dcd9eefba3dfdee9f218acd411afa2e1e4

commit 45ca36dcd9eefba3dfdee9f218acd411afa2e1e4
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Thu Dec 8 13:01:54 2011 +0100

scponly-4.8-1-i686

- bin, dead since 3+ years

diff --git a/source/network-extra/scponly/FrugalBuild 
b/source/network-extra/scponly/FrugalBuild
deleted file mode 100644
index ed863cc..0000000
--- a/source/network-extra/scponly/FrugalBuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Compiling Time: 0.02 SBU
-# Maintainer: Miklos Vajna <vmik...@frugalware.org>
-
-pkgname=scponly
-pkgver=4.8
-pkgrel=1
-pkgdesc="Provide access to remote users without providing remote execution 
priviledges."
-_F_sourceforge_ext=".tgz"
-Finclude sourceforge
-url="http://sublimation.org/scponly/wiki/index.php";
-depends=('openssh' 'binutils')
-makedepends=('rsync')
-backup=(etc/scponly/debuglevel)
-groups=('network-extra')
-archs=('i686' 'x86_64')
-up2date="lynx -dump $url/Download | grep latest|sed 's/.* \([0-9.]*\) .*/\1/'"
-source=($source README.frugalware)
-sha1sums=('154de34901ce22fd9d406f6e02cddc440c435afc' \
-          '0f3467a1dda7507c00c73648ff20803b49f1df26')
-
-build()
-{
-       Fbuild --enable-chrooted-binary
-       Fdoc README.frugalware
-}
-
-# optimization ok
diff --git a/source/network-extra/scponly/README.frugalware 
b/source/network-extra/scponly/README.frugalware
deleted file mode 100644
index 5bd2ca5..0000000
--- a/source/network-extra/scponly/README.frugalware
+++ /dev/null
@@ -1,12 +0,0 @@
-To provide access to a remote user to both read and write local files without
-providing any remote execution priviledges, you will need to do the followings:
-
-useradd -d /home/scponly//home/uname -G scponly -s /usr/sbin/scponlyc uname
-grep ^uname /etc/passwd >>/home/scponly/etc/passwd
-mkdir -p /home/scponly/home/uname
-chown uname:users /home/scponly/home/uname
-passwd uname
-
-If you experience a warning with winscp regarding groups, please install
-the provided hacked out fake groups program into your chroot, like so:
-cp groups /home/scponly/bin/groups
diff --git a/source/network-extra/scponly/scponly.install 
b/source/network-extra/scponly/scponly.install
deleted file mode 100644
index 9bb4bbb..0000000
--- a/source/network-extra/scponly/scponly.install
+++ /dev/null
@@ -1,83 +0,0 @@
-post_install()
-{
-       # based on setup_chroot.sh.
-       myuser="scponly"
-       myhome="/home/$myuser"
-
-       echo -n "updating /etc/shells... "
-       if [ ! "`grep /usr/sbin/scponlyc etc/shells`" ]; then
-               sed -i "s|/bin/bash|/bin/bash\n/usr/sbin/scponlyc|" etc/shells
-       fi
-
-       if [ ! "`grep /usr/bin/scponly etc/shells`" ]; then
-               sed -i "s|/bin/bash|/bin/bash\n/usr/bin/scponly|" etc/shells
-       fi
-       echo "done."
-
-       BINARIES="/usr/libexec/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 | cut -f2 -d\> | cut -f1 
-d\( | /bin/grep "^ " | 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
-
-       /sbin/ldconfig
-       LIB_LIST="$LIB_LIST /etc/ld.so.cache /etc/ld.so.conf"
-
-       [ -z "`grep "^$myuser:" /etc/group`" ] && /usr/sbin/groupadd -g 34 
$myuser
-       [ -z "`grep "^$myuser:" /etc/passwd`" ] && \
-               useradd -u 34 -d $myhome -g $myuser -s /usr/sbin/scponlyc 
$myuser
-       if [ ! -d $myhome ]; then
-               install -c -d $myhome
-               chmod 755 $myhome
-       fi
-       if [ ! -d $myhome ]; then
-               install -c -d $myhome/etc
-               chown 0:0 $myhome/etc
-               /bin/chmod 755 $myhome/etc
-       fi
-       for i in $BINARIES; do
-               install -c -d $myhome/`dirname $i`
-               install -c $i $myhome/$i
-       done
-       for i in $LIB_LIST; do
-               install -c -d $myhome/`dirname $i`
-               install -c $i $myhome/$i
-       done
-
-       chown root:root $myhome
-       if [ -d $myhome/.ssh ]; then
-               chown root:root $myhome/.ssh
-       fi
-
-       if [ ! -d $myhome/incoming ]; then
-               echo -n "creating $myhome/incoming directory for uploading 
files... "
-               install -c -o $myuser -d $myhome/incoming
-               echo "done."
-       fi
-       chown $myuser:$myuser $myhome/incoming
-
-       grep "^$myuser" /etc/passwd > $myhome/etc/passwd
-
-}
-
-pre_remove()
-{
-       echo -n "updating /etc/shells..."
-       sed -i "s|/usr/bin/scponly||" etc/shells
-       sed -i "s|/usr/sbin/scponlyc||" etc/shells
-       echo " done."
-}
-
-op=$1
-shift
-
-$op $*
-
-# vim: ft=sh
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to