summaryrefslogtreecommitdiff
path: root/extra/htdig
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-04 10:10:35 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-04 10:10:35 -0300
commitb9ab7ef683fd366635faca49342ee005846037ab (patch)
tree3bb0ff57a43d068e85dc5318887f700b071c7f8f /extra/htdig
parent7046a475b24925c0ec7816ef7d2cdcf3b9cd4eb0 (diff)
parentab1410d33401cf1fc4a384bb0b2d9901c8fe8d14 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/gimmie/PKGBUILD community/glipper-old/PKGBUILD community/glipper/PKGBUILD community/lcms2/PKGBUILD community/libpanelappletmm/PKGBUILD community/panflute/PKGBUILD community/sensors-applet/PKGBUILD community/wtf/PKGBUILD community/xmonad-log-applet/PKGBUILD core/binutils/PKGBUILD core/tzdata/PKGBUILD extra/a52dec/PKGBUILD extra/aubio/PKGBUILD extra/automoc4/PKGBUILD extra/deskbar-applet/PKGBUILD extra/eject/PKGBUILD extra/ekiga/PKGBUILD extra/gnome-netstatus/PKGBUILD extra/gnome-python-desktop/PKGBUILD extra/htdig/PKGBUILD extra/ktorrent/PKGBUILD extra/libgail-gnome/PKGBUILD extra/libktorrent/PKGBUILD extra/libofa/PKGBUILD extra/netspeed-applet/PKGBUILD extra/openexr/PKGBUILD extra/postgresql/PKGBUILD extra/pulseaudio-mixer-applet/PKGBUILD extra/seahorse-plugins/PKGBUILD extra/telepathy-qt4/PKGBUILD libre/kernel26-libre/PKGBUILD testing/libtool/PKGBUILD testing/xfsprogs/PKGBUILD
Diffstat (limited to 'extra/htdig')
-rw-r--r--extra/htdig/CVE-2007-6110.patch (renamed from extra/htdig/quoting.patch)0
-rw-r--r--extra/htdig/PKGBUILD50
2 files changed, 28 insertions, 22 deletions
diff --git a/extra/htdig/quoting.patch b/extra/htdig/CVE-2007-6110.patch
index 57b0e3b78..57b0e3b78 100644
--- a/extra/htdig/quoting.patch
+++ b/extra/htdig/CVE-2007-6110.patch
diff --git a/extra/htdig/PKGBUILD b/extra/htdig/PKGBUILD
index a00bae159..f40457224 100644
--- a/extra/htdig/PKGBUILD
+++ b/extra/htdig/PKGBUILD
@@ -1,39 +1,45 @@
-# $Id: $
+# $Id: PKGBUILD 122102 2011-05-02 07:10:01Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=htdig
pkgver=3.2.0b6
-pkgrel=6
-pkgdesc="A complete world wide web indexing and searching system for a domain or intranet."
-url="http://www.htdig.org"
+pkgrel=7
+pkgdesc="Scripts and HTML code needed for using ht://Dig as a web search engine"
+url="http://www.htdig.org/"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
-depends=('gcc-libs' 'zlib' 'bash')
-options=('!libtool' '!emptydirs')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2
- gcc4.3.patch
- quoting.patch)
+depends=('openssl')
+options=('!libtool' 'emptydirs')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'gcc4.3.patch'
+ 'CVE-2007-6110.patch')
md5sums=('8b9b9587a411ac7dd278fa5413428960'
'2aeda683f95b58efc0978d7fe951de59'
'0d9099d3b5a32d322a8e0240f85a3578')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i ${srcdir}/gcc4.3.patch
- patch -p1 -i ${srcdir}/quoting.patch || return 1
+ patch -p1 -i "${srcdir}/gcc4.3.patch"
+ patch -p1 -i "${srcdir}/CVE-2007-6110.patch"
./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --with-config-dir=/etc/htdig \
- --with-default-config-file=/etc/htdig/htdig.conf \
- --with-database-dir=/var/lib/htdig/db \
- --with-cgi-bin-dir=/usr/bin \
- --with-common-dir=/usr/share/doc/htdig \
- --with-search-dir=/usr/share/doc/htdig \
- --with-image-dir=/usr/share/doc/htdig
- make || return 1
- make DESTDIR=${pkgdir} install
+ --mandir=/usr/share/man \
+ --with-config-dir=/etc/htdig \
+ --with-default-config-file=/etc/htdig/htdig.conf \
+ --with-database-dir=/var/lib/htdig/db \
+ --with-cgi-bin-dir=/usr/bin \
+ --with-common-dir=/usr/share/doc/htdig \
+ --with-search-dir=/usr/share/doc/htdig \
+ --with-image-dir=/usr/share/doc/htdig \
+ --localstatedir=/var/lib/htdig \
+ --with-ssl
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}