From d0b5ca3abb4fdfe3d770e1f5da109b44cf5ba5fe Mon Sep 17 00:00:00 2001 From: Mark Heily Date: Thu, 28 Apr 2022 21:54:21 -0400 Subject: [PATCH] Remove the unused pkg/ subdirectory This directory contained experimental Debian packaging files that were not used to create the actual Debian package, and were not as good as using CPack's native DEB support. Related to #135 --- pkg/Dockerfile.debian | 13 ---- pkg/README.md | 17 ----- pkg/debian/changelog | 95 ---------------------------- pkg/debian/compat | 1 - pkg/debian/control | 30 --------- pkg/debian/copyright | 105 ------------------------------- pkg/debian/libkqueue-dev.install | 3 - pkg/debian/libkqueue0.install | 2 - pkg/debian/rules | 4 -- pkg/debian/source/format | 1 - pkg/debian/symbols | 3 - 11 files changed, 274 deletions(-) delete mode 100644 pkg/Dockerfile.debian delete mode 100644 pkg/README.md delete mode 100644 pkg/debian/changelog delete mode 100644 pkg/debian/compat delete mode 100644 pkg/debian/control delete mode 100644 pkg/debian/copyright delete mode 100644 pkg/debian/libkqueue-dev.install delete mode 100644 pkg/debian/libkqueue0.install delete mode 100755 pkg/debian/rules delete mode 100644 pkg/debian/source/format delete mode 100644 pkg/debian/symbols diff --git a/pkg/Dockerfile.debian b/pkg/Dockerfile.debian deleted file mode 100644 index b8d3f32d..00000000 --- a/pkg/Dockerfile.debian +++ /dev/null @@ -1,13 +0,0 @@ -FROM debian:sid -MAINTAINER mark@heily.com -RUN apt-get update && apt-get install -y build-essential -RUN apt-get install -y cmake debhelper -ARG project_version -RUN mkdir -p /tmp/libkqueue-${project_version} -COPY . /tmp/libkqueue-${project_version} -WORKDIR /tmp -RUN tar zcf libkqueue_${project_version}.orig.tar.gz libkqueue-${project_version} -COPY pkg/debian/ /tmp/libkqueue-${project_version}/debian/ -WORKDIR /tmp/libkqueue-${project_version} -RUN rm -f CMakeCache.txt - diff --git a/pkg/README.md b/pkg/README.md deleted file mode 100644 index 64134fde..00000000 --- a/pkg/README.md +++ /dev/null @@ -1,17 +0,0 @@ -This directory contains native packaging scripts for various platforms. - -The Makefile could optionally be converted into a CMakeLists file. - -Non-working example: - - add_custom_target(tarball git archive -o "libkqueue-${PROJECT_VERSION}.tar.gz" --prefix "libkqueue-${PROJECT_VERSION}/" HEAD) - - add_custom_target(docker_image docker build -t libkqueue-build --build-arg "project_version=${PROJECT_VERSION}" . - DEPENDS tarball) - - add_custom_target(native_package docker run --rm -it libkqueue-deb dpkg-buildpackage -uc -us -sn - DEPENDS docker_image) - - add_custom_target(debug_package_build docker run --rm -it libkqueue-deb docker run --rm -it libkqueue-deb:latest dpkg-buildpackage -uc -us - DEPENDS docker_image) - diff --git a/pkg/debian/changelog b/pkg/debian/changelog deleted file mode 100644 index 592daeb1..00000000 --- a/pkg/debian/changelog +++ /dev/null @@ -1,95 +0,0 @@ -libkqueue (2.4.0-1) unstable; urgency=medium - - * New upstream release. - * Remove autoconf dependencies, as this project uses CMake. - * Remove all Debian patches, as they have been incorporated upstream. - - -- Mark Heily Wed, 18 Feb 2019 18:24:48 +0000 - -libkqueue (2.3.1-1) unstable; urgency=medium - - * New upstream release - - -- Mark Heily Wed, 06 Feb 2019 18:14:10 +0000 - -libkqueue (2.3.0-1) unstable; urgency=medium - - * New upstream release - - -- Mark Heily Tue, 15 Jan 2019 22:11:11 +0000 - -libkqueue (2.0.3-1.1) unstable; urgency=medium - - * Non maintainer upload. - * Fix build failures on 64bit architectures. Closes: #760302, #754376. - - Replacing preprocessor macro X86_64 to LP64 in knote.c, since - it is used to treat pointer rather than processor specifics (Fernando - Seiti Furusat). - - -- Matthias Klose Thu, 11 Sep 2014 13:52:07 +0200 - -libkqueue (2.0.3-1) unstable; urgency=low - - * New upstream release (closes: #741009) - - -- Mark Heily Sun, 09 Mar 2014 20:45:35 -0400 - -libkqueue (2.0.2-1) unstable; urgency=low - - * New upstream release (closes: #724170, #669572, #729591) - - -- Mark Heily Sun, 23 Feb 2014 16:04:08 -0500 - -libkqueue (1.0.4-2) unstable; urgency=low - * Integrate patches from Matthias Klose (Closes: #640029) - * Add -Wno-error=unused-result to CFLAGS - * Fix header checks for multiarch locations. - - -- Mark Heily Thu, 27 Oct 2011 20:58:03 -0400 - -libkqueue (1.0.4-1) unstable; urgency=low - - * Fix a FTBFS on 32-bit platforms caused by the use of /usr/lib64 - * Fix a lintian warning related to the copyright file - - -- Mark Heily Wed, 13 Jul 2011 20:52:41 -0400 - -libkqueue (1.0.3-1) unstable; urgency=low - - * New upstream release (Closes: #625639) - * Update control file with new website and standards version - * Simplify the debian/rules file using debhelper for everything - * Upgrade source/format to "3.0 (quilt)" - * Remove the debian/watch file - - -- Mark Heily Sat, 09 Jul 2011 18:56:19 -0400 - -libkqueue (0.9.2-2) unstable; urgency=low - - * Apply patch to fix a bug in EV_RECEIPT (Closes: #595648) - - -- Mark Heily Sun, 05 Sep 2010 13:57:45 -0400 - -libkqueue (0.9.2-1) unstable; urgency=low - - * New upstream release (Closes: #591818) - - -- Mark Heily Thu, 05 Aug 2010 23:31:18 -0400 - -libkqueue (0.9.1-1) unstable; urgency=low - - * New upstream release - - -- Mark Heily Wed, 04 Aug 2010 21:35:01 -0400 - -libkqueue (0.8-1) unstable; urgency=low - - * New upstream release - - -- Mark Heily Sun, 25 Jul 2010 10:09:35 -0400 - -libkqueue (0.7-1) unstable; urgency=low - - * Initial release (Closes: #576317) - - -- Mark Heily Sun, 28 Mar 2010 18:58:58 -0400 diff --git a/pkg/debian/compat b/pkg/debian/compat deleted file mode 100644 index ec635144..00000000 --- a/pkg/debian/compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/pkg/debian/control b/pkg/debian/control deleted file mode 100644 index dfc22819..00000000 --- a/pkg/debian/control +++ /dev/null @@ -1,30 +0,0 @@ -Source: libkqueue -Section: libs -Priority: optional -Maintainer: Mark Heily -Build-Depends: debhelper (>= 9) -Standards-Version: 3.9.5.0 -Vcs-Git: git://github.com/mheily/debian-packages.git -b libkqueue -Homepage: https://github.com/mheily/libkqueue/wiki - -Package: libkqueue0 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: cross-platform library for kernel event notification - libkqueue is a portable userspace implementation of the kqueue(2) - kernel event notification mechanism found in FreeBSD and other BSD-based - operating systems. The library translates between the kevent structure - and the native kernel facilities of the host machine. - -Package: libkqueue-dev -Section: libdevel -Architecture: any -Depends: libkqueue0 (= ${binary:Version}), ${misc:Depends} -Description: Development files for libkqueue - Contains the header files, manpages, and static libraries for use in - developing applications that use the libkqueue library. - . - libkqueue is a portable userspace implementation of the kqueue(2) - kernel event notification mechanism found in FreeBSD and other BSD-based - operating systems. The library translates between the kevent structure - and the native kernel facilities of the host machine. diff --git a/pkg/debian/copyright b/pkg/debian/copyright deleted file mode 100644 index 5066ec1a..00000000 --- a/pkg/debian/copyright +++ /dev/null @@ -1,105 +0,0 @@ -This package was debianized by Mark Heily on -Sun, 28 Mar 2010 18:58:58 -0400 - -It was downloaded from http://mark.heily.com/libkqueue/trunk/ - -Copyright: - - Copyright (C) 2009 Mark Heily - Copyright (c) 2000 Jonathan Lemon - Copyright 2002 Niels Provos - -License: - - Copyright (c) 2009 Mark Heily - - Permission to use, copy, modify, and distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -include/sys/event.h is licensed: - - Copyright (c) 1999,2000,2001 Jonathan Lemon - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - -src/common/tree.h is licensed: - - Copyright 2002 Niels Provos - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - -The Debian packaging is: - - Copyright (C) 2010 Mark Heily - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - diff --git a/pkg/debian/libkqueue-dev.install b/pkg/debian/libkqueue-dev.install deleted file mode 100644 index 88848c03..00000000 --- a/pkg/debian/libkqueue-dev.install +++ /dev/null @@ -1,3 +0,0 @@ -usr/lib/*/pkgconfig/libkqueue.pc -usr/include/kqueue/sys/event.h -usr/share/man/man2/* diff --git a/pkg/debian/libkqueue0.install b/pkg/debian/libkqueue0.install deleted file mode 100644 index 0879cd03..00000000 --- a/pkg/debian/libkqueue0.install +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/*/lib*.so -usr/lib/*/lib*.so.* diff --git a/pkg/debian/rules b/pkg/debian/rules deleted file mode 100755 index 050e29a6..00000000 --- a/pkg/debian/rules +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/make -f - -%: - dh $@ --buildsystem=cmake diff --git a/pkg/debian/source/format b/pkg/debian/source/format deleted file mode 100644 index 163aaf8d..00000000 --- a/pkg/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/pkg/debian/symbols b/pkg/debian/symbols deleted file mode 100644 index 0141b0fc..00000000 --- a/pkg/debian/symbols +++ /dev/null @@ -1,3 +0,0 @@ -libkqueue.so.0 libkqueue0 #MINVER# - kevent@Base 2.0.2 - kqueue@Base 2.0.2