summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-12 01:14:14 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-12 01:14:14 +0200
commit89bc3caa89c28d819af2ddde6df9570c01c96e94 (patch)
treef43f81c4a36de36a8e4e8f761379795e97e1cbd2
parent4fa520f034f02d9f0895f1698ed0e1f197b337c6 (diff)
downloadipaddrcheck-89bc3caa89c28d819af2ddde6df9570c01c96e94.tar.gz
ipaddrcheck-89bc3caa89c28d819af2ddde6df9570c01c96e94.zip
Add debian packaging.
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control12
-rw-r--r--debian/copyright35
-rwxr-xr-xdebian/rules6
-rw-r--r--man/Makefile.am7
6 files changed, 59 insertions, 7 deletions
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 <daniil@baturin.org> 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 <maintainers@vyos.net>
+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 <daniil@baturin.org> on
+Sat, 12 May 2018 00:17:05 +0200
+
+It's original content from the GIT repository <http://github.com/vyos/ipaddrcheck>
+
+Upstream Author:
+
+ <maintainers@vyos.net>
+
+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 <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..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
-