summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-06-15 21:21:17 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-06-15 21:21:17 +0000
commit026f912219c74ac66eaaa10286fffe188488994d (patch)
tree1392f24b77eb830d6464958b8de6bb2adb973702 /www-misc/gurlchecker
parentpatch to fix gcc-4.3.x compile problems; thanks to M.Brakemeier on bug #227167 (diff)
downloadgentoo-2-026f912219c74ac66eaaa10286fffe188488994d.tar.gz
gentoo-2-026f912219c74ac66eaaa10286fffe188488994d.tar.bz2
gentoo-2-026f912219c74ac66eaaa10286fffe188488994d.zip
bump to 0.10.2, bug #215139. fix compilation against app-antivirus/clamav-0.93, bug #221175.
(Portage version: 2.1.5.4)
Diffstat (limited to 'www-misc/gurlchecker')
-rw-r--r--www-misc/gurlchecker/ChangeLog11
-rw-r--r--www-misc/gurlchecker/files/gurlchecker-0.10.2-clamav093.patch13
-rw-r--r--www-misc/gurlchecker/files/gurlchecker-0.10.2-configure.in.patch55
-rw-r--r--www-misc/gurlchecker/gurlchecker-0.10.2.ebuild57
4 files changed, 135 insertions, 1 deletions
diff --git a/www-misc/gurlchecker/ChangeLog b/www-misc/gurlchecker/ChangeLog
index 28c7df2d5b72..bbbb616e24cb 100644
--- a/www-misc/gurlchecker/ChangeLog
+++ b/www-misc/gurlchecker/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for www-misc/gurlchecker
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/gurlchecker/ChangeLog,v 1.20 2008/03/28 02:03:59 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-misc/gurlchecker/ChangeLog,v 1.21 2008/06/15 21:21:17 eva Exp $
+
+
+*gurlchecker-0.10.2 (15 Jun 2008)
+
+ 15 Jun 2008; Gilles Dartiguelongue <eva@gentoo.org>
+ +files/gurlchecker-0.10.2-clamav093.patch,
+ +files/gurlchecker-0.10.2-configure.in.patch, +gurlchecker-0.10.2.ebuild:
+ bump to 0.10.2, bug #215139.
+ fix compilation against app-antivirus/clamav-0.93, bug #221175.
28 Mar 2008; Jeroen Roovers <jer@gentoo.org> gurlchecker-0.10.1.ebuild:
Marked ~hppa too. Fixed quoting issues.
diff --git a/www-misc/gurlchecker/files/gurlchecker-0.10.2-clamav093.patch b/www-misc/gurlchecker/files/gurlchecker-0.10.2-clamav093.patch
new file mode 100644
index 000000000000..8ef301999c2b
--- /dev/null
+++ b/www-misc/gurlchecker/files/gurlchecker-0.10.2-clamav093.patch
@@ -0,0 +1,13 @@
+--- var/tmp/portage/www-misc/gurlchecker-0.10.2/work/gurlchecker-0.10.2/src/ucclam.c
++++ home/eva/Téléchargements/gurlchecker-scm-2008-06-15/src/ucclam.c
+@@ -34,9 +34,8 @@
+ clam->limits.maxfiles = 1;
+ clam->limits.maxfilesize = 10 * 1048576;
+ clam->limits.maxreclevel = 1;
+- clam->limits.maxratio = 200;
+ clam->limits.archivememlim = 0;
+- if (cl_loaddbdir (cl_retdbdir (), &clam->root, &clam->no) ||
++ if (cl_load (cl_retdbdir (), &clam->root, &clam->no, CL_DB_STDOPT) ||
+ cl_build (clam->root))
+ {
+ uc_ucclam_free (clam);
diff --git a/www-misc/gurlchecker/files/gurlchecker-0.10.2-configure.in.patch b/www-misc/gurlchecker/files/gurlchecker-0.10.2-configure.in.patch
new file mode 100644
index 000000000000..5b4278dd2cc9
--- /dev/null
+++ b/www-misc/gurlchecker/files/gurlchecker-0.10.2-configure.in.patch
@@ -0,0 +1,55 @@
+# Autofoo of this package is just insane, need to rewrite it someday.
+--- configure.in.old 2008-06-15 21:27:45.000000000 +0200
++++ configure.in 2008-06-15 21:34:45.000000000 +0200
+@@ -120,7 +120,7 @@
+ [
+ want_croco=yes
+ CROCO_FLAGS="-DENABLE_CROCO $CROCO_CFLAGS"
+- LDFLAGS="$LDFLAGS $want_croco_path"
++ #LDFLAGS="$LDFLAGS $want_croco_path"
+ ],
+ [
+ want_croco=no
+@@ -151,6 +151,7 @@
+ [
+ if test "x$withval" = "xno"; then
+ AC_MSG_RESULT([not requested])
++ want_tidy=no
+ elif test "x$withval" = "xyes" -o -d "$withval"; then
+ want_tidy=yes
+ want_tidy_path=$withval
+@@ -178,7 +179,7 @@
+ have_tidy=yes
+ TIDY_FLAGS="$TIDY_FLAGS -DHAVE_TIDY_H_IN_SUBDIR -DENABLE_TIDY"
+ TIDY_LIBS="-ltidy"
+- LDFLAGS="$LDFLAGS $want_tidy_path"
++ #LDFLAGS="$LDFLAGS $want_tidy_path"
+ ],
+ [have_tidy=no]
+ )
+@@ -211,6 +212,7 @@
+ [
+ if test "x$withval" = "xno"; then
+ AC_MSG_RESULT([not requested])
++ want_clamav=no
+ elif test "x$withval" = "xyes" -o -d "$withval"; then
+ want_clamav=yes
+ want_clamav_path=$withval
+@@ -238,7 +240,7 @@
+ have_clamav=yes
+ CLAMAV_FLAGS="$CLAMAV_FLAGS -DENABLE_CLAMAV"
+ CLAMAV_LIBS="-lclamav"
+- LDFLAGS="$LDFLAGS $want_clamav_path"
++ #LDFLAGS="$LDFLAGS $want_clamav_path"
+ ],
+ [have_clamav=no]
+ )
+@@ -298,7 +300,7 @@
+ have_clamav=yes
+ GNUTLS_FLAGS="$GNUTLS_FLAGS -DENABLE_GNUTLS"
+ GNUTLS_LIBS="-lgnutls"
+- LDFLAGS="$LDFLAGS $want_gnutls_path"
++ #LDFLAGS="$LDFLAGS $want_gnutls_path"
+ ],
+ [
+ have_clamav=yes
diff --git a/www-misc/gurlchecker/gurlchecker-0.10.2.ebuild b/www-misc/gurlchecker/gurlchecker-0.10.2.ebuild
new file mode 100644
index 000000000000..a8e1ed3d2c38
--- /dev/null
+++ b/www-misc/gurlchecker/gurlchecker-0.10.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/gurlchecker/gurlchecker-0.10.2.ebuild,v 1.1 2008/06/15 21:21:17 eva Exp $
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="Gnome tool that checks links on web pages/sites"
+HOMEPAGE="http://gurlchecker.labs.libre-entreprise.org/"
+SRC_URI="http://labs.libre-entreprise.org/frs/download.php/623/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+SLOT="0"
+IUSE="clamav doc gnutls tidy"
+
+RDEPEND=">=x11-libs/gtk+-2.6
+ >=gnome-base/libgnomeui-2
+ >=gnome-base/libglade-2
+ >=dev-libs/libxml2-2.6
+ >=net-libs/gnet-2
+ >=dev-libs/libcroco-0.6
+ tidy? ( app-text/htmltidy )
+ clamav? ( app-antivirus/clamav )
+ gnutls? ( >=net-libs/gnutls-1 )"
+
+# docbook-sgml-utils used to build the man page
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9
+ >=dev-util/intltool-0.30
+ app-text/docbook-sgml-utils
+ doc? ( >dev-util/gtk-doc-1.1 )"
+
+DOCS="AUTHORS CONTRIBUTORS ChangeLog FAQ NEWS README THANKS TODO"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --with-croco
+ $(use_with tidy)
+ $(use_with clamav)
+ $(use_with gnutls)"
+}
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # The file index.sgml should be distributed with the sources, but
+ # it is not, causing problems. See bug #92784.
+ touch "${S}"/doc/html/index.sgml
+
+ # Fix compilation with clamav 0.93, bug #
+ epatch "${FILESDIR}/${P}-clamav093.patch"
+
+ # Fix bad yes/no detection
+ epatch "${FILESDIR}/${P}-configure.in.patch"
+
+ eautoreconf
+}