summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/dovecot/PKGBUILD16
-rw-r--r--testing/file/PKGBUILD34
2 files changed, 43 insertions, 7 deletions
diff --git a/testing/dovecot/PKGBUILD b/testing/dovecot/PKGBUILD
index b91386d37..894d24e3b 100644
--- a/testing/dovecot/PKGBUILD
+++ b/testing/dovecot/PKGBUILD
@@ -1,20 +1,21 @@
-# $Id: PKGBUILD 150441 2012-02-17 19:35:29Z andyrtr $
+# $Id: PKGBUILD 150923 2012-02-23 17:51:46Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Paul Mattal <paul@mattal.com>
# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
# Contributor: GARETTE Emmanuel <gnunux at laposte dot net>
pkgname=dovecot
-pkgver=2.1.0
-pkgrel=1
+pkgver=2.1.1
+pkgrel=2
pkgdesc="An IMAP and POP3 server written with security primarily in mind"
arch=('i686' 'x86_64')
url="http://dovecot.org/"
license=("LGPL")
depends=('krb5' 'openssl' 'sqlite3>=3.7.5' 'libmysqlclient>=5.5.10'
'postgresql-libs>=9.0.3' 'bzip2' 'expat' 'curl')
-makedepends=('pam>=1.1.1' 'libcap>=2.19' 'libldap>=2.4.22')
-optdepends=('libldap: ldap plugin')
+makedepends=('pam>=1.1.1' 'libcap>=2.19' 'libldap>=2.4.22' 'clucene')
+optdepends=('libldap: ldap plugin'
+ 'clucene: alternative FTS indexer')
provides=('imap-server' 'pop3-server')
options=('!libtool')
backup=(etc/dovecot/dovecot.conf
@@ -25,8 +26,8 @@ backup=(etc/dovecot/dovecot.conf
etc/ssl/dovecot-openssl.cnf)
install=$pkgname.install
source=(http://dovecot.org/releases/2.1/${pkgname}-${pkgver}.tar.gz{,.sig} dovecot.sh)
-md5sums=('32a52cc45bf099bbb537b46052d23014'
- 'e2d7783ebe0f10aee259c86c69bd0a46'
+md5sums=('db41a4de848d2bc834c30af0eb5575fd'
+ 'e3bf2c4989ccb8a30a5d80ae89b06f76'
'587159e84e2da6f83d70b3c706ba87cc')
build() {
@@ -47,6 +48,7 @@ build() {
--with-zlib --with-bzlib \
--with-libcap \
--with-solr \
+ --with-lucene \
--with-docs
make
}
diff --git a/testing/file/PKGBUILD b/testing/file/PKGBUILD
new file mode 100644
index 000000000..eee03d3bb
--- /dev/null
+++ b/testing/file/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 150825 2012-02-23 08:25:19Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: Andreas Radke <andyrtr@archlinux.org>
+
+pkgname=file
+pkgver=5.11
+pkgrel=1
+pkgdesc="File type identification utility"
+arch=('i686' 'x86_64')
+license=('custom')
+groups=('base')
+url="http://www.darwinsys.com/file/"
+depends=('glibc' 'zlib')
+options=('!libtool')
+source=(ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('16a407bd66d6c7a832f3a5c0d609c27b')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's#\$(datadir)/misc#\$(datadir)#' configure
+
+ ./configure --prefix=/usr --datadir=/usr/share/file
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR=${pkgdir} install
+ install -dm755 ${pkgdir}/usr/share/misc
+ ln -s ../file/magic.mgc ${pkgdir}/usr/share/misc
+
+ install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+}