diff --git a/prelink/.footprint b/prelink/.footprint new file mode 100644 index 000000000..7f17ed750 --- /dev/null +++ b/prelink/.footprint @@ -0,0 +1,12 @@ +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/sbin/ +-rwxr-xr-x root/root usr/sbin/prelink +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/execstack.8.gz +-rw-r--r-- root/root usr/share/man/man8/prelink.8.gz diff --git a/prelink/.signature b/prelink/.signature new file mode 100644 index 000000000..cc721322b --- /dev/null +++ b/prelink/.signature @@ -0,0 +1,6 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF34YQ+9n0BKIG6GgvVwP0tPWyb9m5VFipxTI5yR8s0/afX+tqYcKMJXjf2fOMNm1ohAPo6wZvdWQP8K1IOk/xyQk= +SHA256 (Pkgfile) = 460eb468733f769151406a3ac78f53fabd71fa358acf91027b2ef7ffb25608e6 +SHA256 (.footprint) = 77ea0b5420f04155bc49ef5e1bac88e991aa5509d7b428d3dfc6443768d4ffd6 +SHA256 (prelink-20130503.tar.bz2) = 6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0 +SHA256 (prelink.conf) = e5a2ad10877107f84f6e223e21f531eadce18be220017da2d6da2a503c80615f diff --git a/prelink/Pkgfile b/prelink/Pkgfile new file mode 100644 index 000000000..e602700c3 --- /dev/null +++ b/prelink/Pkgfile @@ -0,0 +1,25 @@ +# Description: a tool designed to speed up dynamic linking of ELF Programs +# URL: https://people.redhat.com/jakub/prelink +# Maintainer: unmaintained +# Depends on: elfutils + +name=prelink +version=20130503 +release=1 +source=(https://people.redhat.com/jakub/prelink/$name-$version.tar.bz2 + prelink.conf) + +build() { + cd $name + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --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