Portage is a package management system used by Gentoo Linux
# ChangeLog for net-fs/shfs
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/shfs/ChangeLog,v 1.42 2007/05/08 22:30:25 genone Exp $
08 May 2007; Marius Mauch
shfs-0.35-r4.ebuild:
Replacing einfo with elog
06 May 2007; Saleem Abdulrasool
shfs-0.35-r4.ebuild:
Update deps, add a check for the kernel version instead of a dependency
string which does not guarantee the sources
*shfs-0.35-r4 (04 Jan 2007)
04 Jan 2007; Saleem Abdulrasool
+files/0.35/shfs-0.35-inode-and-fs.patch, +shfs-0.35-r4.ebuild:
Revbump to unstable, add a new patch to allow compiling with kernels <2.6.19
(bug #157111).
04 Jan 2007; Saleem Abdulrasool
-shfs-0.35-r1.ebuild, -shfs-0.35-r2.ebuild:
prune old versions
04 Jan 2007; Saleem Abdulrasool
Require a kernel <2.6.19 for the last stable version
25 Nov 2006; Bryan Østergaard
Stable on Alpha, bug 133613.
17 Oct 2006; Gustavo Zacarias
Stable on sparc wrt #133613
16 Oct 2006;
+files/0.35/shfs-0.35-2.6.18-dentry.patch:
Add a patch for compiling with kernel >=2.6.17 from Daniel Drake
12 Jul 2006; Aron Griffis
Mark 0.35-r3 stable on ia64. #133613
06 Jun 2006; Simon Stelling
stable on amd64
25 May 2006; Michael Hanselmann
Stable on ppc.
24 May 2006; Mark Loeser
Stable on x86; bug #133613
04 Apr 2006; Aron Griffis
Mark 0.35-r2 stable on ia64
*shfs-0.35-r3 (22 Mar 2006)
22 Mar 2006; Saleem Abdulrasool
+files/shfs-0.35-2.6.16-dentry.patch, +shfs-0.35-r3.ebuild:
Adding X useflag as per bug #81581. Added patch to allow compiling against
2.6.16's new dentry struct. Patch submitted by Torsten Krah, authored by
Miroslav Spousta.
16 Feb 2006; Gustavo Zacarias
Stable on sparc
07 Feb 2006; Aron Griffis
Mark 0.35-r2 ~ia64
06 Feb 2006; Aron Griffis
Mark 0.35-r1 stable on alpha
06 Jan 2006; Gustavo Zacarias
Keyworded ~sparc wrt #117832
*shfs-0.35-r2 (04 Jan 2006)
04 Jan 2006; Saleem Abdulrasool
+files/0.35/shfs-0.35-clean-inode-clear.patch, +shfs-0.35-r2.ebuild:
Revbump to clean up some problems. Resolves bugs #78387, #81581, #112874,
#101091.
04 Jan 2006; Saleem Abdulrasool
-files/shfs-amd64-makefile.patch,
-files/shfs-gentoo-0.31-makefile-root.diff,
-files/shfs-gentoo-0.31-ppc.diff,
-files/shfs-gentoo-0.32-makefile-debug.diff, -shfs-0.31.ebuild,
-shfs-0.31-r1.ebuild, -shfs-0.32.ebuild, -shfs-0.32-r1.ebuild,
-shfs-0.34.ebuild, -shfs-0.35.ebuild:
A long needed pruning.
23 Dec 2005; Saleem Abdulrasool
Marking myself as the maintainer.
02 Oct 2005; Aron Griffis
Mark 0.35-r1 ~alpha
19 Aug 2005; Michael Hanselmann
Stable on ppc.
09 Jun 2005; Mark Loeser
+files/0.35/shfs-0.35-gcc4.patch:
Adding patch to fix compilation with GCC4
07 Apr 2005; Simon Stelling
stable on amd64
19 Dec 2004; Stuart Herbert
+files/0.35/space_chars.patch, +files/0.35/uidgid32.patch:
Added patches; see bug #60270; thanks to S.Caglar Onur
14 Dec 2004; Stuart Herbert
Marked stable on x86 after plenty of user feedback ;)
*shfs-0.35 (26 Jun 2004)
26 Jun 2004; Stuart Herbert
Version bump; closes bug #52711
09 Jun 2004; Aron Griffis
shfs-0.31.ebuild, shfs-0.32-r1.ebuild, shfs-0.32.ebuild, shfs-0.34.ebuild:
Fix use invocation
*shfs-0.34 (28 May 2004)
28 May 2004; Stuart Herbert
Version bump; for bug #45642
27 Apr 2004; Aron Griffis
shfs-0.31.ebuild, shfs-0.32-r1.ebuild:
Add inherit eutils
*shfs-0.32-r1 (16 Apr 2004)
16 Apr 2004;
files/shfs-gentoo-0.32-makefile-debug.diff:
Patch to prevent extra debug info.
05 Jan 2004; zhen
adding to net-fs herd
30 Dec 2003; Luca Barbato
Minor fix (bug #35309)
11 Nov 2003; Luca Barbato
Minor fix, thanks to Sven Wegener
*shfs-0.32 (11 Nov 2003)
11 Nov 2003; Luca Barbato
New version, linux-2.6 support available.
21 Oct 2003;
and made it use src_unpack. Works again on ppc.
16 Oct 2003;
much thanks to Ray Russell Reese III
fix (see bug #31175)
12 Jun 2003;
Header
*shfs-0.31-r1 (06 Jun 2003)
06 Jun 2003; Dylan Carlson
More secure permissions on the mount binaries, and some helpful notes after
package install.
*shfs-0.31 (03 Jun 2003)
03 Jun 2003; Dylan Carlson
files/shfs-gentoo-0.31-makefile-root.diff,
files/shfs-gentoo-0.31-ppc.diff:
Initial import. Closes #20882. Add the 'amd' USE if you want to take
advantage of the AMD (BSD) automounter support included in this ebuild.
Thanks to:
Gilberto Ficara
Jesse Dearing
Matt Klosterman
Jonathan Hitchcock
Still needs testing, and integration by other archs (sparc and alpha).
But let's fly with it for now. Cheers.
AUX 0.35/df.patch 1652 RMD160 88344860762ea85470e330e971707b24ffe07030 SHA1 5852a033b0706ec6b69592cd7e7927fb3bf04ad7 SHA256 7d775f368e42e250040d48487c1123bd17ba0c953b7d5a5ec9538df6e12a2db4
AUX 0.35/shfs-0.35-2.6.18-dentry.patch 4055 RMD160 a487e70f18089855236c35eb24ba46fa19abdc78 SHA1 0c6c7b85e8a19feb24e061bde9362d0df07c2685 SHA256 2555c9f26793a353946732f9f9b210d89b8d7ec350f7f2866fb77f1ca472e6e4
AUX 0.35/shfs-0.35-clean-inode-clear.patch 496 RMD160 950527770374b1a55f08cf1d779a7ae5940bcf8c SHA1 285b782e575f568f9038177deb3b9866d0921680 SHA256 7513c2a3f25a7ac42c94c89f9dda3e658558fcd716210dde94cc1c8df16915a9
AUX 0.35/shfs-0.35-gcc4.patch 1008 RMD160 364fd4820d5041211809293131d1850bc5f6577a SHA1 c72e308362b135aa8517dba565163129dc98736d SHA256 62dece02a5bec68f34e0d9b5eb4bc69d087772bb983ec6f3ab91c1ca1f899414
AUX 0.35/shfs-0.35-inode-and-fs.patch 9871 RMD160 f96a10616f4613b3b0963683f82ebffee2250ee7 SHA1 7af82b98495551991dea704e064a08a6d63991f0 SHA256 fcef3ed44a63b8a722e552f4886f7f19aeaf62656ea5aed10f77677ab5c9b126
AUX 0.35/space_chars.patch 1276 RMD160 6f68980f39716570772ed3b340c70220fdcd66ed SHA1 674b396a588a7ed4efec2fdca1afff2e47775cfd SHA256 e071e9fed81cbb5c4ecd7e62574136014fec1916a79277216d036233700fd859
AUX 0.35/uidgid32.patch 940 RMD160 d4a3c057c61d1f352bb36bb4d605c85154fc8bff SHA1 68dbf2d1afef7d667ba6e13ff71df63913c367bd SHA256 d1b50f56d8a51cedd42746d5fd5dc75208f31134f2099d73d876a93d09787118
AUX amd.conf 842 RMD160 e5db7b84f8d201e95580e5ae4fb6afacc6d56423 SHA1 3969213591a66b9c092ba27f474df0ed60dce7e0 SHA256 d680f3f50b2d4f7bfb7f81b42ae55eea00a97a875ce3472ee809ee8e2b8423ec
AUX amd.shfs 152 RMD160 0c91fe76c5c76654131a3e3c853ff6f75ffa26d5 SHA1 b23709d40e0add4f6e7fbdd9cf9a5aff8f15858d SHA256 678e7a1c5f5d6288390f5900f98d2fa8d7b54e9dd99432bcddb6a6a391ce7583
AUX shfs-0.35-2.6.16-dentry.patch 763 RMD160 d2e5cec4121d946ece0796f0900e55af8eaafad9 SHA1 d9b358729b99eded6a971bad79a4c42b81deff5f SHA256 a286c101a7c8e545d7fdb05bed61698e0f654ecbf6ae292245cc5b803481867d
AUX shfs.mount 1346 RMD160 8ff7a10528136c6b3820a898a6bb69739d1b2561 SHA1 45ef2c050fcd7f684139a0ef5e46c2b1a258947a SHA256 c3885bc209d6533ea5396d0f6cea22753e8115b64c1c0df9261a4e4be8b79910
DIST shfs-0.35.tar.gz 128656 RMD160 84bc1c1d6bf5bd722fe1e4b3a4055843b11eda7a SHA1 c34bed491d144cc91dbf0c6df73e854271b6d365 SHA256 0d48ffe4d801180c15466f20aaa5802adb9d22067e8941e051dc3c64717ec3c2
EBUILD shfs-0.35-r3.ebuild 3046 RMD160 034bba2448e8b8831d69f414e49a4c129a540054 SHA1 df5279bf5736bd47aa33ab50ed31554382d18b09 SHA256 9150fcf2cdbbf34cd49a7d9c63d88aea5b35bd61af7c4c0e72d907b626cfbb53
EBUILD shfs-0.35-r4.ebuild 2908 RMD160 fa8e18accd423db127a02d5ca7487a03b9fb0a87 SHA1 9233f05501dbd423b7d4111f923d1f9e294e0229 SHA256 8f4bdbfd0e03d2c1de46d95618dfa263b7fc2e94266ec669f4a29a15bac1eb82
MISC ChangeLog 6540 RMD160 ba67616b406df99ffa6377d8ac747d8f95e9fb7a SHA1 3385985639c418c2266b1d93e6b9410391955552 SHA256 d2804b21dd7ffc5823635b980a8a6ac11b58cb00a91945145cebe4818a9edec7
MISC metadata.xml 316 RMD160 30fe60772d122936494f213695185bb0813573cd SHA1 61bd32ae3070498a6de3293057e635857ebd02d9 SHA256 b35b4409d798f1bbed76ec77c74cd92f7a039d9ce6a46a354d923dadaacbf5f2
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/shfs/shfs-0.35-r3.ebuild,v 1.10 2007/05/08 22:30:25 genone Exp $
inherit linux-mod eutils
DESCRIPTION="Secure Shell File System"
HOMEPAGE="http://shfs.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc sparc x86"
IUSE="X amd doc"
RDEPEND="net-misc/openssh
amd? ( net-fs/am-utils )"
DEPEND="${RDEPEND}"
PDEPEND="X? ( net-misc/x11-ssh-askpass )"
CONFIG_CHECK="@SH_FS:shfs"
SH_FS_ERROR="SHFS is built into the kernel. Only userland utilities will be provided."
pkg_setup() {
linux-mod_pkg_setup
if kernel_is 2 6 ; then
if [[ ${KV_PATCH} -gt 19 ]] ; then
die "This package will not build against kernels newer than 2.6.19"
fi
fi
# Setup the Kernel module build
BUILD_PARAMS="-j1 KERNEL_SOURCES=${KV_DIR}"
# List the kernel modules that will be built
MODULE_NAMES="shfs(misc/fs:${S}/shfs/Linux-${KV_MAJOR}.${KV_MINOR})"
case "${KV_MAJOR}.${KV_MINOR}" in
"2.4") BUILD_TARGETS="all" ;;
"2.6") BUILD_TARGETS="default" ;;
esac
}
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/0.35/*.patch
# Take care of 2.6 Kernels <= 2.6.6
if [[ "${KV_MAJOR}.${KV_MINOR}" == "2.6" ]] ; then
convert_to_m ${S}/shfs/Linux-2.6/Makefile
fi
# 2.6.16 has a modified dentry struct. Patch by Miroslav Spousta
#
if kernel_is ge 2 6 16 ; then
epatch ${FILESDIR}/${PN}-0.35-2.6.16-dentry.patch
fi
}
src_compile() {
linux-mod_src_compile
cd ${S}/shfsmount
emake || die "failed to build userland utilities"
}
src_install() {
# Install kernel module
linux-mod_src_install
# Install userland utilities
cd ${S}/shfsmount
dobin shfsmount
dobin shfsumount
if use amd ; then
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
# Setup permissions
einfo "Setting SUID bit on /usr/bin executables..."
fperms 4511 /usr/bin/shfsmount
fperms 4511 /usr/bin/shfsumount
# Create symlinks to support mount(8)
einfo "Adding /sbin/mount.shfs symlink..."
dodir /sbin
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
}
pkg_postinst() {
linux-mod_pkg_postinst
echo
elog "Use either 'shfsmount' or 'mount -t shfs' to mount remote"
elog "filesystems into your local filesystem."
elog
elog "Note the following:"
elog
elog " 1. The shfs kernel module has to be loaded first before you can"
elog " start mounting filesystems."
elog " Try: 'modprobe shfs' as root."
elog
elog " 2. When mouting, you must enter the absolute path of the remote"
elog " filesystem without any special characters such as tilde (~),"
elog " for example as they will not be evaluated."
echo
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/shfs/shfs-0.35-r4.ebuild,v 1.3 2007/05/08 22:30:25 genone Exp $
inherit linux-mod eutils
DESCRIPTION="Secure Shell File System"
HOMEPAGE="http://shfs.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE="X amd doc"
RDEPEND="net-misc/openssh
amd? ( net-fs/am-utils )"
DEPEND="${RDEPEND}"
PDEPEND="X? ( net-misc/x11-ssh-askpass )"
CONFIG_CHECK="@SH_FS:shfs"
SH_FS_ERROR="SHFS is built into the kernel. Only userland utilities will be provided."
pkg_setup() {
linux-mod_pkg_setup
# Setup the Kernel module build
BUILD_PARAMS="-j1 KERNEL_SOURCES=${KV_DIR}"
# List the kernel modules that will be built
MODULE_NAMES="shfs(misc/fs:${S}/shfs/Linux-${KV_MAJOR}.${KV_MINOR})"
case "${KV_MAJOR}.${KV_MINOR}" in
"2.4") BUILD_TARGETS="all" ;;
"2.6") BUILD_TARGETS="default" ;;
esac
}
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/0.35/*.patch
# Take care of 2.6 Kernels <= 2.6.6
if [[ "${KV_MAJOR}.${KV_MINOR}" == "2.6" ]] ; then
convert_to_m ${S}/shfs/Linux-2.6/Makefile
fi
# 2.6.16 has a modified dentry struct. Patch by Miroslav Spousta
#
if kernel_is ge 2 6 16 ; then
epatch ${FILESDIR}/${PN}-0.35-2.6.16-dentry.patch
fi
}
src_compile() {
linux-mod_src_compile
cd ${S}/shfsmount
emake || die "failed to build userland utilities"
}
src_install() {
# Install kernel module
linux-mod_src_install
# Install userland utilities
cd ${S}/shfsmount
dobin shfsmount
dobin shfsumount
if use amd ; then
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
# Setup permissions
einfo "Setting SUID bit on /usr/bin executables..."
fperms 4511 /usr/bin/shfsmount
fperms 4511 /usr/bin/shfsumount
# Create symlinks to support mount(8)
einfo "Adding /sbin/mount.shfs symlink..."
dodir /sbin
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
}
pkg_postinst() {
linux-mod_pkg_postinst
echo
elog "Use either 'shfsmount' or 'mount -t shfs' to mount remote"
elog "filesystems into your local filesystem."
elog
elog "Note the following:"
elog
elog " 1. The shfs kernel module has to be loaded first before you can"
elog " start mounting filesystems."
elog " Try: 'modprobe shfs' as root."
elog
elog " 2. When mouting, you must enter the absolute path of the remote"
elog " filesystem without any special characters such as tilde (~),"
elog " for example as they will not be evaluated."
echo
}