debian/0000755000000000000000000000000012164621535007173 5ustar debian/source/0000755000000000000000000000000012164615551010474 5ustar debian/source/format0000644000000000000000000000001412164615551011702 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002066312164621124011046 0ustar libsigsegv (2.10-2) unstable; urgency=low * Upload to unstable * Update to use dh style rules file * Enable multiarch (Closes: #695861) * Import symbols file (Closes: #635921) * Make sure config.* gets updated (via debhelper addon) (Closes: #533680) -- Christoph Egger Tue, 02 Jul 2013 20:26:56 +0200 libsigsegv (2.10-1) experimental; urgency=low * refresh patches * Import new upstream Version signed by F059B1D1 -- Christoph Egger Tue, 26 Jul 2011 15:15:56 +0200 libsigsegv (2.9-2) unstable; urgency=low * Disable stackhandler on s390 as it doesn't work right now and workarounds break at least clisp -- Christoph Egger Sun, 13 Mar 2011 13:59:14 +0100 libsigsegv (2.9-1.1) unstable; urgency=low * Install shared library again (Closes: #616576) * Add myself to uploaders -- Christoph Egger Sun, 06 Mar 2011 00:41:06 +0100 libsigsegv (2.9-1) unstable; urgency=low * New upstream release and upload to unstable. Major changes in upstream: + Correct support for 64-bit ABI on MacOS X 10.5 and newer. + Fix alternate stack overflow on at least Linux for PowerPC64; regression introduced in 2.6. * Repackaged using quilt. -- Peter Van Eynde Sat, 19 Feb 2011 07:22:44 +0100 libsigsegv (2.8-1) experimental; urgency=low * New upstream version 2.8 which we track with git. Closes: #541027 Major changes: + Support for platforms that follow POSIX:2008, not POSIX:2001. + On Linux platforms, libsigsegv now prefers the POSIX way of defining the signal handler over than the traditional one, when both are supported. As a consequence, on Linux/i386 and other Linux platforms, the type 'stackoverflow_context_t' is now typedefed to 'ucontext_t *' rather than 'struct sigcontext *'. + sigsegv_leave_handler is changed. Previously it was a normal function with no arguments. Now it is a function that take a non-returning continuation function and three arguments for it as arguments. Where you had code like int my_handler(void* fault_address, int serious) { ...code_before()...; sigsegv_leave_handler(); ...code_after()...; longjmp(...); } you now have to write void my_handler_tail(void* arg1, void* arg2, void* arg3) { ...code_after()...; longjmp(...); } int my_handler(void* fault_address, int serious) { ...code_before()...; #if LIBSIGSEGV_VERSION >= 0x0206 return sigsegv_leave_handler(my_handler_tail, arg, NULL, NULL); #else sigsegv_leave_handler(); my_handler_tail(arg, NULL, NULL); /* NOTREACHED */ abort(); #endif } + Improved distinction between stack overflow and other fault on NetBSD, OpenBSD, FreeBSD, Linux, AIX, Solaris. Contributed by Eric Blake. + GNU gnulib now has an autoconf macro for locating libsigsegv: http://www.gnu.org/software/gnulib/MODULES.html#module=libsigsegv * Added debian/README.building file * Now use debhelper v7 * Has updated autoconf files. (Closes: #533680) * The SONAME became 2.0.1, so we need to rename the binary package * updated debian/README.building with the new standard * removed extra Section marker * Changed libsigsegv-dev description to be more unique * Added stupid source/format statement * Added ${misc:Depends} to Depends * Updated Standards-Version, no real changes -- Peter Van Eynde Wed, 29 Sep 2010 07:09:45 +0200 libsigsegv (2.5-3) unstable; urgency=low * debian/control: + Depends: on automake. * debian/rules: + regenerate all autoreconf's stuff at 'config.status' target and restore the original one at 'clean' target, thanks to Peter Green (Closes: #518877). -- Luca Capello Fri, 27 Mar 2009 00:04:29 +0100 libsigsegv (2.5-2) unstable; urgency=low * debian/control: + add myself to Uploaders:. + add Vcs-Browser field. + Build-Depends: on autoconf. * debian/rules: + regenerate autoconf's stuff at 'config.status' target and restore the original one at 'clean' target, thus adding support for GNU/kFreeBSD, thanks to Petr Salinger (Closes: #466356). - remove darcs-specific hacks. - remove suspicious line. - remove trailing spaces. -- Luca Capello Tue, 26 Aug 2008 02:39:18 +0200 libsigsegv (2.5-1) unstable; urgency=low * New upstream version * Fixed Vcs-Git entry * Updated standard version without changes * Changed to group maintanance * Use standard gcc version * make debian/rules executable * Fix uploaders -- Peter Van Eynde Wed, 16 Jan 2008 07:12:30 +0100 libsigsegv (2.4-4) unstable; urgency=low * modified S-X-Vcs-Darcs to XS-Vcs-Darcs field * Added libsigsegv0 library (Closes: #434122) * Don't ignore make clean errors -- Peter Van Eynde Sun, 16 Sep 2007 17:01:57 +0200 libsigsegv (2.4-3) unstable; urgency=low * Added XS-X-Vcs-Darcs header * Applied kfreeBSD patch again. (Closes: #376570) * Regenerated configure files -- Peter Van Eynde Mon, 25 Sep 2006 09:37:36 +0200 libsigsegv (2.4-2) unstable; urgency=low * fix FTBFS on GNU/kFreeBSD (Closes: #376570) -- Peter Van Eynde Wed, 20 Sep 2006 10:39:11 +0200 libsigsegv (2.4-1) unstable; urgency=low * New upstream version, improved 2.4 support. -- Peter Van Eynde Sun, 2 Jul 2006 23:31:20 +0200 libsigsegv (2.3-3) unstable; urgency=medium * Fix misbuild on ia64 corrupting the clisp build * Updated standards version without real changes. -- Peter Van Eynde Sat, 1 Jul 2006 23:12:46 +0200 libsigsegv (2.3-2) unstable; urgency=low * Updated standard version, no real changes. * Make scripts executable. Closes: #366075 -- Peter Van Eynde Fri, 5 May 2006 07:28:12 +0200 libsigsegv (2.3-1) unstable; urgency=low * New upstream * Updated Standard version without real changes. -- Peter Van Eynde Tue, 2 May 2006 19:07:56 +0200 libsigsegv (2.2-5) unstable; urgency=low * Now build with gcc-4.1 to avoid FTBFS. Closes: #357144 * Included patch for GNU/kFreeBSD. Closes: #362139 -- Peter Van Eynde Thu, 13 Apr 2006 09:03:31 +0200 libsigsegv (2.2-4) unstable; urgency=low * Changed section of libsigsegv-dev to libdevel as per override. * Included gcc-4 fix from Joerg Hoehle * Build again with gcc 4 by default -- Peter Van Eynde Mon, 20 Mar 2006 14:50:21 +0100 libsigsegv (2.2-3) unstable; urgency=low * Fixed section as per override to libdevel * Build with gcc-3.4 as otherwith sigaltstack fails. -- Peter Van Eynde Wed, 15 Mar 2006 16:49:29 +0100 libsigsegv (2.2-2) unstable; urgency=low * New maintainer -- Peter Van Eynde Sun, 16 Oct 2005 21:44:50 +0200 libsigsegv (2.2-1) unstable; urgency=low * New upstream version. * Updated standards version to 3.6.2. -- Will Newton Wed, 6 Jul 2005 13:02:23 +0100 libsigsegv (2.2-1) unstable; urgency=low * New maintainter * New upstream * Now uses correct automake/configure procedure -- Peter Van Eynde Thu, 6 Oct 2005 15:57:02 +0200 libsigsegv (2.1-1) unstable; urgency=low * New upstream release. * Fixes build on ia64 (Closes: #161924) * Fixes build on hppa (Closes: #165268) * Updated standards version to 3.6.1. -- Will Newton Thu, 18 Sep 2003 17:18:26 +0100 libsigsegv (2.0-4) unstable; urgency=low * Fix hppa build. -- Will Newton Sun, 22 Sep 2002 21:12:49 +0100 libsigsegv (2.0-3) unstable; urgency=low * Clean up build. * Bump version to sort out lack of orig.tar.gz. -- Will Newton Sun, 22 Sep 2002 15:47:12 +0100 libsigsegv (2.0-2) unstable; urgency=low * Do not build shared lib. * Uploaded sponsored by "Matthew Danish " -- Will Newton Fri, 20 Sep 2002 03:56:26 +0100 libsigsegv (2.0-1) unstable; urgency=low * Initial Release. * clisp 2.30 splits libsigsegv into a separate package. -- Will Newton Fri, 20 Sep 2002 03:14:32 +0100 debian/README.building0000644000000000000000000000105412164615551011650 0ustar To build this package you need to get the git repository: git clone git://git.debian.org/git/pkg-common-lisp/libsigsegv.git for more informatin regarding the packaging standards see: http://wiki.debian.org/Teams/DebianCommonLisp/GitPackaging To build: git-buildpackage -uc -us --git-debian-branch=master- --git-upstream-branch=upstream- please check your package with: lintian --verbose --info --display-info --md5sums *.changes Then commit any changes and either send me the diff or push this to somewhere were I can fetch it. debian/control0000644000000000000000000000266012164621467010606 0ustar Source: libsigsegv Section: libdevel Priority: optional Maintainer: Debian Common Lisp Team Uploaders: Peter Van Eynde , Luca Capello , Christoph Egger Build-Depends: debhelper (>> 9~), autotools-dev, autoconf, automake, dh-autoreconf Build-Conflicts: autoconf2.13, automake1.4 Standards-Version: 3.9.1 Homepage: http://libsigsegv.sourceforge.net/ Vcs-Git: http://git.debian.org/git/pkg-common-lisp/libsigsegv.git Vcs-Browser: http://git.debian.org/?p=pkg-common-lisp/libsigsegv.git;a=summary Package: libsigsegv2 Section: libs Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Architecture: any Description: Library for handling page faults in a portable way GNU libsigsegv is a library that allows handling page faults in a portable way. It is used e.g. for generational garbage collectors and stack overflow handlers. . This package contains the shared library. Package: libsigsegv-dev Depends: libsigsegv2 (= ${binary:Version}), ${misc:Depends} Multi-Arch: same Architecture: any Description: Library for handling page faults in a portable way development package GNU libsigsegv is a library that allows handling page faults in a portable way. It is used e.g. for generational garbage collectors and stack overflow handlers. . This package contains the libsigsegv development files. debian/libsigsegv-dev.install0000644000000000000000000000006112164620001013455 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so debian/docs0000644000000000000000000000004512164615551010046 0ustar NEWS README README.woe32 ChangeLog.1 debian/clean0000644000000000000000000000024211424606715010177 0ustar build-aux/config.guess build-aux/config.sub build-aux/install-sh build-aux/missing Makefile.in aclocal.m4 config.h.in configure src/Makefile.in tests/Makefile.in debian/patches/0000755000000000000000000000000012164615551010623 5ustar debian/patches/no-stackhandler-on-s390.patch0000644000000000000000000000075412164615551016035 0ustar Index: libsigsegv/configure.ac =================================================================== --- libsigsegv.orig/configure.ac 2011-07-26 15:19:06.000000000 +0200 +++ libsigsegv/configure.ac 2011-07-26 15:19:06.000000000 +0200 @@ -878,6 +878,9 @@ ;; esac fi + case "$host_cpu" in + *s390*) sv_cv_have_stack_overflow_recovery=no ;; + esac if test $sv_cv_have_stack_overflow_recovery = maybe; then if test -n "$CFG_FAULT"; then AC_EGREP_CPP([xyzzy], [ debian/patches/SIGSTKSZ-adjust.patch0000644000000000000000000000115312164615551014415 0ustar Description: adjust ss.ss_size = SIGSTKSZ if smaller Author: unknown Origin: unknown Forwarded: will do Index: libsigsegv/src/handler-unix.c =================================================================== --- libsigsegv.orig/src/handler-unix.c 2011-07-26 15:07:37.000000000 +0200 +++ libsigsegv/src/handler-unix.c 2011-07-26 15:19:06.000000000 +0200 @@ -499,6 +499,9 @@ ss.ss_sp = extra_stack; ss.ss_size = extra_stack_size; #endif + if (ss.ss_size < SIGSTKSZ) + ss.ss_size = SIGSTKSZ; + ss.ss_flags = 0; /* no SS_DISABLE */ if (sigaltstack (&ss, (stack_t*)0) < 0) return -1; debian/patches/configure-patch-for-kfreebsd-debian.patch0000644000000000000000000000507312164615551020516 0ustar Description: patch configure.ac to also handle kfreeBSD/Debian Author: Petr Salinger Origin: http://bugs.debian.org/376570 Bug-Debian: http://bugs.debian.org/376570 Forwarded: not-needed Index: libsigsegv/configure.ac =================================================================== --- libsigsegv.orig/configure.ac 2011-07-26 15:13:10.000000000 +0200 +++ libsigsegv/configure.ac 2011-07-26 15:19:18.000000000 +0200 @@ -91,7 +91,7 @@ dnl List of signals that are sent when an invalid virtual memory address dnl is accessed, or when the stack overflows. case "$host_os" in - sunos4* | freebsd* | dragonfly* | openbsd* | netbsd* | kfreebsd* | knetbsd*) + sunos4* | freebsd* | openbsd* | netbsd* | kfreebsd* | k*bsd*) CFG_SIGNALS=signals-bsd.h ;; hpux*) CFG_SIGNALS=signals-hpux.h ;; @@ -133,7 +133,7 @@ dnl FIXME: Put in some more known values into the third argument. SV_TRY_FAULT([POSIX], sv_cv_fault_posix, - [*-*-solaris2.[7-9] | i?86-*-linux2.[4-9]* | i?86-*-freebsd[4-9]* | i?86-*-mirbsd1[0-9] | alpha*-dec-osf[4-9]* | *-*-hpux11* | mips-sgi-irix6*], + [*-*-solaris2.[7-9] | i?86-*-linux2.[4-9]* | i?86-*-freebsd[4-9]* | i?86-*-kfreebsd[4-9]* | alpha*-dec-osf[4-9]* | *-*-hpux11* | mips-sgi-irix6*], [], [int sig, siginfo_t *sip, void *ucp], [sip->si_addr], @@ -173,7 +173,7 @@ action.sa_flags = SA_SIGINFO;]) dnl FIXME: Put in some more known values into the third argument. -SV_TRY_FAULT([BSD], sv_cv_fault_bsd, [i?86-*-freebsd[4-9]*], +SV_TRY_FAULT([BSD], sv_cv_fault_bsd, [i?86-*-freebsd[4-9]* | i?86-*-kfreebsd[4-9]*], [], [int sig, int code, struct sigcontext *scp, void *addr], [addr]) @@ -672,7 +672,10 @@ CFG_STACKVMA=stackvma-mquery.c fi if test -z "$CFG_STACKVMA" && test $ac_cv_func_mincore = yes; then - CFG_STACKVMA=stackvma-mincore.c + case "$host_os" in + kfreebsd*) ;; dnl mincore() does not work + *) CFG_STACKVMA=stackvma-mincore.c ;; + esac fi if test -n "$CFG_STACKVMA"; then AC_DEFINE([HAVE_STACKVMA], [1], @@ -716,7 +719,7 @@ dnl FIXME: Put in some more known values into the third argument. SV_TRY_LEAVE_HANDLER_LONGJMP([ and sigaltstack], sv_cv_leave_handler_longjmp_sigaltstack, - [*-*-freebsd*], + [*-*-freebsd*|*-*-kfreebsd*], [ #ifndef SS_ONSTACK #define SS_ONSTACK SA_ONSTACK @@ -774,7 +777,7 @@ dnl FIXME: Put in some more known values into the third argument. SV_TRY_LEAVE_HANDLER_SIGLONGJMP([ and sigaltstack], sv_cv_leave_handler_siglongjmp_sigaltstack, - [*-*-freebsd*], + [*-*-freebsd*|*-*-kfreebsd*], [ #ifndef SS_ONSTACK #define SS_ONSTACK SA_ONSTACK debian/patches/series0000644000000000000000000000013612164615551012040 0ustar configure-patch-for-kfreebsd-debian.patch SIGSTKSZ-adjust.patch no-stackhandler-on-s390.patch debian/rules0000755000000000000000000000041212164617142010247 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with autoreconf override_dh_auto_configure: dh_auto_configure -- --enable-shared debian/watch0000644000000000000000000000053512164615551010230 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # Site Directory Pattern Version Script version=2 #http://heanet.dl.sourceforge.net/sourceforge/libsigsegv/ libsigsegv-(.*)\.tar\.gz http://ftp.gnu.org/gnu/libsigsegv/ libsigsegv-(.*)\.tar\.gz debian/libsigsegv2.install0000644000000000000000000000003212164617413012776 0ustar usr/lib/*/libsigsegv.so.* debian/libsigsegv2.symbols0000644000000000000000000000064312164620745013032 0ustar libsigsegv.so.2 libsigsegv2 #MINVER# libsigsegv_version@Base 2.9 sigsegv_deinstall_handler@Base 2.9 sigsegv_dispatch@Base 2.9 sigsegv_get_vma@Base 2.9 sigsegv_init@Base 2.9 sigsegv_install_handler@Base 2.9 sigsegv_leave_handler@Base 2.9 sigsegv_register@Base 2.9 sigsegv_reset_onstack_flag@Base 2.9 sigsegv_unregister@Base 2.9 stackoverflow_deinstall_handler@Base 2.9 stackoverflow_install_handler@Base 2.9 debian/copyright0000644000000000000000000000057312164615551011134 0ustar This package was debianized by Will Newton on Sat, 14 Sep 2002 01:02:45 +0100. It was downloaded from http://sourceforge.net/projects/libsigsegv Upstream Author: Bruno Haible Copyright: Copyright (C) 2002 Bruno Haible Distributed under the terms of the GNU General Public Licence. See /usr/share/common-licenses/GPL debian/compat0000644000000000000000000000000212164617624010375 0ustar 9 debian/libsigsegv-dev.dirs0000644000000000000000000000002412164615551012765 0ustar usr/lib usr/include