debian/0000755000000000000000000000000012156176547007204 5ustar debian/source/0000755000000000000000000000000012071151617010467 5ustar debian/source/format0000644000000000000000000000001412071151617011675 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000023712156175650010231 0ustar version=3 opts=uversionmangle=s/_/./g \ https://github.com/tdiary/tdiary-contrib/tags .*/(?:v||tdiary-contrib[_\-])(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) debian/patches/0000755000000000000000000000000012071151617010616 5ustar debian/patches/series0000644000000000000000000000004112071151617012026 0ustar 010_disable_unexecutable_shebang debian/patches/010_disable_unexecutable_shebang0000644000000000000000000000033312071151617016756 0ustar --- a/style/hatena_style.rb +++ b/style/hatena_style.rb @@ -1,4 +1,3 @@ -#!/usr/bin/env ruby -Ke # Copyright(c) 2004 URABE, Shyouhei. # # Permission is hereby granted, free of charge, to any person obtaining a copy debian/copyright0000644000000000000000000001462612071151617011133 0ustar Upstream-Name: tdiary-contrib Upstream-Contact: http://www.tdiary.org/20000102.html Source: https://github.com/tdiary/tdiary-contrib Copyright: (C) 2001-2010 TADA Tadashi Disclaimer: A lot of people have contributed to this software. I picked them out at copyright file for each binary package. Please take a look at the binary package dedicated copyright file. filter/rblcheck.rb Copyright (C) 2004 MoonWolf License: GPL io/dbi_io Copyright (C) 2003 ma2tak Copyright (C) 2004 moonwolf Copyright (C) 2005 Kazuhiko Copyright (C) 2007 sasasin License: GPL plugin/add_bookmark Copyright (C) 2005 SHIBATA Hiroshi License: GPL plugin/antirefspam Copyright (C) 2004-2005 T.Shimomura License: GPL2 plugin/bitly.rb Copyright (C) 2010, TADA Tadashi You can redistribute it and/or modify it under GPL. plugin/category_similar.rb: You can redistribute it and/or modify it under the same license as tDiary. plugin/cocomment Copyright (C) 2006 by Hiroshi SHIBATA License: GPL2 plugin/draft.rb Copyright (C) MATSUOKA Kohei Distributed under the GPL plugin/google_map.rb Copyright (C) 2010, tamoot You can redistribute it and/or modify it under GPL2. plugin/google/google_adsense Copyright (C) 2004 Kazuhiko License: GPL2 plugin/google/google_analytics Copyright (C) 2005 TADA Tadashi License: GPL2 plugin/google/google_video Copyright (C) 2007 by KAKUTANI Shintaro License: GPL2 plugin/hatena/hatena_star Copyright (C) Itoshi Nikaido Distributed under the GPL plugin/iddy Copyright (C) 2007 by TADA Tadashi License: GPL plugin/image_ex Copyright (C) 2002 Daisuke Kato Copyright (C) 2002 Toshi Okada Copyright (C) 2003 Yoshimi KURUMA License: GPL2 plugin/image_gps Copyright (C) 2004,2005 kp License: GPL plugin/instagr.rb Copyright (C) 2011, tamoot You can redistribute it and/or modify it under GPL2. plugin/japanese/jdate Copyright (C) 2003 TADA Tadashi License: GPL plugin/japanese/jmonth.rb Copyright (C) 2005 sasasin/SuzukiShinnosuke License: GPL plugin/japanese/jroku.rb Copyright (C) 2005 SHIBATA Hiroshi License: GPL plugin/japanese/jyear.rb Copyright (C) 2005 sasasin/SuzukiShinnosuke License: GPL plugin/latlonglab_route.rb Copyright (C) 2009, Michitaka Ohno Copyright (C) 2010, KAYA Satoshi You can redistribute it and/or modify it under GPL2. plugin/livedoor Copyright (C) 2007 SHIBATA Hiroshi License: GPL2 plugin/ohmsha_estore.rb You can redistribute it and/or modify it under the same license as tDiary. plugin/opensearch_ad Copyright (C) 2006 SHIBATA Hiroshi License: GPL plugin/picasa Copyright (C) hb Distributed under the GPL. plugin/prezi.rb: plugin embedding presentation on prezi.com Copyright (C) 2010 TADA Tadashi You can redistribute it and/or modify it under GPL2. plugin/recemt_tweet.rb Copyright (C) 2007 by Nishimoto Masaki Distributed under GPL. plugin/retweet.rb Copyright (C) 2010, MATSUOKA Kohei You can redistribute it and/or modify it under GPL2. plugin/section_footer Copyright (c) 2005 SHIBATA Hiroshi License: GPL2 plugin/select_theme Copyright (C) 2005 akira yamada License: GPL2 plugin/tatsu_zine.rb You can redistribute it and/or modify it under the same license as tDiary. plugin/twitpic.rb Copyright (C) 2010 TADA Tadashi You can redistribute it and/or modify it under GPL2. plugin/twitter Copyright (C) 2007 Michitaka Ohno License: GPL2 plugin/yahoo_kousei.rb Copyright (C) 2010, hb You can redistribute it and/or modify it under GPL. plugin/youtube Copyright (C) 2007 by TADA Tadashi License: GPL2 style/hatena Copyright (C) 2004 URABE, Shyouhei. License: Permission is hereby granted, free of charge, to any person obtaining a copy of this code, to deal in the code without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the code, and to permit persons to whom the code is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the code. THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR OR COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE CODE OR THE USE OR OTHER DEALINGS IN THE CODE. style/markdown Copyright (C) 2003, TADA Tadashi Copyright (C) 2004, MoonWolf License: GPL util/image-gallery Copyright (C) 2005-2010 N.KASHIJUKU You can redistribute it and/or modify it under GPL2. util/clean-spam Copyright (C) 2004 Satoru Takabayashi License: GPL2 util/estraier-search Copyright (C) 2007 Kazuhiko License: GPL2 util/posttdiary Copyright (C) 2002, All right reserved by TADA Tadashi License: GPL2 util/rast-search Copyright (C) 2005 Kazuhiko License: GPL2 util/tdiary-vim Author: UECHI Yasumasa Copyright (C) 2004 UECHI Yasumasa License: GPL version 2 or later util/tdiarysearch/search.rb Copyright (C) 2003,2004 Minero Aoki License: GPL version 2 On Debian systems, the complete text of the GNU Library General Public License can be found in "/usr/share/common-licenses/LGPL-2". debian/compat0000644000000000000000000000000212071151617010365 0ustar 8 debian/tdiary-contrib.docs0000644000000000000000000000000612071151617012767 0ustar doc/* debian/tdiary-mode.emacsen-startup0000644000000000000000000000157312071151617014450 0ustar ;;; 50tdiary-mode.el --- Debian tdiary-mode startup file -*-mode: emacs-lisp;-*- (let* ((pkg "tdiary-mode") (flavor-name (if (boundp 'debian-emacs-flavor) (symbol-name debian-emacs-flavor) "emacs")) (pkg-inst (concat "/usr/lib/emacsen-common/packages/install/" pkg)) (elc-dir (concat "/usr/share/" flavor-name "/site-lisp/" pkg))) (when (and (file-exists-p elc-dir) (file-exists-p pkg-inst)) (if (fboundp 'debian-pkg-add-load-path-item) (debian-pkg-add-load-path-item elc-dir) (setq load-path (cons elc-dir load-path))) ;; (autoload 'tdiary-mode "tdiary-mode" nil t) (autoload 'tdiary-new "tdiary-mode" nil t) (autoload 'tdiary-new-diary "tdiary-mode" nil t) (autoload 'tdiary-replace "tdiary-mode" nil t) (add-to-list 'auto-mode-alist '("\\.td\\'" . tdiary-mode)) ;; )) ;;; 50tdiary-mode.el ends here debian/packaging-tools-author-theme.rb0000644000000000000000000000313612071151617015201 0ustar #!/usr/bin/env ruby # # Extract copyright holders. # Author: Daigo Moriwaki # Copyright (c) 2005 Daigo Moriwaki # License: GNU GENERAL PUBLIC LICENSE Version 2 or later. # $KCODE = "E" require 'pathname' class Theme < Struct.new(:name, :author, :copyright, :access, :license) def has_license? license && license.length > 0 end def has_author? author && author.length > 0 end def to_s s = "" if has_license? s << "#{name}\n" s << " " + author.strip + "\n" if author s << " " + copyright.strip + "\n" if copyright s << " " + access.strip + "\n" if access s << " " + license.strip + "\n" if license s << "\n" else s << "#{name}\n" s << "### NO LICENSE ###\n" s << "\n" end s end def valid? has_license? has_author? end end def parse_readme(f) theme = Theme.new theme.name = f.dirname.basename f.each_line do |line| case line.strip! when /author/i theme.author = line when /copyright/i theme.copyright = line when /access/i theme.access = line when /license/i theme.license = line end end theme end def main themes = [] errors = [] Pathname.new('../theme').children.each do |dir| next unless dir.directory? next if /^\./ =~ dir.basename themes << parse_readme(dir + "README") end erros = themes.select {|theme| not theme.valid?} themes -= errors themes.sort! {|a,b| a.name <=> b.name} themes.each {|t| print t.to_s} puts "### ERRORS ###" p errors end main if __FILE__ == $0 debian/rules0000755000000000000000000000430712071151617010253 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/patchsys-quilt.mk TDIARY_DIR = $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/tdiary ELISP_DIR = $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/emacs/site-lisp/$(cdbs_curpkg) install/tdiary-contrib:: rsync -rlpqHSC js $(TDIARY_DIR)/ rsync -rlpqHSC plugin $(TDIARY_DIR)/contrib/ rsync -rlpqHSC misc/* $(TDIARY_DIR)/misc/ rsync -rlpqHSC filter io style util $(TDIARY_DIR)/contrib/ rsync -rlpqHSC lib/exifparser/lib/* $(TDIARY_DIR)/ rsync -rlpqHSC lib/bayes* $(TDIARY_DIR)/ # Fix permissions find $(TDIARY_DIR) -type f -exec chmod 644 {} + chmod 755 $(TDIARY_DIR)/contrib/plugin/git-register.rb chmod 755 $(TDIARY_DIR)/contrib/plugin/windex.rb chmod 755 $(TDIARY_DIR)/contrib/util/clean-spam/tdiary-comment-clean chmod 755 $(TDIARY_DIR)/contrib/util/clean-spam/tdiary-comment-clean2 chmod 755 $(TDIARY_DIR)/contrib/util/clean-spam/tdiary-referer-clean chmod 755 $(TDIARY_DIR)/contrib/util/estraier-search/estraier-register.rb chmod 755 $(TDIARY_DIR)/contrib/util/estraier-search/estraier-search.rb chmod 755 $(TDIARY_DIR)/contrib/util/image-gallery/image-gallery.rb chmod 755 $(TDIARY_DIR)/contrib/util/image-gallery/image-gallery.rb.euc-jp chmod 755 $(TDIARY_DIR)/contrib/util/image2flickr.rb chmod 755 $(TDIARY_DIR)/contrib/util/posttdiary/posttdiary-ex.rb chmod 755 $(TDIARY_DIR)/contrib/util/posttdiary/posttdiary.rb chmod 755 $(TDIARY_DIR)/contrib/util/rast-search/rast-register.rb chmod 755 $(TDIARY_DIR)/contrib/util/rast-search/rast-search.rb chmod 755 $(TDIARY_DIR)/contrib/util/tdiary-grep/grep.rb chmod 755 $(TDIARY_DIR)/contrib/util/tdiarysearch/search.rb chmod 755 $(TDIARY_DIR)/exifparser/makernote/mk_nikonflensname.rb # Cleanup rm -rf $(TDIARY_DIR)/contrib/util/tdiary-mode find $(TDIARY_DIR) -name license.txt -exec rm {} + # Remove due to copyright or license issue rm $(TDIARY_DIR)/contrib/plugin/coderwall.rb rm $(TDIARY_DIR)/contrib/plugin/select_style.rb rm $(TDIARY_DIR)/contrib/plugin/tweet_quote.rb rm $(TDIARY_DIR)/js/yahoo_kousei.js install/tdiary-mode:: install -D -m644 util/tdiary-mode/http.el $(ELISP_DIR)/http.el install -D -m644 util/tdiary-mode/tdiary-mode.el $(ELISP_DIR)/tdiary-mode.el debian/tdiary-contrib.dirs0000644000000000000000000000005712071151617013006 0ustar usr/share/tdiary/misc usr/share/tdiary/contrib debian/README.Debian0000644000000000000000000000125412071151617011232 0ustar tdiary-contrib for Debian ========================= This package includes optional utilities and plugins for tDiary, * that do not depend on tDiary-core version, * that are not internationalized yet, * that do not work with the latest tDiary-core version and so on. Copyright and license Issues ---------------------------- Following files are removed from binary package because of unknown copyright or license. * plugin/coderwall.rb * plugin/select_style.rb * plugin/tweet_quote.rb * js/yahoo_kousei.js TODO ---- * Remove mootools.js and depends on libjs-mootools to prevent lintian errors. -- Daigo Moriwaki , Wed, 13 Apr 2005 23:35:01 +0900 debian/packaging-tools-author-plugin.rb0000644000000000000000000000254512071151617015400 0ustar #!/usr/bin/env ruby # # Extract copyright holders. # Author: Daigo Moriwaki # Copyright (c) 2005 Daigo Moriwaki # License: GNU GENERAL PUBLIC LICENSE Version 2 or later. # $KCODE = "E" require 'pathname' class Plugin < Struct.new(:name, :author, :copyright, :access, :license) def has_license? license && license.length > 0 end def to_s s = "" s << "#{name}\n" s << copyright s << "\n\n" s end def ==(a) self.to_s == a.to_s end end def parse_readme(f) plugin = Plugin.new /(.*)\.rb/ =~ f.basename plugin.name = $1 plugin.copyright = "" flag = nil f.each_line do |line| line.strip! if /copyright/i =~ line if /^#/ =~ line flag = :sharp else flag = :block end end if flag == :sharp if /^#(.*)$/ =~ line plugin.copyright += " " + $1.strip + "\n" else break end elsif flag == :block next if /^=.*copyright/i =~ line if /^=/ =~ line && break else plugin.copyright += " " + line + "\n" end end end plugin end def main plugins = [] Pathname.new('../misc/plugin').find do |f| plugins << parse_readme(f) if /\.rb$/ =~ f end plugins.sort! {|a,b| a.name <=> b.name} plugins.uniq! plugins.each {|p| print p.to_s} end main if __FILE__ == $0 debian/tdiary-mode.emacsen-remove0000644000000000000000000000073512071151617014242 0ustar #!/bin/sh -e # /usr/lib/emacsen-common/packages/remove/tdiary-mode FLAVOR=$1 PACKAGE=tdiary-mode if [ ${FLAVOR} != emacs ]; then if test -x /usr/sbin/install-info-altdir; then echo remove/${PACKAGE}: removing Info links for ${FLAVOR} install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/tdiary-mode.info.gz fi echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} fi debian/changelog0000644000000000000000000003525212156176547011065 0ustar tdiary-contrib (3.2.2-1) unstable; urgency=low * New upstream release * debian/control - add me as Uploaders - set Standards-Vesrion: 3.9.4 - fix "vcs-field-not-canonical" lintian warning - adjust Dependency for tdiary, not restrict to << 3.2 but >= 3.2.2 * add debian/watch file, thanks to Bart Martens -- Hideki Yamane Thu, 13 Jun 2013 07:49:48 +0900 tdiary-contrib (3.1.20120506-3) unstable; urgency=low * tdiary-mode: create .el symlink to beside the flavored elcs (closes: #670343). -- Taku YASUI Sun, 20 May 2012 00:54:52 +0900 tdiary-contrib (3.1.20120506-2) unstable; urgency=low * debian/control: Add rsync to Build-Deps (closes: #671970). -- Taku YASUI Wed, 09 May 2012 15:26:10 +0900 tdiary-contrib (3.1.20120506-1) unstable; urgency=low * New upstream release. * Separate from tdiary package (closes: #671499). - Upstream tdiary-contrib distribution has been separated from tdiary core packages. They have different release policy and schedule. So, separating them is very reasonable. * Fix lintian errors. -- Taku YASUI Mon, 07 May 2012 02:55:34 +0900 tdiary (3.0.1-3) unstable; urgency=low * Commit debian source to git.debian.org. - git://git.debian.org/pkg-ruby-extras/tdiary.git - Add Vcs metadata to debian/control. * Use debian-pkg-add-load-path-item at tdiary-mode (closes: #664814) * Change tdiary-mode long description (closes: #477138) * Fix tdiary-mode error when tdiary-mode is removed (closes: #670354) -- Taku YASUI Fri, 04 May 2012 21:46:23 +0900 tdiary (3.0.1-2) unstable; urgency=low * Change maintainer to Debian Ruby Extras Maintainers for collective management. - Former maintainer Daigo Moriwaki is moved to uploaders. * Add Taku YASUI to the uploaders. * Apply patch by jari.aalto@cante.net (closes: #670801) - Remove deprecated dpatch and upgrade to packaging format "3.0 quilt". - Update to Standards-Version to 3.9.3 and debhelper to 8. - Add build-arch and build-indep targets; use dh_prep in rules file. - Fix no-debian-copyright (Lintian). - Fix extra-license-file license.txt (Lintian). - Fix description-synopsis-starts-with-article (Lintian). - Fix copyright-refers-to-symlink-license (Lintian). * Change debian/copyright format to DEP-5 -- Taku YASUI Fri, 04 May 2012 20:36:54 +0900 tdiary (3.0.1-1) unstable; urgency=low * New upstream release (Closes: #542801, #594947) * debian/control: - Bumped up Standards-Version to 3.9.1. - Updated version dependency. * debian/tdiary-setup.rb: Followed the upstream changes, incorporating js and index.fcgi -- Daigo Moriwaki Mon, 11 Apr 2011 21:53:16 +0900 tdiary (2.2.3-1) unstable; urgency=low * New upstream release. * debian/control: Bumped up Standards-Version to 3.8.3. * Removed and merged into debian/rules - debian/packaging-tools-theme.rb - debian/tdiary-theme.files -- Daigo Moriwaki Mon, 08 Mar 2010 23:23:27 +0900 tdiary (2.2.1-1) unstable; urgency=low * New upstream release * debian/tdiary-mode.emacsen-startup: Recognized filenames correctly. (Closes: #446182) * tdiary-theme do no more put files under /var/www - debian/rules - debian/tdiary-theme.README.Debian - debian/tdiary-theme.files - debian/NEWS - debian/tdiary.links - debian/dirs -- Daigo Moriwaki Sat, 17 May 2008 17:51:32 +0900 tdiary (2.2.0-2) unstable; urgency=low * debian/watch: Bumped up the version to check. (Closes: #460002) * debian/control: - Bumped up the Standards-Version to 3.7.3. - Use a new Homepage dpkg header. * debian/rules: Corrected permissions of some files. -- Daigo Moriwaki Thu, 10 Jan 2008 22:10:27 +0900 tdiary (2.2.0-1) unstable; urgency=low * New upstream release (Closes: #457142). * debian/control: improved recommends/suggests. tdiary, tdiary-plugin and tdiary-theme should be of the same version. Bumped up the dependency version to 2.2. -- Daigo Moriwaki Thu, 20 Dec 2007 12:35:58 +0900 tdiary (2.1.4+20070801-1) experimental; urgency=low * New upstream CVS snapshot. * debian/control: tdiary-mode now depends on emacs instead of emacs21 in order to respect emacs22 (Closes: #433981). -- Daigo Moriwaki Wed, 01 Aug 2007 23:35:06 +0900 tdiary (2.1.4-6) experimental; urgency=high * An Vulnerability reported by the upstream has been fixed using a patch from them. (Closes: #403345) -- Daigo Moriwaki Sat, 16 Dec 2006 23:30:44 +0900 tdiary (2.1.4-5) experimental; urgency=high * The patch in 2.1.4-4 was not complete. Administraters' page for mobile phones still had the vulnerability. This issue has been fixed. -- Daigo Moriwaki Wed, 29 Nov 2006 21:42:45 +0900 tdiary (2.1.4-4) experimental; urgency=high * Add a patch to fix a Cross Site Scripting (XSS) vulnerability. (closes: #400447) -- Daigo Moriwaki Mon, 27 Nov 2006 21:00:52 +0900 tdiary (2.1.4-3) experimental; urgency=low * Move build-depends-indep to build-depends-indep again as per policy section 7.6. -- Daigo Moriwaki Mon, 5 Jun 2006 23:31:27 +0900 tdiary (2.1.4-2) experimental; urgency=low * debian/watch: correct to see 2.1.x. * debian/control: - upgrade standard version to the current one, 3.7.2. - split build-depends-indep to build-depends-indep and build-depends to confirm the debian policy. -- Daigo Moriwaki Mon, 5 Jun 2006 22:55:00 +0900 tdiary (2.1.4-1) experimental; urgency=low * New upstream release -- Daigo Moriwaki Wed, 3 May 2006 18:31:38 +0900 tdiary (2.1.3-1) experimental; urgency=low * New upstream release of developing versions. * debian/tdiary.copyright: Add copyrights of new files. * debian/tdiary-plugin.copyright: Add copyrights of new files. * debian/tdiary-theme.copyright: Add copyrights of new files. * packaging-tools-theme.rb: Add theme/conf.* files. * rules, control: Adopt dpatch system. -- Daigo Moriwaki Sun, 5 Mar 2006 00:02:44 +0900 tdiary (2.0.2+20060303-1) unstable; urgency=low * New upstream snapshot. * debian/control: Change my email address and remove a uploader because I am now an official Debian Developer. * debian/tdiary-contrib.copyright: Include plugin/google/google_analytics. * debian/tdiary-setup.rb: Change a shebang to directly load /usr/bin/ruby. (closes: #344988) -- Daigo Moriwaki Sat, 4 Mar 2006 00:58:33 +0900 tdiary (2.0.2+20051022-1) unstable; urgency=low * New upstream snapshot. * Rename debian/theme_url.rb to debian/20theme_url.rb. Then, it will be loaded before 50sp.rb and allow users to override a path for theme using a plugin that is called by 50sp.rb. (Thanks to Taku Yasui) * Following themes, which now contain license terms, are included in tdiary-theme package again: - theme/blue-border - theme/nande-ya-nen * Following plugins, which now contain license terms and copyrights, are included in tdiary-plugin package again: - misc/plugin/amazon - misc/plugin/bq - misc/plugin/comment_rank - misc/plugin/doctype-html401tr - misc/plugin/dropdown_calendar - misc/plugin/gradation - misc/plugin/gradient - misc/plugin/highlight - misc/plugin/makelirs - misc/plugin/recent_comment - misc/plugin/src - misc/plugin/title_list * misc/plugin/title_tag: included in tdiary-plugin package again, which now contains a valid license. * contrib/style/hatena: included in tdiary-plugin package again, which now contains a valid license. * Following plugins and utilities, which now contain license terms and copyrights, are included in tdiary-contrib package again: - contrib/plugin/antirefspam - contrib/plugin/google_adsense.rb - contrib/plugin/select_theme - contrib/util/clean-spam - contrib/util/rast-search -- Daigo Moriwaki Sat, 22 Oct 2005 15:23:32 +0900 tdiary (2.0.2+20050720-1) unstable; urgency=low * theme/blue-border: removed from `tdiary-theme' package because of lack of license. * theme/nande-ya-nen: removed from `tdiary-theme' because of GNU Free Documentation License. * Following plugins are removed from `tdiary-plugin' package because of lack of license: - misc/plugin/amazon - misc/plugin/bq - misc/plugin/comment_rank - misc/plugin/gradation - misc/plugin/gradient - misc/plugin/makelirs - misc/plugin/recent_comment * Following plugins are removed from `tdiary-plugin' package because of lack of license and copyright: - misc/plugin/doctype-html401tr - misc/plugin/dropdown_calendar - misc/plugin/highlight - misc/plugin/referer-utf8 (this is also deprecated) - misc/plugin/src - misc/plugin/title_list * misc/plugin/title_tag: removed from `tdiary-plugin' package because of license violation. The license should be GPL because it depends on tdiary under GPL version 2. * Move misc/style directory from `tdiary' package to `tdiary-plugin' package. * Followings are removed from `tdiary-contrib' package: - because of lack of English license + contrib/plugin/antirefspam - because of lack of license + contrib/plugin/google_adsense.rb - because of lack of license and copyright + contrib/plugin/select_theme + contrib/util/clean-spam + contrib/util/rast-search - because of license violation. The license should be GPL because it depends on tdiary under GPL version 2. + contrib/style/hatena * debian/NEWS.Debian: added. -- Daigo Moriwaki Sun, 24 Jul 2005 11:32:20 +0900 tdiary (2.0.2-1) unstable; urgency=high * New upstream release * (urgency high) A 'Cross-Site Request Forgeries (CSRF)' vulnerability has been fixed (closes: #319315). * debian/rule: add lines to fix permissions. * debian/control: update Standards-Version to follow the latest The Debian Policy. -- Daigo Moriwaki Thu, 21 Jul 2005 22:44:53 +0900 tdiary (2.0.1-4) unstable; urgency=low * debian/tdiary-theme.copyright: rewrite. * debian/watch: rewrite to follow stable releases -- Daigo Moriwaki Sat, 11 Jun 2005 18:31:43 +0900 tdiary (2.0.1-3) unstable; urgency=low * debian/rules: refactor. * debian/control: rewrite descriptions. * debian/copyright: remove. * debian/*.copyright: add for each binary packages: tdiary-plugin, tdiary-theme, tdiary-mode and tdiary-contrib. -- Daigo Moriwaki Sun, 22 May 2005 22:18:11 +0900 tdiary (2.0.1-2) unstable; urgency=low * Refactor debian/rules. -- Daigo Moriwaki Wed, 20 Apr 2005 21:24:18 +0900 tdiary (2.0.1-1) unstable; urgency=low * New upstream release * debian/control: - Modify dependencies to follow the change of ruby1.8 (1.8.2-3). - tdiary-contrib depends on `curl' (closes: #261466). * debian/*.README.Debian: Rewrite. * debian/tdiary-setup.rb: Support the Traditional-Chinese (ZH) mode. * Change the license of man pages from GFDL to GPLv2. * Patches from Kazuhiro NISHIYAMA - `base.css' is included in not tdiary-theme package but tdiary package. - debug tdiary-setup.rb -- Daigo Moriwaki Wed, 13 Apr 2005 22:10:07 +0900 tdiary (2.0.0-1) unstable; urgency=low * New upstream release (Closes: #250961) * Rebuild tdiary-set script (Closes: #235257, #255740) - support trackback installation - support RSS installation * Add a new sub-package named tdiary-contrib. -- Daigo Moriwaki Sat, 17 Jul 2004 11:25:50 +0900 tdiary (1.5.6-2) unstable; urgency=low * Add a new sub-package, tdiary-mode. Closes: #224724. Thanks to Hidetaka Iwai for sending a useful patch. -- Daigo Moriwaki Thu, 01 Jan 2004 00:29:26 +0900 tdiary (1.5.6-1) unstable; urgency=low * New upstream release * A security hole announced at 19 Nov has been fixed. -- Daigo Moriwaki Sat, 13 Dec 2003 12:57:12 +0900 tdiary (1.5.5-2) unstable; urgency=low * Downgrade, or escape CVS version, to fit Debian package policy. * Closes: #214220, which is same as #212760 below. -- Daigo Moriwaki Fri, 10 Oct 2003 22:29:10 +0900 tdiary (1.5.5+20030914-1) unstable; urgency=low * CVS upstream * Use Ruby 1.8 and its libraries (closes: #212760). * Modify English plugin(00lang.en.rb) and add it into default plugins. -- Daigo Moriwaki Sun, 14 Sep 2003 22:04:09 +0900 tdiary (1.5.5-1) unstable; urgency=low * New upstream release -- Daigo Moriwaki Mon, 11 Aug 2003 17:51:30 +0900 tdiary (1.5.4-1) unstable; urgency=low * New upstream release -- Daigo Moriwaki Sat, 17 May 2003 00:13:59 +0900 tdiary (1.5.3-5) unstable; urgency=low * Remove some default plugins, with which tDiary doesn't work well. -- Daigo Moriwaki Fri, 16 May 2003 22:56:41 +0900 tdiary (1.5.3-4) unstable; urgency=low * merge source files. -- Takashi Okamoto Sun, 11 May 2003 06:01:44 +0900 tdiary (1.5.3-3) unstable; urgency=low * Make a symbolic link of the theme directory so that you can choose theme CSSs from a drop-down list in a config page. -- Daigo Moriwaki Tue, 8 Apr 2003 10:10:58 +0900 tdiary (1.5.3-2) unstable; urgency=low * Debug tdiary-setup.sh that produced .htaccess with 'Option ++'. -- Daigo Moriwaki Mon, 24 Mar 2003 10:17:17 +0900 tdiary (1.5.3-1) unstable; urgency=low * New upstream release. * All the architectures are available. -- Daigo Moriwaki Fri, 21 Mar 2003 15:47:47 +0900 tdiary (1.5.2-3) unstable; urgency=low * Works well with suEXEC mode of httpd. -- Daigo Moriwaki Sun, 9 Mar 2003 16:01:19 +0900 tdiary (1.5.2-2) unstable; urgency=low * Separate plugins into new tdiary-plugin package. * Add tdiary-setup.sh script to setup tdiary environment for each user. * Use the erb package in Debian instead of one in the upstream. -- Daigo Moriwaki Thu, 16 Jan 2003 00:06:18 +0900 tdiary (1.5.2-1) unstable; urgency=low * New upstream release. -- Daigo Moriwaki Sat, 28 Dec 2002 20:11:12 +0900 tdiary (1.5.1-1) unstable; urgency=low * Initial Release. -- Daigo Moriwaki Sun, 22 Dec 2002 22:30:18 +0900 debian/tdiary-mode.copyright0000644000000000000000000000047112071151617013341 0ustar It was downloaded from http://sourceforge.net/projects/tdiary/. Upstream Author: Junichiro Kita Copyright: Copyright (C) 2002 Junichiro Kita This software is licensed under the terms of GNU General Public License Version 2 or later, which is written in /usr/share/common-licenses/GPL-2. debian/tdiary-mode.emacsen-install0000644000000000000000000000254112071151617014410 0ustar #! /bin/sh -e # /usr/lib/emacsen-common/packages/install/tdiary-mode # Written by Jim Van Zandt , borrowing heavily # from the install scripts for gettext by Santiago Vila # and octave by Dirk Eddelbuettel . FLAVOR=$1 PACKAGE=tdiary-mode LOG=CompilationLog if [ ${FLAVOR} = emacs ]; then exit 0; fi echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} #FLAVORTEST=`echo $FLAVOR | cut -c-6` #if [ ${FLAVORTEST} = xemacs ] ; then # SITEFLAG="-no-site-file" #else # SITEFLAG="--no-site-file" #fi FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} TOELDIR=../../../emacs/site-lisp/$PACKAGE ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} # Install-info-altdir does not actually exist. # Maybe somebody will write it. #if test -x /usr/sbin/install-info-altdir; then # echo install/${PACKAGE}: install Info links for ${FLAVOR} # install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz #fi rm -rf ${ELCDIR} install -m 755 -d ${ELCDIR} cd ${ELDIR} FILES=`echo *.el` cd ${ELCDIR} for f in $FILES; do ln -s $TOELDIR/$f . done cat << EOF > path.el (setq load-path (cons "." load-path) byte-compile-warnings nil) EOF ${FLAVOR} ${FLAGS} ${FILES} > ${LOG} 2>&1 gzip -9 ${LOG} rm -f path.el exit 0 debian/packaging-tools-author.rb0000644000000000000000000000217212071151617014100 0ustar #!/usr/bin/env ruby # # Extract copyright holders. # Author: Daigo Moriwaki # Copyright (c) 2005 Daigo Moriwaki # License: GNU GENERAL PUBLIC LICENSE Version 2 or later. # $KCODE = "E" def grep(pattern) lines = IO.popen("zsh -c \"grep -i copyright #{pattern}\"") {|io| io.readlines} authors = [] trush = [] lines.each do |l| case l when /\d{4},?\s+(.*)/ # 2004(,) .... s = $1.strip s.gsub!(/by\s+/i, "") # 2004 by ... authors << s when /by\s+(.*)$/i # by ... s = $1.strip authors << s when /\(C\)\s*(.*)$/i # (C) ... authors << $1.strip else trush << l end end authors.map! do |s| s.gsub!(/\(C\)\s*/,"") s.gsub!(/\. All Rights Reserved\./, "") s.gsub!(/^\d{4}-\d{4}\./,"") s end return authors.uniq.sort, trush end def output(authors, trush) puts authors puts puts trush end puts "+++ tdiary-plugin +++" output *grep("tdiary-plugin/**/*.rb") puts puts "+++ tdiary-theme +++" output *grep("tdiary-theme/**/README") puts puts "+++ tdiary-contrib +++" output *grep("tdiary-contrib/**/*.rb") debian/control0000644000000000000000000000231012156176467010604 0ustar Source: tdiary-contrib Section: web Priority: extra Maintainer: Debian Ruby Extras Maintainers Uploaders: Daigo Moriwaki , Taku YASUI , Hideki Yamane Build-Depends: debhelper (>= 8), cdbs, quilt, rsync Standards-Version: 3.9.4 Homepage: http://www.tdiary.org/ Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/tdiary-contrib.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/tdiary-contrib.git;a=summary Package: tdiary-contrib Architecture: all Depends: ${misc:Depends}, ruby | ruby-interpreter, tdiary (>= 3.2.2), curl Suggests: libestraier-ruby1.8, hyperestraier Description: Plugins of tDiary to add functionalities This package includes optional utilities and plugins for tDiary. They are valuable but not so useful for general users. Some can not be completely internationalized. Package: tdiary-mode Architecture: all Depends: ${misc:Depends}, emacs23 | emacsen, apel, psgml Suggests: tdiary Description: tDiary editing mode for Emacsen This package provides Emacs major mode to edit and post entries to tDiary. You can edit/post your article to tDiary easily using this package.