Skip to content

Commit 7dcce1b

Browse files
committed
Revert "Remove the unused pkg/ subdirectory"
This reverts commit d0b5ca3.
1 parent 308fe04 commit 7dcce1b

11 files changed

Lines changed: 274 additions & 0 deletions

File tree

pkg/Dockerfile.debian

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM debian:sid
2+
MAINTAINER mark@heily.com
3+
RUN apt-get update && apt-get install -y build-essential
4+
RUN apt-get install -y cmake debhelper
5+
ARG project_version
6+
RUN mkdir -p /tmp/libkqueue-${project_version}
7+
COPY . /tmp/libkqueue-${project_version}
8+
WORKDIR /tmp
9+
RUN tar zcf libkqueue_${project_version}.orig.tar.gz libkqueue-${project_version}
10+
COPY pkg/debian/ /tmp/libkqueue-${project_version}/debian/
11+
WORKDIR /tmp/libkqueue-${project_version}
12+
RUN rm -f CMakeCache.txt
13+

pkg/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
This directory contains native packaging scripts for various platforms.
2+
3+
The Makefile could optionally be converted into a CMakeLists file.
4+
5+
Non-working example:
6+
7+
add_custom_target(tarball git archive -o "libkqueue-${PROJECT_VERSION}.tar.gz" --prefix "libkqueue-${PROJECT_VERSION}/" HEAD)
8+
9+
add_custom_target(docker_image docker build -t libkqueue-build --build-arg "project_version=${PROJECT_VERSION}" .
10+
DEPENDS tarball)
11+
12+
add_custom_target(native_package docker run --rm -it libkqueue-deb dpkg-buildpackage -uc -us -sn
13+
DEPENDS docker_image)
14+
15+
add_custom_target(debug_package_build docker run --rm -it libkqueue-deb docker run --rm -it libkqueue-deb:latest dpkg-buildpackage -uc -us
16+
DEPENDS docker_image)
17+

pkg/debian/changelog

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
libkqueue (2.4.0-1) unstable; urgency=medium
2+
3+
* New upstream release.
4+
* Remove autoconf dependencies, as this project uses CMake.
5+
* Remove all Debian patches, as they have been incorporated upstream.
6+
7+
-- Mark Heily <mark@heily.com> Wed, 18 Feb 2019 18:24:48 +0000
8+
9+
libkqueue (2.3.1-1) unstable; urgency=medium
10+
11+
* New upstream release
12+
13+
-- Mark Heily <mark@heily.com> Wed, 06 Feb 2019 18:14:10 +0000
14+
15+
libkqueue (2.3.0-1) unstable; urgency=medium
16+
17+
* New upstream release
18+
19+
-- Mark Heily <mark@heily.com> Tue, 15 Jan 2019 22:11:11 +0000
20+
21+
libkqueue (2.0.3-1.1) unstable; urgency=medium
22+
23+
* Non maintainer upload.
24+
* Fix build failures on 64bit architectures. Closes: #760302, #754376.
25+
- Replacing preprocessor macro X86_64 to LP64 in knote.c, since
26+
it is used to treat pointer rather than processor specifics (Fernando
27+
Seiti Furusat).
28+
29+
-- Matthias Klose <doko@debian.org> Thu, 11 Sep 2014 13:52:07 +0200
30+
31+
libkqueue (2.0.3-1) unstable; urgency=low
32+
33+
* New upstream release (closes: #741009)
34+
35+
-- Mark Heily <mark@heily.com> Sun, 09 Mar 2014 20:45:35 -0400
36+
37+
libkqueue (2.0.2-1) unstable; urgency=low
38+
39+
* New upstream release (closes: #724170, #669572, #729591)
40+
41+
-- Mark Heily <mark@heily.com> Sun, 23 Feb 2014 16:04:08 -0500
42+
43+
libkqueue (1.0.4-2) unstable; urgency=low
44+
* Integrate patches from Matthias Klose (Closes: #640029)
45+
* Add -Wno-error=unused-result to CFLAGS
46+
* Fix header checks for multiarch locations.
47+
48+
-- Mark Heily <mark@heily.com> Thu, 27 Oct 2011 20:58:03 -0400
49+
50+
libkqueue (1.0.4-1) unstable; urgency=low
51+
52+
* Fix a FTBFS on 32-bit platforms caused by the use of /usr/lib64
53+
* Fix a lintian warning related to the copyright file
54+
55+
-- Mark Heily <mark@heily.com> Wed, 13 Jul 2011 20:52:41 -0400
56+
57+
libkqueue (1.0.3-1) unstable; urgency=low
58+
59+
* New upstream release (Closes: #625639)
60+
* Update control file with new website and standards version
61+
* Simplify the debian/rules file using debhelper for everything
62+
* Upgrade source/format to "3.0 (quilt)"
63+
* Remove the debian/watch file
64+
65+
-- Mark Heily <mark@heily.com> Sat, 09 Jul 2011 18:56:19 -0400
66+
67+
libkqueue (0.9.2-2) unstable; urgency=low
68+
69+
* Apply patch to fix a bug in EV_RECEIPT (Closes: #595648)
70+
71+
-- Mark Heily <mark@heily.com> Sun, 05 Sep 2010 13:57:45 -0400
72+
73+
libkqueue (0.9.2-1) unstable; urgency=low
74+
75+
* New upstream release (Closes: #591818)
76+
77+
-- Mark Heily <mark@heily.com> Thu, 05 Aug 2010 23:31:18 -0400
78+
79+
libkqueue (0.9.1-1) unstable; urgency=low
80+
81+
* New upstream release
82+
83+
-- Mark Heily <mark@heily.com> Wed, 04 Aug 2010 21:35:01 -0400
84+
85+
libkqueue (0.8-1) unstable; urgency=low
86+
87+
* New upstream release
88+
89+
-- Mark Heily <mark@heily.com> Sun, 25 Jul 2010 10:09:35 -0400
90+
91+
libkqueue (0.7-1) unstable; urgency=low
92+
93+
* Initial release (Closes: #576317)
94+
95+
-- Mark Heily <mark@heily.com> Sun, 28 Mar 2010 18:58:58 -0400

pkg/debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9

pkg/debian/control

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Source: libkqueue
2+
Section: libs
3+
Priority: optional
4+
Maintainer: Mark Heily <mark@heily.com>
5+
Build-Depends: debhelper (>= 9)
6+
Standards-Version: 3.9.5.0
7+
Vcs-Git: git://github.com/mheily/debian-packages.git -b libkqueue
8+
Homepage: https://github.com/mheily/libkqueue/wiki
9+
10+
Package: libkqueue0
11+
Architecture: any
12+
Depends: ${shlibs:Depends}, ${misc:Depends}
13+
Description: cross-platform library for kernel event notification
14+
libkqueue is a portable userspace implementation of the kqueue(2)
15+
kernel event notification mechanism found in FreeBSD and other BSD-based
16+
operating systems. The library translates between the kevent structure
17+
and the native kernel facilities of the host machine.
18+
19+
Package: libkqueue-dev
20+
Section: libdevel
21+
Architecture: any
22+
Depends: libkqueue0 (= ${binary:Version}), ${misc:Depends}
23+
Description: Development files for libkqueue
24+
Contains the header files, manpages, and static libraries for use in
25+
developing applications that use the libkqueue library.
26+
.
27+
libkqueue is a portable userspace implementation of the kqueue(2)
28+
kernel event notification mechanism found in FreeBSD and other BSD-based
29+
operating systems. The library translates between the kevent structure
30+
and the native kernel facilities of the host machine.

pkg/debian/copyright

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
This package was debianized by Mark Heily <mark@heily.com> on
2+
Sun, 28 Mar 2010 18:58:58 -0400
3+
4+
It was downloaded from http://mark.heily.com/libkqueue/trunk/
5+
6+
Copyright:
7+
8+
Copyright (C) 2009 Mark Heily <mark@heily.com>
9+
Copyright (c) 2000 Jonathan Lemon
10+
Copyright 2002 Niels Provos <provos@citi.umich.edu>
11+
12+
License:
13+
14+
Copyright (c) 2009 Mark Heily <mark@heily.com>
15+
16+
Permission to use, copy, modify, and distribute this software for any
17+
purpose with or without fee is hereby granted, provided that the above
18+
copyright notice and this permission notice appear in all copies.
19+
20+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
21+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
22+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
23+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
24+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
25+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
26+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
27+
28+
include/sys/event.h is licensed:
29+
30+
Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org>
31+
All rights reserved.
32+
33+
Redistribution and use in source and binary forms, with or without
34+
modification, are permitted provided that the following conditions
35+
are met:
36+
1. Redistributions of source code must retain the above copyright
37+
notice, this list of conditions and the following disclaimer.
38+
2. Redistributions in binary form must reproduce the above copyright
39+
notice, this list of conditions and the following disclaimer in the
40+
documentation and/or other materials provided with the distribution.
41+
42+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
43+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
44+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
45+
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
46+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
47+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
48+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
49+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
50+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
51+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
52+
SUCH DAMAGE.
53+
54+
src/common/tree.h is licensed:
55+
56+
Copyright 2002 Niels Provos <provos@citi.umich.edu>
57+
All rights reserved.
58+
59+
Redistribution and use in source and binary forms, with or without
60+
modification, are permitted provided that the following conditions
61+
are met:
62+
1. Redistributions of source code must retain the above copyright
63+
notice, this list of conditions and the following disclaimer.
64+
2. Redistributions in binary form must reproduce the above copyright
65+
notice, this list of conditions and the following disclaimer in the
66+
documentation and/or other materials provided with the distribution.
67+
68+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
69+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
70+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
71+
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
72+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
73+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
74+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
75+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
76+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
77+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
78+
SUCH DAMAGE.
79+
80+
The Debian packaging is:
81+
82+
Copyright (C) 2010 Mark Heily <mark@heily.com>
83+
All rights reserved.
84+
85+
Redistribution and use in source and binary forms, with or without
86+
modification, are permitted provided that the following conditions
87+
are met:
88+
1. Redistributions of source code must retain the above copyright
89+
notice, this list of conditions and the following disclaimer.
90+
2. Redistributions in binary form must reproduce the above copyright
91+
notice, this list of conditions and the following disclaimer in the
92+
documentation and/or other materials provided with the distribution.
93+
94+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
95+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
96+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
97+
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
98+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
99+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
100+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
101+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
102+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
103+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
104+
SUCH DAMAGE.
105+

pkg/debian/libkqueue-dev.install

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
usr/lib/*/pkgconfig/libkqueue.pc
2+
usr/include/kqueue/sys/event.h
3+
usr/share/man/man2/*

pkg/debian/libkqueue0.install

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
usr/lib/*/lib*.so
2+
usr/lib/*/lib*.so.*

pkg/debian/rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/make -f
2+
3+
%:
4+
dh $@ --buildsystem=cmake

pkg/debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)

0 commit comments

Comments
 (0)