renamed .h and libs clicon->clixon
This commit is contained in:
parent
baa5611616
commit
79b77943f9
132 changed files with 1240 additions and 1268 deletions
|
|
@ -1,15 +1,35 @@
|
|||
#
|
||||
# Copyright (C) 2009-2016 Olof Hagsand and Benny Holmgren
|
||||
#
|
||||
# This file is part of CLIXON.
|
||||
#
|
||||
# CLIXON is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# CLIXON is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with CLIXON; see the file LICENSE. If not, see
|
||||
# <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
FROM ubuntu:14.04
|
||||
# 12.04
|
||||
MAINTAINER Olof Hagsand <olof@hagsand.se>
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt-get update && apt-get install -y libqdbm-dev
|
||||
COPY libcligen.so.@CLIGEN_VERSION@ /usr/lib/
|
||||
COPY libclicon.so.@CLICON_VERSION_MAJOR@ /usr/lib/
|
||||
COPY libclicon_backend.so.@CLICON_VERSION_MAJOR@ /usr/lib/
|
||||
COPY clicon_backend /usr/sbin/
|
||||
COPY libclixon.so.@CLIXON_VERSION_MAJOR@ /usr/lib/
|
||||
COPY libclixon_backend.so.@CLIXON_VERSION_MAJOR@ /usr/lib/
|
||||
COPY clixon_backend /usr/sbin/
|
||||
RUN ldconfig
|
||||
RUN sudo groupadd clicon
|
||||
CMD ["/usr/sbin/clicon_backend", "-D", "1", "-F", "-f", "/data/clicon.conf"]
|
||||
RUN sudo groupadd clixon
|
||||
CMD ["/usr/sbin/clixon_backend", "-D", "1", "-F", "-f", "/data/clixon.conf"]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -29,22 +29,22 @@ libdir = @libdir@
|
|||
includedir = @includedir@
|
||||
datarootdir = @datarootdir@
|
||||
# You may consider changing this
|
||||
image = olofhagsand/clicon_backend
|
||||
image = olofhagsand/clixon_backend
|
||||
|
||||
all:
|
||||
@echo "Run make docker to build docker image"
|
||||
clean:
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile *~ .depend libcligen* libclicon* clicon_backend Dockerfile
|
||||
rm -f Makefile *~ .depend libcligen* libclixon* clixon_backend Dockerfile
|
||||
|
||||
# Kind of reverse install, could have copied from src dir,...
|
||||
.PHONY: docker push
|
||||
docker:
|
||||
cp $(DESTDIR)$(libdir)/libcligen.so.@CLIGEN_VERSION@ .
|
||||
cp $(DESTDIR)$(libdir)/libclicon.so.@CLICON_VERSION_MAJOR@ .
|
||||
cp $(DESTDIR)$(libdir)/libclicon_backend.so.@CLICON_VERSION_MAJOR@ .
|
||||
cp $(DESTDIR)$(sbindir)/clicon_backend .
|
||||
cp $(DESTDIR)$(libdir)/libclixon.so.@CLIXON_VERSION_MAJOR@ .
|
||||
cp $(DESTDIR)$(libdir)/libclixon_backend.so.@CLIXON_VERSION_MAJOR@ .
|
||||
cp $(DESTDIR)$(sbindir)/clixon_backend .
|
||||
sudo docker build -t $(image) .
|
||||
|
||||
push:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Ensure that cligen and clicon has been built and installed.
|
||||
Ensure that cligen and clixon has been built and installed.
|
||||
sudo make docker
|
||||
make push
|
||||
|
||||
|
|
|
|||
|
|
@ -1,14 +1,34 @@
|
|||
#
|
||||
# Copyright (C) 2009-2016 Olof Hagsand and Benny Holmgren
|
||||
#
|
||||
# This file is part of CLIXON.
|
||||
#
|
||||
# CLIXON is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# CLIXON is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with CLIXON; see the file LICENSE. If not, see
|
||||
# <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
FROM ubuntu:14.04
|
||||
# 12.04
|
||||
MAINTAINER Olof Hagsand <olof@hagsand.se>
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt-get update && apt-get install -y libqdbm-dev
|
||||
COPY libcligen.so.@CLIGEN_VERSION@ /usr/lib/
|
||||
COPY libclicon.so.@CLICON_VERSION_MAJOR@ /usr/lib/
|
||||
COPY libclicon_cli.so.@CLIGEN_VERSION@ /usr/lib/
|
||||
COPY clicon_cli /usr/bin/
|
||||
COPY libclixon.so.@CLIXON_VERSION_MAJOR@ /usr/lib/
|
||||
COPY libclixon_cli.so.@CLIXON_VERSION_MAJOR@ /usr/lib/
|
||||
COPY clixon_cli /usr/bin/
|
||||
RUN ldconfig
|
||||
CMD ["/usr/bin/clicon_cli", "-f", "/data/clicon.conf"]
|
||||
CMD ["/usr/bin/clixon_cli", "-f", "/data/clixon.conf"]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -29,22 +29,22 @@ libdir = @libdir@
|
|||
includedir = @includedir@
|
||||
datarootdir = @datarootdir@
|
||||
# You may consider changing this
|
||||
image = olofhagsand/clicon_cli
|
||||
image = olofhagsand/clixon_cli
|
||||
|
||||
all:
|
||||
@echo "Run make docker to build docker image"
|
||||
clean:
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile *~ .depend libcligen* libclicon* clicon_cli Dockerfile
|
||||
rm -f Makefile *~ .depend libcligen* libclixon* clixon_cli Dockerfile
|
||||
|
||||
# Kind of reverse install, could have copied from src dir,...
|
||||
.PHONY: docker push
|
||||
docker:
|
||||
cp $(DESTDIR)$(libdir)/libcligen.so.@CLIGEN_VERSION@ .
|
||||
cp $(DESTDIR)$(libdir)/libclicon.so.@CLICON_VERSION_MAJOR@ .
|
||||
cp $(DESTDIR)$(libdir)/libclicon_cli.so.@CLICON_VERSION_MAJOR@ .
|
||||
cp $(DESTDIR)$(bindir)/clicon_cli .
|
||||
cp $(DESTDIR)$(libdir)/libclixon.so.@CLIXON_VERSION_MAJOR@ .
|
||||
cp $(DESTDIR)$(libdir)/libclixon_cli.so.@CLIXON_VERSION_MAJOR@ .
|
||||
cp $(DESTDIR)$(bindir)/clixon_cli .
|
||||
sudo docker build -t $(image) .
|
||||
|
||||
push:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Ensure that cligen and clicon has been built and installed.
|
||||
Ensure that cligen and clixon has been built and installed.
|
||||
sudo make docker
|
||||
make push
|
||||
|
||||
|
|
|
|||
|
|
@ -1,14 +1,34 @@
|
|||
#
|
||||
# Copyright (C) 2009-2016 Olof Hagsand and Benny Holmgren
|
||||
#
|
||||
# This file is part of CLIXON.
|
||||
#
|
||||
# CLIXON is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# CLIXON is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with CLIXON; see the file LICENSE. If not, see
|
||||
# <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
FROM ubuntu:14.04
|
||||
# 12.04
|
||||
MAINTAINER Olof Hagsand <olof@hagsand.se>
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt-get update && apt-get install -y libqdbm-dev
|
||||
COPY libcligen.so.@CLIGEN_VERSION@ /usr/lib/
|
||||
COPY libclicon.so.@CLICON_VERSION_MAJOR@ /usr/lib/
|
||||
COPY libclicon_netconf.so.@CLIGEN_VERSION@ /usr/lib/
|
||||
COPY clicon_netconf /usr/bin/
|
||||
COPY libclixon.so.@CLIXON_VERSION_MAJOR@ /usr/lib/
|
||||
COPY libclixon_netconf.so.@CLIXON_VERSION_MAJOR@ /usr/lib/
|
||||
COPY clixon_netconf /usr/bin/
|
||||
RUN ldconfig
|
||||
CMD ["/usr/bin/clicon_netconf", "-f", "/data/clicon.conf"]
|
||||
CMD ["/usr/bin/clixon_netconf", "-f", "/data/clixon.conf"]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -29,22 +29,22 @@ libdir = @libdir@
|
|||
includedir = @includedir@
|
||||
datarootdir = @datarootdir@
|
||||
# You may consider changing this
|
||||
image = olofhagsand/clicon_netconf
|
||||
image = olofhagsand/clixon_netconf
|
||||
|
||||
all:
|
||||
@echo "Run make docker to build docker image"
|
||||
clean:
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile *~ .depend libcligen* libclicon* clicon_netconf Dockerfile
|
||||
rm -f Makefile *~ .depend libcligen* libclixon* clixon_netconf Dockerfile
|
||||
|
||||
# Kind of reverse install, could have copied from src dir,...
|
||||
.PHONY: docker push
|
||||
docker:
|
||||
cp $(DESTDIR)$(libdir)/libcligen.so.@CLIGEN_VERSION@ .
|
||||
cp $(DESTDIR)$(libdir)/libclicon.so.@CLICON_VERSION_MAJOR@ .
|
||||
cp $(DESTDIR)$(libdir)/libclicon_netconf.so.@CLICON_VERSION_MAJOR@ .
|
||||
cp $(DESTDIR)$(bindir)/clicon_netconf .
|
||||
cp $(DESTDIR)$(libdir)/libclixon.so.@CLIXON_VERSION_MAJOR@ .
|
||||
cp $(DESTDIR)$(libdir)/libclixon_netconf.so.@CLIXON_VERSION_MAJOR@ .
|
||||
cp $(DESTDIR)$(bindir)/clixon_netconf .
|
||||
sudo docker build -t $(image) .
|
||||
|
||||
push:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Ensure that cligen and clicon has been built and installed.
|
||||
Ensure that cligen and clixon has been built and installed.
|
||||
sudo make docker
|
||||
make push
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue