diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-01-28 20:08:50 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-01-28 20:08:50 +0300 |
commit | ae1ebe13e811c3778a61cc15f29198d0aa3e9b0f (patch) | |
tree | 9c42391088898f38ba0511de63358cf8e5cdda60 | |
parent | a85cf51d5ea0c24dcef4e8e666a9363dfdfb95e0 (diff) | |
download | libbsd-ae1ebe13e811c3778a61cc15f29198d0aa3e9b0f.tar.gz |
Added debian/
-rw-r--r-- | debian/README.Debian | 8 | ||||
-rw-r--r-- | debian/changelog | 168 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 71 | ||||
-rw-r--r-- | debian/copyright | 453 | ||||
-rw-r--r-- | debian/libbsd-dev.install | 5 | ||||
-rw-r--r-- | debian/libbsd0-udeb.install | 1 | ||||
-rw-r--r-- | debian/libbsd0.install | 1 | ||||
-rw-r--r-- | debian/libbsd0.symbols | 5 | ||||
-rwxr-xr-x | debian/rules | 68 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 2 |
12 files changed, 784 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..98c9f15 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,8 @@ +libbsd for Debian +----------------- + +This package is a collection of functions and definitions missing from glibc +which are needed for the Debian porting to the FreeBSD kernel. + + -- Hector Garcia <hector@debian.org>, Sun, 17 Jul 2005 16:17:35 +0200 + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..8434325 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,168 @@ +libbsd (0.3.0-12-ga85c) unstable; urgency=low + + * Ported to Dyson + + -- Igor Pashev <pashev.igor@gmail.com> Sat, 28 Jan 2012 20:06:47 +0300 + +libbsd (0.3.0-1) unstable; urgency=low + + * New upstream release. + * Update and reword function list in package description. + * Install all pkg-config files. + * Use kfreebsd-any instead of explicit list in libbsd0 Conflicts field. + * Now using Standards-Version 3.9.2 (no changes needed). + * Switch the symbols file to use symver tags instead of symbol patterns. + * Use dpkg-buildflags to set CPPFLAGS, CFLAGS and LDFLAGS. + * Remove duplicate inherited Section field from libbsd0. + + -- Guillem Jover <guillem@debian.org> Thu, 02 Jun 2011 20:28:12 +0200 + +libbsd (0.2.0-1) unstable; urgency=low + + * New upstream release. + * Add ${misc:Depends} to libbsd0-dbg and libbsd-dev Depends. + * Now using Standards-Version 3.8.3 (no changes needed). + * Switch to source format “3.0 (quilt)”. + + -- Guillem Jover <guillem@debian.org> Mon, 11 Jan 2010 15:47:40 +0100 + +libbsd (0.1.6-1) unstable; urgency=low + + * New upstream release. + - Fix typo in ‘local-elf.h’ affecting M32R builds. (Closes: #544266) + * Add missing libbsd0-udeb.install file to avoid creating empty packages. + + -- Guillem Jover <guillem@debian.org> Sun, 30 Aug 2009 12:55:00 +0200 + +libbsd (0.1.5-3) unstable; urgency=low + + * Re-enable libbsd-udeb package on all architectures, as it rdate-udeb + will need it. + + -- Aurelien Jarno <aurel32@debian.org> Mon, 27 Jul 2009 01:56:27 +0200 + +libbsd (0.1.5-2) unstable; urgency=low + + * Restrict the udeb package to kfreebsd-*, as requested by Otavio + Salvador. + + -- Aurelien Jarno <aurel32@debian.org> Mon, 20 Jul 2009 23:21:10 +0200 + +libbsd (0.1.5-1) unstable; urgency=low + + * New upstream release. + - Fix typo in ‘local-elf.h’ affecting AVR32 and SuperH builds. + (Closes: #537210) + * Add a new library udeb. + * Remove --sourcedir from dh_install unneeded with debhelper compat 7. + * Now using Standards-Version 3.8.2 (no changes needed). + + -- Guillem Jover <guillem@debian.org> Fri, 17 Jul 2009 13:59:02 +0200 + +libbsd (0.1.4-1) unstable; urgency=low + + * New upstream release. + - Define N_SYMSIZE on systems not providing it. (Closes: #530857) + * Add Replaces to libbsd-dev on old libfreebsd-dev which used to ship + nlist(3) and strmode(3). + * Add a watch file. + + -- Guillem Jover <guillem@debian.org> Fri, 29 May 2009 02:54:06 +0200 + +libbsd (0.1.3-1) unstable; urgency=low + + * New upstream release. + * Actually ship pkg-config file in libbsd-dev. + + -- Guillem Jover <guillem@debian.org> Mon, 25 May 2009 09:45:55 +0200 + +libbsd (0.1.2-1) unstable; urgency=low + + * New upstream release. + - Fix build failures on s390 and powerpc due to a typo. + - Fix build failure on alpha due to unportable access to ‘struct exec’. + * Add a Replaces to libbsd-dev on libelfg0-dev which also ships ‘nlist.h’. + (Closes: #530450) + + -- Guillem Jover <guillem@debian.org> Mon, 25 May 2009 07:22:36 +0200 + +libbsd (0.1.1-1) unstable; urgency=low + + [ Aurelien Jarno ] + * Move libbsd0-dbg to section debug. + + [ Guillem Jover ] + * New upstream release. + * Add Replaces on libelf-dev which also ships nlist.h. + * Update copyright years in debian/copyright. + * Add new functions to package description. + * Add new wildcard to the symbols file. + * Now using Standards-Version 3.8.1 (no changes needed). + + -- Guillem Jover <guillem@debian.org> Wed, 20 May 2009 05:26:28 +0200 + +libbsd (0.0.1-2) unstable; urgency=low + + * Switch to debhelper compatibility level 7. + * Use dh_prep instead of “dh_clean -k”. + * Add a symbols file for libbsd0. + * Use UTF-8 copyright symbol in debian/copyright. + + -- Guillem Jover <guillem@debian.org> Sun, 22 Feb 2009 05:10:23 +0200 + +libbsd (0.0.1-1) unstable; urgency=low + + * New upstream release. + - Install md5.3 man page as md5.3bsd to avoid conflicting with commonly + provided file. (Closes: #492199) + * Install upstream ChangeLog. + + -- Guillem Jover <guillem@debian.org> Sat, 26 Jul 2008 22:57:42 +0300 + +libbsd (0.0-4) unstable; urgency=low + + [ Petr Salinger ] + * Alter the versioned Conflicts for kfreebsd architectures, it should + be against binary package net-tools comming from source package + freebsd-utils. + + -- Aurelien Jarno <aurel32@debian.org> Mon, 14 Jul 2008 20:31:06 +0200 + +libbsd (0.0-3) unstable; urgency=low + + * Add a Homepage field. + * Add Vcs-Browser and Vcs-Svn fields. + * Add a versioned Conflicts against freebsd-utils (<< 7.0-2) only on + kfreebsd architectures, which was using the link_addr and link_ntoa + symbols wrongly provided by libbsd. + + -- Guillem Jover <guillem@debian.org> Sun, 13 Jul 2008 19:51:38 +0300 + +libbsd (0.0-2) unstable; urgency=low + + * Upload to Debian. (Closes: #461985) + * Improve debian/copyright. + - Add detailed information about licenses and copyright holders. + - Update upstream download URL. + * Improve package descrptions. + - Add list of currently provided functions. + - Mention this is a package with functions commonly available on BSD + systems. + * Line wrap Uploaders field. + * Add new libbsd0-dbg package. + * Clean up debian/rules: + - Add build-arch and build-indep targets + - Rename install to install-arch. + - Remove dependencies from binary-indep. + - Change binary-arch to depend only on install-arch. + - Use $(filter ...) instead of $(findstring ...) to extract space + separated options from DEB_BUILD_OPTIONS. + * Now using Standards-Version 3.8.0. + + -- Guillem Jover <guillem@debian.org> Sat, 12 Jul 2008 09:25:08 +0300 + +libbsd (0.0-1) unreleased; urgency=low + + * Initial release. + + -- Hector Garcia <hector@debian.org> Sun, 17 Jul 2005 16:17:35 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..eee7464 --- /dev/null +++ b/debian/control @@ -0,0 +1,71 @@ +Source: libbsd +Priority: optional +Section: libs +Maintainer: Debian GNU/kFreeBSD <debian-bsd@lists.debian.org> +Uploaders: Hector Garcia <hector@debian.org>, + Guillem Jover <guillem@debian.org>, Aurelien Jarno <aurel32@debian.org> +Vcs-Browser: http://svn.debian.org/wsvn/glibc-bsd/trunk/libbsd/ +Vcs-Svn: svn://svn.debian.org/glibc-bsd/trunk/libbsd/ +Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 7) +Standards-Version: 3.9.2 +Homepage: http://libbsd.freedesktop.org/ + +Package: libbsd-dev +Section: libdevel +Architecture: any +Depends: libbsd0 (= ${binary:Version}), ${misc:Depends} +# libelf-dev and libelfg0-dev ship nlist.h +Replaces: libelf-dev, libelfg0-dev, libfreebsd-dev (<< 0.0-8) +Description: utility functions from BSD systems - development files + This library provides some functions commonly available on BSD systems but + not on others like GNU systems. + . + The currently provided functions are: + . + * MD5Data, MD5End, MD5File, MD5FileChunk, MD5Final, MD5Init, MD5Pad, + MD5Transform, MD5Update. + * arc4random, arc4random_addrandom, arc4random_buf, arc4random_stir, + arc4random_uniform. + * bsd_getopt. + * dehumanize_number, humanize_number, strtonum, fmtcheck. + * errc, verrc, vwarnc, warnc. + * fgetln, flopen, fpurge. + * getmode, setmode, strmode, + * getpeereid. + * getprogname, setprogname, setproctitle. + * heapsort, radixsort, mergesort, sradixsort. + * nlist (ELF and a.out support). + * pidfile_open, pidfile_write, pidfile_close, pidfile_remove. + * readpassphrase. + * reallocf. + * strlcpy, strlcat. + * strnvis, strnunvis, strunvis, strunvisx, strvis, strvisx, unvis, vis. + . + Also included are some queue macro definitions not present on includes + from glibc. + +Package: libbsd0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: net-tools (<< 7.0-2) [kfreebsd-any] +Description: utility functions from BSD systems - shared library + This library provides some functions commonly available on BSD systems + but not on others like GNU systems. + +Package: libbsd0-udeb +Package-Type: udeb +Section: debian-installer +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: utility functions from BSD systems - shared library + This library provides some functions commonly available on BSD systems + but not on others like GNU systems. + +Package: libbsd0-dbg +Section: debug +Priority: extra +Architecture: any +Depends: libbsd0 (= ${binary:Version}), ${misc:Depends} +Description: utility functions from BSD systems - debugging symbols + This library provides some functions commonly available on BSD systems + but not on others like GNU systems. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6c9f28a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,453 @@ +This package was debianized by Hector Garcia <hector@debian.org> on +Sun, 17 Jul 2005 16:17:35 +0200. + +It was downloaded from: + + <http://libbsd.freedesktop.org/releases/> + +Licenses and Copyright Holders: + + Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> + 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. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by Niels Provos. + 4. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. + + -- + + Copyright © 2004-2006, 2008-2011 Guillem Jover + Copyright © 2005 Hector Garcia Alvarez + Copyright © 2005 Aurelien Jarno + Copyright © 2006 Robert Millan + + 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. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED ``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 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. + + -- + + Copyright © 1980, 1982, 1986, 1989-1994 + The Regents of the University of California. All rights reserved. + + Some code is derived from software contributed to Berkeley by + the American National Standards Committee X3, on Information + Processing Systems. + + Some code is derived from software contributed to Berkeley by + Peter McIlroy. + + Some code is derived from software contributed to Berkeley by + Ronnie Kon at Mindcraft Inc., Kevin Lew and Elmer Yglesias. + + Some code is derived from software contributed to Berkeley by + Dave Borman at Cray Research, Inc. + + Some code is derived from software contributed to Berkeley by + Paul Vixie. + + 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. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. + + -- + + Copyright © 1996 Peter Wemm <peter@FreeBSD.org>. + All rights reserved. + Copyright © 2002 Networks Associates Technology, Inc. + All rights reserved. + + Portions of this software were developed for the FreeBSD Project by + ThinkSec AS and NAI Labs, the Security Research Division of Network + Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 + ("CBOSS"), as part of the DARPA CHATS research program. + + Redistribution and use in source and binary forms, with or without + modification, is 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. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + 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. + + -- + + Copyright © 1997-2000, 2002, 2005, 2006, 2008 The NetBSD Foundation, Inc. + All rights reserved. + + Some code was contributed to The NetBSD Foundation by Allen Briggs. + + Some code is derived from software contributed to The NetBSD Foundation + by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, + NASA Ames Research Center, by Luke Mewburn and by Tomas Svensson. + + Some code is derived from software contributed to The NetBSD Foundation + by Julio M. Merino Vidal, developed as part of Google's Summer of Code + 2005 program. + + 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 NETBSD FOUNDATION, INC. 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 FOUNDATION 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. + + -- + + Copyright © 1998, M. Warner Losh <imp@freebsd.org> + 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. + + -- + + Copyright © 2001 Dima Dorfman. + 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. + + -- + + Copyright © 2002 Niels Provos <provos@citi.umich.edu> + 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 ``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 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. + + -- + + Copyright © 2005 Pawel Jakub Dawidek <pjd@FreeBSD.org> + 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 AUTHORS 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 AUTHORS 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. + + -- + + Copyright © 2007 Dag-Erling Coïdan Smørgrav + 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 + + -- + + Copyright © 2007 Dag-Erling Coïdan Smørgrav + 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 + in this position and unchanged. + 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. + + -- + + Copyright © 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com> + Copyright © 2004 Ted Unangst + + Copyright © 2004 Ted Unangst and Todd Miller + All rights reserved. + + 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. + + -- + + Copyright © 2000-2002, 2007 Todd C. Miller <Todd.Miller@courtesan.com> + + 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. + + Sponsored in part by the Defense Advanced Research Projects + Agency (DARPA) and Air Force Research Laboratory, Air Force + Materiel Command, USAF, under agreement number F39502-99-1-0512 + + -- + + Copyright © 1996 by Internet Software Consortium. + + 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 INTERNET SOFTWARE CONSORTIUM DISCLAIMS + ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + CONSORTIUM 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. + + -- + + Copyright © 1996, David Mazieres <dm@uun.org> + Copyright © 2008, Damien Miller <djm@openbsd.org> + + 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. + + Modification and redistribution in source and binary forms is + permitted provided that due credit is given to the author and the + OpenBSD project (for instance by leaving this copyright notice + intact). + + 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. + + This code is derived from section 17.1 of Applied Cryptography, + second edition, which describes a stream cipher allegedly + compatible with RSA Labs "RC4" cipher (the actual description of + which is a trade secret). The same algorithm is used as a stream + cipher called "arcfour" in Tatu Ylonen's ssh package. + + Here the stream cipher has been modified always to include the time + when initializing the state. That makes it impossible to + regenerate the same random sequence twice, so this can't be used + for encryption, but will generate good random numbers. + + RC4 is a registered trademark of RSA Laboratories. + + -- + + This code implements the MD5 message-digest algorithm. + The algorithm is due to Ron Rivest. This code was + written by Colin Plumb in 1993, no copyright is claimed. + This code is in the public domain; do with it what you wish. + + Equivalent code is available from RSA Data Security, Inc. + This code has been tested against that, and is equivalent, + except that you don't need to include two pages of legalese + with every copy. + + To compute the message digest of a chunk of bytes, declare an + MD5Context structure, pass it to MD5Init, call MD5Update as + needed on buffers full of bytes, and then call MD5Final, which + will fill a supplied 16-byte array with the digest. + + -- + + "THE BEER-WARE LICENSE" (Revision 42): + <phk@login.dkuug.dk> wrote this file. As long as you retain this notice you + can do whatever you want with this stuff. If we meet some day, and you think + this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp diff --git a/debian/libbsd-dev.install b/debian/libbsd-dev.install new file mode 100644 index 0000000..2e91dd5 --- /dev/null +++ b/debian/libbsd-dev.install @@ -0,0 +1,5 @@ +usr/lib/*/*.so +usr/lib/*/*.a +usr/lib/*/pkgconfig/*.pc +usr/include +usr/share/man diff --git a/debian/libbsd0-udeb.install b/debian/libbsd0-udeb.install new file mode 100644 index 0000000..3de3b10 --- /dev/null +++ b/debian/libbsd0-udeb.install @@ -0,0 +1 @@ +usr/lib/*/*.so.* diff --git a/debian/libbsd0.install b/debian/libbsd0.install new file mode 100644 index 0000000..3de3b10 --- /dev/null +++ b/debian/libbsd0.install @@ -0,0 +1 @@ +usr/lib/*/*.so.* diff --git a/debian/libbsd0.symbols b/debian/libbsd0.symbols new file mode 100644 index 0000000..b188b03 --- /dev/null +++ b/debian/libbsd0.symbols @@ -0,0 +1,5 @@ +libbsd.so.0 libbsd0 #MINVER# + (symver)LIBBSD_0.0 0.0 + (symver)LIBBSD_0.1 0.1.0 + (symver)LIBBSD_0.2 0.2.0 + (symver)LIBBSD_0.3 0.3.0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2dd20e9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) +CFLAGS := -Wall $(shell dpkg-buildflags --get CFLAGS) +LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) + +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +lib := libbsd0 +libdbg := $(lib)-dbg +libudeb := $(lib)-udeb +libdev := libbsd-dev + +build-indep: + +build-arch: + dh_testdir + + $(MAKE) CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" + +build: build-indep build-arch + +clean: + dh_testdir + dh_testroot + + $(MAKE) clean + + dh_clean + +install-arch: build-arch + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp \ + usrlibdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ + libdir=\$${usrlibdir} + +binary-indep: +# Nothing to do. + +binary-arch: install-arch + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install + dh_link + dh_strip --dbg-package=$(libdbg) + dh_compress + dh_fixperms + dh_makeshlibs --add-udeb=$(libudeb) + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: install-arch +.PHONY: clean build-indep build-arch build binary-indep binary-arch binary 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) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..18dd7e6 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://libbsd.freedesktop.org/releases/ libbsd-(.*)\.tar\.gz debian uupdate |