Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=15a83609ad41eb77e7c458fe318592e705e0ae0d

commit 15a83609ad41eb77e7c458fe318592e705e0ae0d
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Wed May 14 21:34:25 2008 +0200

ash-0.4.0-5-i686
- moved to extra

diff --git a/source/apps-extra/ash/FrugalBuild 
b/source/apps-extra/ash/FrugalBuild
new file mode 100644
index 0000000..d2312b1
--- /dev/null
+++ b/source/apps-extra/ash/FrugalBuild
@@ -0,0 +1,29 @@
+# Compiling Time: 0.06 SBU
+# Maintainer: VMiklos <[EMAIL PROTECTED]>
+
+pkgname=ash
+pkgver=0.4.0
+pkgrel=5
+pkgdesc="A lightweight (92K) Bourne compatible shell"
+url="http://cvsweb.netbsd.org/bsdweb.cgi/src/bin/sh/";
+depends=('sed')
+groups=('apps-extra')
+archs=('i686' 'x86_64')
+up2date="lynx -dump 
ftp://ftp.slackware.com/pub/slackware/slackware-current/source/ap/ash|Flasttar"
+source=(ftp://ftp.slackware.com/pub/slackware/slackware-current/source/ap/$pkgname/$pkgname-$pkgver.tar.gz
 \
+       
http://ftp.frugalware.org/pub/other/sources/ash/$pkgname-$pkgver.diff.bz2 \
+       $pkgname-$pkgver-gcc4.diff)
+sha1sums=('9a1695c84734a82b4682237385f7cd6f39a7bd51' \
+          '964d796a695a2053107593c1c7b44acee6c36d6d' \
+          'b6de42cd42dae5a1fbf1d036a3e97d22c845c5fa')
+
+build()
+{
+       unset MAKEFLAGS
+       Fpatchall
+       Fmake
+       Fexerel sh /bin/ash
+       Ffilerel sh.1 /usr/share/man/man1/ash.1
+}
+
+# optimization OK
diff --git a/source/apps-extra/ash/ash-0.4.0-gcc4.diff 
b/source/apps-extra/ash/ash-0.4.0-gcc4.diff
new file mode 100644
index 0000000..4ce93d6
--- /dev/null
+++ b/source/apps-extra/ash/ash-0.4.0-gcc4.diff
@@ -0,0 +1,9 @@
+diff -Naur ash-0.4.0.orig/hetio.h ash-0.4.0/hetio.h
+--- ash-0.4.0.orig/hetio.h     2005-08-21 15:47:31.000000000 +0200
++++ ash-0.4.0/hetio.h  2005-08-21 15:48:37.000000000 +0200
+@@ -19,4 +19,4 @@
+ int hetio_read_input(int fd);
+ void hetio_reset_term(void);
+
+-extern int hetio_inter;
++//extern int hetio_inter;
diff --git a/source/apps-extra/ash/ash.install 
b/source/apps-extra/ash/ash.install
new file mode 100644
index 0000000..8bab558
--- /dev/null
+++ b/source/apps-extra/ash/ash.install
@@ -0,0 +1,27 @@
+# arg 1: the new package version
+post_install() {
+       echo -n "updating /etc/shells... "
+       sed -i '/\(\/usr\)\/bin\/ash/ d' /etc/shells
+       echo "/bin/ash" >> /etc/shells
+       echo "done."
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+       post_install $1
+}
+
+# arg 1: the old package version
+pre_remove() {
+       echo -n "updating /etc/shells... "
+       sed -i '/\/bin\/ash/ d' /etc/shells
+       echo "done."
+}
+
+op=$1
+shift
+
+$op $*
+
+# vim: ft=sh
diff --git a/source/apps/ash/FrugalBuild b/source/apps/ash/FrugalBuild
deleted file mode 100644
index ab82068..0000000
--- a/source/apps/ash/FrugalBuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Compiling Time: 0.06 SBU
-# Maintainer: VMiklos <[EMAIL PROTECTED]>
-
-pkgname=ash
-pkgver=0.4.0
-pkgrel=5
-pkgdesc="A lightweight (92K) Bourne compatible shell"
-url="http://cvsweb.netbsd.org/bsdweb.cgi/src/bin/sh/";
-depends=('sed')
-groups=('apps')
-archs=('i686' 'x86_64')
-up2date="lynx -dump 
ftp://ftp.slackware.com/pub/slackware/slackware-current/source/ap/ash|Flasttar"
-source=(ftp://ftp.slackware.com/pub/slackware/slackware-current/source/ap/$pkgname/$pkgname-$pkgver.tar.gz
 \
-       
http://ftp.frugalware.org/pub/other/sources/ash/$pkgname-$pkgver.diff.bz2 \
-       $pkgname-$pkgver-gcc4.diff)
-sha1sums=('9a1695c84734a82b4682237385f7cd6f39a7bd51' \
-          '964d796a695a2053107593c1c7b44acee6c36d6d' \
-          'b6de42cd42dae5a1fbf1d036a3e97d22c845c5fa')
-unset MAKEFLAGS
-
-build() {
-       Fpatchall
-       Fmake
-       Fexerel sh /bin/ash
-       Ffilerel sh.1 /usr/share/man/man1/ash.1
-}
-
-# optimization OK
diff --git a/source/apps/ash/ash-0.4.0-gcc4.diff 
b/source/apps/ash/ash-0.4.0-gcc4.diff
deleted file mode 100644
index 4ce93d6..0000000
--- a/source/apps/ash/ash-0.4.0-gcc4.diff
+++ /dev/null
@@ -1,9 +0,0 @@
-diff -Naur ash-0.4.0.orig/hetio.h ash-0.4.0/hetio.h
---- ash-0.4.0.orig/hetio.h     2005-08-21 15:47:31.000000000 +0200
-+++ ash-0.4.0/hetio.h  2005-08-21 15:48:37.000000000 +0200
-@@ -19,4 +19,4 @@
- int hetio_read_input(int fd);
- void hetio_reset_term(void);
-
--extern int hetio_inter;
-+//extern int hetio_inter;
diff --git a/source/apps/ash/ash.install b/source/apps/ash/ash.install
deleted file mode 100644
index 8bab558..0000000
--- a/source/apps/ash/ash.install
+++ /dev/null
@@ -1,27 +0,0 @@
-# arg 1: the new package version
-post_install() {
-       echo -n "updating /etc/shells... "
-       sed -i '/\(\/usr\)\/bin\/ash/ d' /etc/shells
-       echo "/bin/ash" >> /etc/shells
-       echo "done."
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
-       post_install $1
-}
-
-# arg 1: the old package version
-pre_remove() {
-       echo -n "updating /etc/shells... "
-       sed -i '/\/bin\/ash/ d' /etc/shells
-       echo "done."
-}
-
-op=$1
-shift
-
-$op $*
-
-# vim: ft=sh
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to