summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien ROZO2011-09-05 14:05:21 +0200
committerJulien ROZO2011-09-05 14:05:21 +0200
commit5e03a4b292fc04c363a7deec696071f9d8bf290b (patch)
tree2dc4b68c3a3362815cbc39f843c1e2ca4e826274
parentdc2e533876f7a6e2c4f9b90c7c8afdcf02c0b215 (diff)
cifs-utils: new spell, user-space tools to manage CIFS filesystems
(mount.cifs, ...)
-rw-r--r--ChangeLog4
-rwxr-xr-xnet/cifs-utils/BUILD19
-rwxr-xr-xnet/cifs-utils/CONFIGURE13
-rwxr-xr-xnet/cifs-utils/DEPENDS7
-rwxr-xr-xnet/cifs-utils/DETAILS21
-rw-r--r--net/cifs-utils/HISTORY3
6 files changed, 67 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1d2c21d225..5b32a847e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-05 Julien "_kaze_" ROZO <julien@rozo.org>
+ * net/cifs-utils: new spell, user-space tools to manage CIFS
+ filesystems
+
2011-09-02 Ladislav Hagara <hgr@vabo.cz>
* devel/gitg: new spell, git repository viewer for gtk+/GNOME
diff --git a/net/cifs-utils/BUILD b/net/cifs-utils/BUILD
new file mode 100755
index 0000000000..2479140b40
--- /dev/null
+++ b/net/cifs-utils/BUILD
@@ -0,0 +1,19 @@
+if [[ "$CIFS_UPCALL" == "y" ]]; then
+ OPTS="$OPTS --enable-cifsupcall"
+else
+ OPTS="$OPTS --disable-cifsupcall"
+fi &&
+
+if [[ "$CIFS_CREDS" == "y" ]]; then
+ OPTS="$OPTS --enable-cifscreds"
+else
+ OPTS="$OPTS --disable-cifscreds"
+fi &&
+
+if [[ "$CIFS_IDMAP" == "y" ]]; then
+ OPTS="$OPTS --enable-cifsidmap"
+else
+ OPTS="$OPTS --disable-cifsidmap"
+fi &&
+
+default_build
diff --git a/net/cifs-utils/CONFIGURE b/net/cifs-utils/CONFIGURE
new file mode 100755
index 0000000000..4e54023a44
--- /dev/null
+++ b/net/cifs-utils/CONFIGURE
@@ -0,0 +1,13 @@
+if spell_ok krb5; then
+ config_query CIFS_UPCALL "Enable cifs.upcall utility ?" y
+else
+ config_query CIFS_UPCALL "Enable cifs.upcall utility ?" n
+fi &&
+
+if spell_ok keyutils; then
+ config_query CIFS_CREDS "Enable cifscreds utility ?" y &&
+ config_query CIFS_IDMAP "Enable cifs.idmap utility ?" y
+else
+ config_query CIFS_CREDS "Enable cifscreds utility ?" n &&
+ config_query CIFS_IDMAP "Enable cifs.idmap utility ?" n
+fi
diff --git a/net/cifs-utils/DEPENDS b/net/cifs-utils/DEPENDS
new file mode 100755
index 0000000000..841fd0bec3
--- /dev/null
+++ b/net/cifs-utils/DEPENDS
@@ -0,0 +1,7 @@
+if [[ "$CIFS_UPCALL" == "y" ]]; then
+ depends krb5
+fi &&
+
+if [[ "$CIFS_CREDS" == "y" || "$CIFS_IDMAP" == "y" ]]; then
+ depends keyutils
+fi
diff --git a/net/cifs-utils/DETAILS b/net/cifs-utils/DETAILS
new file mode 100755
index 0000000000..73fddf9b4a
--- /dev/null
+++ b/net/cifs-utils/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=cifs-utils
+ VERSION=5.0
+ SOURCE="${SPELL}-${VERSION}.tar.bz2"
+ SOURCE_URL[0]=ftp://ftp.samba.org/pub/linux-cifs/${SPELL}/${SOURCE}
+ SOURCE_HASH=sha512:f4976b44bbf415d4b71ce2e1309fbe667b72c18b9bfdbc1a4398dbd14f3f3b18928fdfe34965e4a170dbe2d034a04b3ef0cfcb2ddda6860781cf015409dabde0
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="https://wiki.samba.org/index.php/LinuxCIFS_utils"
+ LICENSE[0]=GPL
+ ENTERED=20110905
+ SHORT="user-space tools to manage CIFS filesystems"
+cat << EOF
+The in-kernel CIFS filesystem is generally the preferred method for mounting
+SMB/CIFS shares on Linux. More information on Linux CIFS is available at
+the Linux CIFS VFS site.
+
+The in-kernel CIFS filesystem relies on a set of user-space tools. That
+package of tools is called cifs-utils. Although not really part of Samba
+proper, these tools were originally part of the Samba package. For several
+reasons, shipping these tools as part of Samba was problematic and it was
+deemed better to split them off into their own package.
+EOF
diff --git a/net/cifs-utils/HISTORY b/net/cifs-utils/HISTORY
new file mode 100644
index 0000000000..6179196e32
--- /dev/null
+++ b/net/cifs-utils/HISTORY
@@ -0,0 +1,3 @@
+2011-09-05 Julien _kaze_ ROZO <julien@rozo.org>
+ * DETAILS, BUILD, CONFIGURE, DEPENDS, HISTORY: spell created
+