www-apps/trac-acct_mgr: add redirect fix

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1727 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-12-23 12:19:23 +00:00
parent e78f616b75
commit 9893737a2b
4 changed files with 21 additions and 3 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
23 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
trac-acct_mgr-0.2.1-r1.ebuild, +files/redirect-fix.patch:
add redirect fix
23 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
+trac-acct_mgr-0.2.1-r1.ebuild:
remove accountmanager patch

View File

@ -1,6 +1,7 @@
AUX RegistrationConfirmationPatch.diff 4570 RMD160 e844d2b40e2bf3ca05777f836d346a881d661bdb SHA1 dbf528abc61c510df84ad8a67d2ba657f3dda3ca SHA256 2c4499175037fd06a5e7661a5d61ef97a178b720e5cfe5973d711095b6604088
AUX redirect-fix.patch 579 RMD160 ace1b0a2e46f2bf47266e348643f69e50daa173f SHA1 32494b5b9e36236433305aeabdc01527e51b6004 SHA256 f3ec357c65642753eda0e11266e84916497ffecbd2e8f5d1d667773835486709
EBUILD trac-acct_mgr-0.1.3.ebuild 1214 RMD160 08c61116b34731a9204414a8801df2ed49327e61 SHA1 366ed27ec819f45a352573b3029ad79d84ece486 SHA256 dbcaa0bbb198ee2c4bb8d354dce62faabe36c823bfda827daf16fb87ec2c9b2c
EBUILD trac-acct_mgr-0.2.1-r1.ebuild 1453 RMD160 a996c376aaa7348acb3c1f7dbac1e87012b05833 SHA1 dacf2114cbce0ba292ddadea6bc1e422ac166b6a SHA256 f2e7c1141d3b62cfe5a507b924d841ff4fc75ec50c20fdd4398c33302c860c35
EBUILD trac-acct_mgr-0.2.1-r1.ebuild 1436 RMD160 368f47b32225da1f1f73bca2f3758393788c003d SHA1 8fbdc1a92c3dfa48678ca61ffa4e7168889fcead SHA256 ae63400fee74e4e3632fec58700689414bd27ada5f91bbd8115898c556e8b2a9
EBUILD trac-acct_mgr-0.2.1.ebuild 1452 RMD160 68f332836dd6f90301280babd27349a34b929f1c SHA1 7dfea05925fd88cf661a866281dcb05575c41afa SHA256 a9bfbde6a13df29c28af2eb09dcc2b528ef4281380951e9dd5a191535edc1f8f
MISC ChangeLog 1007 RMD160 7b2cbee9acde792ad778f94a3e50ac9313b6015e SHA1 5508bfe67cd672c6de318ec8de3e26be967be432 SHA256 81936d1af75140fc67ca2a4aeb6a5fc8b5326860fa0c5c759b268ec4d51bd3ae
MISC ChangeLog 1138 RMD160 e5d8112f2915fb41ba59f1e329960d0f3b1bf2f4 SHA1 1bb38440a4b1e2b8154f42be0b3b3abc93d4b7f6 SHA256 e0e50efd469af9551d35d6965e7d912e4850668e99a0951db007dfbafb7cfc2a
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,13 @@
Index: acct_mgr/web_ui.py
===================================================================
--- acct_mgr/web_ui.py (revision 4132)
+++ acct_mgr/web_ui.py (working copy)
@@ -185,7 +185,7 @@
if req.authname and req.authname != 'anonymous':
if req.session.get('force_change_passwd', False):
redirect_url = req.href.prefs('account')
- if req.path_info != redirect_url:
+ if req.href(req.path_info) != redirect_url:
req.redirect(redirect_url)
return (template, data, content_type)

View File

@ -21,7 +21,7 @@ DEPEND="=www-apps/trac-0.11*
src_unpack() {
subversion_src_unpack
cd "${S}"
# epatch "${FILESDIR}/RegistrationConfirmationPatch.diff"
epatch "${FILESDIR}/redirect-fix.patch"
}