open-isns: Nuevo

master
Gerardo Zamudio 4 years ago
parent 2d3c2cf75e
commit dc4ced2672
Signed by: gzamudio
GPG Key ID: F6CFA5A99E7B5957

@ -10,10 +10,10 @@ tail +13 CHECKSUMS.md5 | md5sum --check | less
/pub/gnu, or at any GNU mirror site.
MD5 message digest Filename
656fe1795db885e8f4dfb6ad882b237e ./ChangeLog.rss
0769f5ba30b0b617dd29b553cb3f73db ./ChangeLog.txt
7831a6aa8ee6de6cc2efc148cbace3d4 ./ChangeLog.txt.gz
4c5b4078b4c7febdd9fbfaaedf7f0b8a ./FILELIST.TXT
c83b5e90b632dda36c003b4166e42f8f ./ChangeLog.rss
20a9a20e39e57b7091173ed051d84a62 ./ChangeLog.txt
8c64df5a4d0a2b716f90b6657307c98a ./ChangeLog.txt.gz
735370055b88890fe67238021c245eb9 ./FILELIST.TXT
7f4bffeb686cc5fd6056bd404dda08d7 ./GPG-KEY
07032d8a5d2e099706138e8e8f1681ea ./MANIFEST.bz2
929e7c4ff15161d2fcba2057ec2a2f3a ./NetworkManager-fortisslvpn/HEADER.txt
@ -28,8 +28,8 @@ MD5 message digest Filename
862766d751cd6bf0a92e6162bd329186 ./NetworkManager-fortisslvpn/pkg64/current/NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.tgz.asc
d65495fb9b09ee9b0ede6c5903119dde ./NetworkManager-fortisslvpn/pkg64/current/NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.tgz.md5
10f078f71cb5fa957784abc1c53a70d4 ./NetworkManager-fortisslvpn/pkg64/current/NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.txt
ba72693aca431ae59400ff73a9b086ce ./PACKAGES.TXT
773f4bbe6a46d0df14fa6a011fdc0d5d ./PACKAGES.TXT.gz
40a0e7f50ea21d7dd56bc1c3a616f977 ./PACKAGES.TXT
80a0d018019298b2c2b519159a5eb493 ./PACKAGES.TXT.gz
c816a86246d3cc161cf2e869d16131bd ./audit/HEADER.txt
c816a86246d3cc161cf2e869d16131bd ./audit/README
29eb321fa3b3c679ba8e4ae4b36a3809 ./audit/build/README
@ -248,6 +248,13 @@ ad6050d292e50dccf303d9d34684a577 ./numactl/pkg64/current/numactl-2.0.14-x86_64-
6730f426729df3c838614dfcee26726a ./numactl/pkg64/current/numactl-2.0.14-x86_64-1_lem.tgz.asc
5475a697a3c75dedaa5f85b7e932f566 ./numactl/pkg64/current/numactl-2.0.14-x86_64-1_lem.tgz.md5
704dcb016f5c69ecf5c01eae6c6d3ed4 ./numactl/pkg64/current/numactl-2.0.14-x86_64-1_lem.txt
7332fb327fff559fc5bfa072290b0a4c ./open-isns/build/README
9fa8c675d42110984fa24f4f4178e00a ./open-isns/build/doinst.sh
ea2fe014743f7e7ce70d57a0f9780c84 ./open-isns/build/open-isns.SlackBuild
05c5f1a1fbdb73d59a53e4eb27eb11b8 ./open-isns/build/open-isns.info
bf241a441d037d4108ed9dbe00821374 ./open-isns/build/rc.isnsd
b12817eb0c190e13211a866cc8bee75a ./open-isns/build/rc.isnsdd
1f001348f74fcf598165205a10cf2f7d ./open-isns/build/slack-desc
b3ea1a56b4c1d15e81158c8e78acca4d ./openfortivpn/HEADER.txt
b3ea1a56b4c1d15e81158c8e78acca4d ./openfortivpn/README
98ba993b4d6834d9ab840d9b546bfd4c ./openfortivpn/build/README

@ -1,17 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAmCNjAkZHGd6YW11ZGlv
QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZV0BYD/9iHRqZoWwESDIIW8Aqvc1r
GzkmmDTVJ01HhcXewUud6V8AA1lHlc6bJnMEoKRthvcF7O+CJYVgdQ9O50MuMZbB
GI5mGvp3JO8DHrl03eAgoELKzLRH+YNTWq1GCkeHdD1dwMqZCYK4Kc/MAsTTikGN
fUe9w1ikmLRNMetwEFRwur7PWCgEzztBJ4IsF3kNexlV4q02umBVO/5CzQmHzjbO
RveLnS1Mb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YF
P8H7XPd+9eMETL2me1ostw==
=9QMs
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAmCNqxIZHGd6YW11ZGlv
QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZV43ND/968t+Pborey4+2XKastpu1
++y9KkHlEjmdRmcfxV3522Fg0PolGV53AiKRrQA98QJamhIovXoA2WAbYyBjjbTk
bP4JdPfvubSfW2kqwCvl+4cy/LxbRYAkna1vDMJmKHYKm/wStCvgtOsEjjN8pi1P
+T5gqb580QwBncE1IRzgGRL+/VP6YVFMR6lOeVSx87k35U+s6OeeA3wV/PXIgf98
z4j6Qx6FgRjj2DGaknzNm6z/rsIjVuKH0fNFQsyU0fkOwr8cCTp/yFdeq8ODQRSK
rRERbDFthWqdaW5DcpuvVbkg7OKAXtnb4oKmFCni7Se8+KdO48rJ5Og/haNY0mS7
xdhWcHKIk7zNpgVWgcvft1sHNZ+y8/B6txe1+HA4LptgmgICca8fBErLh08tNvJy
9cL/WtOi2d7pM8jZ5jb6jz0JXJVQtxHYMIq1QO9VepWzEKxdKUzAh7xeY1lY+GRG
bJ9atXJxTY1AahejoM8mcWH+6QenaZNOiHKxeZ9i4pb4Q+JsAG4aAClYdVWopGZQ
uhVZbvZ03awbvc5JvfkTJFY013qVEYBisToCiGK0ssEd64WHBRCuNXVLCvG4QFbV
9CrvIAx4BfKT55vfpLJg+cwknioyR/ld0KI3AG0wAJPUiXA/wxNfbB86oPhtqTRD
tLTjXY9gZrDUKT0hZc0lGg==
=d6jD
-----END PGP SIGNATURE-----

@ -11,10 +11,21 @@
<description>Repositorio de software para Slackare Linux proporcionado por Libre Expresión México</description>
<language>en-us</language>
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:f735159c-86bd-11ea-9d48-04d4c453db33</id>
<pubDate>Sat, 1 May 2021 17:12:32 GMT</pubDate>
<lastBuildDate>Sat, 1 May 2021 17:12:37 GMT</lastBuildDate>
<pubDate>Sat, 1 May 2021 19:24:49 GMT</pubDate>
<lastBuildDate>Sat, 1 May 2021 19:24:59 GMT</lastBuildDate>
<generator>gen_repos_files.sh v 1.98</generator>
<item>
<title>Sat, 1 May 2021 19:24:49 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Sat, 1 May 2021 19:24:49 GMT</pubDate>
<guid isPermaLink="false">20210501142449</guid>
<description>
<![CDATA[<pre>
open-isns: Nuevo
</pre>]]>
</description>
</item>
<item>
<title>Sat, 1 May 2021 17:12:32 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Sat, 1 May 2021 17:12:32 GMT</pubDate>
@ -190,16 +201,5 @@ lz4: Eliminar SlackBuild (parte de Slackware 15)
</pre>]]>
</description>
</item>
<item>
<title>Sun, 25 Apr 2021 06:32:39 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Sun, 25 Apr 2021 06:32:39 GMT</pubDate>
<guid isPermaLink="false">20210425013239</guid>
<description>
<![CDATA[<pre>
gtksourceview3: Eliminar SlackBuild (parte de Slackware 15)
</pre>]]>
</description>
</item>
</channel>
</rss>

@ -1,3 +1,7 @@
+--------------------------+
Sat May 1 19:24:49 UTC 2021
open-isns: Nuevo
+--------------------------+
Sat May 1 17:12:32 UTC 2021
numactl: Agregar paquete

Binary file not shown.

@ -1,4 +1,4 @@
Sat May 1 17:12:32 UTC 2021
Sat May 1 19:24:49 UTC 2021
Here is the file list for https://mirror.slackware.mx/libremex/slackbuilds ,
maintained by Gerardo Zamudio <gzamudio@libremex.org.mx> .
@ -6,17 +6,17 @@ If you are using a mirror site and find missing or extra files
in the subdirectories, please have the archive administrator
refresh the mirror.
drwxr-xr-x 40 1000 100 4096 2021-05-01 12:12 .
-rw-r--r-- 1 1000 100 38248 2021-05-01 12:10 ./CHECKSUMS.md5
-rw-r--r-- 1 1000 100 870 2021-05-01 12:10 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 1000 100 11708 2021-05-01 12:10 ./CHECKSUMS.md5.gz
-rw-r--r-- 1 1000 100 870 2021-05-01 12:10 ./CHECKSUMS.md5.gz.asc
-rw-r--r-- 1 1000 100 6277 2021-05-01 12:12 ./ChangeLog.rss
-rw-r--r-- 1 1000 100 14123 2021-05-01 12:12 ./ChangeLog.txt
-rw-r--r-- 1 1000 100 2036 2021-05-01 12:12 ./ChangeLog.txt.gz
-rw-r--r-- 1 1000 100 311 2021-05-01 12:12 ./FILELIST.TXT
drwxr-xr-x 41 1000 100 4096 2021-05-01 14:25 .
-rw-r--r-- 1 1000 100 38797 2021-05-01 12:12 ./CHECKSUMS.md5
-rw-r--r-- 1 1000 100 870 2021-05-01 12:12 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 1000 100 11861 2021-05-01 12:12 ./CHECKSUMS.md5.gz
-rw-r--r-- 1 1000 100 870 2021-05-01 12:12 ./CHECKSUMS.md5.gz.asc
-rw-r--r-- 1 1000 100 6234 2021-05-01 14:24 ./ChangeLog.rss
-rw-r--r-- 1 1000 100 14199 2021-05-01 14:24 ./ChangeLog.txt
-rw-r--r-- 1 1000 100 2051 2021-05-01 14:25 ./ChangeLog.txt.gz
-rw-r--r-- 1 1000 100 311 2021-05-01 14:25 ./FILELIST.TXT
-rw-r--r-- 1 1000 100 6217 2020-05-23 23:52 ./GPG-KEY
-rw-r--r-- 1 1000 100 45534 2021-05-01 12:12 ./MANIFEST.bz2
-rw-r--r-- 1 1000 100 45534 2021-05-01 14:25 ./MANIFEST.bz2
drwxr-xr-x 4 1000 100 4096 2020-05-23 23:54 ./NetworkManager-fortisslvpn
-rw-r--r-- 1 1000 100 981 2020-05-23 23:54 ./NetworkManager-fortisslvpn/HEADER.txt
-rw-r--r-- 1 1000 100 981 2020-05-23 23:54 ./NetworkManager-fortisslvpn/README
@ -33,8 +33,8 @@ drwxr-xr-x 2 1000 100 4096 2020-05-23 19:03 ./NetworkManager-fortisslvpn/pk
-rw-r--r-- 1 1000 100 870 2020-05-23 19:03 ./NetworkManager-fortisslvpn/pkg64/current/NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.tgz.asc
-rw-r--r-- 1 1000 100 85 2020-05-23 19:03 ./NetworkManager-fortisslvpn/pkg64/current/NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.tgz.md5
-rw-r--r-- 1 1000 100 474 2020-05-23 19:03 ./NetworkManager-fortisslvpn/pkg64/current/NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.txt
-rw-r--r-- 1 1000 100 25782 2021-05-01 12:12 ./PACKAGES.TXT
-rw-r--r-- 1 1000 100 6400 2021-05-01 12:12 ./PACKAGES.TXT.gz
-rw-r--r-- 1 1000 100 25782 2021-05-01 14:25 ./PACKAGES.TXT
-rw-r--r-- 1 1000 100 6400 2021-05-01 14:25 ./PACKAGES.TXT.gz
drwxr-xr-x 4 1000 100 4096 2021-04-25 04:28 ./audit
-rw-r--r-- 1 1000 100 884 2021-04-25 04:28 ./audit/HEADER.txt
-rw-r--r-- 1 1000 100 884 2021-04-25 04:28 ./audit/README
@ -321,6 +321,17 @@ drwxr-xr-x 2 1000 100 4096 2021-05-01 12:12 ./numactl/pkg64/current
-rw-r--r-- 1 1000 100 870 2021-05-01 12:12 ./numactl/pkg64/current/numactl-2.0.14-x86_64-1_lem.tgz.asc
-rw-r--r-- 1 1000 100 66 2021-05-01 12:12 ./numactl/pkg64/current/numactl-2.0.14-x86_64-1_lem.tgz.md5
-rw-r--r-- 1 1000 100 434 2021-05-01 12:12 ./numactl/pkg64/current/numactl-2.0.14-x86_64-1_lem.txt
drwxr-xr-x 4 1000 100 4096 2021-05-01 14:18 ./open-isns
drwxr-xr-x 2 1000 100 4096 2021-05-01 14:18 ./open-isns/build
-rw-r--r-- 1 1000 100 1032 2021-05-01 11:50 ./open-isns/build/README
-rw-r--r-- 1 1000 100 394 2021-05-01 11:50 ./open-isns/build/doinst.sh
-rw-r--r-- 1 1000 100 3415 2021-05-01 11:50 ./open-isns/build/open-isns.SlackBuild
-rw-r--r-- 1 1000 100 312 2021-05-01 11:50 ./open-isns/build/open-isns.info
-rw-r--r-- 1 1000 100 483 2021-05-01 11:50 ./open-isns/build/rc.isnsd
-rw-r--r-- 1 1000 100 492 2021-05-01 11:50 ./open-isns/build/rc.isnsdd
-rw-r--r-- 1 1000 100 862 2021-05-01 11:50 ./open-isns/build/slack-desc
drwxr-xr-x 3 1000 100 4096 2021-05-01 14:18 ./open-isns/pkg64
drwxr-xr-x 2 1000 100 4096 2021-05-01 14:18 ./open-isns/pkg64/current
drwxr-xr-x 4 1000 100 4096 2020-05-25 19:09 ./openfortivpn
-rw-r--r-- 1 1000 100 941 2020-05-23 23:52 ./openfortivpn/HEADER.txt
-rw-r--r-- 1 1000 100 941 2020-05-23 23:52 ./openfortivpn/README

@ -1,4 +1,4 @@
PACKAGES.TXT; Sat May 1 17:12:32 UTC 2021
PACKAGES.TXT; Sat May 1 19:24:49 UTC 2021
PACKAGE NAME: NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.tgz
PACKAGE MIRROR: https://mirror.slackware.mx/libremex/slackbuilds

Binary file not shown.

@ -0,0 +1,27 @@
This is a partial implementation of iSNS, according to RFC4171.
The distribution comprises
isnsd
This is the iSNS server, supporting persistent storage
of registrations in a file based database.
isnsadm
A command line utility for querying the iSNS database,
and for registering/deregistering nodes and portals
isnsdd
An iSNS Discovery Daemon, which is still very much work
in progress. The daemon is supposed to handle all the
bit banging and server communications required to register
a node, its portals, and to maintain the registration.
It is also supposed to use the iSNS State Change Notification
framework to learn of new targets or initiators coming online,
and inform local services (such as the iSCSI initiator daemon)
about these changes.
NOTE
Due to a static library dependency this Slackbuild is required to
compile the Linux Open-iSCSI Initiator (open-iscsi). It is not required
to run the initiator, therefore it does not need to be installed unless
you intend to use any of the ISNS components on your network.

@ -0,0 +1,17 @@
config() {
NEW="${1}.new"
OLD="$1"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(md5sum <$OLD)" = "$(md5sum <$NEW)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
config etc/isns/isnsd.conf
config etc/isns/isnsdd.conf
config etc/isns/isnsadm.conf

@ -0,0 +1,117 @@
#!/bin/sh
# Slackware build script for open-isns
# Copyright 2019 Wayne Cuddy USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=open-isns
VERSION=${VERSION:-0.99}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
make install_hdrs DESTDIR=$PKG
make install_lib DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING ChangeLog HACKING README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
# These may be renamed back by doinst.sh.
for cf in \
etc/isns/isnsd.conf \
etc/isns/isnsdd.conf \
etc/isns/isnsadm.conf
do
mv $PKG/$cf $PKG/$cf.new
done
mkdir -p $PKG/etc/rc.d
cp $CWD/rc.isnsd $CWD/rc.isnsdd $PKG/etc/rc.d
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

@ -0,0 +1,10 @@
PRGNAM="open-isns"
VERSION="0.99"
HOMEPAGE="https://github.com/open-iscsi/open-isns"
DOWNLOAD="https://github.com/open-iscsi/open-isns/archive/v0.99/open-isns-0.99.tar.gz"
MD5SUM="512413a285c852195b6240d6a0ad7f5b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Wayne Cuddy"
EMAIL="wcuddy@gmail.com"

@ -0,0 +1,24 @@
#!/bin/sh
# Read alternative ARGS line from /etc/default/isnsd.
test -f /etc/default/isnsd && source /etc/default/isnsd
case "$1" in
start)
echo "starting isnsd"
/usr/sbin/isnsd $ARGS
;;
stop)
echo "stopping isnsd"
pkill -F /var/run/isnsd.pid
;;
status)
echo "$(pgrep -c -f /usr/sbin/isnsd) isnsd process(es) running"
;;
restart)
$0 stop; sleep 2; $0 start
;;
*)
echo "usage: $0 {start|stop|status|reload|restart}"
;;
esac

@ -0,0 +1,24 @@
#!/bin/sh
# Read alternative ARGS line from /etc/default/isnsdd.
test -f /etc/default/isnsdd && source /etc/default/isnsdd
case "$1" in
start)
echo "starting isnsdd"
/usr/sbin/isnsdd $ARGS
;;
stop)
echo "stopping isnsdd"
pkill -F /var/run/isnsdd.pid
;;
status)
echo "$(pgrep -c -f /usr/sbin/isnsdd) isnsdd process(es) running"
;;
restart)
$0 stop; sleep 2; $0 start
;;
*)
echo "usage: $0 {start|stop|status|reload|restart}"
;;
esac

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
open-isns: open-isns (Internet Storage Name Service)
open-isns:
open-isns: This is a partial implementation of the iSCSI name service
open-isns: according to RFC4171.
open-isns:
open-isns: This package includes an ISNS server (isnsd), a CLI
open-isns: (isnsadm) for interacting with the server, and a discovery
open-isns: daemon (isnsdd).
open-isns:
open-isns:
open-isns:
Loading…
Cancel
Save