From 89bc3caa89c28d819af2ddde6df9570c01c96e94 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sat, 12 May 2018 01:14:14 +0200 Subject: Add debian packaging. --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 12 ++++++++++++ debian/copyright | 35 +++++++++++++++++++++++++++++++++++ debian/rules | 6 ++++++ man/Makefile.am | 7 ------- 6 files changed, 59 insertions(+), 7 deletions(-) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4c81584 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +ipaddrcheck (1.0) unstable; urgency=medium + + * Initial import and debian packaging + + -- Daniil Baturin Sat, 12 May 2018 00:17:05 +0200 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..6e3742c --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: ipaddrcheck +Section: contrib/net +Priority: extra +Maintainer: VyOS Package Maintainers +Build-Depends: autoconf, debhelper (>= 9), libpcre3-dev, libcidr-dev +Standards-Version: 3.9.6 + +Package: ipaddrcheck +Architecture: any +Depends: libpcre3, libcidr0, ${shlibs:Depends}, ${misc:Depends} +Description: IPv4 and IPv6 address validation utility + A validation utility for IPv4 and IPv6 addresses. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..00bf41c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Daniil Baturin on +Sat, 12 May 2018 00:17:05 +0200 + +It's original content from the GIT repository + +Upstream Author: + + + +Copyright: + + Copyright (C) 2017 VyO8 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) 2018, Daniil Baturin and +is licensed under the GPL, see above. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9b666d7 --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +%: + autoreconf -i + dh $@ + diff --git a/man/Makefile.am b/man/Makefile.am index 113a4aa..e13d4ce 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,9 +1,2 @@ man1_MANS = ipaddrcheck.1 -dist_man1_MANS = ipaddrcheck.1 - -# If anyone knows how to execute it only if target binary is actually executable -# (i.e. not cross-compiled), please tell -#ipaddrcheck.1: -# $(HELP2MAN) --no-info --include ipaddrcheck.x -o ipaddrcheck.1 $(top_srcdir)/src/ipaddrcheck - -- cgit v1.2.3