summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2010-08-06 10:59:30 +0000
committerAlex Alexander <wired@gentoo.org>2010-08-06 10:59:30 +0000
commit5efdf3545a91eb0a483d3f900915688bfcbfdae6 (patch)
tree3faed5fafdbf00bd695e7ed97dafa0b20de4387e /www-client/uzbl
parentRenamed all bin to azara-*, 331389 (diff)
downloadgentoo-2-5efdf3545a91eb0a483d3f900915688bfcbfdae6.tar.gz
gentoo-2-5efdf3545a91eb0a483d3f900915688bfcbfdae6.tar.bz2
gentoo-2-5efdf3545a91eb0a483d3f900915688bfcbfdae6.zip
version bump, includes security fix, bug 331421
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'www-client/uzbl')
-rw-r--r--www-client/uzbl/ChangeLog7
-rw-r--r--www-client/uzbl/uzbl-2010.08.05.ebuild145
2 files changed, 151 insertions, 1 deletions
diff --git a/www-client/uzbl/ChangeLog b/www-client/uzbl/ChangeLog
index d1d408a2f101..fdf360455ea1 100644
--- a/www-client/uzbl/ChangeLog
+++ b/www-client/uzbl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/uzbl
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/uzbl/ChangeLog,v 1.30 2010/06/24 21:43:28 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/uzbl/ChangeLog,v 1.31 2010/08/06 10:59:30 wired Exp $
+
+*uzbl-2010.08.05 (06 Aug 2010)
+
+ 06 Aug 2010; Alex Alexander <wired@gentoo.org> +uzbl-2010.08.05.ebuild:
+ version bump, includes security fix, bug 331421
24 Jun 2010; Pacho Ramos <pacho@gentoo.org> uzbl-2010.04.03.ebuild:
stable amd64, bug 323327
diff --git a/www-client/uzbl/uzbl-2010.08.05.ebuild b/www-client/uzbl/uzbl-2010.08.05.ebuild
new file mode 100644
index 000000000000..eb2aa6c03017
--- /dev/null
+++ b/www-client/uzbl/uzbl-2010.08.05.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/uzbl/uzbl-2010.08.05.ebuild,v 1.1 2010/08/06 10:59:30 wired Exp $
+
+EAPI="2"
+
+inherit base
+
+IUSE=""
+if [[ ${PV} == *9999* ]]; then
+ inherit git
+ EGIT_REPO_URI=${EGIT_REPO_URI:-"git://github.com/Dieterbe/uzbl.git"}
+ KEYWORDS=""
+ SRC_URI=""
+ IUSE="experimental"
+ use experimental &&
+ EGIT_BRANCH="experimental" &&
+ EGIT_COMMIT="experimental"
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="http://github.com/Dieterbe/${PN}/tarball/${PV} -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="Web interface tools which adhere to the unix philosophy."
+HOMEPAGE="http://www.uzbl.org"
+
+LICENSE="LGPL-2.1 MPL-1.1"
+SLOT="0"
+IUSE+=" +browser helpers +tabbed vim-syntax"
+
+COMMON_DEPEND="
+ >=dev-libs/icu-4.0.1
+ >=net-libs/libsoup-2.24
+ >=net-libs/webkit-gtk-1.1.15
+ >=x11-libs/gtk+-2.14
+"
+
+DEPEND="
+ >=dev-util/pkgconfig-0.19
+ ${COMMON_DEPEND}
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ x11-misc/xdg-utils
+ browser? (
+ x11-misc/xclip
+ )
+ helpers? (
+ dev-python/pygtk
+ dev-python/pygobject
+ gnome-extra/zenity
+ net-misc/socat
+ x11-libs/pango
+ x11-misc/dmenu
+ x11-misc/xclip
+ )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
+"
+# TODO document what requires the above helpers
+
+pkg_setup() {
+ if ! use helpers; then
+ elog "uzbl's extra scripts use various optional applications:"
+ elog
+ elog " dev-python/pygtk"
+ elog " dev-python/pygobject"
+ elog " gnome-extra/zenity"
+ elog " net-misc/socat"
+ elog " x11-libs/pango"
+ elog " x11-misc/dmenu"
+ elog " x11-misc/xclip"
+ elog
+ elog "Make sure you emerge the ones you need manually."
+ elog "You may also activate the *helpers* USE flag to"
+ elog "install all of them automatically."
+ else
+ einfo "You have enabled the *helpers* USE flag that installs"
+ einfo "various optional applications used by uzbl's extra scripts."
+ fi
+
+ if use tabbed && ! use browser; then
+ ewarn
+ ewarn "You enabled the *tabbed* USE flag but not *browser*."
+ ewarn "*tabbed* depends on *browser*, so it will be disabled."
+ ewarn
+ ebeep 3
+ fi
+
+ ewarn
+ ewarn "A security issue was discovered in the mousebutton2 binding that was"
+ ewarn "used in previous versions of the sample config file."
+ ewarn
+ ewarn "If you are using a sample config provided by previous uzbl versions,"
+ ewarn "you need to change the mousebutton2 binding manually to fix it."
+ ewarn
+ ewarn "You can find the fix here:"
+ ewarn " http://github.com/pawelz/uzbl/commit/342f292c27973c9df5f631a38bd12f14a9c5cdc2"
+ ewarn
+ ewarn "More information about the security issue here:"
+ ewarn " http://bugs.gentoo.org/show_bug.cgi?id=331421"
+ ewarn "and here:"
+ ewarn " http://www.uzbl.org/news.php?id=29"
+ ewarn
+}
+
+src_prepare() {
+ if [[ ${PV} == *9999* ]]; then
+ git_src_prepare
+ else
+ cd "${WORKDIR}"/Dieterbe-uzbl-*
+ S=$(pwd)
+ fi
+
+ # remove -ggdb
+ sed -i "s/-ggdb //g" Makefile ||
+ die "-ggdb removal sed failed"
+
+ # adjust path in default config file to /usr/share
+ sed -i "s:/usr/local/share/uzbl:/usr/share/uzbl:g" \
+ examples/config/config ||
+ die "config path sed failed"
+}
+
+src_compile() {
+ emake || die "compile failed"
+}
+
+src_install() {
+ local targets="install-uzbl-core"
+ use browser && targets="${targets} install-uzbl-browser"
+ use browser && use tabbed && targets="${targets} install-uzbl-tabbed"
+
+ emake DESTDIR="${D}" PREFIX="/usr" DOCDIR="${D}/usr/share/doc/${PF}" ${targets} ||
+ die "Installation failed"
+
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins "${S}"/extras/vim/ftdetect/uzbl.vim || die "vim-syntax doins failed"
+
+ insinto /usr/share/vim/vimfiles/syntax
+ doins "${S}"/extras/vim/syntax/uzbl.vim || die "vim-syntax doins failed"
+ fi
+
+}