summaryrefslogtreecommitdiff
path: root/packages/radvd/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/radvd/build.sh')
-rwxr-xr-xpackages/radvd/build.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/packages/radvd/build.sh b/packages/radvd/build.sh
deleted file mode 100755
index 36057e27..00000000
--- a/packages/radvd/build.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-SRC=radvd
-if [ ! -d $SRC ]; then
- echo "source directory $SRC does not exist!"
- echo "$ git clone https://github.com/radvd-project/radvd"
- exit 1
-fi
-cd $SRC
-
-INSTALL_DIR=debian
-if [ -d $INSTALL_DIR ]; then
- rm -rf $INSTALL_DIR
-fi
-
-./autogen.sh
-./configure
-make
-
-install --directory debian/lib/systemd/system debian/usr/sbin
-install --mode 0644 radvd.service debian/lib/systemd/system
-install --strip --mode 0755 radvd debian/usr/sbin
-
-# Version' field value 'v0.14-20-g613277f': version number does not start with digit
-# "cut" first character from version string
-fpm --input-type dir --output-type deb --name radvd \
- --version $(git describe --always | cut -c2- | tr _ -) --deb-compression gz \
- --maintainer "VyOS Package Maintainers <maintainers@vyos.net>" \
- --description "RADVD router advertisement daemon" \
- --license "RADVD" -C $INSTALL_DIR --package ..