summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-12-05 22:16:48 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-12-05 22:16:48 +0000
commitc6a427407bf54f9c3e4b0d903c78a8cec7d132e9 (patch)
treee8f637da137f3f589c57bcb979fd11e20156cbcf
parentDisable firebird support when bindist USE flag is enabled, bug #200284. (diff)
downloadgentoo-2-c6a427407bf54f9c3e4b0d903c78a8cec7d132e9.tar.gz
gentoo-2-c6a427407bf54f9c3e4b0d903c78a8cec7d132e9.tar.bz2
gentoo-2-c6a427407bf54f9c3e4b0d903c78a8cec7d132e9.zip
Fix user creation for bug #193656
(Portage version: 2.1.4_rc7)
-rw-r--r--net-analyzer/prewikka/ChangeLog9
-rw-r--r--net-analyzer/prewikka/files/digest-prewikka-0.9.12.1-r1 (renamed from net-analyzer/prewikka/files/digest-prewikka-0.9.12.1)0
-rw-r--r--net-analyzer/prewikka/files/prewikka-0.9.12.1-create-user.patch17
-rw-r--r--net-analyzer/prewikka/prewikka-0.9.12.1-r1.ebuild (renamed from net-analyzer/prewikka/prewikka-0.9.12.1.ebuild)12
4 files changed, 33 insertions, 5 deletions
diff --git a/net-analyzer/prewikka/ChangeLog b/net-analyzer/prewikka/ChangeLog
index a2f5b911cf0d..38f3bb9e29da 100644
--- a/net-analyzer/prewikka/ChangeLog
+++ b/net-analyzer/prewikka/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/prewikka
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/prewikka/ChangeLog,v 1.24 2007/09/05 17:59:04 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/prewikka/ChangeLog,v 1.25 2007/12/05 22:16:48 jokey Exp $
+
+*prewikka-0.9.12.1-r1 (05 Dec 2007)
+
+ 05 Dec 2007; Markus Ullmann <jokey@gentoo.org>
+ +files/prewikka-0.9.12.1-create-user.patch, -prewikka-0.9.12.1.ebuild,
+ +prewikka-0.9.12.1-r1.ebuild:
+ Fix user creation for bug #193656
*prewikka-0.9.12.1 (05 Sep 2007)
diff --git a/net-analyzer/prewikka/files/digest-prewikka-0.9.12.1 b/net-analyzer/prewikka/files/digest-prewikka-0.9.12.1-r1
index e5ffb48bed62..e5ffb48bed62 100644
--- a/net-analyzer/prewikka/files/digest-prewikka-0.9.12.1
+++ b/net-analyzer/prewikka/files/digest-prewikka-0.9.12.1-r1
diff --git a/net-analyzer/prewikka/files/prewikka-0.9.12.1-create-user.patch b/net-analyzer/prewikka/files/prewikka-0.9.12.1-create-user.patch
new file mode 100644
index 000000000000..368b93d6ee5f
--- /dev/null
+++ b/net-analyzer/prewikka/files/prewikka-0.9.12.1-create-user.patch
@@ -0,0 +1,17 @@
+--- prewikka-0.9.12.1.orig/prewikka/templates/UserSettings.tmpl 2007-09-24 10:55:39.000000000 -0400
++++ prewikka-0.9.12.1/prewikka/templates/UserSettings.tmpl 2007-09-24 10:56:03.000000000 -0400
+@@ -7,13 +7,12 @@
+
+ <form action="?" method="post">
+ #if $user.login
++<input type="hidden" name="login" value="$user.login"/>
+ <input type="hidden" name="view" value="user_settings_modify"/>
+ #else
+ <input type="hidden" name="view" value="user_settings_add"/>
+ #end if
+
+-<input type="hidden" name="login" value="$user.login"/>
+-
+ #if $user.origin
+ <input type="hidden" name="origin" value="$user.origin" />
+ #end if
diff --git a/net-analyzer/prewikka/prewikka-0.9.12.1.ebuild b/net-analyzer/prewikka/prewikka-0.9.12.1-r1.ebuild
index 7eb110f65d2c..aaeccb064e1f 100644
--- a/net-analyzer/prewikka/prewikka-0.9.12.1.ebuild
+++ b/net-analyzer/prewikka/prewikka-0.9.12.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/prewikka/prewikka-0.9.12.1.ebuild,v 1.1 2007/09/05 17:59:05 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/prewikka/prewikka-0.9.12.1-r1.ebuild,v 1.1 2007/12/05 22:16:48 jokey Exp $
inherit distutils
@@ -20,18 +20,22 @@ DEPEND=">=dev-lang/python-2.3
RDEPEND="${DEPEND}"
pkg_setup() {
- if ! built_with_use dev-libs/libprelude python ;
- then
+ if ! built_with_use dev-libs/libprelude python ; then
die 'requires dev-libs/libprelude to be built with "python" use flag'
fi
+}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-create-user.patch
}
src_install() {
distutils_src_install
dodir /etc/prewikka
insinto /etc/prewikka
- doins ${FILESDIR}/prewikka.conf-sample
+ doins "${FILESDIR}"/prewikka.conf-sample
rm "${D}"/\-dist
}