summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/control52
-rw-r--r--debian/copyright73
-rw-r--r--debian/cryptopant.install1
-rw-r--r--debian/libcryptopant-dev.install4
-rw-r--r--debian/libcryptopant1.install1
-rwxr-xr-xdebian/rules10
-rw-r--r--debian/source/format1
8 files changed, 147 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e6225e2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+cryptopant (1.3.1-1) unstable; urgency=low
+
+ * Initial upload to sid for use in dnscap (Closes: #984544).
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 21 Nov 2024 17:50:50 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8bf0530
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,52 @@
+Source: cryptopant
+Section: libs
+Priority: optional
+Maintainer: Daniel Baumann <daniel@debian.org>
+Build-Depends:
+ debhelper-compat (= 13),
+ libssl-dev,
+Rules-Requires-Root: no
+Standards-Version: 4.7.0
+Homepage: https://ant.isi.edu/software/cryptopANT/
+
+Package: cryptopant
+Section: utils
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: IP address anonymization (utils)
+ cryptopANT is a library for ip address anonymization. It implements a widely
+ used prefix-preserving technique known as "cryptopan". This is ANT's project
+ implementation of this technique for anonymization of ipv4 and ipv6 addresses.
+
+Package: libcryptopant-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends:
+ libcryptopant1 (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: IP address anonymization (development)
+ cryptopANT is a library for ip address anonymization. It implements a widely
+ used prefix-preserving technique known as "cryptopan". This is ANT's project
+ implementation of this technique for anonymization of ipv4 and ipv6 addresses.
+ .
+ This package contains the development files.
+
+Package: libcryptopant1
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends},
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: IP address anonymization (library)
+ cryptopANT is a library for ip address anonymization. It implements a widely
+ used prefix-preserving technique known as "cryptopan". This is ANT's project
+ implementation of this technique for anonymization of ipv4 and ipv6 addresses.
+ .
+ This package contains the shared library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..074eed0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,73 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cryptopANT
+Upstream-Contact: Yuri Pradkin <yuri@isi.edu>
+Source: https://ant.isi.edu/software/cryptopANT/
+
+Files: *
+Copyright: 2004-2024 University of Southern California <ant@isi.edu>
+License: GPL-2
+
+Files: m4/ax_append_flag.m4
+Copyright: 2008 Guido U. Draheim <guidod@gmx.de>
+ 2011 Maarten Bosmans <mkbosmans@gmail.com>
+License: PD
+
+Files: m4/ax_cflags_warn_all.m4
+Copyright: 2008 Guido U. Draheim <guidod@gmx.de>
+ 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
+License: GPL-3+
+
+Files: m4/ax_require_defined.m4
+Copyright: 2014 Mike Frysinger <vapier@gentoo.org>
+License: PD
+
+Files: m4/libtool.m4
+Copyright: 1996-2022 Free Software Foundation, Inc.
+License: PD
+
+Files: m4/lt*
+Copyright: 2004-2022 Free Software Foundation, Inc.
+License: PD
+
+Files: debian/*
+Copyright: 2024 Daniel Baumann <daniel@debian.org>
+License: GPL-2
+
+License: GPL-2
+ 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 of the License.
+ .
+ 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.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ The complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-2 file.
+
+License: GPL-3+
+ 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 3 of the License, 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.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ The complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-3 file.
+
+License: PD
+ Copying and distribution of this file, with or without modification, are
+ permitted in any medium without royalty provided the copyright notice
+ and this notice are preserved. This file is offered as-is, without any
+ warranty.
diff --git a/debian/cryptopant.install b/debian/cryptopant.install
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/cryptopant.install
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/libcryptopant-dev.install b/debian/libcryptopant-dev.install
new file mode 100644
index 0000000..a5e770b
--- /dev/null
+++ b/debian/libcryptopant-dev.install
@@ -0,0 +1,4 @@
+usr/include
+usr/lib/*/*.a
+usr/lib/*/*.so
+usr/share/man
diff --git a/debian/libcryptopant1.install b/debian/libcryptopant1.install
new file mode 100644
index 0000000..3de3b10
--- /dev/null
+++ b/debian/libcryptopant1.install
@@ -0,0 +1 @@
+usr/lib/*/*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ce3f388
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+%:
+ dh ${@}
+
+override_dh_auto_configure:
+ dh_auto_configure -- --with-scramble_ips
+
+execute_after_dh_auto_install:
+ rm -f debian/tmp/usr/lib/*/*.la
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)