diff options
Diffstat (limited to 'network/radvd')
-rw-r--r-- | network/radvd/README | 24 | ||||
-rw-r--r-- | network/radvd/radvd.SlackBuild | 21 | ||||
-rw-r--r-- | network/radvd/radvd.info | 6 |
3 files changed, 29 insertions, 22 deletions
diff --git a/network/radvd/README b/network/radvd/README index 42966f1d6c..0623e3ec2d 100644 --- a/network/radvd/README +++ b/network/radvd/README @@ -1,18 +1,18 @@ The router advertisement daemon (radvd) is run by Linux or BSD systems -acting as IPv6 routers. It sends Router Advertisement messages, specified -by RFC 2461, to a local Ethernet LAN periodically and when requested by a -node sending a Router Solicitation message. These messages are required -for IPv6 stateless autoconfiguration. +acting as IPv6 routers. It sends Router Advertisement messages, +specified by RFC 2461, to a local Ethernet LAN periodically and +when requested by a node sending a Router Solicitation message. +These messages are required for IPv6 stateless autoconfiguration. -Radvd is dependent upon IPv6 support in the Linux kernel; this comes enabled -by default with Slackware 14's generic and huge kernels. To enable IPv6 -support manually, you must set the following entry in your custom kernel's -.config file and recompile: CONFIG_IPV6=m +Radvd is dependent upon IPv6 support in the Linux kernel; this comes +enabled by default with Slackware 14's generic and huge kernels. +To enable IPv6 support manually, you must set the following entry in +your custom kernel's .config file and recompile: CONFIG_IPV6=m -Once the slackware package is installed, edit /etc/radvd.conf to reflect -your current IPv6 configuration. An init script has been provided at -/etc/rc.d/rc.radvd. To have this start upon each boot, add the following -lines to your /etc/rc.d/rc.local file: +Once the slackware package is installed, edit /etc/radvd.conf to +reflect your current IPv6 configuration. An init script has been +provided at /etc/rc.d/rc.radvd. To have this start upon each boot, add +the following lines to your /etc/rc.d/rc.local file: ## Start the radvd daemon: if [ -x /etc/rc.d/rc.radvd ]; then /etc/rc.d/rc.radvd start diff --git a/network/radvd/radvd.SlackBuild b/network/radvd/radvd.SlackBuild index d456b00a5c..bf68cc6da0 100644 --- a/network/radvd/radvd.SlackBuild +++ b/network/radvd/radvd.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for radvd @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=radvd -VERSION=${VERSION:-2.15} +VERSION=${VERSION:-2.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -101,9 +111,6 @@ mkdir -p $PKG/etc/rc.d install -D -m 0644 $CWD/rc.radvd.new $PKG/etc/rc.d install -D -m 0644 $TMP/$PRGNAM-$VERSION/radvd.conf.example $PKG/etc -mkdir -p $PKG/var/run/radvd -chown -R daemon:daemon $PKG/var/run/radvd - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CHANGES COPYRIGHT INTRO.html README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -113,4 +120,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/network/radvd/radvd.info b/network/radvd/radvd.info index 247592f568..b9308cdeb1 100644 --- a/network/radvd/radvd.info +++ b/network/radvd/radvd.info @@ -1,8 +1,8 @@ PRGNAM="radvd" -VERSION="2.15" +VERSION="2.19" HOMEPAGE="http://www.litech.org/radvd" -DOWNLOAD="http://www.litech.org/radvd/dist/radvd-2.15.tar.xz" -MD5SUM="9793484f124caee88d48384360ef041e" +DOWNLOAD="https://radvd.litech.org/dist/radvd-2.19.tar.xz" +MD5SUM="5e84f9df1f1ef517260c68ccfe496d25" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |