Index: head/japanese/Makefile =================================================================== --- head/japanese/Makefile (revision 426203) +++ head/japanese/Makefile (revision 426204) @@ -1,314 +1,315 @@ # $FreeBSD$ # COMMENT = Japanese support SUBDIR += ASCIIdates98-fpw SUBDIR += CGdic-fpw SUBDIR += FreeWnn-lib SUBDIR += FreeWnn-server SUBDIR += VTPSfont SUBDIR += Wnn6-lib SUBDIR += Wnn7-lib SUBDIR += a2ps SUBDIR += ack SUBDIR += ajaxzip2-core SUBDIR += ajaxzip2-data SUBDIR += alias-fonts SUBDIR += another-htmllint SUBDIR += anthy SUBDIR += asterisk-sounds SUBDIR += awffull SUBDIR += bible_names-fpw SUBDIR += boiled-mozc SUBDIR += bookview SUBDIR += bugzilla44 SUBDIR += bugzilla50 SUBDIR += calligra-l10n SUBDIR += canna-lib SUBDIR += canna-server SUBDIR += cannadic SUBDIR += cdrom2 SUBDIR += celrw SUBDIR += chasen-base SUBDIR += cmigemo SUBDIR += cmigemo-dict SUBDIR += csrd SUBDIR += ctags SUBDIR += dbskkd-cdb SUBDIR += ddskk SUBDIR += devil-fpw SUBDIR += dvi2tty SUBDIR += e2ps SUBDIR += eb SUBDIR += ebd-fpw SUBDIR += eblook SUBDIR += ebnetd SUBDIR += ebview-gtk2 SUBDIR += edict SUBDIR += edict-fpw SUBDIR += edict-utf-8 SUBDIR += edyvalue SUBDIR += egg-canna SUBDIR += eijiro-fpw SUBDIR += epwutil SUBDIR += esecanna SUBDIR += esecanna-module-vje25 SUBDIR += esecanna-module-vje30 SUBDIR += esecanna-module-wnn6 SUBDIR += eterm SUBDIR += fcitx-anthy SUBDIR += fcitx-mozc SUBDIR += fcitx-skk SUBDIR += flower-fpw SUBDIR += foldoc-fpw SUBDIR += font-aozoramincho SUBDIR += font-ayu18 SUBDIR += font-ayu20 SUBDIR += font-elisa10 SUBDIR += font-elisa8 SUBDIR += font-genjyuugothic SUBDIR += font-genshingothic SUBDIR += font-ipa SUBDIR += font-ipa-uigothic SUBDIR += font-ipaex SUBDIR += font-ipamjm SUBDIR += font-jisx0213 SUBDIR += font-kaname12 SUBDIR += font-kanji18 SUBDIR += font-kanji26 SUBDIR += font-kappa20 SUBDIR += font-kochi SUBDIR += font-koruri SUBDIR += font-marumoji SUBDIR += font-mgenplus SUBDIR += font-migmix SUBDIR += font-migu SUBDIR += font-mikachan SUBDIR += font-mona SUBDIR += font-mona-ipa SUBDIR += font-mona-ttf SUBDIR += font-motoya-al SUBDIR += font-mplus-bitmap SUBDIR += font-mplus-ipa SUBDIR += font-mplus-outline SUBDIR += font-naga10 SUBDIR += font-nasu SUBDIR += font-ricty SUBDIR += font-ricty-discord SUBDIR += font-rounded-mgenplus SUBDIR += font-sazanami SUBDIR += font-shinonome SUBDIR += font-std SUBDIR += font-takao SUBDIR += font-ume SUBDIR += font-vlgothic SUBDIR += freepwing SUBDIR += fumeikai-fpw SUBDIR += gawk SUBDIR += gd SUBDIR += gedy SUBDIR += gimp-help SUBDIR += gjiten SUBDIR += groff SUBDIR += gskk SUBDIR += gsuica SUBDIR += hns SUBDIR += ibus-anthy SUBDIR += ibus-mozc SUBDIR += ibus-skk SUBDIR += icanna SUBDIR += im-ja SUBDIR += ipadic SUBDIR += jacode.pl SUBDIR += japana SUBDIR += japaneseAFM SUBDIR += jargon-fpw SUBDIR += jcode.pl SUBDIR += jd SUBDIR += jed SUBDIR += jishyo SUBDIR += jls SUBDIR += jmode SUBDIR += jmode-skk SUBDIR += jpilot SUBDIR += jstrings SUBDIR += jvim3 SUBDIR += kakasi SUBDIR += kana-no-quiz SUBDIR += kanjipad SUBDIR += kasumi SUBDIR += kbanner SUBDIR += kcc SUBDIR += kcode SUBDIR += kde4-l10n SUBDIR += kdrill SUBDIR += kinput2 SUBDIR += kiten SUBDIR += kon2-14dot SUBDIR += kon2-16dot SUBDIR += kpcal SUBDIR += kterm SUBDIR += latex-jlisting SUBDIR += leafrogue SUBDIR += less SUBDIR += libreoffice SUBDIR += libskk SUBDIR += libslang SUBDIR += libtomoe-gtk SUBDIR += lipsf SUBDIR += lookup SUBDIR += lsd-fpw SUBDIR += lynx SUBDIR += lynx-current SUBDIR += mailman SUBDIR += man SUBDIR += man-doc SUBDIR += mecab SUBDIR += mecab-ipadic SUBDIR += mecab-ipadic-eucjp SUBDIR += mecab-ipadic-sjis SUBDIR += mecab-ipadic-utf8 SUBDIR += mg SUBDIR += mh SUBDIR += migemo SUBDIR += migemo-emacs23 SUBDIR += migemo.el SUBDIR += mime_pls SUBDIR += ming SUBDIR += mozc-el SUBDIR += mozc-server SUBDIR += mozc-tool SUBDIR += multiskkserv SUBDIR += mutt-devel SUBDIR += mypaedia-fpw-package SUBDIR += namazu SUBDIR += namazu2 SUBDIR += navi2ch SUBDIR += ne SUBDIR += nethack34 SUBDIR += newosaka SUBDIR += ng SUBDIR += ng-canna SUBDIR += ng-devel SUBDIR += ngraph-fonts SUBDIR += nhocr SUBDIR += nkf SUBDIR += onew + SUBDIR += p5-2chproxy SUBDIR += p5-Date-Japanese-Era SUBDIR += p5-Date-Japanese-Holiday SUBDIR += p5-DateTime-Calendar-Japanese-Era SUBDIR += p5-DateTime-Format-Japanese SUBDIR += p5-Encode-EUCJPASCII SUBDIR += p5-Encode-EUCJPMS SUBDIR += p5-Encode-ISO2022 SUBDIR += p5-Encode-JP-Emoji SUBDIR += p5-Encode-JP-Mobile SUBDIR += p5-HTML-MobileJp SUBDIR += p5-Jcode SUBDIR += p5-Lingua-JA-Kana SUBDIR += p5-Lingua-JA-Moji SUBDIR += p5-Lingua-JA-Numbers SUBDIR += p5-Lingua-JA-Regular-Unicode SUBDIR += p5-Lingua-JA-Summarize-Extract SUBDIR += p5-MeCab SUBDIR += p5-Number-Phone-JP SUBDIR += p5-PDFJ SUBDIR += p5-Text-ChaSen SUBDIR += p5-Text-Kakasi SUBDIR += p5-Text-MeCab SUBDIR += p5-Unicode-Japanese SUBDIR += p5-WWW-2ch SUBDIR += p5-WWW-MobileCarrierJP SUBDIR += p5-nkf SUBDIR += pejv-fpw SUBDIR += php5-mecab SUBDIR += php_doc SUBDIR += plain2 SUBDIR += plan SUBDIR += prn SUBDIR += py-mecab SUBDIR += py-tegaki SUBDIR += py-tegaki-gtk SUBDIR += py-zinnia SUBDIR += qkc SUBDIR += qt4-codecs-jp SUBDIR += quit SUBDIR += roget-fpw SUBDIR += rogue_s SUBDIR += ruby-eb SUBDIR += ruby-mecab SUBDIR += ruby-romkan SUBDIR += ruby-uconv SUBDIR += ruby-usersguide SUBDIR += rubygem-jpmobile SUBDIR += rubygem-jpmobile-ipaddresses SUBDIR += rubygem-jpmobile-terminfo SUBDIR += rubygem-jpmobile4 SUBDIR += rubygem-mail-iso-2022-jp SUBDIR += rubygem-myrurema SUBDIR += ryaku-fpw SUBDIR += scim-anthy SUBDIR += scim-canna SUBDIR += scim-honoka SUBDIR += scim-honoka-plugin-romkan SUBDIR += scim-honoka-plugin-wnn SUBDIR += scim-skk SUBDIR += scim-tables SUBDIR += scim-tomoe SUBDIR += scim-uim SUBDIR += seaside SUBDIR += sj3-lib SUBDIR += sj3-server SUBDIR += skk SUBDIR += skk-jisyo SUBDIR += skk-jisyo-cdb SUBDIR += skk-tools SUBDIR += skkfep SUBDIR += skkinput SUBDIR += skkinput3 SUBDIR += skkserv SUBDIR += slimeforest SUBDIR += slrn SUBDIR += spamassassin SUBDIR += srd-fpw-package SUBDIR += suicavalue SUBDIR += t2ps SUBDIR += tdiary SUBDIR += tegaki-recognize SUBDIR += tegaki-zinnia-japanese SUBDIR += tex-ptex SUBDIR += tgif SUBDIR += tiarra SUBDIR += timidity++-slang SUBDIR += today SUBDIR += tomoe SUBDIR += uim-anthy SUBDIR += uim-mozc SUBDIR += uim-tomoe-gtk SUBDIR += vera-fpw SUBDIR += vftool SUBDIR += w3m SUBDIR += w3m-img SUBDIR += waeijiro-fpw SUBDIR += wdic-fpw SUBDIR += web1913-fpw SUBDIR += webalizer SUBDIR += wnn7egg SUBDIR += wordnet-fpw SUBDIR += wordpress SUBDIR += wwasw-fpw SUBDIR += xdtp SUBDIR += xgate SUBDIR += xpdf SUBDIR += xshodou SUBDIR += xtr SUBDIR += xv SUBDIR += xyaku SUBDIR += yasou-fpw SUBDIR += yc.el SUBDIR += zinnia SUBDIR += zinnia-tomoe SUBDIR += zipcodes .include Index: head/japanese/navi2ch/Makefile =================================================================== --- head/japanese/navi2ch/Makefile (revision 426203) +++ head/japanese/navi2ch/Makefile (revision 426204) @@ -1,44 +1,46 @@ # Created by: FUJISHIMA Satsuki # $FreeBSD$ PORTNAME= navi2ch PORTVERSION= 2.0.0.d -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= japanese www elisp -MASTER_SITES= http://people.allbsd.org/~hrs/FreeBSD/ LOCAL/hrs -DISTNAME= navi2ch-git-75ceac8e93d8d7cc02cc8fa44f14cd44ce0b9d0a PKGNAMESUFFIX= -${EMACS_PORT_NAME} MAINTAINER= hrs@FreeBSD.org COMMENT= 2ch.net and 2ch-like BBS navigator for Emacsen LICENSE= GPLv2 -USES= zip +RUN_DEPENDS= ${LOCALBASE}/sbin/2chproxy.pl:japanese/p5-2chproxy + USE_EMACS= yes +USE_GITHUB= yes +GH_ACCOUNT= naota +GH_TAGNAME= faebfd1 GNU_CONFIGURE= yes CONFIGURE_ENV= EMACS="${EMACS_CMD}" CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR}/${PORTNAME} PLIST_SUB= LISPDIR=${LISPDIR} PORTDOCS= ${PORTDOC_FILES} contrib INFO= navi2ch PORTDOC_FILES= ChangeLog README TODO PORTDOC_LISPS= gikope.el navi2ch-logo.el navi2ch-migemo.el LISPDIR= ${EMACS_VERSION_SITE_LISPDIR} OPTIONS_DEFINE= DOCS X11 -OPTIONS_DEFAULT=X11 +OPTIONS_DEFAULT=DOCS X11 X11_RUN_DEPENDS=${LOCALBASE}/share/mona/monak12.pcf.gz:japanese/font-mona -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && \ ${INSTALL_DATA} ${PORTDOC_FILES} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib cd ${WRKSRC}/contrib && \ ${INSTALL_DATA} ${PORTDOC_LISPS} ${STAGEDIR}${DOCSDIR}/contrib .include Index: head/japanese/navi2ch/distinfo =================================================================== --- head/japanese/navi2ch/distinfo (revision 426203) +++ head/japanese/navi2ch/distinfo (revision 426204) @@ -1,2 +1,3 @@ -SHA256 (navi2ch-git-75ceac8e93d8d7cc02cc8fa44f14cd44ce0b9d0a.zip) = c87f6a463ab96f2e736d16a61f58b78de503188040b35ef16a7dc268de20ef27 -SIZE (navi2ch-git-75ceac8e93d8d7cc02cc8fa44f14cd44ce0b9d0a.zip) = 575780 +TIMESTAMP = 1479256991 +SHA256 (naota-navi2ch-2.0.0.d-faebfd1_GH0.tar.gz) = e5da75c6aee6005349a4c8e830a0737cc58536c4c526aba7843e9f990da62966 +SIZE (naota-navi2ch-2.0.0.d-faebfd1_GH0.tar.gz) = 512558 Index: head/japanese/navi2ch/files/patch-elisp-comp =================================================================== --- head/japanese/navi2ch/files/patch-elisp-comp (revision 426203) +++ head/japanese/navi2ch/files/patch-elisp-comp (nonexistent) @@ -1,11 +0,0 @@ ---- elisp-comp.orig 2014-11-22 16:23:24.000000000 +0900 -+++ elisp-comp 2014-11-22 16:23:43.000000000 +0900 -@@ -72,7 +72,7 @@ - - ( - cd $tempdir -- echo "(setq load-path (cons nil load-path))" > script -+ echo "(setq load-path (cons \".\" load-path))" > script - # $EMACS -batch -q -l script -f batch-byte-compile *.el || exit $? - $EMACS -batch -q -l script -l ../bcomp.el || exit $? - mv *.elc .. Property changes on: head/japanese/navi2ch/files/patch-elisp-comp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/japanese/navi2ch/files/patch-navi2ch-vars.el =================================================================== --- head/japanese/navi2ch/files/patch-navi2ch-vars.el (nonexistent) +++ head/japanese/navi2ch/files/patch-navi2ch-vars.el (revision 426204) @@ -0,0 +1,13 @@ +--- navi2ch-vars.el.orig 2015-03-30 02:16:24 UTC ++++ navi2ch-vars.el +@@ -2009,8 +2009,8 @@ Navi2ch$B%+%F%4%j$K!VAw?.95$(!WHD$,<+F0 + + ;; net variables + (defcustom navi2ch-net-http-proxy +- (if (string= (getenv "HTTP_PROXY") "") +- nil ++ (if (string= (or (getenv "HTTP_PROXY") "") "") ++ "127.0.0.1:8080" + (getenv "HTTP_PROXY")) + "*HTTP $B%W%m%-%7$N(B URL$B!#(B" + :type '(choice (string :tag "$B%W%m%-%7$r;XDj(B") Property changes on: head/japanese/navi2ch/files/patch-navi2ch-vars.el ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/japanese/navi2ch/pkg-message =================================================================== --- head/japanese/navi2ch/pkg-message (nonexistent) +++ head/japanese/navi2ch/pkg-message (revision 426204) @@ -0,0 +1,8 @@ +navi2ch now requires ja-p5-2chproxy(japanese/p5-2chproxy) to access 2ch.net. +Before using navi2ch, put the following line into /etc/rc.conf: + + twochproxy_enable="YES" + +and start twochproxy service: + + # service twochproxy start Property changes on: head/japanese/navi2ch/pkg-message ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/japanese/p5-2chproxy/Makefile =================================================================== --- head/japanese/p5-2chproxy/Makefile (nonexistent) +++ head/japanese/p5-2chproxy/Makefile (revision 426204) @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= 2chproxy +PORTVERSION= 1.0.1 +DISTVERSIONPREFIX= v +CATEGORIES= japanese perl5 www +PKGNAMEPREFIX= ja-p5- + +MAINTAINER= hrs@FreeBSD.org +COMMENT= Proxy server for 2ch.net + +LICENSE= MIT + +RUN_DEPENDS= p5-HTTP-Daemon>0:www/p5-HTTP-Daemon \ + p5-IO-Compress>0:archivers/p5-IO-Compress \ + p5-URI>0:net/p5-URI \ + p5-libwww>0:www/p5-libwww + +USES= perl5 shebangfix +SHEBANG_FILES= ${WRKSRC}/${PORTNAME}.pl +USE_GITHUB= yes +GH_ACCOUNT= yama-natuki +GH_PROJECT= ${PORTNAME}.pl +NO_BUILD= yes +RC_SUBR= ${WRKDIR}/twochproxy +SUB_FILES= ${FILESDIR_REL}/twochproxy +PLIST_FILES= sbin/${PORTNAME}.pl \ + etc/rc.d/twochproxy + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_SCRIPT} ${WRKDIR}/twochproxy ${STAGEDIR}${PREFIX}/etc/rc.d + +.include Property changes on: head/japanese/p5-2chproxy/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/japanese/p5-2chproxy/distinfo =================================================================== --- head/japanese/p5-2chproxy/distinfo (nonexistent) +++ head/japanese/p5-2chproxy/distinfo (revision 426204) @@ -0,0 +1,3 @@ +TIMESTAMP = 1479210675 +SHA256 (yama-natuki-2chproxy.pl-v1.0.1_GH0.tar.gz) = 481eaffb0daaf2f9406b43b9342298537173e4453fa49497492f080107ac7b5a +SIZE (yama-natuki-2chproxy.pl-v1.0.1_GH0.tar.gz) = 21895 Property changes on: head/japanese/p5-2chproxy/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/japanese/p5-2chproxy/files/patch-2chproxy.pl =================================================================== --- head/japanese/p5-2chproxy/files/patch-2chproxy.pl (nonexistent) +++ head/japanese/p5-2chproxy/files/patch-2chproxy.pl (revision 426204) @@ -0,0 +1,27 @@ +--- 2chproxy.pl.orig 2016-11-16 00:35:06 UTC ++++ 2chproxy.pl +@@ -90,8 +90,8 @@ my $PROXY_CONFIG = { + HANDLED_COOKIES => [qw(__cfduid yuki PREN)], #KEEP_COOKIEが有効な時にプロクシで保持するクッキー + DAT_URL => '^http://([\w]+)(\.2ch\.net|\.bbspink\.com)(:[\d]+)?/([\w]+)/(?:dat|kako/\d+(?:/\d+)?)/([\d]+(?:-[\d]+)?)\.dat(\.gz)?$', #datへのアクセスかを判定する正規表現 + NULL_DEVICE => '/dev/null', #nullデバイスの場所 +- PID_FILE_NAME => "/tmp/2chproxy.pid", #pidが書かれたファイル、2重起動禁止にも用いている +- LOG_FILE_NAME => "/tmp/2chproxy.log", #ログファイル ++ PID_FILE_NAME => "/var/run/2chproxy.pid", #pidが書かれたファイル、2重起動禁止にも用いている ++ LOG_FILE_NAME => "/var/log/2chproxy.log", #ログファイル + NULL_DEVICE_WIN32 => 'nul', #nullデバイスの場所(Windows) + PID_FILE_NAME_WIN32 => dirname($0)."/2chproxy.pid", #pidが書かれたファイル、2重起動禁止にも用いている(Windows) + LOG_FILE_NAME_WIN32 => dirname($0)."/2chproxy.log", #ログファイル(Windows) +@@ -325,11 +325,12 @@ sub daemonize() { + fork() and exit(0); + POSIX::setsid(); + fork() and exit(0); +- umask(0); ++ umask(022); + chdir('/'); + open(STDIN, '<', $null_device_name) or die; + open(STDOUT, '>', $log_file_name) or die; + open(STDERR, '>', $log_file_name) or die; ++ chmod(0600, $log_file_name) or die; + + return 0; + } Property changes on: head/japanese/p5-2chproxy/files/patch-2chproxy.pl ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/japanese/p5-2chproxy/files/twochproxy.in =================================================================== --- head/japanese/p5-2chproxy/files/twochproxy.in (nonexistent) +++ head/japanese/p5-2chproxy/files/twochproxy.in (revision 426204) @@ -0,0 +1,32 @@ +#!/bin/sh +# +# PROVIDE: twochproxy +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# $FreeBSD$ + +. /etc/rc.subr + +name=twochproxy +rcvar=${name}_enable + +command=%%PREFIX%%/sbin/2chproxy.pl +start_cmd=${name}_start +stop_cmd=${name}_stop +load_rc_config $name +pidfile=/var/run/2chproxy.pid +: ${twochproxy_enable:=NO} + +twochproxy_start() +{ + + $command --daemon +} +twochproxy_stop() +{ + + $command --kill && rm -f $pidfile +} + +run_rc_command "$1" Property changes on: head/japanese/p5-2chproxy/files/twochproxy.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/japanese/p5-2chproxy/pkg-descr =================================================================== --- head/japanese/p5-2chproxy/pkg-descr (nonexistent) +++ head/japanese/p5-2chproxy/pkg-descr (revision 426204) @@ -0,0 +1,4 @@ +2chproxy.pl, an HTTP proxy for 2ch.net to convert the contents into +old .dat format. + +WWW: https://github.com/yama-natuki/2chproxy.pl Property changes on: head/japanese/p5-2chproxy/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property