summaryrefslogtreecommitdiff
path: root/packages/opennhrp/build.sh
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-10-03 14:19:12 +0100
committerGitHub <noreply@github.com>2024-10-03 14:19:12 +0100
commit650d3b9a8117808766bde00598fe6f17a4bc898c (patch)
treedf6b5a16945e9c2f3cff2bd520ee2eace0b65c76 /packages/opennhrp/build.sh
parent282cab27d85bbea7161257832a00a2419a4dd8a5 (diff)
parent7ddfa94d744bede4866a6b9e54006c3ac106c5f9 (diff)
downloadvyos-build-650d3b9a8117808766bde00598fe6f17a4bc898c.tar.gz
vyos-build-650d3b9a8117808766bde00598fe6f17a4bc898c.zip
Merge pull request #787 from sever-sever/T6754-circ
T6754: Delete Jenkins build packages
Diffstat (limited to 'packages/opennhrp/build.sh')
-rwxr-xr-xpackages/opennhrp/build.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/packages/opennhrp/build.sh b/packages/opennhrp/build.sh
deleted file mode 100755
index e12d4765..00000000
--- a/packages/opennhrp/build.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-SRC=opennhrp
-if [ ! -d $SRC ]; then
- echo "source directory $SRC does not exist!"
- echo "$ git clone https://git.code.sf.net/p/opennhrp/code opennhrp"
- exit 1
-fi
-cd $SRC
-
-INSTALL_DIR=debian
-if [ -d $INSTALL_DIR ]; then
- rm -rf $INSTALL_DIR
-fi
-
-make clean
-make
-
-install --directory debian/etc debian/usr/sbin
-install --mode 0644 etc/racoon-ph1dead.sh debian/etc
-install --mode 0644 etc/racoon-ph1down.sh debian/etc
-install --strip --mode 0755 nhrp/opennhrp debian/usr/sbin
-install --strip --mode 0755 nhrp/opennhrpctl 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 opennhrp \
- --version $(git describe --always | cut -c2-) --deb-compression gz \
- --maintainer "VyOS Package Maintainers <maintainers@vyos.net>" \
- --description "NBMA Next Hop Resolution Protocol daemon" \
- --license "MIT" -C $INSTALL_DIR --package ..