debian/0000755000000000000000000000000011651756642007203 5ustar debian/install0000644000000000000000000000004011651756642010566 0ustar lib/markdown.js usr/lib/nodejs/ debian/rules0000755000000000000000000000043711651756642010267 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_install: dh_install mv $(CURDIR)/debian/node-node-markdown/usr/lib/nodejs/markdown.js \ $(CURDIR)/debian/node-node-markdown/usr/lib/nodejs/node-markdown.js debian/docs0000644000000000000000000000001211651756642010047 0ustar README.md debian/watch0000644000000000000000000000021011651756642010225 0ustar version=3 https://alioth.debian.org/~dapal/npmjs.php?id=node-markdown \ http://packages:5984/node-markdown/-/node-markdown-(\d+.*).tgz debian/control0000644000000000000000000000140211651756642010603 0ustar Source: node-node-markdown Section: web Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: David Paleino Build-Depends: debhelper (>= 8~) Standards-Version: 3.9.2 Homepage: http://github.com/andris9/node-markdown Vcs-Git: git://git.debian.org/collab-maint/node-node-markdown.git Vcs-Browser: http://git.debian.org/?p=collab-maint/node-node-markdown.git;a=summary Package: node-node-markdown Architecture: all Depends: ${misc:Depends} , nodejs , node-showdown Recommends: markdown Description: markdown syntax parser for node.js node-markdown lets you parse Markdown syntax with node.js . It is based on the Showdown parser, and is meant to parse Markdown syntax into HTML code. debian/changelog0000644000000000000000000000021711651756642011055 0ustar node-node-markdown (0.1.0-1) unstable; urgency=low * Initial release -- David Paleino Wed, 26 Oct 2011 12:14:53 +0200 debian/copyright0000644000000000000000000000514211651756642011140 0ustar Format: http://dep.debian.net/deps/dep5 Files: * Copyright: © 2010, Andris Reinman License: BSD-3 Files: lib/vendor/showdown/* Copyright: © 2007, John Fraser License: BSD-3 Files: lib/vendor/showdown/perlMarkdown/* Copyright: © 2004, John Gruber License: BSD-3 Files: debian/* Copyright: © 2011, David Paleino License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". License: BSD-3 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither the name "Markdown" nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. debian/source/0000755000000000000000000000000011651756642010503 5ustar debian/source/format0000644000000000000000000000001411651756642011711 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011651756642010632 5ustar debian/patches/series0000644000000000000000000000004111651756642012042 0ustar 00-use_systemwide_showdown.patch debian/patches/00-use_systemwide_showdown.patch0000644000000000000000000000135511651756642017075 0ustar From: David Paleino Subject: use packaged node-showdown Origin: vendor Forwarded: no --- lib/markdown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- node-node-markdown.orig/lib/markdown.js +++ node-node-markdown/lib/markdown.js @@ -2,7 +2,7 @@ /* usage: html = require("markdown").Markdown(markdown_string); */ // import Showdown parser -var Showdown = new (require("./vendor/showdown/src/showdown.js").Showdown.converter)(); +var Showdown = new (require('showdown').Showdown.converter)(); /** * Markdown(text, stripUnwanted, allowedtags, allowedAttribs) -> String @@ -103,4 +103,4 @@ var stripUnwantedHTML = function(html /* } }); -} \ No newline at end of file +} debian/compat0000644000000000000000000000000211651756642010401 0ustar 8