debian/0000755000000000000000000000000012252275476007202 5ustar debian/apt-dater.manpages0000644000000000000000000000004512252275430012565 0ustar man/apt-dater.8 man/apt-dater.conf.5 debian/control0000644000000000000000000000346612252275430010604 0ustar Source: apt-dater Section: admin Priority: optional Maintainer: Patrick Matthäi Build-Depends: debhelper (>= 9), libpopt-dev, libglib2.0-dev, libncursesw5-dev, tcl8.5-dev, libxml2-dev, po-debconf, autotools-dev, hardening-wrapper Homepage: http://www.ibh.de/apt-dater Standards-Version: 3.9.5 Package: apt-dater Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, screen, lockfile-progs | procmail, openssh-client Suggests: apt-dater-host, xsltproc Description: terminal-based remote package update manager apt-dater provides an easy to use ncurses frontend for managing package updates on a large number of remote hosts using SSH and apt-dater-host. It supports Debian-based managed hosts as well as OpenSUSE and CentOS based systems. Package: apt-dater-dbg Architecture: any Priority: extra Section: debug Depends: ${misc:Depends}, apt-dater (= ${binary:Version}) Description: terminal-based remote package update manager (dbg symbols) apt-dater provides an easy to use ncurses frontend for managing package updates on a large number of remote hosts using SSH. It supports Debian-based managed hosts as well as OpenSUSE and CentOS based systems. . This package contains the debugging symbols for the apt-dater package. Package: apt-dater-host Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, openssh-server, lsb-release, libimvirt-perl, libapt-pkg-perl Recommends: imvirt, sudo Description: host helper application for apt-dater apt-dater provides an easy to use ncurses frontend for managing package updates on a large number of remote hosts using SSH. It supports Debian-based managed hosts as well as OpenSUSE and CentOS based systems. . This package provides the helper application for apt-dater. It has to be installed on every apt-dater managed host. debian/changelog0000644000000000000000000004023112252275430011042 0ustar apt-dater (0.9.0-7) unstable; urgency=low * Replace my old e-mail address in debian/copyright. * Point debian/watch to github. * Bump Standards-Version to 3.9.5 (no changes needed). * Don't explicitly request xz compression - dpkg 1.17 does this by default. * Build package with autotools_dev. Closes: #727320 -- Patrick Matthäi Thu, 12 Dec 2013 09:58:28 +0100 apt-dater (0.9.0-6) unstable; urgency=low * Bump compat level to version 9. * Migrate package to minimal debhelper. * Uploading to unstable. * Remove unused lintian overrides. -- Patrick Matthäi Mon, 06 May 2013 10:05:55 +0200 apt-dater (0.9.0-5) experimental; urgency=low * Add patch 04-wheezy-kernel, which fixes an missdetection of the Wheezy 3.2 Linux Kernel as selfbuilt variant. Closes: #697330 * Merge 0.9.0-3+wheezy1 changelog. -- Patrick Matthäi Tue, 08 Jan 2013 20:02:47 +0100 apt-dater (0.9.0-4) experimental; urgency=low * Merge 0.9.0-3~bpo60+1 changelog. * Bump Standards-Version to 3.9.4 (no changes needed). * Switch to xz compression and add a Pre-Depends on dpkg. * Add upstream patch 03-patch-hostname-plus-sign to accept plus signs in hostnames. Closes: #687981 -- Patrick Matthäi Wed, 12 Dec 2012 11:19:03 +0100 apt-dater (0.9.0-3+wheezy1) unstable; urgency=low * Add patch 03-wheezy-kernel, which fixes an missdetection of the Wheezy 3.2 Linux Kernel as selfbuilt variant. Closes: #697330 -- Patrick Matthäi Tue, 08 Jan 2013 19:39:23 +0100 apt-dater (0.9.0-3~bpo60+1) squeeze-backports; urgency=low * Rebuild for squeeze-backports. -- Patrick Matthäi Tue, 17 Jul 2012 10:30:03 +0200 apt-dater (0.9.0-3) unstable; urgency=low * Add upstream patch 02-refresh-ssh-flags which adds OptionalCmdFlags on refreshing hosts. Closes: #678111 -- Patrick Matthäi Tue, 03 Jul 2012 19:30:34 +0200 apt-dater (0.9.0-2) unstable; urgency=low * Add patch 01-ld-flags-non-linux, which fixes an FTBFS on non-Linux architectures. Closes: #675287 -- Patrick Matthäi Fri, 01 Jun 2012 18:44:56 +0200 apt-dater (0.9.0-1) unstable; urgency=low * New upstream release. - apt-dater does not silently fail anymore on refreshing a bad host. Closes: #646902 - Drop merged patches 01-fix-locale-ftbfs and 02-dist-upgrade. - Add new apt-dater-host dependency on libimvirt-perl. - Add new apt-dater dependency on lockfile-progs or procmail. - Build with the new clusters function. - Remove old clients/README-0.1 doc. * Install apt-dater-host sudoers configuration file, which is by default disabled. * Remove suggest on mc, sftp is the default method to transfer files. * Add lintian override for false positive hardening-no-fortify-functions warning. -- Patrick Matthäi Tue, 29 May 2012 18:53:05 +0200 apt-dater (0.8.6-4) unstable; urgency=low * Bump Standards-Version to 3.9.3 (no changes needed). * Add Brazilian Portuguese debconf translation. Closes: #663492 -- Patrick Matthäi Tue, 13 Mar 2012 21:05:36 +0100 apt-dater (0.8.6-3) unstable; urgency=low * Add Dutch debconf translation. Closes: #659258 -- Patrick Matthäi Sun, 12 Feb 2012 11:41:10 +0100 apt-dater (0.8.6-2) unstable; urgency=low * Add patch 02-dist-upgrade, since safe-upgrade is not available at apt-get. Closes: #649688 -- Patrick Matthäi Fri, 02 Dec 2011 21:06:42 +0100 apt-dater (0.8.6-1) unstable; urgency=high * New upstream release. - Use merged apt-dater-host.1 manpage. - Remove all patches, they have been merged with this upstream release. - Fixed FTBFS. Closes: #642696 * Do not recommend aptitude anymore. * Wrap debian/control lines. * Add 01-fix-locale-ftbfs.diff to fix another FTBFS. -- Patrick Matthäi Tue, 27 Sep 2011 19:27:05 +0200 apt-dater (0.8.5-3) unstable; urgency=low * Use again apt-get as default package manager. Closes: #635048 * Add missing build-arch and build-indep target. -- Patrick Matthäi Fri, 26 Aug 2011 21:25:41 +0200 apt-dater (0.8.5-2) unstable; urgency=low * Merge 0.8.4-4+squeeze1 changelog. * Bump Standards-Version to 3.9.2 (no changes needed). * Add danish debconf translation from Joe Dalton. Closes: #623087 * Update debconf translations with debconf-updatepo. * Build with hardening-wrapper. * Wrap build dependencies. * Add patch 01-fix-format-error.diff to fix an FTBFS with hardening-wrapper. -- Patrick Matthäi Sun, 01 May 2011 15:11:18 +0200 apt-dater (0.8.5-1) unstable; urgency=high * New upstream release. - Remove all patches, they have been merged by upstream. * Fix apt-dater-host.config, to not mess up with boolean values and integers. Closes: #611968 * Bump debhelper to version 7. -- Patrick Matthäi Sun, 06 Feb 2011 20:39:55 +0100 apt-dater (0.8.4-4+squeeze1) stable-proposed-updates; urgency=medium * Fix apt-dater-host.config, to not mess up with boolean values and integers. Closes: #611968 -- Patrick Matthäi Fri, 04 Feb 2011 10:22:10 +0100 apt-dater (0.8.4-4) unstable; urgency=high * Add patch from Stefan Bühler, which fixes apt-dater-host.postinst to add the missing ";" at EOL. Closes: #611462 -- Patrick Matthäi Sat, 29 Jan 2011 18:33:56 +0100 apt-dater (0.8.4-3) unstable; urgency=high * Merge 0.8.4-2~bpo50+1 changelog. * Add patch 02-dist-upgrade-for-update.diff, which fixes an issue with displaying ABI incompatible updates, like the last bind9 security update. Closes: #611088 -- Patrick Matthäi Tue, 25 Jan 2011 18:22:29 +0100 apt-dater (0.8.4-2~bpo50+1) lenny-backports; urgency=low * Rebuild for lenny-backports. * Remove patch 01-no-sudo-with-aptitude.diff, it is for squeeze only. -- Patrick Matthäi Sun, 17 Oct 2010 14:56:20 +0200 apt-dater (0.8.4-2) unstable; urgency=high * Merge 0.8.4-1~bpo50+1 changelog. * Bump Standards-Version to 3.9.1 (no changes needed). * Mention apt-dater-host in the long description of apt-dater. Closes: #597935 * Downgrade sudo dependency to recommends. Closes: #597936 * Add patch 01-no-sudo-with-aptitude.diff from upstream svn. aptitude does not need root privileges since Squeeze to check for updates. Closes: #596723 * Add missing perl:Depends. * Fixed debconf does not respect users choice. Thanks for the patch to Daniel Baumann. Bumping urgency to high. Closes: #597940 * Suggest mc with the apt-dater package. mc is used for file transfers. -- Patrick Matthäi Mon, 04 Oct 2010 17:18:22 +0200 apt-dater (0.8.4-1~bpo50+1) lenny-backports; urgency=low * Rebuild for lenny-backports. - Revert the 3.0 (quilt) format. -- Patrick Matthäi Fri, 16 Jul 2010 20:39:47 +0200 apt-dater (0.8.4-1) unstable; urgency=low * New upstream release. - Do not use apt-get for update checking, if aptitude is configured. Closes: #587106 * Bump Standards-Version to 3.9.0 (no changes needed). -- Patrick Matthäi Mon, 05 Jul 2010 20:42:17 +0200 apt-dater (0.8.3-2) unstable; urgency=low * Merge 0.8.3-1~bpo50+1 changelog. * Add japanese translation from Hideki Yamane. Closes: #582721 -- Patrick Matthäi Sun, 23 May 2010 21:01:01 +0200 apt-dater (0.8.3-1~bpo50+1) lenny-backports; urgency=low * Rebuild for lenny-backports. - Revert the 3.0 (quilt) format. -- Patrick Matthäi Tue, 20 Apr 2010 20:00:12 +0200 apt-dater (0.8.3-1) unstable; urgency=low * New upstream release. * Add vietnamese translation from Clytie Siddall. Closes: #576024 -- Patrick Matthäi Sat, 03 Apr 2010 16:15:45 +0200 apt-dater (0.8.2+svn511-1) unstable; urgency=low * New upstream svn snapshot. - Fixes wrong version number. Closes: #570498 * Merge 0.8.2-2~bpo50+1 changelog. * Add german translation from Thomas Mueller. Closes: #570721 -- Patrick Matthäi Thu, 25 Mar 2010 19:05:43 +0100 apt-dater (0.8.2-2~bpo50+1) lenny-backports; urgency=low * Rebuild for lenny-backports. - Revert the 3.0 (quilt) format. -- Patrick Matthäi Wed, 17 Feb 2010 21:08:51 +0100 apt-dater (0.8.2-2) unstable; urgency=low * Add francaise translation from Christian Perrier. Closes: #568496 * Add spanish translation from Francisco Javier Cuadrado. Closes: #568506 -- Patrick Matthäi Sat, 06 Feb 2010 14:12:16 +0100 apt-dater (0.8.2-1) unstable; urgency=low * New upstream release. - Added option to have automatic upgrades and also ask about that with debconf. Closes: #565930 * Bump Standards-Version to 3.8.4 (no changes needed). * Add swedish translation from Marting Bagge. Closes: #566906 * Add russian translation from Yuri Kozlov. Closes: #567017 * Add italian translation from Vincenzo Campanella. * Add portuguese translation from Pedro Ribeiro. Closes: #567420 * Add czech translation from Michal Šimůnek. Closes: #567634 -- Patrick Matthäi Wed, 03 Feb 2010 18:52:46 +0100 apt-dater (0.8.1+svn450-1) unstable; urgency=high * New upstream svn snapshot. - Fixes bug, where apt-dater does not detect broken packages and moves the host to the unknown status. Closes: #560186 - Added localized query confirms. Closes: #565931 -- Patrick Matthäi Sat, 23 Jan 2010 14:51:32 +0100 apt-dater (0.8.1+svn443-1) unstable; urgency=low * New upstream svn snapshot. - Working hotkey l for exanding. Closes: #564450 - Filetransfer is working again. Closes: #564459 -- Patrick Matthäi Mon, 11 Jan 2010 13:42:04 +0100 apt-dater (0.8.1+svn438-1) unstable; urgency=high * New upstream svn snapshot. - Fixes grave bug, where apt-dater only prints usage messages instead of starting the ncurses gui. Much thanks to Simon Richter. Closes: #563159 * Merge 0.8.1-1~bpo50+1 changelog. -- Patrick Matthäi Mon, 04 Jan 2010 18:06:47 +0100 apt-dater (0.8.1-1~bpo50+1) lenny-backports; urgency=low * Rebuild for lenny-backports. * Do not use the 3.0 (quilt) format. -- Patrick Matthäi Wed, 30 Dec 2009 12:12:55 +0100 apt-dater (0.8.1-1) unstable; urgency=low * New upstream release. - Do not force DefaultUser and DefaultPort anymore. Closes: #559366 -- Patrick Matthäi Fri, 18 Dec 2009 15:10:41 +0100 apt-dater (0.8.0+svn434-1) unstable; urgency=high * New upstream svn snapshot. - Fixes bug where the status files are not read properly. Closes: #560186 * Switch to ncursesw, so that umlauts are displayed correctly. -- Patrick Matthäi Wed, 09 Dec 2009 22:11:01 +0100 apt-dater (0.8.0+svn431-1) unstable; urgency=low * New upstream svn snapshot. - Remove hack to build the locale files. -- Patrick Matthäi Tue, 24 Nov 2009 18:50:44 +0100 apt-dater (0.8.0+svn426-1) unstable; urgency=low * New upstream svn snapshot. - Added italian translation from Milo Casagrande. Closes: #555820 - CentOS hosts are properly handled now. Closes: #555534 - Do not call apt-dater-host on the remote host with sudo anymore, if the user already has got root rights. Closes: #555535 * Convert package to the 3.0 (quilt) format. * Install locale files. -- Patrick Matthäi Fri, 13 Nov 2009 12:47:14 +0100 apt-dater (0.8.0-3) unstable; urgency=low * Merge 0.8.0-2~bpo40+1 and 0.8.0-2~bpo50+1 changelog. * Bump Standards-Version to 3.8.3 (no changes needed). -- Patrick Matthäi Mon, 07 Sep 2009 12:52:03 +0200 apt-dater (0.8.0-2~bpo50+1) lenny-backports; urgency=low * Rebuild for lenny-backports. -- Patrick Matthäi Sun, 07 Jun 2009 12:03:47 +0200 apt-dater (0.8.0-2~bpo40+1) etch-backports; urgency=low * Rebuild for etch-backports. * We need Tcl 8.4 instead of 8.5 on Etch. * Add dpatch and 01-aptitude_safe-upgrade.dpatch which replaces safe-upgrade by upgrade for aptitude on Debian Etch. safe-upgrade is only available since Lenny. -- Patrick Matthäi Sun, 07 Jun 2009 18:06:47 +0200 apt-dater (0.8.0-2) unstable; urgency=low * Install missing lib target. Without the history feature will not work and you will get a warning on startup. -- Patrick Matthäi Wed, 27 May 2009 14:43:54 +0200 apt-dater (0.8.0-1) unstable; urgency=low * New upstream release. - Fix apt-dater to fail on apt command when MAINTAINER is not set. Closes: #529200 - Drop merged 01-aptitude_safe-upgrade.dpatch patch. - Repackaged original tarball to remove the .svn subfolders. * Configure it with --enable-autoref, --enable-history and --enable-debug to activate the new features. * Fix override disparity in apt-dater. * Fix typo in get-orig-source target. * Merge 0.7.0-1~bpo50+1 changelog. -- Patrick Matthäi Tue, 26 May 2009 18:39:07 +0200 apt-dater (0.7.0-2) unstable; urgency=low * Bump Standards-Version to 3.8.1 (no changes needed). * Change section of apt-dater-dbg to debug. * Change my email address. * Remove DM-Upload-Allowed control field. * Refresh debian/copyright and add my own copyright for the packaging. * Refer to the GPL-2 file instead of the GPL link. * Install the upstreams changelog. * Move apt-dater-dbg to the new section "debug". -- Patrick Matthäi Tue, 21 Apr 2009 19:26:06 +0200 apt-dater (0.7.0-1~bpo50+1) lenny-backports; urgency=low * Rebuild for lenny-backports. -- Patrick Matthäi Tue, 17 Feb 2009 18:09:31 +0200 apt-dater (0.7.0-1) unstable; urgency=low * New upstream release. - Basic WUA (Windows) client support. - Drop 02-g_free-before-return.dpatch (merged). -- Patrick Matthäi Wed, 21 Jan 2009 18:40:34 +0200 apt-dater (0.6.4.1-3) unstable; urgency=low * Add get-orig-source target. * Add 02-g_free-before-return.dpatch, which fixes a missing g_free of allocated memory before jumping out of the function with return. Closes: #511695 -- Patrick Matthäi Tue, 13 Jan 2009 18:27:52 +0200 apt-dater (0.6.4.1-2) unstable; urgency=low * Recommend on dmvirt at the apt-dater-host package. * Add missing ${misc:Depends}. Thanks lintian. * Adjust debian/watch to match with the new upstream naming scheme. -- Patrick Matthäi Sun, 21 Dec 2008 13:28:37 +0100 apt-dater (0.6.4.1-1) unstable; urgency=low * New upstream release. - This release also adds support for visual detection of differen virtual servers technologies, but the needed script imvirt for it is not packaged yet. -- Patrick Matthäi Tue, 25 Nov 2008 18:16:03 +0100 apt-dater (0.6.2+svn205-1) unstable; urgency=low * New svn snapshot. Closes: #503854 -- Patrick Matthäi Tue, 11 Nov 2008 19:22:38 +0100 apt-dater (0.6.2+svn202-1) unstable; urgency=low * New svn snapshot. - Drop now unneeded screen build depend, which has been fixed in r202. * Add 01-aptitude_safe-upgrade.dpatch which replaces the deprecated "upgrade" parameter of aptitude with "safe-upgrade". * Add a recommend on aptitude to the apt-dater-host package while it could also use aptitude for his operations. * Remove cherry taken debtrack suggest (not in archive). * Mangle "-ibh\d" from upstream version in debian/watch. -- Patrick Matthäi Sun, 26 Oct 2008 16:08:31 +0100 apt-dater (0.6.2+svn200-1) unstable; urgency=low * Initial release. Closes: #491818 -- Patrick Matthäi Wed, 27 Aug 2008 18:06:11 +0100 debian/apt-dater.install0000644000000000000000000000005012252275430012434 0ustar images/apt-dater.xpm usr/share/pixmaps/ debian/apt-dater-host.templates0000644000000000000000000000057612252275430013754 0ustar Template: apt-dater-host/assume_yes Type: boolean Default: true _Description: Enable automatic upgrades? If you disable this option, you have to acknowledge every upgrade process for all hosts. The pro of it would be, that you will be aware of every action apt wants to do. The con is, that you have to attach every host on multiple upgrades and acknowledge every single host. debian/sudo/0000755000000000000000000000000012252275430010142 5ustar debian/sudo/apt-dater-host0000644000000000000000000000055112252275430012722 0ustar # apt-dater-host sudoers.d config file # ------------------------------------ # # Please consider a look at /etc/sudoers.d/README howto enable this file. # # Keep apt-dater's MAINTAINER environment variable #Defaults env_keep += MAINTAINER # Allow members of group apt-dater to execute the apt-get command #%adm ALL=NOPASSWD: /usr/bin/apt-get debian/apt-dater.examples0000644000000000000000000000005712252275430012613 0ustar conf/*.example xmlreport/*.xsl xmlreport/*.dtd debian/apt-dater-host.manpages0000644000000000000000000000002512252275430013536 0ustar man/apt-dater-host.1 debian/apt-dater.docs0000644000000000000000000000005112252275430011717 0ustar README README.tclfilter README.xmlreport debian/apt-dater-host.postrm0000644000000000000000000000004712252275430013273 0ustar #!/bin/sh set -e #DEBHELPER# exit 0 debian/copyright0000644000000000000000000000243612252275430011130 0ustar This package was debianized by Patrick Matthäi on Wed, 27 Aug 2008 18:38:23 +0200. It was downloaded from . Upstream Authors: Andre Ellguth Thomas Liske Copyright: 2008-2009 by IBH IT-Service GmbH License: Copyright IBH IT-Service GmbH [http://www.ibh.de/apt-dater/] 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. This program 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, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. The Debian packaging is © 2009, Patrick Matthäi and is licensed under the GPL, see above. debian/apt-dater-host.postinst0000644000000000000000000000074212252275430013634 0ustar #!/bin/sh set -e . /usr/share/debconf/confmodule do_hostconfig() { db_get apt-dater-host/assume_yes case "${RET}" in true) ASSUME_YES="1" ;; false) ASSUME_YES="0" ;; esac sed "s/^\$ASSUMEYES=.*/\$ASSUMEYES=${ASSUME_YES};/" -i "/etc/apt-dater-host.conf" } case "$1" in configure) do_hostconfig; ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/po/0000755000000000000000000000000012252275476007620 5ustar debian/po/pt_BR.po0000644000000000000000000000277512252275430011167 0ustar # Debconf translations for apt-dater # Copyright (C) 2012 THE apt-dater'S COPYRIGHT HOLDER # This file is distributed under the same license as the apt-dater package. # J.S.Júnior , 2012. # msgid "" msgstr "" "Project-Id-Version: apt-dater 0.8.6-3\n" "Report-Msgid-Bugs-To: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\n" "PO-Revision-Date: 2012-02-20 17:54-0200\n" "Last-Translator: J.S.Júnior \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" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "Habilitar atualizações automáticas?" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" "Se você desativar esta opção, você terá que autorizar cada processo de " "atualização para cada uma das máquinas. O pró é que você ficará ciente de " "todas as ações que o apt quiser fazer. O contra é que você terá que conectar-" "se a cada máquina em atualizações múltiplas e autorizar cada uma delas." debian/po/it.po0000644000000000000000000000277612252275430010576 0ustar # ITALIAN TRANSLATION OF APT-DATER'S PO-DEBCONF FILE. # COPYRIGHT (C) 2010 THE APT-DATER'S COPYRIGHT HOLDER # This file is distributed under the same license as the apt-dater package. # # Vincenzo Campanella , 2010. # msgid "" msgstr "" "Project-Id-Version: apt-dater 0.8.1+svn453-1\n" "Report-Msgid-Bugs-To: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\n" "PO-Revision-Date: 2010-01-27 13:42+0100\n" "Last-Translator: Vincenzo Campanella \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "Abilitare gli aggiornamenti automatici?" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" "Se si disabilita questa opzione sarà necessario riconoscere tutti i processi " "di aggiornamento per ogni host. Il lato positivo di questa scelta sarebbe " "l'essere al corrente di ogni azione che apt desidera intraprendere, mentre " "quello negativo sarebbe di dover effettuare l'aggiornamento manualmente su " "ogni singolo host." debian/po/templates.pot0000644000000000000000000000207112252275430012330 0ustar # 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: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\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 #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" debian/po/POTFILES.in0000644000000000000000000000006312252275430011362 0ustar [type: gettext/rfc822deb] apt-dater-host.templates debian/po/de.po0000644000000000000000000000305612252275430010542 0ustar # Translation of po-debconf template to German # This file is distributed under the same license as the apt-dater package. # # Thomas Mueller , 2010. msgid "" msgstr "" "Project-Id-Version: apt-dater 0.8.1\n" "Report-Msgid-Bugs-To: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\n" "PO-Revision-Date: 2010-02-18 21:04+0100\n" "Last-Translator: Thomas Mueller \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: Lokalize 1.0\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "Automatische Upgrades einschalten?" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" "Falls Sie diese Option abwählen, müssen Sie für alle Server jeden Upgrade-" "Prozess bestätigen. Der Vorteil davon ist, dass Sie jede Aktivität von Apt " "wahrnehmen. Der Nachteil ist, dass Sie sich im Falle von mehreren " "aufeinanderfolgenden Upgrades jedes Mal mit jedem Rechner verbinden und auf " "jedem Rechner einzeln das Upgrade bestätigen müssen. " debian/po/ja.po0000644000000000000000000000303412252275430010540 0ustar # Copyright (C) 2010 Patrick Matthäi # This file is distributed under the same license as the apt-dater package. # Hideki Yamane , 2010. # msgid "" msgstr "" "Project-Id-Version: apt-dater 0.8.3-1\n" "Report-Msgid-Bugs-To: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\n" "PO-Revision-Date: 2010-05-04 11:21+0900\n" "Last-Translator: Hideki Yamane \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 #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "自動的にアップグレードするようにしますか?" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" "このオプションを無効にすると、全てのホストであらゆるアップグレード作業を確認" "する必要があります。メリットは、apt が行おうとする全ての動作がわかることで" "す。デメリットは、アップグレードを行う全てのホストにアクセスして、各ホストで" "確認する必要があることです。" debian/po/ru.po0000644000000000000000000000363212252275430010600 0ustar # translation of ru.po to Russian # Copyright (C) 2010 # This file is distributed under the same license as the apt-dater package. # # Yuri Kozlov , 2010. msgid "" msgstr "" "Project-Id-Version: apt-dater 0.8.1+svn453-1\n" "Report-Msgid-Bugs-To: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\n" "PO-Revision-Date: 2010-01-26 20:56+0300\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 #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "Включить автоматическое обновление?" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" "Если ответить отрицательно, то вам придётся подтверждать каждое действие в " "обновлении на всех хостах. Это может быть полезно, если вы хотите видеть " "каждое действие, выполняемое apt. Отрицательным моментом является то, что " "нужно подключаться к каждому хосту для многократных обновлений и " "подтверждать операции на каждом хосте." debian/po/nl.po0000644000000000000000000000276312252275430010567 0ustar # Dutch translation of apt-dater debconf templates. # Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the apt-dater package. # Jeroen Schot , 2012. # msgid "" msgstr "" "Project-Id-Version: apt-dater 0.8.6-2\n" "Report-Msgid-Bugs-To: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\n" "PO-Revision-Date: 2012-02-09 16:50+0100\n" "Last-Translator: Jeroen Schot \n" "Language-Team: Debian l10n Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "Automatisch opwaarderen inschakelen?" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" "Als u deze optie uitschakelt moet u toestemming verlenen voor elk " "opwaardeerproces op alle computers. Dit heeft als voordeel dat u op de " "hoogte bent van elke actie die apt wil ondernemen, maar als nadeel dat u " "elke keer met alle computers verbinding moet maken en individueel " "toestemming moet verlenen." debian/po/fr.po0000644000000000000000000000314312252275430010556 0ustar # Translation of apt-dater debconf templates to French # Copyright (C) 2010 Debian French l10n team # This file is distributed under the same license as the apt-dater package. # # Translators: # Christian Perrier , 2010. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\n" "PO-Revision-Date: 2010-01-26 07:32+0100\n" "Last-Translator: Christian Perrier \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.0\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "Faut-il activer les mises à jour automatiques ?" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" "Si vous refusez cette option, vous devrez confirmer chaque mise à jour pour " "chaque machine. L'avantage est de pouvoir prendre connaissance à l'avance " "des actions prévues par APT. L'inconvénient est de devoir se connecter à " "chaque machine pour confirmer chaque série de mises à jour nécessaires." debian/po/da.po0000644000000000000000000000267012252275430010537 0ustar # Danish translation apt-dater. # Copyright (C) 2011 apt-dater & nedenstående oversættere. # This file is distributed under the same license as the apt-dater package. # Joe Hansen , 2011. # msgid "" msgstr "" "Project-Id-Version: apt-dater\n" "Report-Msgid-Bugs-To: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\n" "PO-Revision-Date: 2011-04-17 17:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "Aktiver automatiske opgraderinger?" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" "Hvis du deaktiverer denne indstilling, skal du bekræfte alle " "opgraderingsprocesser for alle værter. Fordelen ved dette er, at du er " "opmærksom på alle handlinger, som apt vil udføre. Ulempen er, at du skal " "tilføje hver vært ved flere opgraderinger og bekræfte hver eneste vært." debian/po/es.po0000644000000000000000000000447712252275430010571 0ustar # apt-dater po-debconf translation to Spanish # Copyright (C) 2010 Software in the Public Interest # This file is distributed under the same license as the apt-dater package. # # Changes: # - Initial translation # Francisco Javier Cuadrado , 2010 # # Traductores, si no conocen 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 y normas 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: apt-dater 0.8.1+svn453-1\n" "Report-Msgid-Bugs-To: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\n" "PO-Revision-Date: \n" "Last-Translator: Francisco Javier Cuadrado \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" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "¿Desea activar las actualizaciones automáticas?" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" "Si desactiva esta opción, tendrá que responder a cada proceso de " "actualización para todas las máquinas. La ventaja de esto sería que " "conocería todas las acciones que apt quiera hacer. El inconveniente es que " "tiene que ejecutar de forma simultánea varias actualizaciones en el conjunto " "de máquinas, a las que tendrá que responder de forma independiente." debian/po/cs.po0000644000000000000000000000275012252275430010557 0ustar # Czech translation of pO debconf template for package apt-dater. # Copyright (C) 2010 Michal Simunek # This file is distributed under the same license as the apt-dater package. # Michal Simunek , 2010. msgid "" msgstr "" "Project-Id-Version: apt-dater 0.8.1+svn453-1\n" "Report-Msgid-Bugs-To: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\n" "PO-Revision-Date: 2010-01-30 12:04+0100\n" "Last-Translator: Michal Simunek \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 #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "Povolit automatické aktualizace?" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" "Zakážete-li tuto volbu, musíte u všech hostů potvrdit každý proces " "aktualizace. Pro tuto volbu může být, že budete upozorněni na každou akci, " "kterou bude chtít apt vykonat. Proti je, že musíte při větším počtu " "aktualizací vkládat a potvrzovat každého jednotlivého hosta." debian/po/vi.po0000644000000000000000000000275412252275430010574 0ustar # Vietnamese translation for APT Dater. # Copyright © 2010 Free Software Foundation, Inc. # Clytie Siddall , 2010. # msgid "" msgstr "" "Project-Id-Version: apt-dater 0.8.1+svn453-1\n" "Report-Msgid-Bugs-To: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\n" "PO-Revision-Date: 2010-04-01 00:41+0930\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 #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "Bật tự động nâng cấp ?" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" "Tắt tuỳ chọn này thì bạn cần phải tự xác nhận mỗi tiến trình nâng cấp cho " "từng máy. Thuận: bạn tự theo dõi mọi hành động dự định của apt. Chống: bạn " "cần phải tự gắn kết từng máy cho nhiều tiến trình nâng cấp, và tự xác nhận " "từng máy." debian/po/pt.po0000644000000000000000000000265112252275430010575 0ustar # apt-dater debconf portuguese translation # Copyright (C) 2010, apt-dater's copyright holder # This file is distributed under the same license as the apt-dater package. # Pedro Ribeiro , 2010 # msgid "" msgstr "" "Project-Id-Version: apt-dater_0.8.1+svn453-1\n" "Report-Msgid-Bugs-To: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\n" "PO-Revision-Date: 2010-01-28 00:35+0000\n" "Last-Translator: Pedro Ribeiro\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 #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "Activar actualizações automáticas?" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" "Se desligar esta opção, tem que validar cada processo de actualização de " "cada máquina. A vantagem é a tomada de conhecimento de cada acção do apt. A " "desvantagem é a necessidade de se ligar a cada máquina para cada processo de " "actualização." debian/po/sv.po0000644000000000000000000000305312252275430010577 0ustar # Translation of apt-dater debconf template to Swedish # Copyright (C) 2010 Martin Bagge # This file is distributed under the same license as the apt-dater package. # # Martin Bagge , 2010 msgid "" msgstr "" "Project-Id-Version: 0.8.1+svn453-1\n" "Report-Msgid-Bugs-To: apt-dater@packages.debian.org\n" "POT-Creation-Date: 2010-01-25 21:08+0100\n" "PO-Revision-Date: 2010-01-25 22:07+0100\n" "Last-Translator: Martin Bagge \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Swedish\n" "X-Poedit-Country: Sweden\n" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "Enable automatic upgrades?" msgstr "Aktivera automatiska uppgraderingar?" #. Type: boolean #. Description #: ../apt-dater-host.templates:1001 msgid "" "If you disable this option, you have to acknowledge every upgrade process " "for all hosts. The pro of it would be, that you will be aware of every " "action apt wants to do. The con is, that you have to attach every host on " "multiple upgrades and acknowledge every single host." msgstr "" "Om du inte aktiverar detta alternativ måste du godkänna samtliga " "uppgraderingsprocesser för alla värdar. Fördelen med detta skulle vara att " "du är helt medveten om varje steg som apt vill göra. Nackdelen med detta är " "att du måste hålla kolla på alla uppgraderingar på alla värdar och godkänna " "vid varje." debian/apt-dater-host.config0000644000000000000000000000102012252275430013204 0ustar #!/bin/sh set -e . /usr/share/debconf/confmodule # Default value is true (enabled). ASSUME_YES="true" if [ -f "/etc/apt-dater-host.conf" ] ; then # Get the current setted value. CURRENT_VALUE=$(grep '^$ASSUMEYES' "/etc/apt-dater-host.conf"|cut -d'=' -f2-|sed 's/;//g'|tr -d "\n") if [ "$CURRENT_VALUE" = "0" ]; then # Overwrite default value, if it is not enabled. ASSUME_YES="false" fi fi db_set apt-dater-host/assume_yes $ASSUME_YES db_input medium apt-dater-host/assume_yes || true db_go #DEBHELPER# exit 0 debian/watch0000644000000000000000000000014212252275430010216 0ustar version=3 https://github.com/DE-IBH/apt-dater/releases \ /DE-IBH/apt-dater/archive/v(.+)\.tar\.gz debian/rules0000755000000000000000000000143112252275430010247 0ustar #!/usr/bin/make -f export DEB_BUILD_HARDENING=1 DEB_CONFIGURE_EXTRA_FLAGS := \ --enable-tclfilter \ --enable-xmlreport \ --enable-autoref \ --enable-history \ --enable-clusters \ --enable-debug %: dh $@ --with autotools_dev override_dh_auto_configure: dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS) override_dh_auto_build: (cd src && $(MAKE)) (cd po && $(MAKE) all) override_dh_auto_install: (cd src && $(MAKE) DESTDIR=$(CURDIR)/debian/apt-dater install) (cd lib && $(MAKE) DESTDIR=$(CURDIR)/debian/apt-dater install) (cd po && $(MAKE) DESTDIR=$(CURDIR)/debian/apt-dater install) (cd clients/debian && $(MAKE) DESTDIR=$(CURDIR)/debian/apt-dater-host install) override_dh_auto_clean: dh_clean debconf-updatepo override_dh_strip: dh_strip --dbg-package=apt-dater-dbg debian/apt-dater.menu0000644000000000000000000000036612252275430011744 0ustar ?package(apt-dater):needs="text"\ section="Applications/System/Administration"\ title="apt-dater"\ command="/usr/bin/apt-dater"\ hints="apt"\ icon="/usr/share/pixmaps/apt-dater.xpm"\ longtitle="Terminal-based remote package update manager" debian/patches/0000755000000000000000000000000012252275430010617 5ustar debian/patches/01-ld-flags-non-linux.diff0000644000000000000000000000145612252275430015313 0ustar # Correct linker flags for non-Linux architectures. Fixes an new FTBFS there. # Closes: #675287 --- apt-dater-0.9.0.orig/src/Makefile.am +++ apt-dater-0.9.0/src/Makefile.am @@ -42,7 +42,7 @@ AM_CFLAGS = -Wall -DPKGLIBDIR='"'$(pkgli if LINUX AM_LDFLAGS = -Wl,--as-needed else -AM_LDFLAGS = -Wl +AM_LDFLAGS = -Wl,--as-needed endif INCLUDES = $(GLIB_CFLAGS) $(TCL_CFLAGS) $(LIBXML2_CFLAGS) --- apt-dater-0.9.0.orig/src/Makefile.in +++ apt-dater-0.9.0/src/Makefile.in @@ -239,7 +239,7 @@ apt_dater_SOURCES = \ apt_dater_LDADD = $(GLIB_LIBS) $(TCL_LIBS) $(LIBXML2_LIBS) AM_CFLAGS = -Wall -DPKGLIBDIR='"'$(pkglibdir)'"' -@LINUX_FALSE@AM_LDFLAGS = -Wl +@LINUX_FALSE@AM_LDFLAGS = -Wl,--as-needed @LINUX_TRUE@AM_LDFLAGS = -Wl,--as-needed INCLUDES = $(GLIB_CFLAGS) $(TCL_CFLAGS) $(LIBXML2_CFLAGS) all: all-am debian/patches/03-patch-hostname-plus-sign.diff0000644000000000000000000001650212252275430016527 0ustar # Upstream patch to accept plus sign in hostnames. # Closes: #687981 diff -Naur apt-dater-0.9.0.orig/src/exec.c apt-dater-0.9.0/src/exec.c --- apt-dater-0.9.0.orig/src/exec.c 2012-05-28 22:21:48.000000000 +0200 +++ apt-dater-0.9.0/src/exec.c 2012-12-12 11:11:10.320726355 +0100 @@ -101,8 +101,8 @@ ssh_cmd_upgrade(HostNode *n, const gboolean detached) { gboolean r; + guint i; GError *error = NULL; - gchar *cmd = NULL; gchar **argv = NULL; g_assert(n); @@ -116,20 +116,19 @@ he.action = "upgrade"; he.data = NULL; - gchar *screen = screen_new(n, detached); + gchar **screen_argv = screen_new(n, detached); - cmd = g_strdup_printf ("%s%s", - screen, PKGLIBDIR"/cmd"); - g_free(screen); + argv = (gchar **) g_malloc0(sizeof(gchar *) * (g_strv_length(screen_argv) + 2)); + for(i = 0; i < g_strv_length(screen_argv); i++) + argv[i] = g_strdup(screen_argv[i]); + argv[i] = g_strdup(PKGLIBDIR"/cmd"); + + g_strfreev(screen_argv); #ifdef FEAT_HISTORY n->parse_result = cfg->history_errpattern && strlen(cfg->history_errpattern);; #endif - argv = g_strsplit(cmd, "+", 0); - - g_free(cmd); - gchar **env = env_build(n, "upgrade", NULL, &he); r = g_spawn_sync(g_getenv ("HOME"), argv, env, @@ -158,8 +157,8 @@ ssh_cmd_install(HostNode *n, gchar *package, const gboolean detached) { gboolean r; + guint i; GError *error = NULL; - gchar *cmd = NULL; gchar **argv = NULL; g_assert(n); @@ -173,21 +172,19 @@ he.action = "install"; he.data = package; - gchar *screen = screen_new(n, detached); + gchar **screen_argv = screen_new(n, detached); - cmd = g_strdup_printf ("%s%s", - screen, PKGLIBDIR"/cmd"); + argv = (gchar **) g_malloc0(sizeof(gchar *) * (g_strv_length(screen_argv) + 2)); + for(i = 0; i < g_strv_length(screen_argv); i++) + argv[i] = g_strdup(screen_argv[i]); + argv[i] = g_strdup(PKGLIBDIR"/cmd"); - g_free(screen); + g_strfreev(screen_argv); #ifdef FEAT_HISTORY n->parse_result = cfg->history_errpattern && strlen(cfg->history_errpattern); #endif - argv = g_strsplit(cmd, "+", 0); - - g_free(cmd); - gchar **env = env_build(n, "install", package, &he); r = g_spawn_sync(g_getenv ("HOME"), argv, env, @@ -215,8 +212,8 @@ void ssh_connect(HostNode *n, const gboolean detached) { gboolean r; + guint i; GError *error = NULL; - gchar *cmd = NULL; gchar **argv; HistoryEntry he; @@ -225,16 +222,14 @@ he.action = "connect"; he.data = NULL; - gchar *screen = screen_new(n, detached); + gchar **screen_argv = screen_new(n, detached); - cmd = g_strdup_printf ("%s%s", - screen, PKGLIBDIR"/cmd"); + argv = (gchar **) g_malloc0(sizeof(gchar *) * (g_strv_length(screen_argv) + 2)); + for(i = 0; i < g_strv_length(screen_argv); i++) + argv[i] = g_strdup(screen_argv[i]); + argv[i] = g_strdup(PKGLIBDIR"/cmd"); - g_free(screen); - - argv = g_strsplit(cmd, "+", 0); - - g_free(cmd); + g_strfreev(screen_argv); gchar **env = env_build(n, "connect", NULL, &he); @@ -254,8 +249,8 @@ void sftp_connect(HostNode *n) { gboolean r; + guint i; GError *error = NULL; - gchar *cmd = NULL; gchar **argv; g_assert(n); @@ -266,16 +261,14 @@ he.action = "transfer"; he.data = NULL; - gchar *screen = screen_new(n, FALSE); - - cmd = g_strdup_printf ("%s%s", - screen, PKGLIBDIR"/cmd"); - - g_free(screen); + gchar **screen_argv = screen_new(n, FALSE); - argv = g_strsplit(cmd, "+", 0); + argv = (gchar **) g_malloc0(sizeof(gchar *) * (g_strv_length(screen_argv) + 2)); + for(i = 0; i < g_strv_length(screen_argv); i++) + argv[i] = g_strdup(screen_argv[i]); + argv[i] = g_strdup(PKGLIBDIR"/cmd"); - g_free(cmd); + g_strfreev(screen_argv); gchar **env = env_build(n, "transfer", NULL, &he); diff -Naur apt-dater-0.9.0.orig/src/screen.c apt-dater-0.9.0/src/screen.c --- apt-dater-0.9.0.orig/src/screen.c 2012-05-28 22:21:48.000000000 +0200 +++ apt-dater-0.9.0/src/screen.c 2012-12-12 11:11:10.320726355 +0100 @@ -104,38 +104,43 @@ return g_list_length(n->screens) > 0; } -gchar * +gchar ** screen_new(HostNode *n, const gboolean detached) { + gchar **_argv = (gchar **) g_malloc0(sizeof(gchar *) * 8); gchar *title = parse_string(cfg->screentitle, n); - gchar *cmd = g_strdup_printf(SCREEN_BINARY"+-%sS+"SCREEN_SOCKPRE"%s_%s_%d" \ - "+-t+%s+-c+%s+", - detached ? "dm" : "", - n->ssh_user, n->hostname, n->ssh_port, - title, - cfg->screenrcfile); - - g_free(title); + _argv[0] = g_strdup(SCREEN_BINARY); + _argv[1] = g_strdup_printf("-%sS", detached ? "dm" : ""); + _argv[2] = g_strdup_printf(SCREEN_SOCKPRE"%s_%s_%d", n->ssh_user, + n->hostname, + n->ssh_port); + _argv[3] = g_strdup("-t"); + _argv[4] = title; + _argv[5] = g_strdup("-c"); + _argv[6] = g_strdup(cfg->screenrcfile); - return cmd; + return _argv; } -static gchar * +static gchar ** screen_attach_cmd(const SessNode *s, const gboolean shared) { - return g_strdup_printf(SCREEN_BINARY"+-r%s+%d+", shared ? "x" : "", s->pid); + gchar **_argv = (gchar **) g_malloc0(sizeof(gchar *) * 4); + + _argv[0] = g_strdup(SCREEN_BINARY); + _argv[1] = g_strdup_printf("-r%s", shared ? "x" : ""); + _argv[2] = g_strdup_printf("%d", s->pid); + + return _argv; } gboolean screen_attach(HostNode *n, const SessNode *s, const gboolean shared) { gboolean r; GError *error = NULL; - gchar *cmd = screen_attach_cmd(s, shared); - gchar **argv = NULL; + gchar **argv = screen_attach_cmd(s, shared); g_assert(n); - argv = g_strsplit(cmd, "+", 0); - r = g_spawn_sync(g_getenv ("HOME"), argv, NULL, G_SPAWN_CHILD_INHERITS_STDIN, NULL, NULL, NULL, NULL, NULL, &error); @@ -145,7 +150,6 @@ g_clear_error (&error); } - g_free(cmd); g_strfreev(argv); #ifdef FEAT_HISTORY @@ -158,32 +162,34 @@ return FALSE; } -static gchar * +static gchar ** screen_dump_cmd(const SessNode *s, const gchar *fn) { - return g_strdup_printf(SCREEN_BINARY"+-S+%d+-X+hardcopy+%s", s->pid, fn); + gchar **_argv = (gchar **) g_malloc0(sizeof(gchar *) * 7); + + _argv[0] = g_strdup(SCREEN_BINARY); + _argv[1] = g_strdup("-S"); + _argv[2] = g_strdup_printf("%d", s->pid); + _argv[3] = g_strdup("-X"); + _argv[4] = g_strdup("hardcopy"); + _argv[5] = g_strdup(fn); + _argv[6] = NULL; + + return _argv; } gchar * screen_get_dump(const SessNode *s) { gboolean r; GError *error = NULL; - gchar **argv = NULL; gchar *dump_fn = g_strdup_printf("%s/dump-XXXXXX", g_get_tmp_dir()); gint fd = g_mkstemp(dump_fn); + gchar **argv = screen_dump_cmd(s, dump_fn); + if(fd == -1) return NULL; - gchar *cmd = screen_dump_cmd(s, dump_fn); - if(!cmd) { - g_unlink(dump_fn); - close(fd); - return NULL; - } - - argv = g_strsplit(cmd, "+", 0); - r = g_spawn_sync(g_getenv ("HOME"), argv, NULL, G_SPAWN_CHILD_INHERITS_STDIN, NULL, NULL, NULL, NULL, NULL, &error); @@ -193,7 +199,6 @@ g_clear_error (&error); } - g_free(cmd); g_strfreev(argv); gchar *c = NULL; diff -Naur apt-dater-0.9.0.orig/src/screen.h apt-dater-0.9.0/src/screen.h --- apt-dater-0.9.0.orig/src/screen.h 2012-05-28 22:21:48.000000000 +0200 +++ apt-dater-0.9.0/src/screen.h 2012-12-12 11:11:10.324726354 +0100 @@ -35,7 +35,7 @@ gboolean screen_get_sessions(HostNode *n); -gchar *screen_new(HostNode *n, const gboolean detached); +gchar **screen_new(HostNode *n, const gboolean detached); gboolean screen_attach(HostNode *n, const SessNode *s, const gboolean shared); gchar *screen_get_dump(const SessNode *s); debian/patches/series0000644000000000000000000000015412252275430012034 0ustar 01-ld-flags-non-linux.diff 02-refresh-ssh-flags.diff 03-patch-hostname-plus-sign.diff 04-wheezy-kernel.diff debian/patches/02-refresh-ssh-flags.diff0000644000000000000000000000124312252275430015213 0ustar # Also use OptionalCmdFlags on refreshing hosts. # Closes: #678111 diff -Naur apt-dater-0.9.0.orig/lib/cmd apt-dater-0.9.0/lib/cmd --- apt-dater-0.9.0.orig/lib/cmd 2012-05-28 22:21:48.000000000 +0200 +++ apt-dater-0.9.0/lib/cmd 2012-07-03 19:26:49.369476113 +0200 @@ -157,7 +157,7 @@ ;; refresh) run_hook "$AD_HOOK_PRE_REFRESH" - $AD_SSH_CMD $AD_SSH_ID -n -o BatchMode=yes -o ConnectTimeout=5 $my_ssh_user $my_ssh_port "$AD_HOSTNAME" $AD_CMD_REFRESH 2>&1 + $AD_SSH_CMD $AD_SSH_ID $AD_SSH_OPTFLAGS -n -o BatchMode=yes -o ConnectTimeout=5 $my_ssh_user $my_ssh_port "$AD_HOSTNAME" $AD_CMD_REFRESH 2>&1 run_hook "$AD_HOOK_POST_REFRESH" ;; *) debian/patches/04-wheezy-kernel.diff0000644000000000000000000000135112252275430014463 0ustar # Upstream patch to fix detection of the Wheezy 3.2 Linux Kernel. It was # missdetected as selfbuilt variant. # Closes: #697330 diff -Naur apt-dater-0.9.0.orig/clients/debian/apt-dater-host apt-dater-0.9.0/clients/debian/apt-dater-host --- apt-dater-0.9.0.orig/clients/debian/apt-dater-host 2012-05-29 14:18:43.000000000 +0200 +++ apt-dater-0.9.0/clients/debian/apt-dater-host 2013-01-08 19:32:09.520617548 +0100 @@ -337,7 +337,9 @@ return; } - unless(`cat /proc/version` =~ /^\S+ \S+ \S+ \(Debian ([^\)]+)\)/) { + my $vstr = `cat $verfile`; + unless($vstr =~ /^\S+ \S+ \S+ \(Debian ([^\)]+)\)/ || + $vstr =~ /^\S+ \S+ \S+ \(debian-kernel\@lists\.debian\.org\) .+ Debian (\S+)$/) { print "$infostr 2 $version\n"; return; } debian/apt-dater-host.install0000644000000000000000000000005212252275430013411 0ustar debian/sudo/apt-dater-host etc/sudoers.d/ debian/source/0000755000000000000000000000000012252275430010470 5ustar debian/source/format0000644000000000000000000000001412252275430011676 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212252275430010366 0ustar 9