diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 15 | ||||
-rw-r--r-- | debian/copyright | 35 | ||||
-rwxr-xr-x | debian/rules | 20 | ||||
-rw-r--r-- | debian/vyos-utils.install | 2 |
6 files changed, 78 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..baa22da --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +vyos-utils (0.0.1) unstable; urgency=medium + + * Initial release. + + -- Daniil Baturin <daniil@baturin.org> Wed, 06 May 2020 18:43:04 +0300 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4ae87ca --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: vyos-utils +Section: contrib/net +Priority: extra +Maintainer: VyOS Package Maintainers <maintainers@vyos.net> +Build-Depends: debhelper (>= 9), + quilt, + libpcre3-dev, +Standards-Version: 3.9.6 + +Package: vyos-utils +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: VyOS utils for value validation and other things + VyOS utils for value validation and other things diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..67cdfb6 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Daniil Baturin <daniil@baturin.org> on +Wed, 06 May 2020 18:31:27 +0300 + +It's original content from the GIT repository <http://github.com/vyos/vyos-utils> + +Upstream Author: + + <maintainers@vyos.net> + +Copyright: + + Copyright (C) 2020 VyOS maintainers and contributors + All Rights Reserved. + +License: + +This program 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 2, or (at your option) +any later version. + +This program 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. + +A copy of the GNU General Public License is available as +`/usr/share/common-licenses/GPL' in the Debian GNU/Linux distribution +or on the World Wide Web at `http://www.gnu.org/copyleft/gpl.html'. +You can also obtain it by writing to the Free Software Foundation, +Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +MA 02110-1301, USA. + +The Debian packaging is (C) 2020, Daniil Baturin <daniil@baturin.org> and +is licensed under the GPL, see above. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b3ff1c6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +DIR := debian/tmp + +%: + dh $@ --with quilt + +override_dh_auto_build: + eval `opam env` + mkdir -p _build + ocamlfind ocamlopt -o _build/numeric -package num -linkpkg src/numeric.ml + ocamlfind ocamlopt -o _build/validate-value -package pcre,unix -linkpkg src/validate_value.ml + +override_dh_auto_install: + mkdir -p $(DIR)/usr/libexec/vyos/validators + cp _build/numeric $(DIR)/usr/libexec/vyos/validators + cp _build/validate-value $(DIR)/usr/libexec/vyos/ + +override_dh_auto_test: + echo "No tests yet" diff --git a/debian/vyos-utils.install b/debian/vyos-utils.install new file mode 100644 index 0000000..77ea559 --- /dev/null +++ b/debian/vyos-utils.install @@ -0,0 +1,2 @@ +usr/libexec/vyos/validators/numeric +usr/libexec/vyos/validate-value |