summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-03 23:10:20 +0000
committerroot <root@rshg047.dnsready.net>2011-07-03 23:10:20 +0000
commit067b127a853780b2b4ae7236dcdaaf72396dfa86 (patch)
treeec55d0d4115d7c9fc0eb9e1a82a2553f4e0cd3aa /community
parent1732308adb7885b00fc388f978e65b3ad15aa067 (diff)
Sun Jul 3 23:10:20 UTC 2011
Diffstat (limited to 'community')
-rw-r--r--community/autofs/PKGBUILD15
-rw-r--r--community/calibre/PKGBUILD6
-rw-r--r--community/fotoxx/PKGBUILD4
-rw-r--r--community/mongodb/PKGBUILD9
-rw-r--r--community/mongodb/mongodb.conf4
-rwxr-xr-xcommunity/mongodb/mongodb.install19
-rwxr-xr-xcommunity/mongodb/mongodb.rc2
-rw-r--r--community/nodejs/PKGBUILD58
8 files changed, 84 insertions, 33 deletions
diff --git a/community/autofs/PKGBUILD b/community/autofs/PKGBUILD
index 6516f9736..6a85101ea 100644
--- a/community/autofs/PKGBUILD
+++ b/community/autofs/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 47057 2011-05-15 17:16:45Z lfleischer $
+# $Id: PKGBUILD 50871 2011-07-02 10:03:49Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Dale Blount <dale@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=autofs
-pkgver=5.0.5
-pkgrel=7
+pkgver=5.0.6
+pkgrel=1
pkgdesc='A kernel-based automounter for Linux.'
arch=('i686' 'x86_64')
url='http://freshmeat.net/projects/autofs'
@@ -18,15 +18,11 @@ backup=('etc/autofs/auto.master'
options=(!makeflags)
install='autofs.install'
source=("http://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar.bz2"
- "0001-${pkgname}-5.0.5-include-krb5-library.patch"
- "0002-${pkgname}-5.0.5-remove-ERR_remove_state-openssl-call.patch"
'autofs'
'autofs.conf.d'
'auto.master'
'auto.misc')
-md5sums=('a1d262cb6ebef0c2dd0fe22232fb3d5a'
- '478737b8e3e79365a0e183aa95aab307'
- 'e347999e5dffe142e7e57b067d3d9e9f'
+md5sums=('44cea7f711e2290a0b50fddeda079705'
'e307bf6d2638e46eeb916cf42fe029b2'
'47f597c870410055e0fdb66103daf928'
'a6cefb591e77b31b79dbb7243646c96b'
@@ -38,9 +34,6 @@ build() {
sed -i "s:SUBDIRS = lib daemon modules man samples:SUBDIRS = lib daemon modules man:" \
Makefile.rules
- patch -p1 -i "../0001-${pkgname}-5.0.5-include-krb5-library.patch"
- patch -p1 -i "../0002-${pkgname}-5.0.5-remove-ERR_remove_state-openssl-call.patch"
-
./configure --prefix=/usr --sysconfdir=/etc/autofs --with-mapdir=/etc/autofs --without-hesiod \
--enable-ignore-busy
make
diff --git a/community/calibre/PKGBUILD b/community/calibre/PKGBUILD
index 49bc53644..501d17bba 100644
--- a/community/calibre/PKGBUILD
+++ b/community/calibre/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 50108 2011-06-24 19:28:04Z giovanni $
+# $Id: PKGBUILD 50866 2011-07-02 09:42:55Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Petrov Roman <nwhisper@gmail.com>
# Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com>
pkgname=calibre
-pkgver=0.8.7
+pkgver=0.8.8
pkgrel=1
pkgdesc="Ebook management application"
arch=('i686' 'x86_64')
@@ -20,7 +20,7 @@ optdepends=('ipython: to use calibre-debug')
install=calibre.install
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
desktop_integration.patch)
-md5sums=('d7132ec75f5e742e04e196fc8e2c0884'
+md5sums=('dab191175d370920b366bcd8c0dad917'
'253ce4fe5d01f8ff76b63cd3825755ea')
build() {
diff --git a/community/fotoxx/PKGBUILD b/community/fotoxx/PKGBUILD
index fb8242bad..2204d5639 100644
--- a/community/fotoxx/PKGBUILD
+++ b/community/fotoxx/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=fotoxx
-pkgver=11.06.2
+pkgver=11.07
pkgrel=1
pkgdesc="A program for improving image files made with a digital camera"
url="http://kornelix.squarespace.com/fotoxx"
@@ -9,7 +9,7 @@ license=('GPL3')
depends=('gimp-ufraw' 'perl-exiftool' 'xdg-utils' 'desktop-file-utils')
optdepends=('mashup: for composing pages to print from within fotoxx' 'brasero: for burning')
source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz")
-md5sums=('03fac30ee3239f379d5a9fcdc8ba3933')
+md5sums=('cf7ce6011108da211b0169df6686ae95')
install=fotoxx.install
build() {
diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD
index c19206216..dde0f9f69 100644
--- a/community/mongodb/PKGBUILD
+++ b/community/mongodb/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=mongodb
pkgver=1.8.2
-pkgrel=1
+pkgrel=2
pkgdesc='A high-performance, open source, schema-free document-oriented database.'
arch=('i686' 'x86_64')
url='http://www.mongodb.org'
@@ -18,8 +18,8 @@ source=("http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz"
'mongodb.rc'
'mongodb.conf')
md5sums=('951fb1a75d90fc822cf4528585a970cf'
- '859f8f9bb32ef2bd21fec55ae9a87d0a'
- '9e0ea3f96732bb7811f0b64dace56440')
+ '85eaa28e349fdc6250f883624e624cca'
+ '4839fe1d638187ca3226e8267b947318')
build() {
export SCONSFLAGS="$MAKEFLAGS"
@@ -43,7 +43,8 @@ package() {
${pkgdir}/etc/rc.d/mongodb
install -D -m644 ${srcdir}/mongodb.conf \
${pkgdir}/etc/mongodb.conf
- install -d -m700 ${pkgdir}/var/state/mongodb
+ install -d -m700 ${pkgdir}/var/lib/mongodb
+ install -d -m755 ${pkgdir}/var/log/mongodb
if [ -d ${pkgdir}/usr/lib64 ]; then
mv ${pkgdir}/usr/lib64 ${pkgdir}/usr/lib
diff --git a/community/mongodb/mongodb.conf b/community/mongodb/mongodb.conf
index 60d73eae8..c5272b7f2 100644
--- a/community/mongodb/mongodb.conf
+++ b/community/mongodb/mongodb.conf
@@ -3,4 +3,6 @@
bind_ip = 127.0.0.1
quiet = true
-dbpath = /var/state/mongodb
+dbpath = /var/lib/mongodb
+logpath = /var/log/mongodb/mongod.log
+logappend = true
diff --git a/community/mongodb/mongodb.install b/community/mongodb/mongodb.install
index 152f36515..9e13a4d14 100755
--- a/community/mongodb/mongodb.install
+++ b/community/mongodb/mongodb.install
@@ -4,28 +4,25 @@ show_msg(){
if [ "$(arch)" != "x86_64" ]
then
cat <<END
-###########################################################################
-# Warning: the 32 bit version of MongoDB is limited to about 2GB of data. #
-# See http://blog.mongodb.org/post/137788967/32-bit-limitations #
-###########################################################################
+==> Warning: the 32 bit version of MongoDB is limited to about 2GB of data.
+==> See http://blog.mongodb.org/post/137788967/32-bit-limitations
END
fi
}
post_install() {
- useradd -r -g daemon -d /var/state/mongodb -s /bin/false mongodb
- chown -R mongodb:daemon /var/state/mongodb
+ useradd -r -g daemon -d /var/lib/mongodb -s /bin/bash mongodb
+ chown -R mongodb:daemon /var/lib/mongodb
+ chown -R mongodb:daemon /var/log/mongodb
show_msg
}
post_upgrade() {
- chown -R mongodb:daemon /var/state/mongodb
-
- show_msg
+ chown -R mongodb:daemon /var/lib/mongodb
+ chown -R mongodb:daemon /var/log/mongodb
}
pre_remove() {
- /etc/rc.d/mongodb stop
- userdel mongodb
+ userdel mongodb
}
diff --git a/community/mongodb/mongodb.rc b/community/mongodb/mongodb.rc
index b808a2fb0..517258f63 100755
--- a/community/mongodb/mongodb.rc
+++ b/community/mongodb/mongodb.rc
@@ -8,7 +8,7 @@ PID=`pidof /usr/bin/mongod`
case "$1" in
start)
stat_busy "Starting mongodb"
- [ -z "$PID" ] && /bin/su mongodb -s /bin/bash -c "/usr/bin/mongod --config /etc/mongodb.conf &" > /var/log/mongod 2>&1
+ [ -z "$PID" ] && /bin/su mongodb -c "/usr/bin/mongod --config /etc/mongodb.conf --fork" > /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD
new file mode 100644
index 000000000..8c368df2c
--- /dev/null
+++ b/community/nodejs/PKGBUILD
@@ -0,0 +1,58 @@
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: James Campos <james.r.campos@gmail.com>
+# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Dongsheng Cai <dongsheng at moodle dot com>
+# Contributor: Masutu Subric <masutu.arch at googlemail dot com>
+# Contributor: TIanyi Cui <tianyicui@gmail.com>
+
+pkgname=nodejs
+pkgver=0.4.9
+pkgrel=1
+pkgdesc='Evented I/O for V8 javascript'
+arch=('i686' 'x86_64')
+url='http://nodejs.org/'
+license=('MIT')
+depends=('python2')
+makedepends=('curl') # curl used for check()
+optdepends=('openssl: TLS support')
+conflicts=('nodejs-unstable')
+source=("http://nodejs.org/dist/node-v${pkgver}.tar.gz")
+sha256sums=('f231ea6d19ea9ea4c7f8e7ff5061e7d301f1635bec7ed0ff1eef2512576ea442')
+
+build() {
+ cd node-v${pkgver}
+
+ # python2 fix
+ for file in $(find . -name '*.py' -print) wscript tools/waf-light tools/node-waf
+ do
+ sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' ${file}
+ sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' ${file}
+ done
+ sed -i "s|cmd_R = 'python |cmd_R = 'python2 |" wscript
+ sed -i "s|python |python2 |" Makefile
+
+ ./configure \
+ --prefix=/usr
+
+ make
+}
+
+check() {
+ cd node-v${pkgver}
+
+ # only 1 test should fail afaik
+ # === release test-http-dns-fail ===
+ # https://github.com/joyent/node/issues/703
+ make test || true
+}
+
+package() {
+ cd node-v${pkgver}
+
+ make DESTDIR=${pkgdir} install
+
+ install -D -m644 LICENSE \
+ ${pkgdir}/usr/share/licenses/nodejs/LICENSE
+}
+
+# vim:set ts=2 sw=2 et: