Package: jd
Version: 1:2.8.6-130518-1
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

JBBS hostname changed from jbbs.livedoor.jp to jbbs.shitaraba.net
at 2013/12/10 ( http://blog.livedoor.jp/bbsnews/archives/54661274.html ).
please apply this patch for it.

Regards,
        dai

- -- System Information:
Debian Release: jessie/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'oldstable-proposed-updates'), 
(500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to ja_JP.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages jd depends on:
ii  libasound2           1.0.27.2-3
ii  libatk1.0-0          2.10.0-2
ii  libatkmm-1.6-1       2.22.7-2
ii  libc6                2.17-97
ii  libcairo2            1.12.16-2
ii  libcairomm-1.0-1     1.10.0-1
ii  libfontconfig1       2.11.0-2
ii  libfreetype6         2.5.1-1
ii  libgcc1              1:4.8.2-8
ii  libgcrypt11          1.5.3-2
ii  libgdk-pixbuf2.0-0   2.28.2-1+b1
ii  libglib2.0-0         2.36.4-1
ii  libglibmm-2.4-1c2a   2.36.2-1
ii  libgnutls26          2.12.23-8
ii  libgtk2.0-0          2.24.22-1
ii  libgtkmm-2.4-1c2a    1:2.24.4-1
ii  libmigemo1           20110227-8
ii  libpango-1.0-0       1.36.0-1+b1
ii  libpangocairo-1.0-0  1.36.0-1+b1
ii  libpangoft2-1.0-0    1.36.0-1+b1
ii  libpangomm-1.4-1     2.34.0-1
ii  libsigc++-2.0-0c2a   2.2.10-0.2
ii  libstdc++6           4.8.2-8
ii  libx11-6             2:1.6.2-1
ii  zlib1g               1:1.2.8.dfsg-1

Versions of packages jd recommends:
ii  cmigemo-common  20110227-8

Versions of packages jd suggests:
pn  fonts-konatu | fonts-monapo | fonts-mona  <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBCAAGBQJSpouTAAoJEHg5YZ3UOWaOrEQQAJ3SKh1S4YYJVbJgjV0kt2Fp
APcaz9EfJ2RCt/tvBQUILLgNWVruk2ecSNgWVVtDAZqkuthMlNFWF7r/HRVMqDOr
c74CwwFV0ev+pX6yiws4j0do1d/wtc9GXb4QrzNcnLBp3+A7rlZiBSK36yU0R1AB
/OVWd6mTJSbsI55AVpm3RRb58/p+NtaRlw7ATWRdfeGprWaA4whyDdE9UfGDrbdl
ORiA/dWuw4hnbOSomn7F3YhnXsrA8nJ81c1dPGT6MkZVIO/89KLRrE45gfryJul0
HthY93yC33229EYqMVT0F4l+egp1TD6Ppy2u/a0WNvaKjuiRxW12ShRQ/u2oA50O
wTexiuumwPx0BjGc0suEqaoWdy1NJX2n90DqYEgzn1aQISvCOIl+3TOZVcrNK/pU
mHHJa7RF2/WLyWCntBYra66clCjjUIacXO0CDCqsMy27Ybnl1ubBbQHWuI0xpzAn
g/mV5mdfvwJ3oQdT4Puyn0mnph+Ze0iFoVVploXV5wawacgXYpHvPzHgSQv4JNVZ
E3EtjrPtxCulxPVGn72x8uBZqdr7fAG3fS8915eVp1hCmPH1a3mh4d3L3gnX0/D7
RsGXAcMJP8JOE5+HyX2M8/e8R9tszNjhMxNOiZBOhKXdFx/dgzxC0u1hsUVnuQj6
15JMqt73dWmFE9f5loDH
=nOgg
-----END PGP SIGNATURE-----
Description: Change JBBS hostname
 JBBS hostname changed from jbbs.livedoor.jp to jbbs.shitaraba.net.
Author: HIGUCHI Daisuke (VDR dai) <d...@debian.org>
Last-Update: 2013-12-10

diff -urNp jd-2.8.6-130518/src/dbtree/articlejbbs.cpp jd-2.8.6-130518-jbbs/src/dbtree/articlejbbs.cpp
--- jd-2.8.6-130518/src/dbtree/articlejbbs.cpp	2009-10-03 12:12:09.000000000 +0900
+++ jd-2.8.6-130518-jbbs/src/dbtree/articlejbbs.cpp	2013-12-10 11:52:30.250789841 +0900
@@ -67,7 +67,7 @@ const std::string ArticleJBBS::create_wr
 //
 // bbscgi(write.cgi) のURL
 //
-// (例) "http://jbbs.livedoor.jp/bbs/write.cgi/computer/123/1234567/";
+// (例) "http://jbbs.shitaraba.net/bbs/write.cgi/computer/123/1234567/";
 //
 //
 const std::string ArticleJBBS::url_bbscgi()
@@ -79,7 +79,7 @@ const std::string ArticleJBBS::url_bbscg
 //
 // subbbscgi のURL
 //
-// (例) "http://jbbs.livedoor.jp/bbs/write.cgi/computer/123/1234567/";
+// (例) "http://jbbs.shitaraba.net/bbs/write.cgi/computer/123/1234567/";
 //
 const std::string ArticleJBBS::url_subbbscgi()
 {
diff -urNp jd-2.8.6-130518/src/dbtree/boardjbbs.cpp jd-2.8.6-130518-jbbs/src/dbtree/boardjbbs.cpp
--- jd-2.8.6-130518/src/dbtree/boardjbbs.cpp	2013-01-13 00:06:22.000000000 +0900
+++ jd-2.8.6-130518-jbbs/src/dbtree/boardjbbs.cpp	2013-12-10 11:52:46.511009102 +0900
@@ -124,7 +124,7 @@ const std::string BoardJBBS::create_newa
 //
 // 新スレ作成時のbbscgi(write.cgi) のURL
 //
-// (例) "http://jbbs.livedoor.jp/bbs/write.cgi/computer/123/new/";
+// (例) "http://jbbs.shitaraba.net/bbs/write.cgi/computer/123/new/";
 //
 //
 const std::string BoardJBBS::url_bbscgi_new()
@@ -136,7 +136,7 @@ const std::string BoardJBBS::url_bbscgi_
 //
 // 新スレ作成時のsubbbscgi のURL
 //
-// (例) "http://jbbs.livedoor.jp/bbs/write.cgi/computer/123/new/";
+// (例) "http://jbbs.shitaraba.net/bbs/write.cgi/computer/123/new/";
 //
 const std::string BoardJBBS::url_subbbscgi_new()
 {
diff -urNp jd-2.8.6-130518/src/dbtree/root.cpp jd-2.8.6-130518-jbbs/src/dbtree/root.cpp
--- jd-2.8.6-130518/src/dbtree/root.cpp	2010-12-28 23:18:42.000000000 +0900
+++ jd-2.8.6-130518-jbbs/src/dbtree/root.cpp	2013-12-10 12:01:12.941838111 +0900
@@ -555,7 +555,7 @@ int Root::get_board_type( const std::str
     else if( is_JBBS( url ) ){
 
         if( regex.exec( "(http://[^/]*)/(.*)/(index2?\\.html?)?$" , url, offset, icase, newline, usemigemo, wchar ) ){
-            root = "http://jbbs.livedoor.jp";;
+            root = "http://jbbs.shitaraba.net";;
             path_board = "/" + regex.str( 2 );
 
             type = TYPE_BOARD_JBBS;
@@ -1525,7 +1525,8 @@ const bool Root::is_JBBS( const std::str
     const std::string hostname = MISC::get_hostname( url );
 
     if( hostname.find( "jbbs.livedoor.jp" ) != std::string::npos
-        || hostname.find( "jbbs.shitaraba.com" ) != std::string::npos ) return true;
+        || hostname.find( "jbbs.shitaraba.com" ) != std::string::npos
+        || hostname.find( "jbbs.shitaraba.net" ) != std::string::npos ) return true;
 
     return false;
 }

Reply via email to