From 1481b07b6bd23bf336d7cba8dfc6e95f73ed32b4 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Sat, 19 Mar 2011 23:26:32 +0100 Subject: Ubuntu packaging magic, forgotten header files, an icon. --- package/ubuntu-10.10/99-dfhack.conf | 6 ++++++ package/ubuntu-10.10/postinst | 3 +++ package/ubuntu-10.10/postrm | 2 ++ package/ubuntu-10.10/preinst | 3 +++ 4 files changed, 14 insertions(+) create mode 100644 package/ubuntu-10.10/99-dfhack.conf create mode 100755 package/ubuntu-10.10/postinst create mode 100755 package/ubuntu-10.10/postrm create mode 100755 package/ubuntu-10.10/preinst (limited to 'package') diff --git a/package/ubuntu-10.10/99-dfhack.conf b/package/ubuntu-10.10/99-dfhack.conf new file mode 100644 index 00000000..bc7cd2bc --- /dev/null +++ b/package/ubuntu-10.10/99-dfhack.conf @@ -0,0 +1,6 @@ +# some settings required for dfhack. fucks up local security... +# shame on kernel devs and ubuntu people for not providing +# an /official/ way to manipulate things and just putting up roadblocks +# instead of proper design +kernel.randomize_va_space = 0 +kernel.yama.ptrace_scope = 0 \ No newline at end of file diff --git a/package/ubuntu-10.10/postinst b/package/ubuntu-10.10/postinst new file mode 100755 index 00000000..040e2b03 --- /dev/null +++ b/package/ubuntu-10.10/postinst @@ -0,0 +1,3 @@ +#!/bin/sh +sysctl -w kernel.randomize_va_space=0 +sysctl -w kernel.yama.ptrace_scope=0 \ No newline at end of file diff --git a/package/ubuntu-10.10/postrm b/package/ubuntu-10.10/postrm new file mode 100755 index 00000000..3b8cdfc6 --- /dev/null +++ b/package/ubuntu-10.10/postrm @@ -0,0 +1,2 @@ +#!/bin/sh +# do nothing. blah. \ No newline at end of file diff --git a/package/ubuntu-10.10/preinst b/package/ubuntu-10.10/preinst new file mode 100755 index 00000000..b194ee6c --- /dev/null +++ b/package/ubuntu-10.10/preinst @@ -0,0 +1,3 @@ +#!/bin/sh +mkdir -p /usr/share/dfhack/doc +mkdir -p /usr/share/dfhack \ No newline at end of file -- cgit v1.2.1