summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Humfrey <njh@aelius.com>2019-01-30 10:04:31 +0000
committerNicholas Humfrey <njh@aelius.com>2019-01-30 10:04:31 +0000
commit9779f9938e1a80736738b2b9021a0db4dd872bfa (patch)
tree258ae7ed3546b47171487fa06cc262bda4f4fd8b
parentc85cda7b402099c37a9d978d3f664ffbaf631132 (diff)
downloadvyos-build-9779f9938e1a80736738b2b9021a0db4dd872bfa.tar.gz
vyos-build-9779f9938e1a80736738b2b9021a0db4dd872bfa.zip
T1214: Add `ipaddrcheck` to the packages directory
-rw-r--r--.gitmodules4
-rw-r--r--docker/Dockerfile6
m---------packages/ipaddrcheck0
-rwxr-xr-xscripts/build-submodules1
4 files changed, 11 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 2257b9f1..dd608357 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -245,3 +245,7 @@
path = packages/libyang
url = https://github.com/opensourcerouting/libyang.git
branch = debian
+[submodule "packages/ipaddrcheck"]
+ path = packages/ipaddrcheck
+ url = https://github.com/vyos/ipaddrcheck.git
+ branch = master
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 13919ede..38dea015 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -234,6 +234,12 @@ RUN eval $(opam env --root=/opt/opam --set-root) && \
dpkg-buildpackage -uc -us -tc -b && \
dpkg -i ../libvyosconfig0_*_amd64.deb
+# Packages needed for ipaddrcheck
+RUN apt-get update && apt-get install -y \
+ libpcre3-dev \
+ libcidr-dev \
+ check
+
# Packages needed for hvinfo
RUN apt-get update && apt-get install -y \
gnat \
diff --git a/packages/ipaddrcheck b/packages/ipaddrcheck
new file mode 160000
+Subproject 8f0d655cc68995a0ef88dc905dc62db2af23ec9
diff --git a/scripts/build-submodules b/scripts/build-submodules
index a167b6e0..ae0c1c09 100755
--- a/scripts/build-submodules
+++ b/scripts/build-submodules
@@ -260,6 +260,7 @@ for PKG in mdns-repeater \
rtrlib \
hvinfo \
igmpproxy \
+ ipaddrcheck \
libvyosconfig \
vyatta-bash \
vyatta-biosdevname \