ports/opt (3.1): dash: moved from contrib
commit 2c4b03987a5947b481047f79b2047d797f2dd88a Author: Thomas Penteker <tek@serverop.de> Date: Tue Oct 21 15:21:35 2014 +0200 dash: moved from contrib diff --git a/dash/.footprint b/dash/.footprint new file mode 100644 index 0000000..6554042 --- /dev/null +++ b/dash/.footprint @@ -0,0 +1,8 @@ +drwxr-xr-x root/root bin/ +lrwxrwxrwx root/root bin/ash -> dash +-rwxr-xr-x root/root bin/dash +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +lrwxrwxrwx root/root usr/man/man1/ash.1.gz -> dash.1.gz +-rw-r--r-- root/root usr/man/man1/dash.1.gz diff --git a/dash/.md5sum b/dash/.md5sum new file mode 100644 index 0000000..9d00459 --- /dev/null +++ b/dash/.md5sum @@ -0,0 +1 @@ +5c152209680dab3c319e8923f6c51378 dash-0.5.8.tar.gz diff --git a/dash/Pkgfile b/dash/Pkgfile new file mode 100644 index 0000000..d001398 --- /dev/null +++ b/dash/Pkgfile @@ -0,0 +1,24 @@ +# Description: The Almquist shell, a POSIX-compliant /bin/sh implementation +# URL: http://gondor.apana.org.au/~herbert/dash/ +# Packager: Mark Rosenstand, mark at borkware dot net +# Maintainer: Thomas Penteker, tek at serverop dot de +# Depends on: + +name=dash +version=0.5.8 +release=1 +source=(http://gondor.apana.org.au/~herbert/dash/files/dash-$version.tar.gz) + +build() { + cd dash-$version + + ./configure \ + --prefix= \ + --mandir=/usr/man + + make + make DESTDIR=$PKG install + + ln -s dash $PKG/bin/ash + ln -s dash.1 $PKG/usr/man/man1/ash.1 +} diff --git a/dash/post-install b/dash/post-install new file mode 100755 index 0000000..2fecde7 --- /dev/null +++ b/dash/post-install @@ -0,0 +1,5 @@ +#!/bin/sh +if ! grep dash /etc/shells > /dev/null 2>&1; then + echo "Adding dash to /etc/shells ..." + echo "/bin/dash" >> /etc/shells +fi
participants (1)
-
crux@crux.nu