import libsigsegv 2.4
This is a library for handling page faults in user mode. A page fault occurs when a program tries to access to a region of memory that is currently not available. Catching and handling a page fault is a useful technique for implementing: * pageable virtual memory, * memory-mapped access to persistent databases, * generational garbage collectors, * stack overflow handlers, * distributed shared memory, based on a submission by Scott Vokes <vokes.s at gmail.com> (MAINTAINER) with lots of tweaks by me and kurt@ help and ok kurt@
This commit is contained in:
parent
0767232924
commit
d36a5b8830
29
devel/libsigsegv/Makefile
Normal file
29
devel/libsigsegv/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= alpha amd64 arm m68k mips64 powerpc sparc64 sparc
|
||||
|
||||
COMMENT= library for handling page faults in user mode
|
||||
|
||||
DISTNAME= libsigsegv-2.4
|
||||
|
||||
CATEGORIES= devel
|
||||
HOMEPAGE= http://libsigsegv.sourceforge.net/
|
||||
|
||||
MAINTAINER= Scott Vokes <vokes.s@gmail.com>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=libsigsegv/}
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
|
||||
.include <bsd.port.mk>
|
5
devel/libsigsegv/distinfo
Normal file
5
devel/libsigsegv/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (libsigsegv-2.4.tar.gz) = 3w/l+HoB4LS1OyzfqKcw4Q==
|
||||
RMD160 (libsigsegv-2.4.tar.gz) = WlLj/lSjOA1LJaA0qj3j5ll0EH0=
|
||||
SHA1 (libsigsegv-2.4.tar.gz) = 4VTvnAT0meofEMjyaILBo4iJ0mU=
|
||||
SHA256 (libsigsegv-2.4.tar.gz) = /ZpI+ZzzVmCanLxzOfT7sXlRI+5LkimSJGRBRiILH9U=
|
||||
SIZE (libsigsegv-2.4.tar.gz) = 376308
|
14
devel/libsigsegv/patches/patch-configure
Normal file
14
devel/libsigsegv/patches/patch-configure
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
|
||||
--- configure.orig Mon Jul 9 18:24:03 2007
|
||||
+++ configure Mon Jul 9 18:26:10 2007
|
||||
@@ -22605,8 +22605,8 @@ if test -z "$CFG_FAULT" && test "$sv_cv_fault_posix" =
|
||||
case "$host_os" in
|
||||
openbsd*)
|
||||
case "$host_cpu" in
|
||||
- i?86 | x86_64) CFG_FAULT=fault-openbsd-i386.h ;;
|
||||
- *) CFG_FAULT=fault-openbsd.h ;;
|
||||
+ x86_64) CFG_FAULT=fault-openbsd-amd64.h ;;
|
||||
+ *) CFG_FAULT=fault-openbsd-$host_cpu.h ;;
|
||||
esac
|
||||
FAULT_CONTEXT='struct sigcontext'
|
||||
;;
|
7
devel/libsigsegv/patches/patch-src_fault-openbsd-alpha_h
Normal file
7
devel/libsigsegv/patches/patch-src_fault-openbsd-alpha_h
Normal file
@ -0,0 +1,7 @@
|
||||
$OpenBSD: patch-src_fault-openbsd-alpha_h,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
|
||||
--- src/fault-openbsd-alpha.h.orig Fri Jun 29 00:02:57 2007
|
||||
+++ src/fault-openbsd-alpha.h Fri Jun 29 00:04:34 2007
|
||||
@@ -0,0 +1,3 @@
|
||||
+#include "fault-openbsd.h"
|
||||
+
|
||||
+#define SIGSEGV_FAULT_STACKPOINTER scp->sc_sp
|
7
devel/libsigsegv/patches/patch-src_fault-openbsd-amd64_h
Normal file
7
devel/libsigsegv/patches/patch-src_fault-openbsd-amd64_h
Normal file
@ -0,0 +1,7 @@
|
||||
$OpenBSD: patch-src_fault-openbsd-amd64_h,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
|
||||
--- src/fault-openbsd-amd64.h.orig Thu Jun 28 16:20:07 2007
|
||||
+++ src/fault-openbsd-amd64.h Thu Jun 28 16:19:58 2007
|
||||
@@ -0,0 +1,3 @@
|
||||
+#include "fault-openbsd.h"
|
||||
+
|
||||
+#define SIGSEGV_FAULT_STACKPOINTER scp->sc_rsp
|
7
devel/libsigsegv/patches/patch-src_fault-openbsd-arm_h
Normal file
7
devel/libsigsegv/patches/patch-src_fault-openbsd-arm_h
Normal file
@ -0,0 +1,7 @@
|
||||
$OpenBSD: patch-src_fault-openbsd-arm_h,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
|
||||
--- src/fault-openbsd-arm.h.orig Fri Jun 29 19:55:24 2007
|
||||
+++ src/fault-openbsd-arm.h Fri Jun 29 19:55:58 2007
|
||||
@@ -0,0 +1,3 @@
|
||||
+#include "fault-openbsd.h"
|
||||
+
|
||||
+#define SIGSEGV_FAULT_STACKPOINTER scp->sc_usr_sp
|
7
devel/libsigsegv/patches/patch-src_fault-openbsd-m68k_h
Normal file
7
devel/libsigsegv/patches/patch-src_fault-openbsd-m68k_h
Normal file
@ -0,0 +1,7 @@
|
||||
$OpenBSD: patch-src_fault-openbsd-m68k_h,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
|
||||
--- src/fault-openbsd-m68k.h.orig Fri Jun 29 00:03:14 2007
|
||||
+++ src/fault-openbsd-m68k.h Fri Jun 29 00:04:31 2007
|
||||
@@ -0,0 +1,3 @@
|
||||
+#include "fault-openbsd.h"
|
||||
+
|
||||
+#define SIGSEGV_FAULT_STACKPOINTER scp->sc_sp
|
@ -0,0 +1,7 @@
|
||||
$OpenBSD: patch-src_fault-openbsd-mips64_h,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
|
||||
--- src/fault-openbsd-mips64.h.orig Fri Jun 29 00:21:18 2007
|
||||
+++ src/fault-openbsd-mips64.h Fri Jun 29 00:22:15 2007
|
||||
@@ -0,0 +1,3 @@
|
||||
+#include "fault-openbsd.h"
|
||||
+
|
||||
+#define SIGSEGV_FAULT_STACKPOINTER scp->sc_regs[29]
|
@ -0,0 +1,7 @@
|
||||
$OpenBSD: patch-src_fault-openbsd-powerpc_h,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
|
||||
--- src/fault-openbsd-powerpc.h.orig Fri Jun 29 00:06:24 2007
|
||||
+++ src/fault-openbsd-powerpc.h Fri Jun 29 00:06:45 2007
|
||||
@@ -0,0 +1,3 @@
|
||||
+#include "fault-openbsd.h"
|
||||
+
|
||||
+#define SIGSEGV_FAULT_STACKPOINTER scp->sc_frame.fixreg[1]
|
@ -0,0 +1,7 @@
|
||||
$OpenBSD: patch-src_fault-openbsd-sparc64_h,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
|
||||
--- src/fault-openbsd-sparc64.h.orig Thu Jun 28 23:48:03 2007
|
||||
+++ src/fault-openbsd-sparc64.h Thu Jun 28 23:48:10 2007
|
||||
@@ -0,0 +1,3 @@
|
||||
+#include "fault-openbsd.h"
|
||||
+
|
||||
+#define SIGSEGV_FAULT_STACKPOINTER scp->sc_sp
|
7
devel/libsigsegv/patches/patch-src_fault-openbsd-sparc_h
Normal file
7
devel/libsigsegv/patches/patch-src_fault-openbsd-sparc_h
Normal file
@ -0,0 +1,7 @@
|
||||
$OpenBSD: patch-src_fault-openbsd-sparc_h,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
|
||||
--- src/fault-openbsd-sparc.h.orig Thu Jun 28 23:47:04 2007
|
||||
+++ src/fault-openbsd-sparc.h Thu Jun 28 23:47:32 2007
|
||||
@@ -0,0 +1,3 @@
|
||||
+#include "fault-openbsd.h"
|
||||
+
|
||||
+#define SIGSEGV_FAULT_STACKPOINTER scp->sc_sp
|
10
devel/libsigsegv/pkg/DESCR
Normal file
10
devel/libsigsegv/pkg/DESCR
Normal file
@ -0,0 +1,10 @@
|
||||
This is a library for handling page faults in user mode. A page fault
|
||||
occurs when a program tries to access to a region of memory that is
|
||||
currently not available. Catching and handling a page fault is a useful
|
||||
technique for implementing:
|
||||
|
||||
* pageable virtual memory,
|
||||
* memory-mapped access to persistent databases,
|
||||
* generational garbage collectors,
|
||||
* stack overflow handlers,
|
||||
* distributed shared memory,
|
2
devel/libsigsegv/pkg/PFRAG.shared
Normal file
2
devel/libsigsegv/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
|
||||
@lib lib/libsigsegv.so.${LIBsigsegv_VERSION}
|
5
devel/libsigsegv/pkg/PLIST
Normal file
5
devel/libsigsegv/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/09 20:05:29 jasper Exp $
|
||||
%%SHARED%%
|
||||
include/sigsegv.h
|
||||
lib/libsigsegv.a
|
||||
lib/libsigsegv.la
|
Loading…
Reference in New Issue
Block a user