From: Rene Mayorga Date: Mon, 12 Mar 2012 14:43:43 +0000 (+0900) Subject: Imported Debian patch 3.0.715-1 X-Git-Url: https://unix4lyfe.org/gitweb/darkstat-debian/commitdiff_plain/b6069b5cedf32ffb61978dba984fba393be6038a?hp=-c Imported Debian patch 3.0.715-1 --- b6069b5cedf32ffb61978dba984fba393be6038a diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..3421635 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,25 @@ +darkstat for Debian +------------------- + +INIT SCRIPTS: + +Since version 2.3-2, the darkstat package has two init scripts: + - /etc/init.d/darkstat, to start/stop the daemon, + - /etc/darkstat/init.cfg, to configure the settings of the daemon. + +The /etc/init.d/darkstat start/stop commands will not be started until the START_DARKSTAT option is set to "yes". + +NEW OPTIONS + +Since version 3.0.707, the darkstat package has change some major options +including the feature to run in a chroot jail, the chroot dir can +be specified at compilation time or can be set with the proper option, +see darkstat(8); at Debian the chroot is set to /var/lib/darkstat. + +DATABASE COMPATIBILITY + +Newest database from 3.X branches are not compatible with old database form +2.X branches. + + -- Rene Mayorga Sun, 30 Sep 2007 09:42:04 -0600 + diff --git a/debian/README.Source b/debian/README.Source new file mode 100644 index 0000000..10a1ce4 --- /dev/null +++ b/debian/README.Source @@ -0,0 +1,10 @@ +Repackaged upstream source: +=========================== + +The original darkstat tarball includes contrib/darkproxy.php, this file +does not have any valid license that allow us o modify and redistribute it +so the file is being removed from the original tarball to fulfill the DFSG. + +If you need to recreate the tarball you can execute +uuscan --verbose --no-symlink this will download the current version and +it will create the +dfsg.orig.tar.gz file. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f3e30e9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,413 @@ +darkstat (3.0.715-1) unstable; urgency=low + + * New upstream release + * Using orig.tar.gz whitout repack again since upstream correct the + license's issues. + + -- Rene Mayorga Mon, 12 Mar 2012 23:43:43 +0900 + +darkstat (3.0.714+dfsg-1) unstable; urgency=low + + * New upstream release + + IPv6 support added by upstream (Closes: #593900) + * debian/control: replace the old homepage + * Added Brazilian Portuguese debconf template, thanks + to Flamarion Jorge (Closes: #621868) + * debian/watch: + + update to new homepage + + call rpack.sh to recreate +dfsg.orig.tar.gz + + add dversionmangle, now we are using +dfsg + * debian/copyright: + + update copyright info + * Remove contrib/darkproxy.php from tarball and repack as DFSG, + this file does not have any valid license. + + Add script rpack.sh based on repack.sh from pkg-perl + + Add README.Source to document the repacked tarball. + + -- Rene Mayorga Tue, 07 Jun 2011 08:53:58 -0600 + +darkstat (3.0.713-3) unstable; urgency=low + + * Fix a lot of pending l10n bugs: + + Adding Danish translation tanks goes to + Joe Dalton (Closes: #601713) + + Adding Vietnamese tranlation, thanks goes to + Clytie Siddall (Closes: #601927) + + Adding Slovak translations, thanks goes to: + helix84@centrum.sk (Closes: #619590) + + Adding Finnish translation, thanks goes to + Esko Arajärvi (Closes: #619750) + + Adding Norwegian Bokmal tranlations, thanks goes to: + Bjørn Steensrud (Closes: #619732) + * Update Standards versions to 3.9.2 (No changes needed) + * debian/copyright: + + Inlcude full text of BSD License. + + Update copyright info for sort_hosts.c + + -- Rene Mayorga Thu, 07 Apr 2011 19:52:26 -0600 + +darkstat (3.0.713-2) unstable; urgency=low + + * Patches forwarded from Emil + and Ubuntu Maintainers, thank you guys :) : + + Improve comments on init.cfg to be less confusing to users. + + Add $DAYLOG and $FILTER vars to init.cfg conf + file and init.d script. + + Remove unused options from configure-stamp target. + * Allow extra OPTIONS at the config file, thanks goes to + Javier Barroso. (Closes: #581553) + + + -- Rene Mayorga Thu, 20 May 2010 10:01:02 -0600 + +darkstat (3.0.713-1) unstable; urgency=low + + * New upstream release + * Remove fetch-upstream-changelog upstream from debian/rules + and remove changelog.upstream from debian/, upstream now includes this + on the tarball, thanks Emil!. + * Set standards-version to 3.8.4 ( no changes needed ) + * Use $remote_fs on Requiired-Start at init.d script. + * Update copyright info. + * Remove THANKS from debian/docs upstream now include this info on AUTHORS + * Remove the leading article on Description + + -- Rene Mayorga Tue, 23 Mar 2010 18:39:54 -0600 + +darkstat (3.0.712-2) unstable; urgency=low + + * Clarify configuration example about the -l option about the + expected format of the network. (Closes: #556140) + * Add Russian debconf templates translation, thanks to + Yuri Kozlov . (Closes: #543183) + * Update standards-versions to 3.8.3 (No changes needed) + + -- Rene Mayorga Sun, 15 Nov 2009 11:15:38 -0600 + +darkstat (3.0.712-1) unstable; urgency=low + + * New upstream release (Closes: #515183) + * remove manpage-section-and-minus-hyphen.patch + applied upstream. + * debian/control: + + remove quilt B-D + + Update my email address + + Depends on DH 7 + + add lsb-base to Depends + * debian/rules + + remove workarround for darkstat.8 changes + + use dh_prep insted dh_clean -k + + use -R option on dh_installinit + + add fetch-upstream-changelog target + * remove README.source + * debian/init.d: + + remove unused $SPY var + + not use debug-run anymore, just show a note about the manpage + + use lsb-functions instead of plain `echo' calls + + do more checks based on the PIDFILE to verify if darkstat status + + some other minor/cosmetic tweaks + * debian/copyright: update upstream copyright years + * correct some small typos at README.Debian + * add and install the upstream changelog provided + only online at: http://dmr.ath.cx/net/darkstat/changelog.txt + + -- Rene Mayorga Mon, 16 Feb 2009 13:47:10 -0600 + +darkstat (3.0.708-2) unstable; urgency=low + + * fix workaround to --import/--export at init script + this prevent darkstat.db being replaced. Closes: #500070 + * remove debconf note about the init script inclussion + * remove checks for 2.5-1 versions + * debian/copyright + + Add 2-clause BSD license for tree.h and host_sort.c + and remove the note for /usr/share/common-licenses/BSD + + add conv.c, actc.c err.c, err.h, str.c and str.h copyright stanza + * debian/init.d + + Set Conf variables to empty string before sourcing init.cfg + * debian/postint + + only remove DB when version is lt 3.0.707-1 + * debian/templates remove upgrade-note + * debian/rules + + made build-stamp depends on configure-stamp not configure + + made install-stamp depends on build-stamp not build + + use DESTDIR instead prefix at install-stamp target + * debian/README.Debian - point to the correct section on the + reference to the manpage + + -- Rene Mayorga Mon, 06 Oct 2008 21:49:52 -0400 + +darkstat (3.0.708-1) unstable; urgency=low + + * New upstream release + * Refresh manpage patch + * Bump Standards-version to 3.8.0 + + Add README.source + * Use debhelper compat-level 6 + * use install instead of cp to move manpage + * check for existance of Makefile and config.h after try to delete it + * use dh_clean instead of -rm- at debian/rules + * remove -DNDEBUG option, is not used anymore + + -- Rene Mayorga Wed, 04 Jun 2008 22:42:48 -0600 + +darkstat (3.0.707-2) unstable; urgency=low + + * debian/init.d + + Fix init.d script problem when START_DARKSTAT is not defined + Closes: #458971 + + Improve the init.d script + + -- Rene Mayorga Thu, 03 Jan 2008 18:57:30 -0600 + +darkstat (3.0.707-1) unstable; urgency=low + + * New Upstream release (Closes: #429769) + * debian/init.d + + changes to complain with the newest upstream options + * README.Debian updated + * Using the same old question in debconf about removing old database + * debian/control + + Add zlib1g-dev to Build-Depends + + quilt added to Build-Depends + + Bump standard version to 3.7.3 ( no changes required ) + * debian/rules + + quilt added + + remove autogenerated config.h and Makefile at clean target + + dh_intallman added + + rename manpage to reflect the proper section, and undo the changes + on clean target + + remove lookup for DEB_BUILD_OPTIONS=nostrip and let dh_strip makes + the work + * debian/patches + + Patch Makefile.in to prevent installation of manpage and + manpage patch to reflect the proper section (was 1 should be 8) + Patch darkstat.1, using hyphens instead minus sign at options + alfo fixing NAME section. + * debian/copyright + + Upstream URL updated + + copyright info related to upstream updated + + add copyright info from other part of the source + + -- Rene Mayorga Sun, 30 Sep 2007 09:42:04 -0600 + +darkstat (2.6-15) unstable; urgency=low + + * New Maintainer (Closes: #439044) + * debian/control + + debhelper in B-D version raised to >= 5 + + added Hompage field + * debian/init.d + + modified to complain Debian-policy regarding LSB + * debian/rules + + de-ignoring output from 'make clean' + + clean some comments and cosmetic changes + * debian/watch added + + + -- Rene Mayorga Sat, 22 Sep 2007 18:29:01 -0600 + +darkstat (2.6-14) unstable; urgency=low + + * Orphaned + + -- Cédric Delfosse Tue, 21 Aug 2007 21:29:41 +0200 + +darkstat (2.6-13) unstable; urgency=low + + * Update Dutch debconf translation by Kurt De Bree + (Closes: Bug#388105) + * Update Japanese debconf translation by Hideki Yamane + (Closes: Bug#393211) + + -- Cédric Delfosse Sat, 9 Dec 2006 14:53:11 +0100 + +darkstat (2.6-12) unstable; urgency=low + + * Add portuguese debconf translation by André Costa (Closes: Bug#362980) + + -- Cédric Delfosse Sat, 29 Apr 2006 19:43:44 +0200 + +darkstat (2.6-11) unstable; urgency=low + + * Update German debconf translation by Erik Schanze (Closes: Bug#345698) + * Update Czech po-debconf translation by Martin Šín (Closes: Bug#345135) + * Update standards-version to 3.6.2 + * Fix FSF address in debian/copyright + + -- Cédric Delfosse Thu, 12 Jan 2006 21:48:35 +0100 + +darkstat (2.6-10) unstable; urgency=low + + * Add new Spanish debconf translation (Closes: Bug#336038) + * Update French debconf translation (Closes: Bug#335723) + * Add new Swedish debconf translation (Closes: Bug#334846) + * Put debconf-updatepo in debian/rules clean target (Closes: Bug#335715) + * Fix debconf dependency (Closes: Bug#331791) + * echo 4 > debian/compat + + -- Cédric Delfosse Fri, 11 Nov 2005 15:52:25 +0100 + +darkstat (2.6-9) unstable; urgency=low + + * Add new Vietnamese po-debconf translation (Closes: Bug#310173) + * Fix typo in debian/templates (Closes: Bug#310174) + + -- Cédric Delfosse Sun, 22 May 2005 15:07:59 +0200 + +darkstat (2.6-8) unstable; urgency=low + + * Add new Czech po-debconf translation (Closes: Bug#308042) + + -- Cédric Delfosse Sat, 14 May 2005 11:56:47 +0200 + +darkstat (2.6-7) unstable; urgency=low + + * Fix spelling mistake in debian/README.Debian (Closes: Bug#283795) + + -- Cédric Delfosse Thu, 9 Dec 2004 21:50:10 +0100 + +darkstat (2.6-6) unstable; urgency=low + + * Add new Japanese po-debconf translation (Closes: Bug#276814) + + -- Cédric Delfosse Tue, 26 Oct 2004 21:21:57 +0200 + +darkstat (2.6-5) unstable; urgency=low + + * Add new German po-debconf translation (Closes: Bug#251948) + + -- Cédric Delfosse Fri, 11 Jun 2004 23:18:07 +0200 + +darkstat (2.6-4) unstable; urgency=low + + * Apply patch from to show the total amount of + data transferred in graphs (Closes: Bug#249467) + + -- Cédric Delfosse Sun, 23 May 2004 22:18:32 +0200 + +darkstat (2.6-3) unstable; urgency=low + + * Add new Dutch po-debconf translation (Closes: Bug#245918) + + -- Cédric Delfosse Tue, 27 Apr 2004 15:55:49 +0200 + +darkstat (2.6-2) unstable; urgency=low + + * Add _GNU_SOURCE define to darkstat.c to define strndup from string.h + (Closes: Bug#226684) + + -- Cédric Delfosse Thu, 8 Jan 2004 21:38:01 +0100 + +darkstat (2.6-1) unstable; urgency=low + + * New upstream release + + -- Cédric Delfosse Tue, 11 Nov 2003 21:05:13 +0100 + +darkstat (2.5-4) unstable; urgency=low + + * Apply patch from bubulle@debian.org to switch to gettext-based debconf + templates (Closes: Bug#207386) + * Use fr.po from bubulle@debian.org for French translation of gettext debconf + templates (Closes: Bug#207602) + + -- Cédric Delfosse Mon, 1 Sep 2003 21:48:51 +0200 + +darkstat (2.5-3) unstable; urgency=low + + * Typo: Use "--spy" instead of "-spy" in debian/init.cfg (Closes: Bug#205902) + + -- Cédric Delfosse Mon, 18 Aug 2003 18:48:47 +0200 + +darkstat (2.5-2) unstable; urgency=low + + * Put 127.0.0.1 instead of localhost in debian/init.cfg (Closes: Bug#197664) + * Update Standards-Version to 3.6.0 + + -- Cédric Delfosse Mon, 28 Jul 2003 21:47:52 +0200 + +darkstat (2.5-1) unstable; urgency=low + + * New upstream release + * Removed NEWS from debian/docs + * Use autotools-dev, added in Build-Depends + * Remove LOGDIR and add PATH to debian/init.d (closes: Bug#178263) + * use debconf for init.d script note + * use debconf to ask user upgrade confirmation, add darkstat.db file removal + if needed in postinst + * debconf added to Depends + * debian/preinst removed + * added debug-run to debian/init.d + * better info messages in debian/init.d for start and stop + * better description in debian/control + + -- Cédric Delfosse Wed, 22 Jan 2003 22:16:14 +0100 + +darkstat (2.4-1) unstable; urgency=low + + * New upstream release + * Correct wrong build options (noopt instead of debug) + * Remove useless start-stop-daemon params from /etc/init.d/darkstat, and now + use --name for 'stop' command + * Fix a segfault in the source code I modified + * Add some notes in README.Debian + + -- Cédric Delfosse Sat, 21 Dec 2002 20:54:12 +0100 + +darkstat (2.3-2) unstable; urgency=low + + * Added /etc/init.d/darkstat and /etc/darkstat/init.cfg (closes: Bug#161037) + Thanks to opal@debian.org for the initial patch. + * Added README.Debian, preinst + * Modified darkstat source code: command line switch to indicate a + directory for the pidfile + + -- Cédric Delfosse Thu, 11 Nov 2002 21:37:14 +0100 + +darkstat (2.3-1) unstable; urgency=low + + * New upstream release + + -- Cédric Delfosse Fri, 1 Nov 2002 23:43:20 +0100 + +darkstat (2.2-1) unstable; urgency=low + + * New upstream release + * Update to standards version 3.5.7 + + -- Cédric Delfosse Mon, 23 Sep 2002 22:22:53 +0200 + +darkstat (2.1-2) unstable; urgency=low + + * Fix build, that was calling autotools. I added AM_MAINTAINER_MODE + in the configure.ac for this. (closes: Bug#160409) + + -- Cédric Delfosse Sun, 15 Sep 2002 16:10:12 +0200 + +darkstat (2.1-1) unstable; urgency=low + + * New upstream release. + + -- Cédric Delfosse Tue, 13 Aug 2002 22:05:42 +0200 + +darkstat (2.0-1.1) unstable; urgency=low + + * Non maintainer upload + * Rebuilt with new libpcap to remove dependency on libpcap0, which I + got removed from unstable by accident. Sorry about this... + + -- Torsten Landschoff Sat, 10 Aug 2002 11:36:46 +0200 + +darkstat (2.0-1) unstable; urgency=low + + * New upstream release. + + -- Cédric Delfosse Sun, 21 Jul 2002 20:35:37 +0200 + +darkstat (1.3-1) unstable; urgency=low + + * Initial Release (closes: Bug#148374) + + -- Cédric Delfosse Mon, 27 May 2002 20:17:47 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/config b/debian/config new file mode 100644 index 0000000..2d65c23 --- /dev/null +++ b/debian/config @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e +# Source debconf library. +. /usr/share/debconf/confmodule + +if [ "$1" = "configure" -a "$2" != "" ]; then + if dpkg --compare-versions "$2" lt "3.0.707-1" ; then + db_input medium "darkstat/upgrade-question/db_purge-2.5-1" || true + fi + + db_go +fi + +db_get darkstat/upgrade-question/db_purge-2.5-1 || true +if [ "$RET" = "false" ] ; then + # user has decided not to upgrade, installation stop here, package not configured. + false +fi diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2889c03 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: darkstat +Section: net +Priority: optional +Maintainer: Rene Mayorga +Build-Depends: debhelper (>= 7), libpcap-dev, autotools-dev, po-debconf, + zlib1g-dev +Standards-Version: 3.9.2 +Homepage: http://unix4lyfe.org/darkstat/ + +Package: darkstat +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-6) +Description: network traffic analyzer + It is a packet sniffer which runs as a background process and serves its + statistics to a web browser: + - input and output IP traffic by machines, ports and protocols, + - last minute, hourly, daily and monthly global input and output graphics. + . + It is known to be smaller (in terms of memory footprint) and stabler than ntop. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6fe443f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,142 @@ +This package was debianized by Cédric Delfosse on +Mon, 27 May 2002 20:17:47 +0200. + +It was downloaded from http://dmr.ath.cx/net/darkstat/ + +Upstream Author: Emil Mikulic + +Darkstat's copyright: + + Copyright (c) 2001-2010, Emil Mikulic. + + 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; version 2 dated June, 1991. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. + + +tree.h: + + Copyright 2002 Niels Provos + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. 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. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + +stylecss.h, style.css: + + Copyright (c) 2006 Ben Stewart + Copyright (c) 2007 Emil Mikullic + + You may use, modify and redistribute this file under the terms of the" + GNU General Public License version 2. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License version 2. can be found in `/usr/share/common-licenses/GPL-2'. + + + +html.h: + + Copyright (c) 2006 Ben Stewart + + You may use, modify and redistribute this file under the terms of the" + GNU General Public License version 2. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License version 2. can be found in `/usr/share/common-licenses/GPL-2'. + + +queue.h: + Copyright (c) 1991, 1993 The Regents of the University of California. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. 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. + 4. Neither the name of the University 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 REGENTS 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 REGENTS 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. + +pidfile.c, pidfile.h: + + Copyright (c) 2007 Emil Mikulic. + + Permission to use, copy, modify, and distribute this file for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +acct.c: + + Copyright (c) 2001-2008 Emil Mikulic. + + Permission to use, copy, modify, and distribute this file for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +conv.c, err.c, err.h, str.c, str.h + + Copyright (c) 2001-2007 Emil Mikulic. + + Permission to use, copy, modify, and distribute this file for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..62963fe --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +var/lib/darkstat +etc/darkstat diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..eb9b151 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +AUTHORS diff --git a/debian/init.cfg b/debian/init.cfg new file mode 100644 index 0000000..a5503b5 --- /dev/null +++ b/debian/init.cfg @@ -0,0 +1,24 @@ +# Turn this to yes when you have configured the options below. +START_DARKSTAT=no + +# Don't forget to read the man page. + +# You must set this option, else darkstat may not listen to +# the interface you want +INTERFACE="-i eth0" + +#DIR="/var/lib/darkstat" +#PORT="-p 666" +#BINDIP="-b 127.0.0.1" +#LOCAL="-l 192.168.0.0/255.255.255.0" + +# File will be relative to $DIR: +#DAYLOG="--daylog darkstat.log" + +# Don't reverse resolve IPs to host names +#DNS="--no-dns" + +#FILTER="not (src net 192.168.0 and dst net 192.168.0)" + +# Additional command line Arguments: +# OPTIONS="--syslog --no-macs" diff --git a/debian/init.d b/debian/init.d new file mode 100644 index 0000000..ecf61a9 --- /dev/null +++ b/debian/init.d @@ -0,0 +1,127 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: darkstat +# Required-Start: $remote_fs $network +# Required-Stop: $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: start darkstat monitoring system at boot time +### END INIT INFO +# +# Please read /usr/share/doc/darkstat/README.Debian + +set -e + +. /lib/lsb/init-functions + +PATH=/bin:/usr/bin:/sbin:/usr/sbin +DAEMON="/usr/sbin/darkstat" +NAME="darkstat" +DESC="darkstat network daemon" +INIT="/etc/darkstat/init.cfg" +HOMEDIR="/var/lib/darkstat" +PIDFILE="/var/run/$NAME.pid" +DIR="/var/lib/darkstat" + +test -f $DAEMON || exit 0 + +test -f $INIT || exit 0 + + +INTERFACE="" +PORT="" +BINDIP="" +LOCAL="" +DNS="" +DAYLOG="" +DB="--import darkstat.db --export darkstat.db" +FILTER="" + +. $INIT + +if [ "$START_DARKSTAT" = "no" ] ; then + log_warning_msg "please change the value of START_DARKSTAT in $INIT, in order to start darkstat" + exit 0 +fi + +test "$START_DARKSTAT" = "yes" || exit 0 + +case "$1" in +start) + log_begin_msg "Starting $DESC : $NAME " + if start-stop-daemon --start --quiet -b --exec $DAEMON -- \ + $INTERFACE \ + $PORT \ + --chroot $DIR \ + --pidfile $PIDFILE \ + $BINDIP \ + $LOCAL \ + $FIP \ + $DNS \ + $DAYLOG \ + $DB \ + $OPTIONS \ + -f "$FILTER"; then + log_success_msg "done" + else + log_progress_msg "already running" + fi + log_end_msg 0 + ;; +stop) + log_begin_msg "Stopping $DESC : $NAME... " + if [ ! -f "$PIDFILE" ] ; then + log_progress_msg "not running" + else + if start-stop-daemon --quiet --oknodo --stop --name $NAME --pidfile $PIDFILE --retry 30; then + rm -f $PIDFILE + log_success_msg "stopped" + else + log_progress_msg "not running" + fi + fi + log_end_msg 0 + ;; +restart | force-reload) + log_begin_msg "Restarting $DESC : $NAME " + if [ ! -f "$PIDFILE" ] ; then + log_progress_msg "not running " + else + if start-stop-daemon --stop --oknodo --name $NAME --pidfile $PIDFILE --retry 30; then + rm -f $PIDFILE + else + log_progress_msg "$DESC : $NAME is not running" + rm -f $PIDFILE + fi + fi + sleep 1 + start-stop-daemon --start --quiet -b --exec $DAEMON -- \ + $INTERFACE \ + $PORT \ + --chroot $DIR \ + --pidfile $PIDFILE \ + $BINDIP \ + $LOCAL \ + $FIP \ + $DNS \ + $DAYLOG \ + $DB \ + $OPTIONS \ + -f "$FILTER" + log_success_msg "done" + log_end_msg 0 + ;; +debug-run) + log_success_msg "$0: this option is not longer available." + log_success_msg "$0: please run darkstat with --no-daemon option" + log_success_msg "$0: for more info please check darkstat(8)." + ;; + +*) + N=/etc/init.d/$NAME + log_success_msg "Usage: $N {start|stop|restart|force-reload|debug-run}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..cef83a3 --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/debian/po/cs.po b/debian/po/cs.po new file mode 100644 index 0000000..649c281 --- /dev/null +++ b/debian/po/cs.po @@ -0,0 +1,68 @@ +# Czech translation of darkstat templates +# +msgid "" +msgstr "" +"Project-Id-Version: darkstat\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2005-12-29 09:54+0100\n" +"Last-Translator: Martin Sin \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "Opravdu chcete aktualizovat darkstat?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "" +"Databázový formát souborů programu darkstat byl změněn a nemůže být " +"aktualizován." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Budete-li souhlasit s aktualizací, pak bude ostraněn databázový soubor /var/" +"lib/darkstat/darkstat.db (protože by bránil spuÅ¡tění darkstat). Nový " +"databázový soubor bude vytvořen ze současných dat při restartu programu." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Pokud nebudete souhlasit s aktualizací, pak zůstane balíček nezkonfigurován, " +"a jestliže chcete použít starší verzi darkstat, budete to muset udělat ručně." + +#~ msgid "New init script" +#~ msgstr "Nový inicializační skript" + +#~ msgid "" +#~ "The darkstat package is now featuring a init.d script to manage darkstat " +#~ "start/stop actions." +#~ msgstr "" +#~ "Balíček darkstat nyní používá k řízení start/stop akcí skript init.d." + +#~ msgid "" +#~ "Please put your settings in /etc/darkstat/init.cfg and read /usr/share/" +#~ "doc/darkstat/README.Debian for more information." +#~ msgstr "" +#~ "Vložte prosím vaÅ¡e nastavení do /etc/darkstat/init.cfg a pro více " +#~ "informací si přečtěte /usr/share/doc/darkstat/README.Debian." diff --git a/debian/po/da.po b/debian/po/da.po new file mode 100644 index 0000000..239b89f --- /dev/null +++ b/debian/po/da.po @@ -0,0 +1,54 @@ +# Danish translation darkstat. +# Copyright (C) 2010 darkstat & nedenstÃ¥ende oversættere. +# This file is distributed under the same license as the darkstat package. +# Joe Hansen (joedalton2@yahoo.dk), 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: darkstat\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2010-10-27 12:42+0000\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "Ønsker du at opgradere darkstat?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "Databasefilformatet i darkstat har ændret sig, og kan ikke opgraderes." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Hvis du bekræfter opgraderingen, vil databasefilen /var/lib/darkstat/" +"darkstat.db blive fjernet (da den vil forhindre darkstat i at starte). En ny " +"databasefil vil blive oprettet fra bunden af, nÃ¥r darkstat genstarter." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Hvis du ikke bekræfter opgraderingen, vil pakken blive efterladt " +"ukonfigureret, og hvis du ønsker at bruge en ældre version af darkstat, skal " +"du selv nedgradere manuelt." diff --git a/debian/po/de.po b/debian/po/de.po new file mode 100644 index 0000000..38f6155 --- /dev/null +++ b/debian/po/de.po @@ -0,0 +1,83 @@ +# translation of darkstat_2.6-11_de.po to German +# translation of darkstat_2.6-3_templates.po to German +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# Erik Schanze , 2004. +# Erik Schanze , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: darkstat_2.6-11_de\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2006-01-02 20:58+0100\n" +"Last-Translator: Erik Schanze \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.10.2\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "Wollen Sie darkstat wirklich aktualisieren?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "" +"Das Datenbank-Format hat sich geändert und kann nicht aktualisiert werden." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Wenn Sie der Aktualisierung zustimmen, wird die Datei /var/lib/darkstat/" +"darkstat.db gelöscht (weil das darkstat am Starten hindert). Eine neue " +"Datenbank-Datei wird von Grund auf erzeugt, wenn darkstat neu gestartet wird." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Wenn Sie der Aktualisierung nicht zustimmen, wird das Paket nicht " +"eingerichtet bleiben und wenn Sie eine ältere Version von darkstat benutzen " +"wollen, müssen Sie diese manuell installieren." + +#~ msgid "New init script" +#~ msgstr "Neues init-Skript" + +#~ msgid "" +#~ "The darkstat package is now featuring a init.d script to manage darkstat " +#~ "start/stop actions." +#~ msgstr "" +#~ "Das Paket darkstat bietet jetzt ein init.d-Skript zum Starten und Stoppen." + +#~ msgid "" +#~ "Please put your settings in /etc/darkstat/init.cfg and read /usr/share/" +#~ "doc/darkstat/README.Debian for more information." +#~ msgstr "" +#~ "Bitte schreiben Sie Ihre Einstellungen in die Datei /etc/darkstat/init." +#~ "cfg und lesen Sie /usr/share/doc/darkstat/README.Debian für mehr " +#~ "Informationen." diff --git a/debian/po/es.po b/debian/po/es.po new file mode 100644 index 0000000..64537f1 --- /dev/null +++ b/debian/po/es.po @@ -0,0 +1,95 @@ +# darkstat po-debconf translation to Spanish +# Copyright (C) 2005 Software in the Public Interest +# This file is distributed under the same license as the darkstat package. +# +# Changes: +# - Initial translation +# César Gómez Martín +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Equipo de traducción al español, por favor, lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/ +# especialmente las notas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +msgid "" +msgstr "" +"Project-Id-Version: darkstat\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2005-09-14 18:34+0100\n" +"Last-Translator: César Gómez Martín \n" +"Language-Team: Debian l10n spanish \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Spanish\n" +"X-Poedit-Country: SPAIN\n" +"X-Poedit-SourceCharset: utf-8\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "¿De verdad quiere actualizar darkstat?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "" +"El formato del fichero de la base de datos ha cambiado y no se puede " +"actualizar." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Si acepta la actualización el fichero de la base de datos /var/lib/darkstat/" +"darkstat.db se eliminará (porque impedirá que darkstat arranque). Un nuevo " +"fichero de base de datos se creará cuando darkstat se arranque de nuevo." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Si no acepta la actualización el paquete no se configurará, y si desea usar " +"una versión más antigua de darkstat tendrá que desactualizarlo manualmente." + +#~ msgid "New init script" +#~ msgstr "Nuevo guión de inicio" + +#~ msgid "" +#~ "The darkstat package is now featuring a init.d script to manage darkstat " +#~ "start/stop actions." +#~ msgstr "" +#~ "El paquete darkstat ahora tiene un guión init.d para gestionar las " +#~ "acciones de start/stop." + +#~ msgid "" +#~ "Please put your settings in /etc/darkstat/init.cfg and read /usr/share/" +#~ "doc/darkstat/README.Debian for more information." +#~ msgstr "" +#~ "Por favor, especifique sus configuraciones en /etc/darkstat/init.cfg y " +#~ "lea /usr/share/doc/darkstat/README.Debian si desea más información." diff --git a/debian/po/fi.po b/debian/po/fi.po new file mode 100644 index 0000000..5bea931 --- /dev/null +++ b/debian/po/fi.po @@ -0,0 +1,56 @@ +# Translation of the darkstat debconf strings to Finnish +# Copyright (C) 2011 +# This file is distributed under the same license as the darkstat package. +# Esko Arajärvi , 2011. +msgid "" +msgstr "" +"Project-Id-Version: darkstat\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2011-03-26 20:18+0300\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: debian-10n-finnish@lists.debian.org\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Virtaal 0.6.1\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "Oletko varma, että haluat päivittää darkstatin?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "" +"Ohjelman darkstat tietokantatiedoston muoto on muuttunut, eikä sitä voida " +"päivittää." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Jos hyväksyt päivityksen, tietokantatiedosto /var/lib/darkstat/darkstat.db " +"poistetaan (koska se estää darkstatin käynnistyksen). Uusi " +"tietokantatiedosto luodaan tyhjästä, kun darkstat käynnistetään uudelleen." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Jos et hyväksy päivitystä, paketin asetukset jätetään tekemättä. Jos haluat " +"käyttää darkstatin vanhempaa versiota, paketin vanhennus täytyy tehdä käsin." diff --git a/debian/po/fr.po b/debian/po/fr.po new file mode 100644 index 0000000..8ec1f90 --- /dev/null +++ b/debian/po/fr.po @@ -0,0 +1,85 @@ +# translation of fr.po to French +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# Christian Perrier , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: fr\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2005-10-25 18:07+0200\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.10.2\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "Souhaitez-vous vraiment mettre à jour darkstat ?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "" +"Le format de la base de données de darkstat a changé et ne peut pas être mis " +"à jour. " + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Si vous acceptez la mise à jour, le fichier de base de données /var/lib/" +"darkstat/darkstat.db sera supprimé (sa présence empêcherait darkstat de " +"démarrer). Une nouvelle base de données vierge sera créée au démarrage de " +"darkstat." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Si vous refusez la mise à jour, le paquet restera non-configuré. Si vous " +"souhaitez utiliser une version antérieure de darkstat, vous devrez " +"l'installer vous-même." + +#~ msgid "New init script" +#~ msgstr "Ajout d'un script de démarrage" + +#~ msgid "" +#~ "The darkstat package is now featuring a init.d script to manage darkstat " +#~ "start/stop actions." +#~ msgstr "" +#~ "Le paquet darkstat inclut désormais un script de démarrage dans /etc/init." +#~ "d pour gérer les actions de démarrage et d'arrêt." + +#~ msgid "" +#~ "Please put your settings in /etc/darkstat/init.cfg and read /usr/share/" +#~ "doc/darkstat/README.Debian for more information." +#~ msgstr "" +#~ "Veuillez placer vos réglages dans /etc/darkstat/init.cfg et consulter /" +#~ "usr/share/doc/darkstat/README.Debian pour plus d'informations." diff --git a/debian/po/ja.po b/debian/po/ja.po new file mode 100644 index 0000000..7123fec --- /dev/null +++ b/debian/po/ja.po @@ -0,0 +1,82 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# +msgid "" +msgstr "" +"Project-Id-Version: darkstat 2.6-12\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2006-10-15 13:52+0900\n" +"Last-Translator: Hideki Yamane (Debian-JP) \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "本当に darkstat をアップグレードしますか?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "" +"darkstat のデータベースファイル形式が変更されています。このアップグレードは実" +"行できません。" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"アップグレードを許可した場合、(darkstat の起動を妨げるようになるため) データ" +"ベースファイル /var/lib/darkstat/darkstat.db は削除されます。新しいデータベー" +"スファイルが darkstat の再起動時に一から作られます。" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"アップグレードを許可しない場合は、パッケージは設定されないままになり、以前の" +"バージョンの darkstat を利用したいならば手動でダウングレードをする必要があり" +"ます。" + +#~ msgid "New init script" +#~ msgstr "新しい初期化スクリプトについて" + +#~ msgid "" +#~ "The darkstat package is now featuring a init.d script to manage darkstat " +#~ "start/stop actions." +#~ msgstr "" +#~ "darkstat パッケージは darkstat の起動・停止の動作を行うために init.d スク" +#~ "リプトを利用するようになりました。" + +#~ msgid "" +#~ "Please put your settings in /etc/darkstat/init.cfg and read /usr/share/" +#~ "doc/darkstat/README.Debian for more information." +#~ msgstr "" +#~ "/etc/darkstat/init.cfg を設定し、詳細については /usr/share/doc/darkstat/" +#~ "README.Debian を参照してください。" diff --git a/debian/po/nb.po b/debian/po/nb.po new file mode 100644 index 0000000..ce987f8 --- /dev/null +++ b/debian/po/nb.po @@ -0,0 +1,54 @@ +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Bjørn Steensrud , 2011. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2011-03-26 15:58+0100\n" +"Last-Translator: Bjørn Steensrud \n" +"Language-Team: Norwegian BokmÃ¥l \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.1\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "Er du sikker pÃ¥ at du vil oppgradere darkstat?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "Filformatet til darkstats database er endret og kan ikke oppgraderes." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Hvis du bekrefter oppgradering, sÃ¥ blir databasefila /var/lib/darkstat/" +"darkstat.db slettet (fordi den hindrer at darkstat kan starte). En ny " +"databasefil blir laget fra grunnen av nÃ¥r darkstat starter pÃ¥ nytt." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Hvis du ikke bekrefter oppgradering blir pakka værende uten oppsett, og hvis " +"du vil bruke en eldre versjon av darkstat mÃ¥ du nedgradere manuelt." diff --git a/debian/po/nl.po b/debian/po/nl.po new file mode 100644 index 0000000..9305e80 --- /dev/null +++ b/debian/po/nl.po @@ -0,0 +1,89 @@ +# translation of darkstat 2.6-12_templates.po to Dutch +# This file is distributed under the same license as the darkstat package. +# Please see debian/copyright. +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# Luk Claes , 2004 +# Kurt De Bree , 2006 +# This is an unofficial translation +# +msgid "" +msgstr "" +"Project-Id-Version: darkstat 2.6-12\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2006-09-18 18:05+0100\n" +"Last-Translator: Kurt De Bree \n" +"Language-Team: Debian l10n Dutch \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "Bent u zeker dat u darkstat wilt opwaarderen?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "" +"De databank-bestandsindeling van darkstat is gewijzigd en kan niet worden " +"opgewaardeerd." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Als u de opwaardering bevestigt, dan zal het databankbestand /var/lib/" +"darkstat/darkstat.db verwijderd worden (omdat het darkstat zal verhinderen " +"op te starten). Er zal een nieuw databankbestand worden aangemaakt wanneer " +"darkstat herstart." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Als u de opwaardering niet bevestigt, dan zal het pakket ongeconfigureerd " +"achterblijven; als u dan een oudere versie van darkstat wilt gebruiken, dan " +"zult handmatig moeten degraderen." + +#~ msgid "New init script" +#~ msgstr "Nieuw init-script" + +#~ msgid "" +#~ "The darkstat package is now featuring a init.d script to manage darkstat " +#~ "start/stop actions." +#~ msgstr "" +#~ "Het darkstat-pakket heeft nu een init.d-script om start/stop-acties te " +#~ "beheren." + +#~ msgid "" +#~ "Please put your settings in /etc/darkstat/init.cfg and read /usr/share/" +#~ "doc/darkstat/README.Debian for more information." +#~ msgstr "" +#~ "Plaats uw instellingen in /etc/darkstat/init.cfg en lees /usr/share/doc/" +#~ "darkstat/README.Debian voor meer informatie." diff --git a/debian/po/pt.po b/debian/po/pt.po new file mode 100644 index 0000000..e442354 --- /dev/null +++ b/debian/po/pt.po @@ -0,0 +1,73 @@ +# Portuguese translation for darkstat +# This file is distributed under the same license as the darkstat package. +# André Costa , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: darkstat\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2006-04-15 23:37+0000\n" +"Last-Translator: André Costa \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "Você realmente deseja actualizar o darkstat?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "" +"O tipo de ficheiro da base de dados do darkstat mudou e não pode ser " +"actualizado." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Se confirmar a actualização, o ficheiro da base de dados /var/lib/darkstat/" +"darkstat.db será removido (porque ele irá prevenir o arranque do darkstat). " +"Um novo ficheiro da base de dados será criado do zero quando o darkstat " +"reiniciar." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Se você não confirmar a actualização, o pacote será deixado não configurado, " +"e se você desejar usar uma versão mais antiga do darkstat terá que fazer o " +"downgrade manualmente." + +#~ msgid "New init script" +#~ msgstr "Novo script init" + +#~ msgid "" +#~ "The darkstat package is now featuring a init.d script to manage darkstat " +#~ "start/stop actions." +#~ msgstr "" +#~ "O pacote darkstat tem agora um script init.d para o controlo das suas " +#~ "acções start/stop (iniciar/parar)." + +#~ msgid "" +#~ "Please put your settings in /etc/darkstat/init.cfg and read /usr/share/" +#~ "doc/darkstat/README.Debian for more information." +#~ msgstr "" +#~ "Por favor, coloque as suas configurações em /etc/darkstat/init.cfg e " +#~ "leia /usr/share/doc/darkstat/README.Debian para mais informações." diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po new file mode 100644 index 0000000..6877fac --- /dev/null +++ b/debian/po/pt_BR.po @@ -0,0 +1,59 @@ +# Debconf translations for darkstat. +# Copyright (C) 2011 THE darkstat's COPYRIGHT HOLDER +# This file is distributed under the same license as the darkstat package. +# Flamarion Jorge , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: darkstat 3.0.713-2\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2011-04-02 14:03-0300\n" +"Last-Translator: Flamarion Jorge \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "Você realmente deseja atualizar o darkstat?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "" +"O formato do arquivo de banco de dados do darkstat foi modificado e não pode " +"ser atualizado." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Se você confirmar a atualização, o arquivo de banco de dados /var/lib/" +"darkstat/darkstat.db será removido (porque impedirá a inicialização do " +"darkstat). Um novo arquivo de banco de dados será criado a partir do zero " +"quando o darkstat for reinicializado." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Se você não confirmar a atualização, o pacote será deixado não configurado, " +"e se você desejar usar uma versão antiga do darkstat, você terá que fazer a " +"regressão do pacote (\"downgrade\") manualmente." diff --git a/debian/po/ru.po b/debian/po/ru.po new file mode 100644 index 0000000..ea5c322 --- /dev/null +++ b/debian/po/ru.po @@ -0,0 +1,57 @@ +# translation of ru.po to Russian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Yuri Kozlov , 2009. +msgid "" +msgstr "" +"Project-Id-Version: darkstat 3.0.712-1\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2009-08-08 21:25+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "Действительно хотите обновить darkstat?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "Изменился формат файла базы данных darkstat и его невозможно обновить." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Если вы согласитесь на обновление, то файл базы данных /var/lib/darkstat/" +"darkstat.db будет удалён (так как он мешает запуску darkstat). При " +"перезапуске darkstat будет создан новый пустой файл базы данных." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Если вы откажитесь от обновления, то пакет останется ненастроенным, и если " +"вы захотите использовать старую версию darkstat, то вам нужно будет " +"устанавливать её вручную." diff --git a/debian/po/sk.po b/debian/po/sk.po new file mode 100644 index 0000000..644347e --- /dev/null +++ b/debian/po/sk.po @@ -0,0 +1,55 @@ +# Slovak translation of darkstat +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the darkstat package. +# Ivan Masár , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: darkstat\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2011-03-25 13:58+0100\n" +"Last-Translator: Ivan Masár \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "Skutočne chcete aktualizovaÅ¥ darkstat?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "" +"Formát súboru databázy darkstat sa zmenil a nie je možné ho aktualizovaÅ¥." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Ak potvrdíte aktualizáciu, súbor databázy /var/lib/darkstat/darkstat.db bude " +"odstránený (pretože by bránil v spustení darkstat). Pri ďalÅ¡om spustení " +"darkstat sa vytvorí nový súbor databázy od začiatku." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Ak nepotvrdíte aktualizáciu, balík bude ponechaný ako nenakonfigirovaný a ak " +"si želáte používaÅ¥ starÅ¡iu verziu darkstat, budete musieÅ¥ nainÅ¡talovaÅ¥ " +"starÅ¡iu verziu balíka ručne." diff --git a/debian/po/sv.po b/debian/po/sv.po new file mode 100644 index 0000000..98594a0 --- /dev/null +++ b/debian/po/sv.po @@ -0,0 +1,79 @@ +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# Developers do not need to manually edit POT or PO files. +# , fuzzy +# +# +msgid "" +msgstr "" +"Project-Id-Version: darkstat 2.6-9\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2005-10-20 11:04+0200\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "VIll du verkligen uppgradera darkstat ?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "" +"Formatet på darkstat's databasfil har ändrats och kan inte uppgraderas." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Om du bekräftar uppgraderingen kommer databasfilen /var/lib/darkstat/" +"darkstat.db att tas bort (för att den hindrar darkstat att starta). En ny " +"databasfil kommer att skapas på nytt när darkstat startats om." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Om du inte bekräftar uppgraderingen kommer paketet att lämna okonfigurerat " +"och om du önskar att används en äldre version av darkstat behöver du " +"nedgradera manuellt." + +#~ msgid "New init script" +#~ msgstr "Nytt init-skript" + +#~ msgid "" +#~ "The darkstat package is now featuring a init.d script to manage darkstat " +#~ "start/stop actions." +#~ msgstr "" +#~ "Paketet darkstat innehåller numera ett init.d-skript för att hantera " +#~ "start/stopp av darkstat." + +#~ msgid "" +#~ "Please put your settings in /etc/darkstat/init.cfg and read /usr/share/" +#~ "doc/darkstat/README.Debian for more information." +#~ msgstr "" +#~ "Vänligen ange din inställningar i /etc/darkstat/init.cfg och läs /usr/" +#~ "share/doc/darkstat/README.Debian för mer information." diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..3ebe5de --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,48 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" diff --git a/debian/po/vi.po b/debian/po/vi.po new file mode 100644 index 0000000..48e90b1 --- /dev/null +++ b/debian/po/vi.po @@ -0,0 +1,56 @@ +# Vietnamese Translation for darkstat. +# Copyright © 2010 Free Software Foundation, Inc. +# Clytie Siddall , 2005-2010. +# +msgid "" +msgstr "" +"Project-Id-Version: darkstat 3.0.713-2\n" +"Report-Msgid-Bugs-To: darkstat@packages.debian.org\n" +"POT-Creation-Date: 2008-10-06 11:29-0600\n" +"PO-Revision-Date: 2010-10-31 14:40+1030\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.8\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Do you really want to upgrade darkstat ?" +msgstr "Bạn có thá»±c sá»± muốn nâng cấp darkstat không?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The database file format of darkstat has changed, and can't be upgraded." +msgstr "" +"Định dạng tập tin cÆ¡ sở dữ liệu của darkstat bị thay thế thì không thể nâng " +"cấp được." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you confirm the upgrade, the database file /var/lib/darkstat/darkstat.db " +"will be removed (because it will prevent darkstat starting). A new database " +"file will be created from scratch when darkstat restarts." +msgstr "" +"Nếu bạn xác nhân việc nâng cấp thì tập tin cÆ¡ sở dữ liệu « /var/lib/darkstat/" +"darkstat.db » cÅ©ng bị gỡ bỏ (vì nó ngăn cản darkstat khởi chạy). Một tập tin " +"cÆ¡ sở dữ liệu mới sẽ được tạo khi darkstat khởi chạy lại." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"If you don't confirm the upgrade, the package will be left non-configured, " +"and if you wish to use an older version of darkstat you will have to " +"downgrade manually." +msgstr "" +"Không xác nhân việc nâng cấp thì gói này để lại không có cấu hình. Để sá»­ " +"dụng một phiên bản darkstat cÅ© thì bạn nên tá»± hạ cấp." diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..b3fb49d --- /dev/null +++ b/debian/postinst @@ -0,0 +1,37 @@ +#! /bin/sh +# postinst script for darkstat + +. /usr/share/debconf/confmodule + +set -e + +case "$1" in + configure) + if [ "$2" != "" ]; then + if dpkg --compare-versions "$2" lt "3.0.707-1"; then + # If the user answer "No" at the debconf question db_purge-2.5-1 + # we don't come here + dbfile="/var/lib/darkstat/darkstat.db" + if [ -f $dbfile ]; then + echo -n "Removing darkstat database file $dbfile..." + rm -f $dbfile + echo "done." + fi + fi + fi + chown -R nobody /var/lib/darkstat + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/rpack.sh b/debian/rpack.sh new file mode 100755 index 0000000..3f2a823 --- /dev/null +++ b/debian/rpack.sh @@ -0,0 +1,36 @@ +set -e +set -u + +VER="3.0.714" +FILE="../darkstat-3.0.714.tar.bz2" +PKG="darkstat" + +SUFFIX="+dfsg" + +echo +echo "Repackaging $FILE" +echo + +DIR=`mktemp -d ./tmpRepackXXXXXX` +DIR=$(readlink -f "$DIR") +trap "/bin/rm -rf \"$DIR\"" QUIT INT EXIT + + +UP_BASE="$DIR/unpack" +mkdir "$UP_BASE" +tar -xvjf "$FILE" -C /"$UP_BASE" + +set -f +MYORIGPWD=$(pwd) +cd "$UP_BASE" +rm "$PKG-$VER/contrib/darkproxy.php" +tar -cvzf "$PKG-$VER$SUFFIX.orig.tar.gz" "$PKG-$VER/" +mv "$PKG-$VER$SUFFIX.orig.tar.gz" "$MYORIGPWD/../" +cd "$MYORIGPWD" + +echo +echo "done" +echo + +rm "$FILE" +rm -rf "$DIR" diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f01ccfd --- /dev/null +++ b/debian/rules @@ -0,0 +1,62 @@ +#!/usr/bin/make -f + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS += -Wall -g + +configure: configure-stamp +configure-stamp: + dh_testdir + cp /usr/share/misc/config.sub /usr/share/misc/config.guess . + CFLAGS="$(CFLAGS)" LDFLAGS="$(INSTALL_PROGRAM)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --with-chroot-dir=/var/lib/darkstat + touch $@ + +build: configure-stamp build-stamp + +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + dh_clean build-stamp configure-stamp config.status config.log install-tamp config.sub config.guess + [ ! -f Makefile ] || $(MAKE) clean + [ ! -f Makefile ] || rm -f Makefile + [ ! -f config.h ] || rm -f config.h + [ ! -f darkstat.8 ] || rm -f darkstat.8 + debconf-updatepo + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/darkstat + install -m 644 debian/init.cfg $(CURDIR)/debian/darkstat/etc/darkstat + touch $@ + +binary-indep: build install +# nothing to do + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdebconf + dh_installdocs -n + dh_installinit -R + dh_installchangelogs ChangeLog + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/templates b/debian/templates new file mode 100644 index 0000000..71ca157 --- /dev/null +++ b/debian/templates @@ -0,0 +1,14 @@ +Template: darkstat/upgrade-question/db_purge-2.5-1 +Type: boolean +Default: true +_Description: Do you really want to upgrade darkstat ? + The database file format of darkstat has changed, and can't be upgraded. + . + If you confirm the upgrade, the database file + /var/lib/darkstat/darkstat.db will be removed (because it will prevent + darkstat starting). A new database file will be created from scratch when + darkstat restarts. + . + If you don't confirm the upgrade, the package will be left non-configured, + and if you wish to use an older version of darkstat you will have to + downgrade manually. diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..d99b761 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 +options=dversionmangle=s/\+dfsg// \ + http://unix4lyfe.org/darkstat/darkstat-(.*)\.tar\.bz2 \ + debian debian/rpack.sh