summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2006-06-17 12:30:01 +0000
committerMamoru Komachi <usata@gentoo.org>2006-06-17 12:30:01 +0000
commit02295f93a0d5226d573a27caef46cdef09cc41a3 (patch)
treeb493c9d148f470536d01729f4b849a94c456a116 /www-client/ochusha
parentRemoved old versions, fixed quoting. (diff)
downloadhistorical-02295f93a0d5226d573a27caef46cdef09cc41a3.tar.gz
historical-02295f93a0d5226d573a27caef46cdef09cc41a3.tar.bz2
historical-02295f93a0d5226d573a27caef46cdef09cc41a3.zip
Added a patch to enable posting after the BBS system change.
Package-Manager: portage-2.1
Diffstat (limited to 'www-client/ochusha')
-rw-r--r--www-client/ochusha/ChangeLog11
-rw-r--r--www-client/ochusha/files/digest-ochusha-0.5.8.22
-rw-r--r--www-client/ochusha/files/digest-ochusha-0.5.8.2-r13
-rw-r--r--www-client/ochusha/files/ochusha-0.5.8.2-gentoo.diff33
-rw-r--r--www-client/ochusha/ochusha-0.5.8.2-r1.ebuild49
5 files changed, 96 insertions, 2 deletions
diff --git a/www-client/ochusha/ChangeLog b/www-client/ochusha/ChangeLog
index 58509222235a..bad3b3ec1b70 100644
--- a/www-client/ochusha/ChangeLog
+++ b/www-client/ochusha/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-client/ochusha
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/ochusha/ChangeLog,v 1.13 2005/12/03 17:05:53 tgall Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/ochusha/ChangeLog,v 1.14 2006/06/17 12:30:01 usata Exp $
+
+*ochusha-0.5.8.2-r1 (17 Jun 2006)
+
+ 17 Jun 2006; Mamoru KOMACHI <usata@gentoo.org>
+ +files/ochusha-0.5.8.2-gentoo.diff, -ochusha-0.5.8.ebuild,
+ +ochusha-0.5.8.2-r1.ebuild:
+ Added a patch to enable posting after the BBS system change.
03 Dec 2005; Tom Gall <tgall@gentoo.org>
ochusha-0.5.8.2.ebuild:
diff --git a/www-client/ochusha/files/digest-ochusha-0.5.8.2 b/www-client/ochusha/files/digest-ochusha-0.5.8.2
index 48e24a4757f6..ee45ff098e36 100644
--- a/www-client/ochusha/files/digest-ochusha-0.5.8.2
+++ b/www-client/ochusha/files/digest-ochusha-0.5.8.2
@@ -1 +1,3 @@
MD5 167edce1d41f766d18018175458373c7 ochusha-0.5.8.2.tar.bz2 1794268
+RMD160 5990fd327165b3d3c415aec5639babe1ce9ad6ba ochusha-0.5.8.2.tar.bz2 1794268
+SHA256 91a4429b085be335ad34c9af3ed2ab8871b6245839348abe21073a48789dbe7c ochusha-0.5.8.2.tar.bz2 1794268
diff --git a/www-client/ochusha/files/digest-ochusha-0.5.8.2-r1 b/www-client/ochusha/files/digest-ochusha-0.5.8.2-r1
new file mode 100644
index 000000000000..ee45ff098e36
--- /dev/null
+++ b/www-client/ochusha/files/digest-ochusha-0.5.8.2-r1
@@ -0,0 +1,3 @@
+MD5 167edce1d41f766d18018175458373c7 ochusha-0.5.8.2.tar.bz2 1794268
+RMD160 5990fd327165b3d3c415aec5639babe1ce9ad6ba ochusha-0.5.8.2.tar.bz2 1794268
+SHA256 91a4429b085be335ad34c9af3ed2ab8871b6245839348abe21073a48789dbe7c ochusha-0.5.8.2.tar.bz2 1794268
diff --git a/www-client/ochusha/files/ochusha-0.5.8.2-gentoo.diff b/www-client/ochusha/files/ochusha-0.5.8.2-gentoo.diff
new file mode 100644
index 000000000000..515b2f15c9c3
--- /dev/null
+++ b/www-client/ochusha/files/ochusha-0.5.8.2-gentoo.diff
@@ -0,0 +1,33 @@
+diff -urN ochusha-0.5.8.2/lib/ochusha_board_2ch.c ochusha-0.5.8.2-cookie/lib/ochusha_board_2ch.c
+--- ochusha-0.5.8.2/lib/ochusha_board_2ch.c 2005-08-21 00:01:15.000000000 +0900
++++ ochusha-0.5.8.2-cookie/lib/ochusha_board_2ch.c 2006-06-17 21:11:07.000000000 +0900
+@@ -981,7 +981,7 @@
+ if (board->cookie != NULL)
+ G_FREE(board->cookie);
+ if (cookie != NULL)
+- board->cookie = G_STRDUP(cookie);
++ board->cookie = g_strconcat(cookie, "; hana=mogera", NULL);
+ else
+ board->cookie = NULL;
+ }
+diff -urN ochusha-0.5.8.2/lib/ochusha_thread_2ch.c ochusha-0.5.8.2-cookie/lib/ochusha_thread_2ch.c
+--- ochusha-0.5.8.2/lib/ochusha_thread_2ch.c 2005-09-09 22:18:20.000000000 +0900
++++ ochusha-0.5.8.2-cookie/lib/ochusha_thread_2ch.c 2006-06-17 21:10:22.000000000 +0900
+@@ -1883,7 +1883,7 @@
+ && broker->config->login_2ch)
+ query = g_strdup_printf("submit=%%8F%%91%%82%%AB%%8D%%9E%%82%%DE&FROM=%s&mail=%s&MESSAGE=%s&bbs=%s&key=%s&sid=%s&time=%ld", from, mail, message, bbs, key, broker->config->session_id_2ch, time);
+ else
+- query = g_strdup_printf("submit=%%8F%%91%%82%%AB%%8D%%9E%%82%%DE&FROM=%s&mail=%s&MESSAGE=%s&bbs=%s&key=%s&time=%ld", from, mail, message, bbs, key, time);
++ query = g_strdup_printf("hana=mogera&submit=%%8F%%91%%82%%AB%%8D%%9E%%82%%DE&FROM=%s&mail=%s&MESSAGE=%s&bbs=%s&key=%s&time=%ld", from, mail, message, bbs, key, time);
+ }
+
+ if (query == NULL)
+@@ -1903,7 +1903,7 @@
+ && broker->config->login_2ch)
+ query = g_strdup_printf("submit=%%91%%53%%90%%D3%%94%%43%%82%%F0%%95%%89%%82%%A4%%82%%B1%%82%%C6%%82%%F0%%8F%%B3%%91%%F8%%82%%B5%%82%%C4%%8F%%91%%82%%AB%%8D%%9E%%82%%DE&FROM=%s&mail=%s&MESSAGE=%s&bbs=%s&key=%s&sid=%s&time=%ld", from, mail, message, bbs, key, broker->config->session_id_2ch, time);
+ else
+- query = g_strdup_printf("submit=%%91%%53%%90%%D3%%94%%43%%82%%F0%%95%%89%%82%%A4%%82%%B1%%82%%C6%%82%%F0%%8F%%B3%%91%%F8%%82%%B5%%82%%C4%%8F%%91%%82%%AB%%8D%%9E%%82%%DE&FROM=%s&mail=%s&MESSAGE=%s&bbs=%s&key=%s&time=%ld", from, mail, message, bbs, key, time);
++ query = g_strdup_printf("hana=mogera&submit=%%91%%53%%90%%D3%%94%%43%%82%%F0%%95%%89%%82%%A4%%82%%B1%%82%%C6%%82%%F0%%8F%%B3%%91%%F8%%82%%B5%%82%%C4%%8F%%91%%82%%AB%%8D%%9E%%82%%DE&FROM=%s&mail=%s&MESSAGE=%s&bbs=%s&key=%s&time=%ld", from, mail, message, bbs, key, time);
+ }
+ sleep(30);
+ post_result = ochusha_utils_2ch_try_post(broker, thread->board,
diff --git a/www-client/ochusha/ochusha-0.5.8.2-r1.ebuild b/www-client/ochusha/ochusha-0.5.8.2-r1.ebuild
new file mode 100644
index 000000000000..547f77badee9
--- /dev/null
+++ b/www-client/ochusha/ochusha-0.5.8.2-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/ochusha/ochusha-0.5.8.2-r1.ebuild,v 1.1 2006/06/17 12:30:01 usata Exp $
+
+inherit flag-o-matic eutils
+
+IUSE="nls ssl"
+
+DESCRIPTION="Ochusha - 2ch viewer for GTK+"
+HOMEPAGE="http://ochusha.sourceforge.jp/"
+SRC_URI="mirror://sourceforge.jp/${PN}/16560/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~ppc ~ppc64 ~x86"
+
+DEPEND="virtual/xft
+ >=x11-libs/gtk+-2.2.4
+ >=dev-libs/glib-2.2.3
+ >=dev-libs/libxml2-2.5.0
+ >=gnome-base/libghttp-1.0.9
+ sys-libs/zlib
+ nls? ( sys-devel/gettext )
+ ssl? ( dev-libs/openssl )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
+src_compile() {
+
+ econf $(use_enable nls) \
+ $(use_with ssl) \
+ --enable-regex \
+ --disable-shared \
+ --enable-static \
+ --with-included-oniguruma || die
+ emake || die
+}
+
+src_install() {
+
+ make DESTDIR=${D} install || die
+
+ dodoc ABOUT-NLS ACKNOWLEDGEMENT AUTHORS BUGS \
+ ChangeLog INSTALL* NEWS README TODO
+}