summaryrefslogtreecommitdiff
path: root/pcr/openhpi
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-05-29 14:56:12 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-05-29 14:56:12 -0300
commit93a039eadabb96e28b2b8668bff26437a95bbb45 (patch)
tree41a681781d594f837e5e262a4c6061c48b82e649 /pcr/openhpi
parentd61a193bc8cdf55fbb1d8640ced4aafec5ab4ee4 (diff)
openhpi: fixing pkg
Diffstat (limited to 'pcr/openhpi')
-rw-r--r--pcr/openhpi/PKGBUILD44
1 files changed, 39 insertions, 5 deletions
diff --git a/pcr/openhpi/PKGBUILD b/pcr/openhpi/PKGBUILD
index 6389ff39c..56cb8f2b7 100644
--- a/pcr/openhpi/PKGBUILD
+++ b/pcr/openhpi/PKGBUILD
@@ -1,8 +1,8 @@
-# Maintainer: Márcio Silva <coadde@lavabit.com>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=openhpi
pkgver=3.2.0
-pkgrel=1
+pkgrel=2
pkgdesc='Abstracted interface for managing computer hardware, typically chassis and rack based servers'
arch=(
i686
@@ -20,6 +20,8 @@ sha512sums=5a54ccc2279b3a608e2842dd3b4f01d7d483182ecd33d1d33186247cea15b62f1e0ae
prepare() {
cd $srcdir/$pkgname-$pkgver
+
+ # fixing path
sed -i 's|bin/sh|usr/bin/bash|;
' $(grep -rl bin/sh)
sed -i 's|usr/sbin|usr/bin|;
@@ -32,10 +34,42 @@ prepare() {
' $(grep -rl var/lock)
sed -i 's|var/run|run|;
' $(grep -rl var/run)
- sed -i '/Like Linux/ s|Linux|GNU/Linux|;
- /Linux and Compaq Tru64 Unix/ s|Linux|GNU/Linux|;
+
+ # remove Open Source term
+ #sed -i 's|Open Source / ||;
+ # s|open source / ||;
+ # s|Open Source|Free Software|;
+ # s|open source|free software|;
+ # ' $(grep -ril 'open source')
+ #sed -i 's|OpenSource / ||;
+ # s|opensource / ||;
+ # s|OpenSource|FreeSoftware|;
+ # s|opensource|freesoftware|;
+ # ' $(grep -ril opensource)
+
+ # remove Linux term
+ sed -i '/, Linux/ s|Linux|GNU/Linux|;
+ /And Linux/ s|Linux|GNU/Linux|;
+ /and Linux/ s|Linux|GNU/Linux|;
+ /For Linux/ s|Linux|GNU/Linux|;
+ /for Linux/ s|Linux|GNU/Linux|;
+ /Like Linux/ s|Linux|GNU/Linux|;
+ /like Linux/ s|Linux|GNU/Linux|;
+ /Linux,/ s|Linux|GNU/Linux|;
+ /Linux and/ s|Linux|GNU/Linux|;
/Linux distribution/ s|Linux|GNU/Linux|;
- /Linux software/ s|Linux|GNU/Linux|;
+ /Linux machine/ s|Linux|GNU/Linux|;
+ /Linux operating/ s|Linux|GNU/Linux|;
+ /Linux OS/ s|Linux|GNU/Linux|;
+ /Linux specific/ s|Linux|GNU/Linux|;
+ /Linux system/ s|Linux|GNU/Linux|;
+ /Under Linux/ s|Linux|GNU/Linux|;
+ /under Linux/ s|Linux|GNU/Linux|;
+ /On Linux/ s|Linux|GNU/Linux|;
+ /on Linux/ s|Linux|GNU/Linux|;
+ s|GNU/GNU|GNU|;
+ s|GNU/Linux kernel|Linux kernel|;
+ s|GNU/Linux specific kernel|Linux specific kernel|;
' $(grep -rl Linux)
}