summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPetr Mrázek2011-03-19 23:26:32 +0100
committerPetr Mrázek2011-03-19 23:26:32 +0100
commit1481b07b6bd23bf336d7cba8dfc6e95f73ed32b4 (patch)
tree0dcd3afbd795002f2fa691a81bf0471e870333f2 /package
parent2bc7aacb7946722bcfdfc76ccae333546ba1f5dc (diff)
downloaddfhack-1481b07b6bd23bf336d7cba8dfc6e95f73ed32b4.tar.gz
dfhack-1481b07b6bd23bf336d7cba8dfc6e95f73ed32b4.tar.bz2
dfhack-1481b07b6bd23bf336d7cba8dfc6e95f73ed32b4.tar.xz
Ubuntu packaging magic, forgotten header files, an icon.
Diffstat (limited to 'package')
-rw-r--r--package/ubuntu-10.10/99-dfhack.conf6
-rwxr-xr-xpackage/ubuntu-10.10/postinst3
-rwxr-xr-xpackage/ubuntu-10.10/postrm2
-rwxr-xr-xpackage/ubuntu-10.10/preinst3
4 files changed, 14 insertions, 0 deletions
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