summaryrefslogtreecommitdiff
path: root/prelink
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2012-03-04 20:35:09 +1100
committerDanny Rawlins <monster.romster@gmail.com>2012-03-04 20:35:09 +1100
commit8a000220f757164b343632fc3d71424546c73ff8 (patch)
treeb30d926452bf32fa898c200c34ec066b79d89166 /prelink
parent6052abfa0652022c6ccf05c0e93b894c07e942a3 (diff)
downloadopt-8a000220f757164b343632fc3d71424546c73ff8.tar.gz
opt-8a000220f757164b343632fc3d71424546c73ff8.tar.xz
prelink: initial import
Diffstat (limited to 'prelink')
-rw-r--r--prelink/.footprint11
-rw-r--r--prelink/.md5sum2
-rw-r--r--prelink/Pkgfile24
-rw-r--r--prelink/prelink.conf38
4 files changed, 75 insertions, 0 deletions
diff --git a/prelink/.footprint b/prelink/.footprint
new file mode 100644
index 000000000..c476dcf98
--- /dev/null
+++ b/prelink/.footprint
@@ -0,0 +1,11 @@
+drwxr-xr-x root/root etc/
+-rwxr-xr-x root/root etc/prelink.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/execstack
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man8/
+-rw-r--r-- root/root usr/man/man8/execstack.8.gz
+-rw-r--r-- root/root usr/man/man8/prelink.8.gz
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/prelink
diff --git a/prelink/.md5sum b/prelink/.md5sum
new file mode 100644
index 000000000..f4ce0b170
--- /dev/null
+++ b/prelink/.md5sum
@@ -0,0 +1,2 @@
+f5aaf347432d677c293e5e3399ba4fdf prelink-20111012.tar.bz2
+775c0df4d989d6f60fe719c543e7a31e prelink.conf
diff --git a/prelink/Pkgfile b/prelink/Pkgfile
new file mode 100644
index 000000000..f2789adb5
--- /dev/null
+++ b/prelink/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Modifies ELFs to avoid runtime symbol resolutions resulting in faster load times.
+# URL: http://people.redhat.com/jakub/prelink/
+# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
+# Packager: Falcony, falcony at users dot sourceforge dot net
+# Depends on: libelf
+
+name=prelink
+version=20111012
+release=1
+source=(http://people.redhat.com/jakub/prelink/$name-$version.tar.bz2
+ prelink.conf)
+
+build() {
+ cd $name
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-debug
+
+ make
+ make DESTDIR=$PKG install
+ install -D $SRC/prelink.conf $PKG/etc/prelink.conf
+}
diff --git a/prelink/prelink.conf b/prelink/prelink.conf
new file mode 100644
index 000000000..09acd8641
--- /dev/null
+++ b/prelink/prelink.conf
@@ -0,0 +1,38 @@
+# This config file contains a list of directories both with binaries
+# and libraries prelink should consider by default.
+# If a directory name is prefixed with `-l ', the directory hierarchy
+# will be walked as long as filesystem boundaries are not crossed.
+# If a directory name is prefixed with `-h ', symbolic links in a
+# directory hierarchy are followed.
+# Directories or files with `-b ' prefix will be blacklisted.
+-b *.la
+-b *.png
+-b *.py
+-b *.pl
+-b *.pm
+-b *.sh
+-b *.xml
+-b *.xslt
+-b *.a
+-b *.js
+-b /lib/modules
+-b /usr/lib/locale
+-b /usr/X11R6/lib{,64}/X11/xfig
+-l /bin
+-l /usr/bin
+-l /sbin
+-l /usr/sbin
+-l /usr/X11R6/bin
+-l /usr/kerberos/bin
+-l /usr/games
+-l /usr/libexec
+-l /usr/lib/qt
+-l /usr/lib/kde3
+-l /var/ftp/bin
+-l /lib{,64}
+-l /usr/lib{,64}
+-l /usr/X11R6/lib{,64}
+-l /usr/kerberos/lib{,64}
+-l /usr/X11R6/LessTif
+-l /var/ftp/lib{,64}
+-b /usr/lib/wine

Generated by cgit