summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPetr Mrázek2011-06-20 01:12:07 +0200
committerPetr Mrázek2011-06-20 01:12:07 +0200
commitf2b91d32690988241c3311d62bab780803682906 (patch)
treefac5f73d763ceea966dd035f0f8489999ca62676 /package
parente0fb8f7c81785030fc532fecd4863c6b0cbb36be (diff)
downloaddfhack-f2b91d32690988241c3311d62bab780803682906.tar.gz
dfhack-f2b91d32690988241c3311d62bab780803682906.tar.bz2
dfhack-f2b91d32690988241c3311d62bab780803682906.tar.xz
Making ready for adding plugins. Fixes all over the place, more removal of obsolete parts.
Diffstat (limited to 'package')
-rw-r--r--package/debian/99-dfhack.conf2
-rwxr-xr-xpackage/debian/postinst2
-rwxr-xr-xpackage/debian/postrm2
-rwxr-xr-xpackage/debian/preinst2
-rw-r--r--package/ubuntu-10.10/99-dfhack.conf6
-rwxr-xr-xpackage/ubuntu-10.10/postinst13
-rwxr-xr-xpackage/ubuntu-10.10/postrm2
-rwxr-xr-xpackage/ubuntu-10.10/preinst2
8 files changed, 0 insertions, 31 deletions
diff --git a/package/debian/99-dfhack.conf b/package/debian/99-dfhack.conf
deleted file mode 100644
index a0a17e68..00000000
--- a/package/debian/99-dfhack.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-# some settings required for dfhack. fucks up local security...
-kernel.randomize_va_space = 0 \ No newline at end of file
diff --git a/package/debian/postinst b/package/debian/postinst
deleted file mode 100755
index 13f47935..00000000
--- a/package/debian/postinst
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-
diff --git a/package/debian/postrm b/package/debian/postrm
deleted file mode 100755
index 3b8cdfc6..00000000
--- a/package/debian/postrm
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-# do nothing. blah. \ No newline at end of file
diff --git a/package/debian/preinst b/package/debian/preinst
deleted file mode 100755
index 13f47935..00000000
--- a/package/debian/preinst
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-
diff --git a/package/ubuntu-10.10/99-dfhack.conf b/package/ubuntu-10.10/99-dfhack.conf
deleted file mode 100644
index bc7cd2bc..00000000
--- a/package/ubuntu-10.10/99-dfhack.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-# 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
deleted file mode 100755
index ed50fde4..00000000
--- a/package/ubuntu-10.10/postinst
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-echo "Setting required kernel parameters."
-# I actually do it three times, hoping to hammer this into Ubuntu's dense skull.
-sysctl -w kernel.randomize_va_space=0
-sysctl -w kernel.yama.ptrace_scope=0
-if grep -q "kernel.yama.ptrace_scope=0" /etc/sysctl.conf
-then
- echo "Already installed into /etc/sysctl.conf, doing nothing."
-else
- echo "kernel.randomize_va_space=0" >> /etc/sysctl.conf
- echo "kernel.yama.ptrace_scope=0" >> /etc/sysctl.conf
-fi
-
diff --git a/package/ubuntu-10.10/postrm b/package/ubuntu-10.10/postrm
deleted file mode 100755
index 3b8cdfc6..00000000
--- a/package/ubuntu-10.10/postrm
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/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
deleted file mode 100755
index 13f47935..00000000
--- a/package/ubuntu-10.10/preinst
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-