+oomailing (0.2) UNRELEASED; urgency=low
+
+ * Allow dots in filenames
+
+ -- Jean-Michel Vourgère <jmv_deb@nirgal.com> Mon, 08 Jun 2009 14:27:41 +0200
+
oomailing (0.1) UNRELEASED; urgency=low
* Initial release.
Priority: optional
Maintainer: Jean-Michel Vourgère <jmv_deb@nirgal.com>
Build-Depends: debhelper (>> 3.0.0)
-Standards-Version: 3.7.3
+Standards-Version: 3.8.1
Package: oomailing
Section: misc
Architecture: all
-Depends: openoffice.org, xvfb, xfonts-base, sudo
+Depends: openoffice.org, xvfb, sudo, adduser
+Recommends: xfonts-base
Description: Openoffice mailing server
Create an openoffice instance running on a virtual X frame buffer.
It listen on a port for mailmerge commands.
# 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_install -X.svn
dh_md5sums
dh_builddeb
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
exitusage Need two parameters
fi
-if ! echo "$1" | grep -q "^[A-Za-z0-9]*$"; then
+if ! echo "$1" | grep -qG "^[A-Za-z0-9.]*$"; then
exitusage SECURITY ERROR: Base file name can only contain alphanumerical characters
fi
-basefilename=$1.odt
+basefilename=$1
target=$2
test -r /tmp/$basefilename || exitusage "Can't read file /tmp/$basefilename"