summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Chapuis2018-03-09 12:04:13 +0100
committerPierre Chapuis2018-03-09 12:04:13 +0100
commitaf8e44d1dda10ca23f8c415a2a159d92b7990d4f (patch)
tree3adc3de6eb71f3afa660401c33f86bbe77fad1ef
downloadaur-execstack.tar.gz
initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ddf8ca02ba5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = execstack
+ pkgdesc = set the executable stack flag of ELF binaries and libraries
+ pkgver = 20130503
+ pkgrel = 7
+ url = https://people.redhat.com/jakub/prelink
+ arch = x86_64
+ license = GPL
+ depends = libelf
+ depends = elfutils
+ conflicts = prelink
+ source = https://people.redhat.com/jakub/prelink/prelink-20130503.tar.bz2
+ sha256sums = 6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0
+
+pkgname = execstack
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ff46bdb2ee9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Pierre Chapuis <catwell at archlinux dot us>
+
+pkgname=execstack
+pkgver=20130503
+pkgrel=7
+pkgdesc="set the executable stack flag of ELF binaries and libraries"
+depends=(libelf elfutils)
+arch=("x86_64")
+url="https://people.redhat.com/jakub/prelink"
+license=("GPL")
+conflicts=(prelink)
+source=("https://people.redhat.com/jakub/prelink/prelink-$pkgver.tar.bz2")
+sha256sums=("6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0")
+
+build() {
+ cd "prelink"
+ ./configure
+ cd "src"
+ make execstack
+}
+
+package() {
+ cd "prelink/src"
+ mkdir -p "$pkgdir/usr/bin"
+ cp execstack "$pkgdir/usr/bin"
+}