switch to fedora_base and adapt systrace.policy files accordingly

This commit is contained in:
sturm 2006-10-19 09:39:58 +00:00
parent 4f9dc282d8
commit 6e3e04ec3b
3 changed files with 18 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.30 2006/04/01 13:58:49 sturm Exp $
# $OpenBSD: Makefile,v 1.31 2006/10/19 09:39:58 sturm Exp $
ONLY_FOR_ARCHS= i386
@ -6,13 +6,13 @@ COMMENT= "Java Development Kit for Java 2 Standard Edition 1.3"
VERSION= 1.3.1_16
DISTNAME= jdk${VERSION}
PKGNAME= jdk-linux-${VERSION}
PKGNAME= jdk-linux-${VERSION}p0
CATEGORIES= devel java
HOMEPAGE= http://java.sun.com/j2se/
MAINTAINER= Christian Edward Gruber <cgruber@israfil.net>
RUN_DEPENDS= :redhat_base->=6.2:emulators/redhat/base
RUN_DEPENDS= :fedora_base->=4.0p2:emulators/fedora/base
BUILD_DEPENDS= ${RUN_DEPENDS}
DISTFILES= j2sdk-${VERSION:S/./_/g}-linux-i586.bin
EXTRACT_CASES+= *.bin) \

View File

@ -1,10 +1,11 @@
# $OpenBSD: systrace.policy,v 1.6 2006/04/01 13:58:49 sturm Exp $
# $OpenBSD: systrace.policy,v 1.7 2006/10/19 09:39:58 sturm Exp $
Policy: ${WRKDIR}/j2sdk-1_3_1_16-linux-i586.bin, Emulation: linux
linux-brk: permit
linux-chmod: permit
linux-clone: permit
linux-close: permit
linux-exit: permit
linux-linux_exit_group: permit
linux-fsread: permit
linux-fstat64: permit
linux-fswrite: filename match "${WRKDIR}" then permit
@ -16,6 +17,7 @@ Policy: ${WRKDIR}/j2sdk-1_3_1_16-linux-i586.bin, Emulation: linux
linux-lseek: permit
linux-lstat64: permit
linux-mmap: permit
linux-mprotect: permit
linux-munmap: permit
linux-read: permit
linux-rt_sigaction: permit
@ -30,6 +32,7 @@ Policy: ${WRKSRC}/bin/i386/green_threads/jar, Emulation: linux
linux-brk: permit
linux-close: permit
linux-exit: permit
linux-linux_exit_group: permit
linux-fcntl64: permit
linux-fsread: permit
linux-fstat64: permit
@ -65,6 +68,7 @@ Policy: ${WRKSRC}/jre/bin/i386/realpath, Emulation: linux
linux-brk: permit
linux-close: permit
linux-exit: permit
linux-linux_exit_group: permit
linux-fsread: permit
linux-fstat64: permit
linux-getegid: permit
@ -73,6 +77,7 @@ Policy: ${WRKSRC}/jre/bin/i386/realpath, Emulation: linux
linux-getuid: permit
linux-lstat64: permit
linux-mmap: permit
linux-mprotect: permit
linux-munmap: permit
linux-read: permit
linux-uname: permit

View File

@ -1,4 +1,4 @@
# $OpenBSD: systrace.policy,v 1.1 2005/02/06 22:06:34 sturm Exp $
# $OpenBSD: systrace.policy,v 1.2 2006/10/19 09:39:58 sturm Exp $
Policy: ${WRKDIR}/unpack, Emulation: linux
linux-brk: permit
linux-close: permit
@ -11,10 +11,13 @@ Policy: ${WRKDIR}/unpack, Emulation: linux
linux-geteuid: permit
linux-getgid: permit
linux-getuid: permit
linux-linux_exit_group: permit
linux-mmap: permit
linux-mprotect: permit
linux-mremap: permit
linux-munmap: permit
linux-read: permit
linux-stat64: permit
linux-uname: permit
linux-write: permit
linux-writev: permit
@ -38,6 +41,7 @@ Policy: ${LOCALBASE}/jdk1.3.1-linux/bin/i386/green_threads/jar, Emulation: linux
linux-gettimeofday: permit
linux-getuid: permit
linux-ioctl: permit
linux-linux_exit_group: permit
linux-llseek: permit
linux-lstat64: permit
linux-mmap: permit
@ -74,6 +78,7 @@ Policy: ${LOCALBASE}/jdk1.3.1-linux/bin/i386/green_threads/java, Emulation: linu
linux-gettimeofday: permit
linux-getuid: permit
linux-ioctl: permit
linux-linux_exit_group: permit
linux-llseek: permit
linux-lstat64: permit
linux-mmap: permit
@ -109,6 +114,7 @@ Policy: ${LOCALBASE}/jdk1.3.1-linux/bin/i386/green_threads/javac, Emulation: lin
linux-gettimeofday: permit
linux-getuid: permit
linux-ioctl: permit
linux-linux_exit_group: permit
linux-llseek: permit
linux-lstat64: permit
linux-mmap: permit
@ -137,8 +143,10 @@ Policy: ${LOCALBASE}/jdk1.3.1-linux/jre/bin/i386/realpath, Emulation: linux
linux-geteuid: permit
linux-getgid: permit
linux-getuid: permit
linux-linux_exit_group: permit
linux-lstat64: permit
linux-mmap: permit
linux-mprotect: permit
linux-mremap: permit
linux-munmap: permit
linux-read: permit