Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (07654f7decce70df62647b9f7520369f81e6691e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Elisamuel Resto <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (07654f7decce70df62647b9f7520369f81e6691e)
  • Date: Tue, 17 Feb 2009 17:04:27 -0600

GIT changes to master grimoire by Elisamuel Resto <ryuji AT sourcemage.org>:

ChangeLog | 10 ++
disk/daa2iso/BUILD | 4
disk/daa2iso/DEPENDS | 2
disk/daa2iso/DETAILS | 18 ++++
disk/daa2iso/HISTORY | 2
disk/daa2iso/INSTALL | 4
disk/daa2iso/PRE_BUILD | 2
disk/lvm/BUILD | 4
disk/lvm/HISTORY | 3
disk/uif2iso/BUILD | 4
disk/uif2iso/DEPENDS | 3
disk/uif2iso/DETAILS | 18 ++++
disk/uif2iso/HISTORY | 2
disk/uif2iso/INSTALL | 4
disk/uif2iso/PRE_BUILD | 2
libs/libgssglue/DEPENDS | 1
libs/libgssglue/DETAILS | 16 +++
libs/libgssglue/HISTORY | 6 +
libs/libnfsidmap/DEPENDS | 2
libs/libnfsidmap/DETAILS | 18 ++++
libs/libnfsidmap/HISTORY | 7 +
libs/libnfsidmap/INSTALL | 2
libs/libnfsidmap/idmapd.conf | 8 +
libs/librpcsecgss/DEPENDS | 2
libs/librpcsecgss/DETAILS | 14 +++
libs/librpcsecgss/HISTORY | 6 +
net/nfs-utils/BUILD | 12 +-
net/nfs-utils/CONFIGURE | 12 +-
net/nfs-utils/DEPENDS | 24 ++---
net/nfs-utils/DETAILS | 1
net/nfs-utils/HISTORY | 22 +++++
net/nfs-utils/init.d/nfs | 152
+++++++++++++++++++++++++++++--------
net/nfs-utils/init.d/nfsidmap | 44 ++++++++++
net/nfs-utils/init.d/nfslock | 2
utils/ipv6calc/BUILD | 2
utils/ipv6calc/DETAILS | 25 ++++++
utils/ipv6calc/HISTORY | 13 +++
utils/ipv6calc/peter-bieringer.gpg |binary
38 files changed, 415 insertions(+), 58 deletions(-)

New commits:
commit 07654f7decce70df62647b9f7520369f81e6691e
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

disk/daa2iso: new spell, utility to convert DAA CD/DVD image files to ISO

commit a0507558d8a47bed6ecbd2acec1a99f9b4a4cb55
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

disk/uif2iso: new spell, utility to convert UIF CD/DVD image files to ISO

commit 9e56ac2db9533098c9255d57a82a2fcab18182e3
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

utils/ipv6calc: new spell, a utility to convert IPv4/IPv6 and MAC
addresses to different formats

commit 7f7e54e53e1b5d8335922e7c1ac56e7076f97313
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

libs/libnfsidmap: new spell, a library holding mulitiple methods of
mapping
usernames to id's and visa versa on nfs mounts/exports.

commit 58c7aee753522629288969c6d4e594551fb03482
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

libs/librpcsecgss: new spell, a library that implements rpcsec_gss (RFC
2203)

commit 47ef053839c71213852d6e7bba7b90e904f4d841
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

libs/libgssglue: new spell, a library that exports a gssapi interface

commit dfc939780633bcd8d3e6a43fb0d4f4da16eac438
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

net/nfs-utils: merged local repo testing changes with test grimoire
nfs-utils

commit abf587102400216d25292ba864d59e4fcc3768dd
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

disk/lvm: added make_single so builds don't break

diff --git a/ChangeLog b/ChangeLog
index a089ea1..8126379 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-02-17 Elisamuel Resto <ryuji AT sourcemage.org>
+ * libs/libgssglue: new spell, a library that exports a gssapi
interface
+ * libs/librpcsecgss: new spell, a library that implements rpcsec_gss
(RFC 2203)
+ * libs/libnfsidmap: new spell, a library holding mulitiple methods of
mapping names to
+ id's and visa versa, mainly for NFSv4
+ * utils/ipv6calc: new spell, a utility to convert IPv4/IPv6 and MAC
addresses to
+ different formats
+ * disk/uif2iso: new spell, utility to convert UIF CD/DVD image files
to ISO
+ * disk/daa2iso: new spell, utility to convert DAA CD/DVD image files
to ISO
+
2009-02-17 Juuso Alasuutari <iuso AT sourcemage.org>
* utils/das_watchdog: New spell, watchdog for realtime processes.
* kde4/konqueror4-plugins: New spell, plugins for Konqueror 4.
diff --git a/disk/daa2iso/BUILD b/disk/daa2iso/BUILD
new file mode 100755
index 0000000..c782f61
--- /dev/null
+++ b/disk/daa2iso/BUILD
@@ -0,0 +1,4 @@
+cd "${SOURCE_DIRECTORY}/src" &&
+make_single &&
+make &&
+make_normal
diff --git a/disk/daa2iso/DEPENDS b/disk/daa2iso/DEPENDS
new file mode 100755
index 0000000..3c8c240
--- /dev/null
+++ b/disk/daa2iso/DEPENDS
@@ -0,0 +1,2 @@
+depends unzip &&
+depends zlib
diff --git a/disk/daa2iso/DETAILS b/disk/daa2iso/DETAILS
new file mode 100755
index 0000000..c002f75
--- /dev/null
+++ b/disk/daa2iso/DETAILS
@@ -0,0 +1,18 @@
+ SPELL=daa2iso
+ VERSION=0.1.5
+ SOURCE=${SPELL}.zip
+ SOURCE_URL[0]=http://aluigi.org/mytoolz/${SOURCE}
+ SOURCE_URL[1]=http://aluigi.altervista.org/mytoolz/${SOURCE}
+
SOURCE_HASH=sha512:7e30c852693478c31956f7ef25326979396b97ad4a9fab3b11cfe5da8e768eb0cdddb59f7b5b6f86410caa6fdab8bca1e8492b6682b25b1576a117a7833f316d
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}
+ LICENSE[0]=GPL
+ ENTERED=20080726
+ WEB_SITE="http://aluigi.org/mytoolz.htm#daa2iso";
+ SHORT="DAA to ISO CD/DVD image file converter"
+ DOCS="daa2iso.txt"
+ KEYWORDS="daa iso image"
+
+cat << EOF
+Program for converting the DAA files (Direct Access Archive, used by
+PowerISO) to ISO. Also supports multipart files.
+EOF
diff --git a/disk/daa2iso/HISTORY b/disk/daa2iso/HISTORY
new file mode 100644
index 0000000..5bb5935
--- /dev/null
+++ b/disk/daa2iso/HISTORY
@@ -0,0 +1,2 @@
+2008-07-26 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DETAILS, DEPENDS, PRE_BUILD, BUILD, INSTALL: spell created
diff --git a/disk/daa2iso/INSTALL b/disk/daa2iso/INSTALL
new file mode 100755
index 0000000..188b43c
--- /dev/null
+++ b/disk/daa2iso/INSTALL
@@ -0,0 +1,4 @@
+cd "${SOURCE_DIRECTORY}/src" &&
+make_single &&
+make PREFIX=${INSTALL_ROOT}/usr install &&
+make_normal
diff --git a/disk/daa2iso/PRE_BUILD b/disk/daa2iso/PRE_BUILD
new file mode 100755
index 0000000..8c0dccd
--- /dev/null
+++ b/disk/daa2iso/PRE_BUILD
@@ -0,0 +1,2 @@
+mkdir -p "${SOURCE_DIRECTORY}" &&
+unzip "${SOURCE_CACHE}/${SOURCE}" -d "${SOURCE_DIRECTORY}"
diff --git a/disk/lvm/BUILD b/disk/lvm/BUILD
index 483bd98..07b5831 100755
--- a/disk/lvm/BUILD
+++ b/disk/lvm/BUILD
@@ -6,4 +6,6 @@
--mandir=$INSTALL_ROOT/usr/share/man \
--enable-static_link \
$OPTS &&
-make
+make_single &&
+make &&
+make_normal
diff --git a/disk/lvm/HISTORY b/disk/lvm/HISTORY
index b3fb7e7..4cd09b0 100644
--- a/disk/lvm/HISTORY
+++ b/disk/lvm/HISTORY
@@ -1,3 +1,6 @@
+2009-02-17 Elisamuel Resto <ryuji AT sourcemage.org>
+ * BUILD: add make_single so that multiple don't break building
+
2009-01-27 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 2.02.44

diff --git a/disk/uif2iso/BUILD b/disk/uif2iso/BUILD
new file mode 100755
index 0000000..c782f61
--- /dev/null
+++ b/disk/uif2iso/BUILD
@@ -0,0 +1,4 @@
+cd "${SOURCE_DIRECTORY}/src" &&
+make_single &&
+make &&
+make_normal
diff --git a/disk/uif2iso/DEPENDS b/disk/uif2iso/DEPENDS
new file mode 100755
index 0000000..c5aa888
--- /dev/null
+++ b/disk/uif2iso/DEPENDS
@@ -0,0 +1,3 @@
+depends unzip &&
+depends zlib &&
+depends openssl
diff --git a/disk/uif2iso/DETAILS b/disk/uif2iso/DETAILS
new file mode 100755
index 0000000..8d70587
--- /dev/null
+++ b/disk/uif2iso/DETAILS
@@ -0,0 +1,18 @@
+ SPELL=uif2iso
+ VERSION=0.1.5a
+ SOURCE=${SPELL}.zip
+ SOURCE_URL[0]=http://aluigi.org/mytoolz/${SOURCE}
+ SOURCE_URL[1]=http://aluigi.altervista.org/mytoolz/${SOURCE}
+
SOURCE_HASH=sha512:ba57704777d5e92a08452bf0d41d1689af626a86394ff7a5d55090978f4e1ac56431827149e01a7cce74e89701bae97af74238d3e31270b27cab4a878ba9d1b1
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}
+ LICENSE[0]=GPL
+ ENTERED=20080726
+ WEB_SITE="http://aluigi.org/mytoolz.htm#uif2iso";
+ SHORT="UIF to ISO CD/DVD image file converter"
+ DOCS="uif2iso.txt"
+ KEYWORDS="uif iso image"
+
+cat << EOF
+Program for converting the UIF files (Universal Image Format, used by
+MagicISO) to ISO, NRG or CUE/BIN depending by the input file.
+EOF
diff --git a/disk/uif2iso/HISTORY b/disk/uif2iso/HISTORY
new file mode 100644
index 0000000..5bb5935
--- /dev/null
+++ b/disk/uif2iso/HISTORY
@@ -0,0 +1,2 @@
+2008-07-26 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DETAILS, DEPENDS, PRE_BUILD, BUILD, INSTALL: spell created
diff --git a/disk/uif2iso/INSTALL b/disk/uif2iso/INSTALL
new file mode 100755
index 0000000..188b43c
--- /dev/null
+++ b/disk/uif2iso/INSTALL
@@ -0,0 +1,4 @@
+cd "${SOURCE_DIRECTORY}/src" &&
+make_single &&
+make PREFIX=${INSTALL_ROOT}/usr install &&
+make_normal
diff --git a/disk/uif2iso/PRE_BUILD b/disk/uif2iso/PRE_BUILD
new file mode 100755
index 0000000..8c0dccd
--- /dev/null
+++ b/disk/uif2iso/PRE_BUILD
@@ -0,0 +1,2 @@
+mkdir -p "${SOURCE_DIRECTORY}" &&
+unzip "${SOURCE_CACHE}/${SOURCE}" -d "${SOURCE_DIRECTORY}"
diff --git a/libs/libgssglue/DEPENDS b/libs/libgssglue/DEPENDS
new file mode 100755
index 0000000..a708cc1
--- /dev/null
+++ b/libs/libgssglue/DEPENDS
@@ -0,0 +1 @@
+depends pkgconfig
diff --git a/libs/libgssglue/DETAILS b/libs/libgssglue/DETAILS
new file mode 100755
index 0000000..5eebb0d
--- /dev/null
+++ b/libs/libgssglue/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=libgssglue
+ VERSION=0.1
+ SOURCE=$SPELL-$VERSION.tar.gz
+
SOURCE_URL[0]=http://www.citi.umich.edu/projects/nfsv4/linux/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:1897b49e777075fea3dac5e5a4738d273e84f5a0875831eac1452fe2be0868247b14bf03b67eaa30f4b43633230ceb3710e5311b18b00854a5782f3c4e632732
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ WEB_SITE="http://www.citi.umich.edu/projects/nfsv4/linux/";
+ LICENSE[0]=BSD
+ ENTERED=20080317
+ SHORT="This library exports a gssapi interface"
+
+cat << EOF
+This library exports a gssapi interface, but doesn't implement any gssapi
+mechanisms itself; instead it calls gssapi routines in other libraries,
+depending on the mechanism.
+EOF
diff --git a/libs/libgssglue/HISTORY b/libs/libgssglue/HISTORY
new file mode 100644
index 0000000..9c2afb4
--- /dev/null
+++ b/libs/libgssglue/HISTORY
@@ -0,0 +1,6 @@
+2008-04-18 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DEPENDS: added pkgconfig as dependency
+
+2008-03-17 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DETAILS: spell created
+
diff --git a/libs/libnfsidmap/DEPENDS b/libs/libnfsidmap/DEPENDS
new file mode 100755
index 0000000..0ad6ee6
--- /dev/null
+++ b/libs/libnfsidmap/DEPENDS
@@ -0,0 +1,2 @@
+depends librpcsecgss &&
+depends pkgconfig
diff --git a/libs/libnfsidmap/DETAILS b/libs/libnfsidmap/DETAILS
new file mode 100755
index 0000000..b942495
--- /dev/null
+++ b/libs/libnfsidmap/DETAILS
@@ -0,0 +1,18 @@
+ SPELL=libnfsidmap
+ VERSION=0.20
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]=http://www.citi.umich.edu/projects/nfsv4/linux/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:dcfea29fd7ef9cfe28c8edb8e1e59183b7a51cbcf5641fafebe2721a6ed921c0ad6e115b90598e121cde4422a83481757f517942fc1e80f763d1992a27de244f
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://www.citi.umich.edu/projects/nfsv4/linux/";
+ LICENSE[0]=BSD
+ ENTERED=20080317
+ SHORT="libnfsidmap is a library holding mulitiple methods of
mapping names to id's and visa versa, mainly for NFSv4."
+cat << EOF
+libnfsidmap is a library holding mulitiple methods of mapping names to id's
+and visa versa, mainly for NFSv4.
+
+We provide an extensible array of mapping functions, currently consisting
+of two choices; the default nsswitch and the experimental umich_ldap. The
+mapping method is configured using /etc/idmapd.conf.
+EOF
diff --git a/libs/libnfsidmap/HISTORY b/libs/libnfsidmap/HISTORY
new file mode 100644
index 0000000..60398da
--- /dev/null
+++ b/libs/libnfsidmap/HISTORY
@@ -0,0 +1,7 @@
+2008-04-18 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DEPENDS: added pkgconfig as dependency
+
+2008-03-17 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DEPENDS, DETAILS: spell created
+ * INSTALL: use install_config_file to properly copy idmapd.conf
+
diff --git a/libs/libnfsidmap/INSTALL b/libs/libnfsidmap/INSTALL
new file mode 100755
index 0000000..7e7d272
--- /dev/null
+++ b/libs/libnfsidmap/INSTALL
@@ -0,0 +1,2 @@
+default_install &&
+install_config_file $SPELL_DIRECTORY/idmapd.conf /etc/idmapd.conf
diff --git a/libs/libnfsidmap/idmapd.conf b/libs/libnfsidmap/idmapd.conf
new file mode 100644
index 0000000..3484679
--- /dev/null
+++ b/libs/libnfsidmap/idmapd.conf
@@ -0,0 +1,8 @@
+[General]
+Verbosity = 0
+Pipefs-Directory = /var/lib/nfs/rpc_pipefs
+Domain = dragonboricua.com
+
+[Mapping]
+Nobody-User = nobody
+Nobody-Group = nogroup
diff --git a/libs/librpcsecgss/DEPENDS b/libs/librpcsecgss/DEPENDS
new file mode 100755
index 0000000..f0a1dc2
--- /dev/null
+++ b/libs/librpcsecgss/DEPENDS
@@ -0,0 +1,2 @@
+depends libgssglue &&
+depends pkgconfig
diff --git a/libs/librpcsecgss/DETAILS b/libs/librpcsecgss/DETAILS
new file mode 100755
index 0000000..02edaad
--- /dev/null
+++ b/libs/librpcsecgss/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=librpcsecgss
+ VERSION=0.17
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]=http://www.citi.umich.edu/projects/nfsv4/linux/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:d94ca0674f088d03ff675895d192709955e28f86c51cf067598dbb4b7ad95e516a853d5ecd62b9cc6a1935c5a813e54f228bbf0862a2c4aea2fc1e2dbb692261
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://www.citi.umich.edu/projects/nfsv4/linux/";
+ LICENSE[0]=BSD
+ ENTERED=20080317
+ SHORT="This library implements rpcsec_gss (RFC 2203)"
+cat << EOF
+This library implements rpcsec_gss (RFC 2203) which allows secure rpc
+communication using gss-api security mechanisms.
+EOF
diff --git a/libs/librpcsecgss/HISTORY b/libs/librpcsecgss/HISTORY
new file mode 100644
index 0000000..0a9003c
--- /dev/null
+++ b/libs/librpcsecgss/HISTORY
@@ -0,0 +1,6 @@
+2008-04-18 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DEPENDS: added pkgconfig as dependency
+
+2008-03-17 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DEPENDS, DETAILS: spell created
+
diff --git a/net/nfs-utils/BUILD b/net/nfs-utils/BUILD
index 060ad5d..550a7b7 100755
--- a/net/nfs-utils/BUILD
+++ b/net/nfs-utils/BUILD
@@ -1,8 +1,8 @@
-OPTS="$OPTS \
- --disable-nfsv4 \
- --disable-gss \
- $NFS_UTILS_NFSV3" &&
+OPTS="$OPTS \
+ --disable-gss \
+ $NFS_UTILS_NFSV3 \
+ $NFS_UTILS_NFSV4" &&

-make_single &&
-default_build &&
+make_single &&
+default_build &&
make_normal
diff --git a/net/nfs-utils/CONFIGURE b/net/nfs-utils/CONFIGURE
index f59ff7b..50ba1eb 100755
--- a/net/nfs-utils/CONFIGURE
+++ b/net/nfs-utils/CONFIGURE
@@ -1,6 +1,10 @@
-config_query_option NFS_UTILS_NFSV3 "Enable NFSv3 support?" y \
- "--enable-nfsv3" "--disable-nfsv3" &&
+config_query_option NFS_UTILS_NFSV3 "Enable NFSv3 support?" y \
+ "--enable-nfsv3" "--disable-nfsv3" &&
+config_query_option NFS_UTILS_NFSV4 "Enable NFSv4 support?" n \
+ "--enable-nfsv4" "--disable-nfsv4" &&
+
message "Please note that you need only one of the init scripts:" &&
-message "nfs - full NFS server and client support" &&
-message "nfslock - only locking services for client"
+message "nfs - full NFS support (for clients/servers [NFSv3/4])" &&
+message "nfsidmap - user <-> id mapping (for clients [NFSv4])" &&
+message "nfslock - only locking services (for clients [NFSv3/4])"

diff --git a/net/nfs-utils/DEPENDS b/net/nfs-utils/DEPENDS
index 819ea8f..a680c6e 100755
--- a/net/nfs-utils/DEPENDS
+++ b/net/nfs-utils/DEPENDS
@@ -1,22 +1,16 @@
-depends gcc &&
-depends gnupg &&
-depends portmap &&
-depends smgl-fhs
+depends gcc &&
+depends gnupg &&
+depends portmap &&
+depends smgl-fhs

optional_depends tcp_wrappers \
"--with-tcp-wrappers" \
"--without-tcp-wrappers" \
- "for TCP wrapper based access control"
+ "for TCP wrapper based access control" &&

-#
# See http://www.citi.umich.edu/projects/nfsv4/linux/ for NFSv4 support
#
-#optional_depends libevent & nfsidmap \
-# "--enable-nfsv4" \
-# "--disable-nfsv4" \
-# "for NFSv4 support" &&
-
-#optional_depends krb5? & nfsidmap \
-# "--enable-gss" \
-# "--disable-gss" \
-# "for rpsec_gss support"
+if [[ "$NFS_UTILS_NFSV4" == "--enable-nfsv4" ]]; then
+ depends libevent &&
+ depends libnfsidmap
+fi
diff --git a/net/nfs-utils/DETAILS b/net/nfs-utils/DETAILS
index d6a2901..2a77bbc 100755
--- a/net/nfs-utils/DETAILS
+++ b/net/nfs-utils/DETAILS
@@ -1,5 +1,6 @@
SPELL=nfs-utils
VERSION=1.1.2
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=$SOURCEFORGE_URL/nfs/$SOURCE
diff --git a/net/nfs-utils/HISTORY b/net/nfs-utils/HISTORY
index 262fdc7..f40c02b 100644
--- a/net/nfs-utils/HISTORY
+++ b/net/nfs-utils/HISTORY
@@ -1,3 +1,25 @@
+2009-02-17 Elisamuel Resto <ryuji AT sourcemage.org>
+ * net/nfs-utils: merged local repo testing changes with test grimoire
nfs-utils
+
+2008-10-01 Elisamuel Resto <ryuji AT sourcemage.org>
+ * init.d/nfs: quote the grep searches, fixed pipefs unmount if-block
+
+2008-04-19 Elisamuel Resto <ryuji AT sourcemage.org>
+ * init.d/nfs: the for loops cant have quotes around it, fixed the
path in the loops
+
+2008-04-18 Elisamuel Resto <ryuji AT sourcemage.org>
+ * init.d/nfs: changes on daemon detection, order of things and
messages.
+ removed +remote_fs from NEEDS, nfs or nfslock are needed to mount
nfs shares.
+ added nfslock and nfsidmap PROVIDES, so mountnetwork can request
properly
+ * DETAILS: PATCHLEVEL++
+ * init.d/{nfs,nfslock,nfsidmap}: removed providers, bad idea. more
logic added.
+
+2008-04-17 Elisamuel Resto <ryuji AT sourcemage.org>
+ * init.d/nfs: changes on handling of daemons, added NFSv4 stuff
+ * init.d/nfslock: changes on handing of the daemon
+ * init.d/nfsidmap: new init, for user <-> id mapping (NFSv4)
+ * BUILD, CONFIGURE, DEPENDS: NFSv4 support added
+
2008-03-26 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
* init.d/nfs: remove kernel nfsd on shutdown else it fails to
restart correctly afterwards
diff --git a/net/nfs-utils/init.d/nfs b/net/nfs-utils/init.d/nfs
index 4be5452..8dacdd2 100644
--- a/net/nfs-utils/init.d/nfs
+++ b/net/nfs-utils/init.d/nfs
@@ -2,18 +2,72 @@

PROGRAM=/bin/false
RUNLEVEL=3
-NEEDS="+remote_fs +network +portmap"
+NEEDS="+network +portmap"

. /etc/init.d/smgl_init
. /etc/sysconfig/nfs

-if [ ! -e /etc/exports ] ; then
+if [[ ! -e /etc/exports ]]; then
$FAILURE
echo "Please create an /etc/exports file. Exiting without starting nfs..."
$NORMAL
exit 1
fi

+if [[ -e /usr/sbin/rpc.idmapd ]]; then
+ HASNFS4=1
+fi
+
+# pseudo fs stuff
+mount_nfsd()
+{
+ if grep -q 'nfsd' /proc/filesystems; then
+ if ! grep -q 'nfsd' /etc/mtab; then
+ required_executable /bin/mount
+ echo "mounting nfsd"
+ mount -t nfsd nfsd /proc/fs/nfsd
+ evaluate_retval
+ fi
+ fi
+}
+umount_nfsd()
+{
+ if grep -q 'nfsd' /etc/mtab; then
+ required_executable /bin/umount
+ echo "unmounting nfsd"
+ umount /proc/fs/nfsd
+ evaluate_retval
+ fi
+}
+mount_pipefs()
+{
+ if grep -q 'rpc_pipefs' /proc/filesystems; then
+ if ! grep -q 'rpc_pipefs' /etc/mtab; then
+ required_executable /bin/mount
+ echo "mounting pipefs"
+ mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs
+ evaluate_retval
+ fi
+ fi
+}
+umount_pipefs()
+{
+ if grep -q 'rpc_pipefs' /etc/mtab; then
+ required_executable /bin/umount
+ echo "unmounting pipefs"
+ umount /var/lib/nfs/rpc_pipefs
+ evaluate_retval
+ fi
+}
+
+# for making sure these exist
+mknfsdirs() {
+ local d
+ for d in /var/lib/nfs/{rpc_pipefs,v4recovery,v4root}; do
+ [[ ! -d "${d}" ]] && mkdir -p "${d}"
+ done
+}
+
# may be outsourced
get_kernel_pids()
{
@@ -30,51 +84,87 @@ get_kernel_pids()

start()
{
- echo "Starting full NFS services (server & locking)"
- # why do we reexport before the daemons are up?
- # doesn't seem to matter much
- required_executable /usr/sbin/exportfs
- echo -n "exportfs"
- /usr/sbin/exportfs -r
- evaluate_retval
+ local bins
+ echo "Starting NFS services (client & server)"
+
+ bins="statd nfsd mountd"
+ if [[ ! -z $HASNFS4 ]]; then
+ mknfsdirs
+ mount_nfsd
+ mount_pipefs
+ bins="${bins} idmapd"
+ fi
+
+ for b in $bins; do
+ required_executable /usr/sbin/rpc.$b
+ done

# nfs-howto says: these daemons in this order
# userspace does not bother about lockd since linux 2.2.18
- for d in mountd nfsd statd rquotad
- do
- required_executable /usr/sbin/rpc.$d
- local opts=
- if [[ $d == mountd ]]; then opts="$MOUNTDOPTS"
- if [[ ! -z "$MOUNTD_PORT" ]]; then opts="$opts -p $MOUNTD_PORT"
- fi
- elif [[ $d == nfsd ]]; then opts="$NUMSERVERS"
- elif [[ $d == statd && ! -z $STATD_PORT ]]; then opts="-p $STATD_PORT"
+ for d in ${bins} rquotad; do
+ if [[ -x /usr/sbin/rpc.$d ]]; then
+ local opts=
+
+ if [[ $d == 'mountd' ]]; then
+ opts="$MOUNTDOPTS"
+
+ if [[ ! -z "$MOUNTD_PORT" ]]; then
+ opts="$opts -p $MOUNTD_PORT"
+ fi
+ elif [[ $d == 'nfsd' ]]; then
+ opts="$NUMSERVERS"
+ elif [[ $d == 'statd' && ! -z $STATD_PORT ]]; then
+ opts="-p $STATD_PORT"
+ fi
+
+ echo -n $d
+ loadproc /usr/sbin/rpc.$d $opts
fi
- echo -n $d
- loadproc /usr/sbin/rpc.$d $opts
done
+
+ required_executable /usr/sbin/exportfs
+ echo -n "exportfs"
+ /usr/sbin/exportfs -r
+ evaluate_retval
}

stop()
{
- echo "Stopping NFS services"
+ local bins
+ echo "Stopping NFS services (client & server)"
echo -n "unexporting filesystems"
/usr/sbin/exportfs -au
evaluate_retval
+
+ bins="statd nfsd mountd"
+ if [[ ! -z $HASNFS4 ]]; then
+ umount pipefs
+ umount_nfsd
+ bins="${bins} idmapd"
+ fi
+
+ for b in $bins; do
+ required_executable /usr/sbin/rpc.$b
+ done

# all in one loop to simplify code, reversed order
# atm. only nfsd is really in-kernel (and lockd self-managed)
- for d in rquotad statd nfsd mountd
- do
- local kpid=$(get_kernel_pids $d)
- if [[ -z $kpid ]]; then
- echo -n "killing $d"
- killproc /usr/sbin/rpc.$d
- else
- echo "not killing kernel $d (PID $kpid)"
+ for d in ${bins} rquotad; do
+ if [[ -x /usr/sbin/rpc.$d ]]; then
+ local kpid=$(get_kernel_pids $d)
+
+ if [[ -z $kpid ]]; then
+ echo -n "killing $d"
+ killproc /usr/sbin/rpc.$d
+ else
+ if [[ $d == 'nfsd' ]]; then
+ echo "Removing kernel nfsd"
+ /usr/sbin/rpc.nfsd 0
+ else
+ echo "not killing kernel $d (PID=${kpid})"
+ fi
+ fi
fi
- echo "Removing kernel nfsd"
- /usr/sbin/rpc.nfsd 0
done
}

diff --git a/net/nfs-utils/init.d/nfsidmap b/net/nfs-utils/init.d/nfsidmap
new file mode 100644
index 0000000..35f67c1
--- /dev/null
+++ b/net/nfs-utils/init.d/nfsidmap
@@ -0,0 +1,44 @@
+#!/bin/bash
+
+PROGRAM=/usr/sbin/rpc.idmapd
+RUNLEVEL=3
+NEEDS="+network +portmap"
+
+. /etc/init.d/smgl_init
+
+# pseudo fs stuff
+mount_pipefs()
+{
+ if grep -q rpc_pipefs /proc/filesystems; then
+ if ! grep -q rpc_pipefs /etc/mtab; then
+ required_executable /bin/mount
+ echo "mounting pipefs"
+ mkdir -p /var/lib/nfs/rpc_pipefs
+ mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs
+ evaluate_retval
+ fi
+ fi
+}
+umount_pipefs()
+{
+ if grep -q rpc_pipefs /etc/mtab; then
+ required_executable /bin/umount
+ echo "unmounting pipefs pseudofs"
+ umount /var/lib/nfs/rpc_pipefs
+ evaluate_retval
+ fi
+}
+
+start()
+{
+ required_executable ${PROGRAM}
+ mount_pipefs
+ loadproc ${PROGRAM}
+}
+
+stop()
+{
+ required_executable ${PROGRAM}
+ killproc ${PROGRAM}
+ umount_pipefs
+}
diff --git a/net/nfs-utils/init.d/nfslock b/net/nfs-utils/init.d/nfslock
index 2f46cd1..81b125c 100644
--- a/net/nfs-utils/init.d/nfslock
+++ b/net/nfs-utils/init.d/nfslock
@@ -2,7 +2,7 @@

PROGRAM=/bin/false
RUNLEVEL=3
-NEEDS="+remote_fs +network +portmap"
+NEEDS="+network +portmap"

. /etc/init.d/smgl_init

diff --git a/utils/ipv6calc/BUILD b/utils/ipv6calc/BUILD
new file mode 100755
index 0000000..9596eb6
--- /dev/null
+++ b/utils/ipv6calc/BUILD
@@ -0,0 +1,2 @@
+unset CFLAGS LDFLAGS &&
+default_build
diff --git a/utils/ipv6calc/DETAILS b/utils/ipv6calc/DETAILS
new file mode 100755
index 0000000..cd62435
--- /dev/null
+++ b/utils/ipv6calc/DETAILS
@@ -0,0 +1,25 @@
+ SPELL=ipv6calc
+ VERSION=0.71.0
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE2=${SOURCE}.sig
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
+ SOURCE_URL[0]="ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/${SOURCE}";
+ SOURCE2_URL[0]="ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/${SOURCE2}";
+ SOURCE2_IGNORE=signature
+ SOURCE_GPG="peter-bieringer.gpg:${SOURCE2}:ESTABLISHED_UPSTREAM_KEY"
+ WEB_SITE=http://www.deepspace6.net/projects/ipv6calc.html
+ ENTERED=20061023
+ KEYWORDS="ipv6 util ipv6calc bieringer"
+ LICENSE[0]=GPL
+ DOCS="COPYING CREDITS USAGE INSTALLING ChangeLog LICENSE
INSTALLING TODO README doc"
+ SHORT="ipv6calc is a small but powerful utility written in the C
programming language to manipulate (not only) IPv6 addresses."
+cat << EOF
+IPv6 calc is a small but powerful utility written in the C programming
+language to manipulate (not only) IPv6 addresses. ipv6calc allows the
+users to convert a given IPv6 address to the compressed format or to
+the format used by /proc/net/if_inet6. ipv6calc is also the replacement
+of the old ip6_int Perl program.
+
+This utility is also used to extend features on network-functions-ipv6
+library, used by initscripts-ipv6.
+EOF
diff --git a/utils/ipv6calc/HISTORY b/utils/ipv6calc/HISTORY
new file mode 100644
index 0000000..1bc6521
--- /dev/null
+++ b/utils/ipv6calc/HISTORY
@@ -0,0 +1,13 @@
+2008-04-20 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DETAILS: added LICENSE
+ * BUILD: aparently, if CFLAGS env is set, config.h doesnt get copied
and md5.c fails
+
+2007-06-19 Elisamuel Resto <ryuji AT mages.ath.cx>
+ * DETAILS: Version bump
+
+2007-01-21 Elisamuel Resto <ryuji AT mages.ath.cx>
+ * Added GPG sig and author key for GPG checking
+ * DETAILS: Text-wrapped the description of the spell
+
+2006-10-23 Elisamuel Resto <ryuji AT mages.ath.cx>
+ * ALL: Initial insert into local grim
diff --git a/utils/ipv6calc/peter-bieringer.gpg
b/utils/ipv6calc/peter-bieringer.gpg
new file mode 100644
index 0000000..84d8f8c
Binary files /dev/null and b/utils/ipv6calc/peter-bieringer.gpg differ



  • [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (07654f7decce70df62647b9f7520369f81e6691e), Elisamuel Resto, 02/17/2009

Archive powered by MHonArc 2.6.24.

Top of Page