From ec57e197d55c0ae270ddcecd3b54867d3d0724ae Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Sat, 25 Feb 2006 18:10:05 +0000 Subject: [PATCH] Load nanobloggermail-0.2 into debian/nanobloggermail/trunk. --- debian/changelog | 36 +++++++++++++++++++ debian/compat | 1 + debian/control | 19 ++++++++++ debian/copyright | 14 ++++++++ debian/dirs | 1 + debian/docs | 1 + debian/install | 1 + debian/manpages | 2 ++ debian/nanobloggermail.1 | 64 +++++++++++++++++++++++++++++++++ debian/nb_mail.1 | 64 +++++++++++++++++++++++++++++++++ debian/rules | 77 ++++++++++++++++++++++++++++++++++++++++ 11 files changed, 280 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/docs create mode 100644 debian/install create mode 100644 debian/manpages create mode 100644 debian/nanobloggermail.1 create mode 100644 debian/nb_mail.1 create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..53f7ec9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,36 @@ +nanobloggermail (0.2-2) unstable; urgency=low + + * Added homepage to debian/control. + + -- gregor herrmann Sun, 25 Dec 2005 14:27:34 +0100 + +nanobloggermail (0.2-1) unstable; urgency=low + + * New upstream release + + -- gregor herrmann Mon, 5 Sep 2005 17:22:32 +0200 + +nanobloggermail (0.1-4) unstable; urgency=low + + * Clarified copyright statement in debian/copyright. + + -- gregor herrmann Wed, 31 Aug 2005 17:07:10 +0200 + +nanobloggermail (0.1-3) unstable; urgency=low + + * Changed Architecture to 'all' and Build-Depends to Build-Depends-Indep. + + -- gregor herrmann Thu, 18 Aug 2005 20:07:45 +0200 + +nanobloggermail (0.1-2) unstable; urgency=low + + * Fixed errors in manpage. + + -- gregor herrmann Thu, 18 Aug 2005 16:26:44 +0200 + +nanobloggermail (0.1-1) unstable; urgency=low + + * Initial release. + + -- gregor herrmann Tue, 9 Aug 2005 17:13:40 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..265dbea --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: nanobloggermail +Section: web +Priority: optional +Maintainer: gregor herrmann +Build-Depends-Indep: debhelper (>= 4.0.0) +Standards-Version: 3.6.2 + +Package: nanobloggermail +Architecture: all +Depends: nanoblogger, ${perl:Depends} +Description: helper script for submitting entries to nanoblogger via mail + nanobloggermail is a tiny perl script that takes a mail (or any other kind of + text) from stdin and feeds the relevant parts to nb (nanoblogger's binary). + . + It allows inserting new entries into weblogs without having shell access. + . + Homepage: http://www.toastfreeware.priv.at/ + + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e5db919 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,14 @@ +This package was written and debianized by gregor herrmann + +Copyright Holder: gregor herrmann , 2005 + +License: + + This program 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. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/bin diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..6e75a67 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +procmailrc.example diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..2fd294d --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +nb_mail usr/bin diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 0000000..a41fc1a --- /dev/null +++ b/debian/manpages @@ -0,0 +1,2 @@ +debian/nb_mail.1 +debian/nanobloggermail.1 diff --git a/debian/nanobloggermail.1 b/debian/nanobloggermail.1 new file mode 100644 index 0000000..ed6cfcf --- /dev/null +++ b/debian/nanobloggermail.1 @@ -0,0 +1,64 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH NANOBLOGGERMAIL 1 "August 18, 2005" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) + +.SH NAME +nanobloggermail \- script for submitting entries to nanoblogger via mail + +.SH SYNOPSIS +.B nb_mail +\fI/path/to/nanoblogger/web/\fR \fI< mail\fR + +.SH DESCRIPTION +.B nanobloggermail +is a tiny perl script that takes a mail (or any other kind of +text) from stdin and feeds the relevant parts to nb (nanoblogger's binary). +It allows inserting new entries into weblogs without having shell access. +.TP +\fB/path/to/nanoblogger/web/\fR +Path to the directory with your nanoblogger blog; i.e. $BLOG_DIR in nanoblogger syntax. +.TP +\fBmail\fR +Mail (or other text), passed to nb by nb_mail. +.br +The body of the mail +.B +must +contain the following keywords in +.B +this +order and in capitals: TITLE: string CAT: integer (catid) BODY: (string) + +.SH EXAMPLE +.B +nb_mail +/home/gregor/public_html/diary < message +.PP +with +.B +message +containing: +.br +TITLE: New software CAT: 3 BODY: Today I installed nanobloggermail and I'm very happy with it. + +.SH NOTE +Normally you won't call nb_mail from the commandline but probably from +procmail or aliases; cf. the documentation. + +.SH SEE ALSO +.B /usr/share/doc/nanobloggermail/ +.PP +nanobloggermail was written by gregor herrmann +.nh +. diff --git a/debian/nb_mail.1 b/debian/nb_mail.1 new file mode 100644 index 0000000..ed6cfcf --- /dev/null +++ b/debian/nb_mail.1 @@ -0,0 +1,64 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH NANOBLOGGERMAIL 1 "August 18, 2005" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) + +.SH NAME +nanobloggermail \- script for submitting entries to nanoblogger via mail + +.SH SYNOPSIS +.B nb_mail +\fI/path/to/nanoblogger/web/\fR \fI< mail\fR + +.SH DESCRIPTION +.B nanobloggermail +is a tiny perl script that takes a mail (or any other kind of +text) from stdin and feeds the relevant parts to nb (nanoblogger's binary). +It allows inserting new entries into weblogs without having shell access. +.TP +\fB/path/to/nanoblogger/web/\fR +Path to the directory with your nanoblogger blog; i.e. $BLOG_DIR in nanoblogger syntax. +.TP +\fBmail\fR +Mail (or other text), passed to nb by nb_mail. +.br +The body of the mail +.B +must +contain the following keywords in +.B +this +order and in capitals: TITLE: string CAT: integer (catid) BODY: (string) + +.SH EXAMPLE +.B +nb_mail +/home/gregor/public_html/diary < message +.PP +with +.B +message +containing: +.br +TITLE: New software CAT: 3 BODY: Today I installed nanobloggermail and I'm very happy with it. + +.SH NOTE +Normally you won't call nb_mail from the commandline but probably from +procmail or aliases; cf. the documentation. + +.SH SEE ALSO +.B /usr/share/doc/nanobloggermail/ +.PP +nanobloggermail was written by gregor herrmann +.nh +. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b8e62a4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,77 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +configure: configure-stamp +configure-stamp: + dh_testdir + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs +# dh_installexamples + dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman +# dh_link +# dh_strip + dh_compress + dh_fixperms + dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure -- 2.20.1