diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..3e09c4b --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,8 @@ +tmp/* +libuev/* +libuev* +autoreconf* +debhelper* +files +!*.dirs +!*.install diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6c099e2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libite (1.8.2-1) unstable; urgency=low + + * Initial release. + + -- Joachim Nilsson Tue, 29 Nov 2016 08:23:35 +0100 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..5da17f8 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +config.log 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..3ff32bc --- /dev/null +++ b/debian/control @@ -0,0 +1,51 @@ +Source: libite +Priority: optional +Maintainer: Joachim Nilsson +Build-Depends: dpkg-dev (>= 1.14.9), debhelper (>= 9), dh-autoreconf +Standards-Version: 3.9.6 +Section: libs +Homepage: https://github.com/troglobit/libite/ +Vcs-Git: https://github.com/troglobit/libite.git +Vcs-Browser: https://github.com/troglobit/libite/ + +Package: libite-dev +Priority: extra +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, libite (= ${binary:Version}) +Description: static library, header files, and docs for libite + Static library, header files, and documentation for libite. + . + Libite is a lightweight library of frog DNA. It can be used to fill the + gaps in any dinosaur project. It holds useful functions and macros + developed by both Finit and the OpenBSD project. Most notably the + string functions: strlcpy(3), strlcat(3) and the highly useful *BSD + sys/queue.h and sys/tree.h API's. + . + Libite is the frog DNA missing in GNU libc. However, -lite does not aim + to become another GLIB! One noticeable gap in GLIBC is the missing + _SAFE macros in the BSD sys/queue.h API — highly recommended when + traversing lists to delete/free nodes. + . + The code is open sourced under a mix of the MIT/X11 license, the ISC + license used by OpenBSD, and BSD licenses, all of them are extremely + liberal and can be used freely in proprietary software if needed. + +Package: libite +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: That missing frog DNA you've been looking for. MIT/X11/ISC/BSD License. + Libite is a lightweight library of frog DNA. It can be used to fill the + gaps in any dinosaur project. It holds useful functions and macros + developed by both Finit and the OpenBSD project. Most notably the + string functions: strlcpy(3), strlcat(3) and the highly useful *BSD + sys/queue.h and sys/tree.h API's. + . + Libite is the frog DNA missing in GNU libc. However, -lite does not aim + to become another GLIB! One noticeable gap in GLIBC is the missing + _SAFE macros in the BSD sys/queue.h API — highly recommended when + traversing lists to delete/free nodes. + . + The code is open sourced under a mix of the MIT/X11 license, the ISC + license used by OpenBSD, and BSD licenses, all of them are extremely + liberal and can be used freely in proprietary software if needed. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..090e48f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,84 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https.//github.com/troglobit/libite/ + +Files: * +Copyright: +2008-2010 Claudio Matsuoka +2008-2016 Joachim Nilsson +License: MIT +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Files: chomp.c +Copyright: 2014-2015 Joachim Nilsson +License: ISC + +Files: conio.h +Copyright: 2009-2013 Joachim Nilsson +License: ISC + +Files: dir.c +Copyright: 2008-2016 Joachim Nilsson +License: ISC + +Files: lfile.c +Copyright: 2015-2016 Joachim Nilsson +License: ISC + +Files: pidfile.c +Copyright: 1999 The NetBSD Foundation, Inc. +License: BSD-2-clause + +Files: queue.h +Copyright: 1991, 1993 The Regents of the University of California. +License: BSD-3-clause + +Files: reallocarray.c +Copyright: 2008 Otto Moerbeek +License: ISC + +Files: rsync.c +Copyright: 2011, 2012 Joachim Nilsson +License: ISC + +Files: strdupa.h strndupa.h +Copyright: 2009 William Ahern +License: MIT + +Files: strlcat.c strlcpy.c +Copyright: 998, 2015 Todd C. Miller +License: MIT + +Files: strnlen.c +Copyright: 2016 Joachim Nilsson +License: ISC + +Files: strtonum.c +Copyright: 2004 Ted Unangst and Todd Miller +License: ISC + +Files: tempfile.c +Copyright: 2015-2016 Joachim Nilsson +License: ISC + +Files: tree.c +Copyright: 2015 Joachim Nilsson +License: ISC + +Files: tests/*.c +License: public-domain diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/libite-dev.dirs b/debian/libite-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/libite-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/libite-dev.install b/debian/libite-dev.install new file mode 100644 index 0000000..24b3dbd --- /dev/null +++ b/debian/libite-dev.install @@ -0,0 +1,4 @@ +usr/include/lite/*.h +usr/lib/*/lib*.a +usr/lib/*/lib*.so +usr/lib/*/pkgconfig/lib*.pc diff --git a/debian/libite.dirs b/debian/libite.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/debian/libite.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian/libite.install b/debian/libite.install new file mode 100644 index 0000000..3ddde58 --- /dev/null +++ b/debian/libite.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..19ddb34 --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ --with autoreconf + 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)