summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-06-26 21:55:47 +0000
committerStuart Herbert <stuart@gentoo.org>2004-06-26 21:55:47 +0000
commit3f3405fa689a6092b1404b19298bb7216c305548 (patch)
tree459e371cf118b8a4df9568ac59d7be511515c6e3 /net-fs
parentadd comments why tar is masked to the profile, so we don't forget later down ... (diff)
downloadgentoo-2-3f3405fa689a6092b1404b19298bb7216c305548.tar.gz
gentoo-2-3f3405fa689a6092b1404b19298bb7216c305548.tar.bz2
gentoo-2-3f3405fa689a6092b1404b19298bb7216c305548.zip
Version bump
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/shfs/ChangeLog7
-rw-r--r--net-fs/shfs/Manifest24
-rw-r--r--net-fs/shfs/files/digest-shfs-0.351
-rw-r--r--net-fs/shfs/shfs-0.35.ebuild112
4 files changed, 132 insertions, 12 deletions
diff --git a/net-fs/shfs/ChangeLog b/net-fs/shfs/ChangeLog
index d1ce43016f82..a71ce566d8f2 100644
--- a/net-fs/shfs/ChangeLog
+++ b/net-fs/shfs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-fs/shfs
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/shfs/ChangeLog,v 1.14 2004/06/24 22:44:21 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/shfs/ChangeLog,v 1.15 2004/06/26 21:55:47 stuart Exp $
+
+*shfs-0.35 (26 Jun 2004)
+
+ 26 Jun 2004; Stuart Herbert <stuart@gentoo.org> +shfs-0.35.ebuild:
+ Version bump; closes bug #52711
09 Jun 2004; Aron Griffis <agriffis@gentoo.org> shfs-0.31-r1.ebuild,
shfs-0.31.ebuild, shfs-0.32-r1.ebuild, shfs-0.32.ebuild, shfs-0.34.ebuild:
diff --git a/net-fs/shfs/Manifest b/net-fs/shfs/Manifest
index 300d646e51df..ed7d26410b8d 100644
--- a/net-fs/shfs/Manifest
+++ b/net-fs/shfs/Manifest
@@ -1,19 +1,21 @@
-MD5 d260d17c23662e71251cf89929fe2a04 shfs-0.32.ebuild 2951
-MD5 6fb46052947475dc72b282ad2f594602 shfs-0.34.ebuild 3074
-MD5 06cff9b9f98d439bc3605a70a2cd5945 shfs-0.32-r1.ebuild 3037
-MD5 d651ff3bd72489e0257c8b1f53c73056 shfs-0.31.ebuild 1757
-MD5 902386d93e1a25365a0e91a9bed80620 shfs-0.31-r1.ebuild 2657
MD5 287aa66ce3e94f4fce6f0d6af8378d48 ChangeLog 2485
MD5 9e3de9f34b9e3248eb5ff2e24ad1c819 metadata.xml 281
+MD5 902386d93e1a25365a0e91a9bed80620 shfs-0.31-r1.ebuild 2657
+MD5 d651ff3bd72489e0257c8b1f53c73056 shfs-0.31.ebuild 1757
+MD5 06cff9b9f98d439bc3605a70a2cd5945 shfs-0.32-r1.ebuild 3037
+MD5 d260d17c23662e71251cf89929fe2a04 shfs-0.32.ebuild 2951
+MD5 6fb46052947475dc72b282ad2f594602 shfs-0.34.ebuild 3074
+MD5 6fb46052947475dc72b282ad2f594602 shfs-0.35.ebuild 3074
+MD5 8bdaeb75d54befa6b5d6f2bfe6657a60 files/digest-shfs-0.35 61
+MD5 d9c3f912bc5642882b84fa7f3edd8db8 files/amd.conf 842
+MD5 97e8d1e483ac538a072e0e82af787eeb files/amd.shfs 152
+MD5 6c1fade43f037362288f5f508ba5fe47 files/digest-shfs-0.31 62
MD5 6c1fade43f037362288f5f508ba5fe47 files/digest-shfs-0.31-r1 62
+MD5 50149869ad714fe5e5b4e9e0a94359ca files/digest-shfs-0.32 60
MD5 50149869ad714fe5e5b4e9e0a94359ca files/digest-shfs-0.32-r1 60
+MD5 cad92b9330844a369507b489cf37d18c files/digest-shfs-0.34 61
MD5 307c4e9fea61efad863724d214fcb916 files/shfs-amd64-makefile.patch 653
MD5 a47ecfb8f1ab11f208660d0b45c1a3d7 files/shfs-gentoo-0.31-makefile-root.diff 612
+MD5 dadc96e2e75365f207cbb3e90f565821 files/shfs-gentoo-0.31-ppc.diff 707
MD5 6313c7875b293c2a942bdad09f3937cc files/shfs-gentoo-0.32-makefile-debug.diff 657
-MD5 d9c3f912bc5642882b84fa7f3edd8db8 files/amd.conf 842
-MD5 97e8d1e483ac538a072e0e82af787eeb files/amd.shfs 152
MD5 bdf9a4a620ff5bcd7828251c144ec02b files/shfs.mount 1346
-MD5 dadc96e2e75365f207cbb3e90f565821 files/shfs-gentoo-0.31-ppc.diff 707
-MD5 6c1fade43f037362288f5f508ba5fe47 files/digest-shfs-0.31 62
-MD5 50149869ad714fe5e5b4e9e0a94359ca files/digest-shfs-0.32 60
-MD5 cad92b9330844a369507b489cf37d18c files/digest-shfs-0.34 61
diff --git a/net-fs/shfs/files/digest-shfs-0.35 b/net-fs/shfs/files/digest-shfs-0.35
new file mode 100644
index 000000000000..88af63ae5275
--- /dev/null
+++ b/net-fs/shfs/files/digest-shfs-0.35
@@ -0,0 +1 @@
+MD5 016f49d71bc32eee2b5d11fc1600cfbe shfs-0.35.tar.gz 128656
diff --git a/net-fs/shfs/shfs-0.35.ebuild b/net-fs/shfs/shfs-0.35.ebuild
new file mode 100644
index 000000000000..3a6db006eef6
--- /dev/null
+++ b/net-fs/shfs/shfs-0.35.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/shfs/shfs-0.35.ebuild,v 1.1 2004/06/26 21:55:47 stuart Exp $
+
+inherit eutils
+
+IUSE="amd doc"
+
+DESCRIPTION="Secure Shell File System"
+HOMEPAGE="http://shfs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+DEPEND="virtual/linux-sources
+ net-misc/openssh
+ amd? ( net-fs/am-utils )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # epatch ${FILESDIR}/shfs-gentoo-${PV}-makefile-debug.diff
+}
+
+src_compile() {
+
+ cd ${S}/shfsmount
+ emake ROOT=${D} MODULESDIR=${D}/lib/modules/${KV} \
+ KERNEL_SOURCES=/usr/src/linux || die
+
+ if [ "`echo ${KV}|grep 2.6`" ] ; then
+ cd ${S}/shfs/Linux-2.6/
+ GENTOO_ARCH=${ARCH}
+ unset ARCH
+ addwrite "/usr/src/${FK}"
+ export _POSIX2_VERSION=199209
+ emake -j1 -C /usr/src/linux SUBDIRS="`pwd`" modules || die
+ export ARCH=GENTOO_ARCH
+ else
+ cd ${S}/shfs/Linux-2.4/
+ emake ROOT=${D} MODULESDIR=${D}/lib/modules/${KV} \
+ KERNEL_SOURCES=/usr/src/linux || die
+ fi
+
+ cd ${S}
+ emake docs || die
+}
+
+src_install() {
+ # Install kernel module
+ cd ${S}/shfs/Linux-`echo ${KV}|sed "s/^\([0-9]*\.[0-9]*\).*/\1/"`
+
+ dodir /lib/modules/${KV}/kernel/fs/shfs/
+ insinto /lib/modules/${KV}/kernel/fs/shfs/
+
+ if [ "`echo ${KV}|grep 2.6`" ] ; then
+ doins shfs.ko || die
+ else
+ doins shfs.o || die
+ fi
+
+# Install binaries
+ cd ${S}/shfsmount
+ dobin shfsmount
+ dobin shfsumount
+
+ # Allows users to mount/umount
+ einfo " Setting suid bit on /usr/bin executables..."
+ fperms 4511 /usr/bin/shfsmount
+ fperms 4511 /usr/bin/shfsumount
+
+ # Performs symlink to support use of mount(8)
+ dodir /sbin
+ einfo " Adding /sbin/mount.shfs symlink..."
+ dosym /usr/bin/shfsmount /sbin/mount.shfs
+
+ # Install docs
+ doman ${S}/docs/manpages/shfsmount.8 ${S}/docs/manpages/shfsumount.8
+ use doc && dohtml -r ${S}/docs/html
+
+ # Install automount support (if desired)
+ if use amd ; then
+ einfo " Installing am-utils config files..."
+ insinto /etc/amd
+ doins ${FILESDIR}/amd.conf
+ doins ${FILESDIR}/amd.shfs
+ exeinto /etc/amd
+ doexe ${FILESDIR}/shfs.mount
+ dosym /etc/amd/shfs.mount /etc/amd/shfs.unmount
+ fi
+}
+
+pkg_postinst() {
+ echo "running depmod...."
+ depmod -aq || die
+
+ echo " "
+ einfo " Use either 'shfsmount' or 'mount -t shfs' to mount remote"
+ einfo " filesystems to into your local filesystem. "
+ echo " "
+ echo " "
+ einfo " Note the following: "
+ einfo " "
+ einfo " 1. The shfs kernel module has to be loaded first "
+ einfo " before you can start mounting filesystems. "
+ einfo " Try: 'modprobe shfs' as root. "
+ einfo " "
+ einfo " 2. When mounting, you must enter the absolute path of "
+ einfo " the remote filesystem without any special chars, "
+ einfo " such as tilde (~), for example. "
+ echo " "
+}