summaryrefslogtreecommitdiff
path: root/libre/paxd-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/paxd-libre')
-rw-r--r--libre/paxd-libre/PKGBUILD4
-rw-r--r--libre/paxd-libre/fix_issues.patch29
2 files changed, 31 insertions, 2 deletions
diff --git a/libre/paxd-libre/PKGBUILD b/libre/paxd-libre/PKGBUILD
index 5b7954a39..ebba6335c 100644
--- a/libre/paxd-libre/PKGBUILD
+++ b/libre/paxd-libre/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=paxd
pkgname=paxd-libre
pkgver=1.3
-pkgrel=2
+pkgrel=3
pkgdesc='PaX exception daemon (a libre fork of paxd)'
arch=(i686 x86_64)
url='https://github.com/g4jc/paxd-libre/'
@@ -18,7 +18,7 @@ source=(https://github.com/g4jc/paxd-libre/archive/$pkgver.tar.gz 10-enable-pax.
fix_issues.patch)
md5sums=('0eb1c2271cd3e893d4ed1bdf4772d714'
'a40677d2cd39ada4c2560927c67e0ea2'
- 'b4c7f8929ddcf94e19155d27c11d0231')
+ '65b14c96ced5d3e98f3bfb8ab9ca3894')
backup=(etc/paxd-libre.conf)
prepare() {
diff --git a/libre/paxd-libre/fix_issues.patch b/libre/paxd-libre/fix_issues.patch
index 07120cd51..e91508962 100644
--- a/libre/paxd-libre/fix_issues.patch
+++ b/libre/paxd-libre/fix_issues.patch
@@ -1,3 +1,32 @@
+diff -Nur paxd-libre-1.3.orig/flags.c paxd-libre-1.3/flags.c
+--- paxd-libre-1.3.orig/flags.c 2014-11-08 19:40:27.000000000 -0200
++++ paxd-libre-1.3/flags.c 2014-12-29 23:04:54.096274926 -0200
+@@ -16,13 +16,13 @@
+ }
+
+ static void line_ignored(size_t n, const char *line) {
+- fprintf(stderr, "ignored invalid line %zu in /etc/paxd-libre-libre.conf: %s", n, line);
++ fprintf(stderr, "ignored invalid line %zu in /etc/paxd-libre.conf: %s", n, line);
+ }
+
+ void update_attributes(void) {
+- FILE *conf = fopen("/etc/paxd-libre-libre.conf", "r");
++ FILE *conf = fopen("/etc/paxd-libre.conf", "r");
+ if (!conf) {
+- perror("could not open /etc/paxd-libre-libre.conf");
++ perror("could not open /etc/paxd-libre.conf");
+ return;
+ }
+
+@@ -33,7 +33,7 @@
+ ssize_t bytes_read = getline(&line, &line_len, conf);
+ if (bytes_read == -1) {
+ if (ferror(conf)) {
+- perror("failed to read line from /etc/paxd-libre-libre.conf");
++ perror("failed to read line from /etc/paxd-libre.conf");
+ break;
+ } else {
+ break;
diff -Nur paxd-libre-1.3.orig/paxd-libre.c paxd-libre-1.3/paxd-libre.c
--- paxd-libre-1.3.orig/paxd-libre.c 2014-11-08 19:40:27.000000000 -0200
+++ paxd-libre-1.3/paxd-libre.c 2014-11-28 15:30:42.304537269 -0200