From 87734cb780ecfb2d5c129890a5fc5ff16d9efe06 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 28 May 2013 19:02:21 -0600 Subject: update libre-testing/libretools --- libre-testing/libretools/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libre-testing/libretools/PKGBUILD b/libre-testing/libretools/PKGBUILD index 4cc908d67..135cf44c1 100644 --- a/libre-testing/libretools/PKGBUILD +++ b/libre-testing/libretools/PKGBUILD @@ -8,8 +8,8 @@ pkgdesc="Programs for Parabola development" url="https://projects.parabolagnulinux.org/packages/libretools.git/" license=('GPL3' 'GPL2') -pkgver=20130528 -_libretools_commit=25bd327ad06d0497e9888ebc7c4bbbd6cab11f12 +pkgver=20130528.1 +_libretools_commit=b4341ef8e90abe99d188dc444ff837a7aba756fa _devtools_commit=d197eacf8b7aba0796a0f6ac6ac1667564bd614e _packages_url=https://projects.parabolagnulinux.org/packages @@ -63,5 +63,5 @@ package_libretools-mips64el() { make install-libretools-mips64el DESTDIR="$pkgdir" } -md5sums=('bfe855aaa86f276fe1179d2d08b8d394' +md5sums=('ddc7ae68f8451b7ac64347392bc26683' '05b987e6b39c963154489ac6d01d0965') -- cgit v1.2.3-2-g168b From 378ad0b28f2408c4fe5d2799c289fb7ba1c5e7da Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 28 May 2013 19:45:52 -0600 Subject: update libre-testing/libretools --- libre-testing/libretools/PKGBUILD | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libre-testing/libretools/PKGBUILD b/libre-testing/libretools/PKGBUILD index 135cf44c1..430ab93d5 100644 --- a/libre-testing/libretools/PKGBUILD +++ b/libre-testing/libretools/PKGBUILD @@ -8,8 +8,8 @@ pkgdesc="Programs for Parabola development" url="https://projects.parabolagnulinux.org/packages/libretools.git/" license=('GPL3' 'GPL2') -pkgver=20130528.1 -_libretools_commit=b4341ef8e90abe99d188dc444ff837a7aba756fa +pkgver=20130528.2 +_libretools_commit=e5c22aaf01484e7fa5926952bbcacd56228dbb64 _devtools_commit=d197eacf8b7aba0796a0f6ac6ac1667564bd614e _packages_url=https://projects.parabolagnulinux.org/packages @@ -30,13 +30,21 @@ build() { check() { cd "$srcdir/$pkgbase-$_libretools_commit" + + # some tests require 'sudo'; trick those into passing + mkdir "$srcdir/bin" + ln -s $(which true) "$srcdir/bin/sudo" + _PATH=$PATH + export PATH="$srcdir/bin:$PATH" + make check + + export PATH=$_PATH } package_libretools() { backup=(etc/libretools.conf etc/libretools.d/chroot.conf etc/libretools.d/librefetch.conf) install=libretools.install - groups=(base-devel) replaces=(chroottools) depends=( @@ -63,5 +71,5 @@ package_libretools-mips64el() { make install-libretools-mips64el DESTDIR="$pkgdir" } -md5sums=('ddc7ae68f8451b7ac64347392bc26683' +md5sums=('47ff5308a56dd8ae2cf18b82a99b0021' '05b987e6b39c963154489ac6d01d0965') -- cgit v1.2.3-2-g168b From 6b2c8aa7b11e2d30b8ed5353b7f135f3fdd94c2f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 28 May 2013 21:00:26 -0600 Subject: add sh-roundup and its deps to libre-testing --- libre-testing/ronn/PKGBUILD | 32 +++++++++++++++++++++ libre-testing/ruby-hpricot/PKGBUILD | 25 ++++++++++++++++ libre-testing/ruby-mustache/PKGBUILD | 31 ++++++++++++++++++++ libre-testing/ruby-rdiscount/PKGBUILD | 38 +++++++++++++++++++++++++ libre-testing/sh-roundup/PKGBUILD | 44 +++++++++++++++++++++++++++++ libre-testing/sh-roundup/makefile-fix.patch | 11 ++++++++ 6 files changed, 181 insertions(+) create mode 100644 libre-testing/ronn/PKGBUILD create mode 100644 libre-testing/ruby-hpricot/PKGBUILD create mode 100644 libre-testing/ruby-mustache/PKGBUILD create mode 100644 libre-testing/ruby-rdiscount/PKGBUILD create mode 100644 libre-testing/sh-roundup/PKGBUILD create mode 100644 libre-testing/sh-roundup/makefile-fix.patch diff --git a/libre-testing/ronn/PKGBUILD b/libre-testing/ronn/PKGBUILD new file mode 100644 index 000000000..4bd097048 --- /dev/null +++ b/libre-testing/ronn/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Luke Shumaker +# Maintainer (AUR): David Campbell + +_gemname=mustache +pkgname=ruby-$_gemname +pkgver=0.99.4 +pkgdesc="A framework-agnostic way to render logic-free views." +url="http://mustache.github.io/" +license=('custom:MIT') + +pkgrel=3 +arch=('any') +depends=('ruby>=2') +makedepends=('rubygems') +source=("http://gems.rubyforge.org/gems/mustache-${pkgver}.gem") +md5sums=('650194ec2c166feb087377647414b9dc') +noextract=($_gemname-$pkgver.gem) + +package() { + cd "${srcdir}" + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \ + "$_gemname-$pkgver.gem" + + install -Dm644 "$pkgdir$_gemdir"/gems/$_gemname-$pkgver/LICENSE \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + shopt -s nullglob + for file in "$pkgdir$_gemdir"/gems/$_gemname-$pkgver/man/*.{1..8}; do + install -Dm644 "$file" "$pkgdir"/usr/share/man/man${file##*.}/${file##*/} + done +} diff --git a/libre-testing/ruby-rdiscount/PKGBUILD b/libre-testing/ruby-rdiscount/PKGBUILD new file mode 100644 index 000000000..76e4b58bd --- /dev/null +++ b/libre-testing/ruby-rdiscount/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Luke Shumaker +# Contributor: Massimiliano Torromeo + +_gemname=rdiscount +pkgname=ruby-$_gemname +pkgver=1.6.5 +pkgdesc="C implementation of John Gruber's Markdown." +url="http://dafoster.net/projects/rdiscount/" + +# About the license: It is a 4-clause BSD license with the 3rd clause modified +# to mention documentation instead of advertising. Not to be confused with +# "Modified BSD", which the FSF uses to refer to a 3-clause BSD license +# (dropping the 3rd clause). Because of the way it is modified, it doesn't have +# the problems normally associated with the 4-clause BSD license. +license=('custom:modified-BSD4') + +pkgrel=2 +arch=('i686' 'x86_64') +depends=('ruby') +makedepends=('rubygems') +source=(http://rubygems.org/downloads/$_gemname-$pkgver.gem) +noextract=($_gemname-$pkgver.gem) +md5sums=('2de321f1ba826f80b84fe45c0d013fcf') + +package() { + cd "${srcdir}" + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \ + "$_gemname-$pkgver.gem" + + install -Dm644 "$pkgdir$_gemdir"/gems/$_gemname-$pkgver/COPYING \ + "$pkgdir"/usr/share/licenses/$pkgname/COPYING + shopt -s nullglob + for file in "$pkgdir$_gemdir"/gems/$_gemname-$pkgver/man/*.{1..8}; do + install -Dm644 "$file" "$pkgdir"/usr/share/man/man${file##*.}/${file##*/} + done +} diff --git a/libre-testing/sh-roundup/PKGBUILD b/libre-testing/sh-roundup/PKGBUILD new file mode 100644 index 000000000..7c17669d3 --- /dev/null +++ b/libre-testing/sh-roundup/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Luke Shumaker /dev/null ; done ++ shopt -s nullglob; for file in *.{1..9}; do install -Dm644 $$file $(mandir)/man$${file##*.}/$${file##*/}; done + + .PHONY: pages + pages : doc -- cgit v1.2.3-2-g168b From 9c502dcd730eff7ffaeb851a5cfe4f04c51bb5aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Alexandre=20Silva=20Delgado?= Date: Wed, 29 May 2013 03:00:14 -0300 Subject: jitsi: fixing terms --- pcr/jitsi/PKGBUILD | 59 ++++++++++++++++++++----- pcr/jitsi/drop-open-term-on-index-jn-html.patch | 6 +++ 2 files changed, 53 insertions(+), 12 deletions(-) create mode 100644 pcr/jitsi/drop-open-term-on-index-jn-html.patch diff --git a/pcr/jitsi/PKGBUILD b/pcr/jitsi/PKGBUILD index 86169125a..87913af64 100644 --- a/pcr/jitsi/PKGBUILD +++ b/pcr/jitsi/PKGBUILD @@ -1,12 +1,13 @@ # Maintainer: Xavier Devlamynck # Contributors: Keshav P R, atommix aka Aleks Lifey, Xavion, Ananda Samaddar, Dan Serban, Xyne # Maintainer (Parabola): André Silva +# Contributor (Parabola): Márcio Silva pkgname=jitsi pkgver=2.2.4603.9615 pkgrel=2 pkgdesc="An audio/video SIP VoIP phone and instant messenger written in Java (formerly SIP-Communicator)" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://jitsi.org" license=('LGPL') depends=('jre7-openjdk') @@ -14,30 +15,64 @@ makedepends=('apache-ant' 'jdk7-openjdk') options=(!strip !emptydirs zipman !libtool docs) source=("http://download.jitsi.org/jitsi/src/jitsi-src-${pkgver}.zip" jitsi.desktop - jitsi.sh) + jitsi.sh + drop-open-term-on-index-jn-html.patch) sha256sums=('6ec46cc8f2306f5542c65fc637f70a7fe348b309ecc70a2483e05a745487ad41' '61e3bec3470790fa067f87d978016ec4452a6fd3dfba2c9afa5245b58d3cb19d' - '529722efc3bae6cb8923680363a4d778ccf78db9caf20bee90a110d34181d9f5') + '529722efc3bae6cb8923680363a4d778ccf78db9caf20bee90a110d34181d9f5' + 'a862465431e9d272e00bb9aafe56edec0d5c4f3718062add53972685adb90631') -build() -{ - cd "${srcdir}/${pkgname}-src-${pkgver}" +prepare() { + cd $srcdir/$pkgname-src-$pkgver # append the build revision to the jitsi version - sed -i "s/0\.build\.by\.SVN/build.${pkgver}/" src/net/java/sip/communicator/impl/version/NightlyBuildID.java + sed -i "s|0.build.by.SVN|build.$pkgver|" src/net/java/sip/communicator/impl/version/NightlyBuildID.java # remove Open Source term - sed -i 's|Open Source / Free Software|Free Software|' www/index-jn.html - sed -i 's|opensource.org|gnu.org/philosophy/free-sw.html|' $(grep -rl 'opensource.org') - sed -i 's|Open Source|Free Software|' $(grep -rl 'Open Source') - sed -i 's|opensource|freesoftware|' $(grep -rl 'opensource') + patch -Np0 -i ../drop-open-term-on-index-jn-html.patch + 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|; + /Linux,/ s|Linux|GNU/Linux|; + /Linux and/ s|Linux|GNU/Linux|; + /Linux distribution/ 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) +} + +build() { + cd $srcdir/$pkgname-src-$pkgver . /etc/profile.d/apache-ant.sh ant rebuild } package() { - cd "${srcdir}/${pkgname}-src-${pkgver}" + cd $srcdir/$pkgname-src-$pkgver find lib/ lib/bundle/ -maxdepth 1 -type f \ -exec install -Dm644 {} "${pkgdir}/usr/lib/${pkgname}/"{} \; find lib/os-specific/linux/ -maxdepth 1 -type f \ diff --git a/pcr/jitsi/drop-open-term-on-index-jn-html.patch b/pcr/jitsi/drop-open-term-on-index-jn-html.patch new file mode 100644 index 000000000..8d4012a05 --- /dev/null +++ b/pcr/jitsi/drop-open-term-on-index-jn-html.patch @@ -0,0 +1,6 @@ +--- www/index-jn.html 2011-01-29 08:36:48.000000000 -0200 ++++ www/index-jn.html-new 2013-05-29 01:05:48.942716248 -0300 +@@ -1,2 +1,2 @@ + +-

sip-communicator.org
SIP Communicator
Open Source VoIP & IM


SIP Communicator is an audio/video Internet phone and instant messenger that support some of the most popular instant messaging and telephony protocols such as SIP, Jabber, AIM/ICQ, MSN and soon others like Yahoo and IRC.

SIP Communicator is completely Open Source / Free Software, and is freely available under the terms of the GNU Lesser General Public License.

RESOURCES: The SIP Communicator FAQ can usually answer most questions. You can also ask on the users mailing list, or at the irc channel #sip-communicator at irc.freenode.net.

Note: Right now SIP Communicator is still a work in progress and as such is still unstable. If you would like to help or follow project progress check the Project Roadmap or join our Mailing Lists. You can also have a look at the SIP Communicator screenshots

Thanks for your patience and continuing support!
The SIP Communicator team

++

sip-communicator.org
SIP Communicator
Free Software VoIP & IM


SIP Communicator is an audio/video Internet phone and instant messenger that support some of the most popular instant messaging and telephony protocols such as SIP, Jabber, AIM/ICQ, MSN and soon others like Yahoo and IRC.

SIP Communicator is completely Free Software, and is freely available under the terms of the GNU Lesser General Public License.

RESOURCES: The SIP Communicator FAQ can usually answer most questions. You can also ask on the users mailing list, or at the irc channel #sip-communicator at irc.freenode.net.

Note: Right now SIP Communicator is still a work in progress and as such is still unstable. If you would like to help or follow project progress check the Project Roadmap or join our Mailing Lists. You can also have a look at the SIP Communicator screenshots

Thanks for your patience and continuing support!
The SIP Communicator team

-- cgit v1.2.3-2-g168b From 93a039eadabb96e28b2b8668bff26437a95bbb45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Alexandre=20Silva=20Delgado?= Date: Wed, 29 May 2013 14:56:12 -0300 Subject: openhpi: fixing pkg --- pcr/openhpi/PKGBUILD | 44 +++++++++++++++++++++++++++++++++++++++----- 1 file 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 +# Maintainer (Parabola): Márcio Silva 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) } -- cgit v1.2.3-2-g168b From 7e8f201da4892266950cc36db0c939df8d44eb6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Alexandre=20Silva=20Delgado?= Date: Wed, 29 May 2013 15:24:42 -0300 Subject: openhpi: fixing pkg --- pcr/openhpi/PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pcr/openhpi/PKGBUILD b/pcr/openhpi/PKGBUILD index 56cb8f2b7..7da1cc055 100644 --- a/pcr/openhpi/PKGBUILD +++ b/pcr/openhpi/PKGBUILD @@ -2,7 +2,7 @@ pkgname=openhpi pkgver=3.2.0 -pkgrel=2 +pkgrel=3 pkgdesc='Abstracted interface for managing computer hardware, typically chassis and rack based servers' arch=( i686 @@ -15,6 +15,7 @@ depends=( libxml2 net-snmp ) +options=(!libtool) source=http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz sha512sums=5a54ccc2279b3a608e2842dd3b4f01d7d483182ecd33d1d33186247cea15b62f1e0aea4eea1294cd6c3959a25424dc322cca73e516f4c8fd9d3a41a949d087ab @@ -76,6 +77,7 @@ prepare() { build() { cd $srcdir/$pkgname-$pkgver setarch $CARCH ./configure --prefix=/usr\ + --disable-static\ --enable-clients\ --enable-dynamic_simulator\ --enable-ilo2_ribcl\ -- cgit v1.2.3-2-g168b From 0a22aa90822479bd61277d0b62f89e10d30d6955 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Alexandre=20Silva=20Delgado?= Date: Wed, 29 May 2013 15:25:14 -0300 Subject: openipmi: fixing pkg --- pcr/openipmi/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/pcr/openipmi/PKGBUILD b/pcr/openipmi/PKGBUILD index 1dcb359ee..9c3c73ed8 100644 --- a/pcr/openipmi/PKGBUILD +++ b/pcr/openipmi/PKGBUILD @@ -6,7 +6,7 @@ _pkgname2=${pkgname:4} _pkgname=${_pkgname1^}${_pkgname2^^} pkgver=2.0.19 _pkgver=${pkgver::3} -pkgrel=1 +pkgrel=2 pkgdesc="Allow access to platform information using Intelligent Platform Management Interface (${_pkgname2^^})" arch=( i686 @@ -37,7 +37,43 @@ sha512sums=ee95eb64b7cde3f22c8444a5f8e3172808b0bb9a3a7034c1302c5f568c1cc0852a44c prepare() { cd $srcdir/$_pkgname-$pkgver - sed -i '/on Linux/ s|Linux|GNU/Linux|' $(grep -rl 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 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) } build() { -- cgit v1.2.3-2-g168b From 4a875122e99a357ad6337ed290b71a36803e6244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Alexandre=20Silva=20Delgado?= Date: Wed, 29 May 2013 16:53:38 -0300 Subject: cluster-glue: fixing pkg --- pcr/cluster-glue/PKGBUILD | 63 ++++++++++++++++++++++++++++++++++------------- 1 file changed, 46 insertions(+), 17 deletions(-) diff --git a/pcr/cluster-glue/PKGBUILD b/pcr/cluster-glue/PKGBUILD index 89b0af8ee..f23f88ef3 100644 --- a/pcr/cluster-glue/PKGBUILD +++ b/pcr/cluster-glue/PKGBUILD @@ -6,7 +6,7 @@ _pkgname2=${pkgname:8} _pkgname=${_pkgname1^}_${_pkgname2^} _grpname=linux-ha pkgver=1.0.11 -pkgrel=8 +pkgrel=9 pkgdesc='Set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack' arch=( i686 @@ -30,7 +30,7 @@ depends=( libxml2 net-snmp openhpi - #openipmi + openipmi python util-linux #vacm @@ -48,7 +48,8 @@ makedepends=( valgrind w3m ) -provides=ha-$_pkgname2 +options=(!libtool) +provides=(ha-$_pkgname2) conflicts=ha-$_pkgname2 replaces=ha-$_pkgname2 install=$pkgname.install @@ -85,6 +86,8 @@ prepare() { ' configure.ac sed -i 's|INCLUDES|AM_CPPFLAGS|; ' $(grep -rl INCLUDES . | grep Makefile.am) + + # fixing path sed -i 's|bin/sh|usr/bin/bash|; ' $(grep -rl bin/sh .) sed -i 's|usr/sbin|usr/bin|; @@ -97,22 +100,47 @@ prepare() { ' $(grep -rl /var/lock .) sed -i 's|var/run|run|; ' $(grep -rl var/run) - sed -i 's|Open Source|Free Software|; - ' $(grep -rl 'Open Source' .) - sed -i 's|opensource|freesoftware|; - ' $(grep -rl 'opensource' .) - sed -i '/Solaris, FreeBSD and Linux/ s|Linux|GNU/Linux|; - /sysDescr.0 = STRING: Linux/ s|Linux|GNU/Linux|; - /works only on Linux./ s|Linux|GNU/Linux|; - /UNIX, Linux/ s|Linux|GNU/Linux|; - /Logging Daemon for High-Availability Linux/ s|Linux|GNU/Linux|; - /This is what the Linux/ s|Linux|GNU/Linux|; - /Compiling for Linux platform/ 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 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|; /(e.g. Linux)/ s|Linux|GNU/Linux|; - /Linux, Solaris/ s|Linux|GNU/Linux|; - /Linux and Compaq Tru64 Unix/ s|Linux|GNU/Linux|; - ' $(grep -rl Linux .) + /High-Availability Linux/ s|Linux|GNU/Linux|; + /sysDescr.0 = STRING: Linux/ s|Linux|GNU/Linux|; + /This is what the 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) } build() { @@ -121,6 +149,7 @@ build() { setarch $CARCH ./configure --prefix=/usr\ --disable-ansi\ --disable-fatal-warnings\ + --disable-static\ --enable-doc\ --enable-libnet\ --enable-upstart\ -- cgit v1.2.3-2-g168b