debian/0000755000000000000000000000000012245576575007210 5ustar debian/changelog0000644000000000000000000003633112245576273011063 0ustar rlinetd (0.9-2) unstable; urgency=low * Add Italian translation of debconf messages (closes: #714009). -- Robert Luberda Thu, 28 Nov 2013 09:19:24 +0100 rlinetd (0.9-1) unstable; urgency=low * New upstream version. * Remove both patches, as they are integrated into upstream version. * Pass --debconf-ok to ucf, but first check if debconf has not been stopped with a really ugly hack which involvs using timeout command to check if debconf can return its version within 15 seconds (closes: #665443, LP: #877453, #1222009). * Use --disable-silent-rules to unhide compiler command line. * Add support for cross-compiling. * Standards-Version: 3.9.5 (no changes). -- Robert Luberda Sun, 17 Nov 2013 18:27:45 +0100 rlinetd (0.8.2-2) unstable; urgency=low * Add 1-Fix-fd_set-overflow.patch to fix fd_set buffer overflows caught by new glibc 1.15 hardening checks (LP: #1057645) The fd_set buffers used by FD_ISSET, FD_SET, FD_CLR macros used to be overwritten usually by 1 byte or more in rare cases on systems where open file descriptors limit is greater than FD_SETSIZE. * Add 2-Add-udp4-to-inetd2rlinetd.patch to support protocols like udp4, tcp6 in inetd2rlinetd (LP: #1057663). * postinst, postrm: Fix installing/removing diversions (closes: #691778). The scripts fail to parse output of `dpkg-divert --list', when it is localized, so enforce non-localized output by setting LC_ALL=C. -- Robert Luberda Mon, 10 Dec 2012 22:47:43 +0100 rlinetd (0.8.2-1) unstable; urgency=low * New upstream version. * Standards-Version: 0.8.3 (no changes needed). -- Robert Luberda Sun, 26 Feb 2012 12:56:20 +0100 rlinetd (0.8.1-1) unstable; urgency=low * New upstream version: + update German man pages translations (closes: #636237). * Switch to debhelper v9. * debian/postinst: + pass --add-from-comment during initial inetd.conf conversion. * debian/control: + add VCS fields; + add dependency on psmisc for killall command used in update-inetd. -- Robert Luberda Sun, 05 Feb 2012 18:59:51 +0100 rlinetd (0.8-1) unstable; urgency=low * New upstream version: + German man pages translations added (closes: #630216); + typos in man pages fixed (closes: #630218). * update-inetd.sh: save original inetd(8) line in generated files and add support for regex as an argument for --remove (closes: #600796). * Add Danish translation of debconf templates (closes: #627717). * Switch to 3.0 (quilt) format. * debian/rules: Use tiny debhelper v8 format. * debian/control: + use [linux-any] instead of [!kfreebsd-i386 ...] (closes: #634776); + add build-dependency on autotools-dev; + drop conflict with ancient version of netbase (lintian); + Standards-Version: 3.9.2 (no changes). + reformat dependency fields with wrap-and-sort command. * Update debian/watch. -- Robert Luberda Mon, 25 Jul 2011 22:52:22 +0200 rlinetd (0.7-1) unstable; urgency=low * New upstream version. * Recommend rsyslog instead of sysklogd (closes: #526922). * update-inetd: + add support for enabling, disabling and removing entries; + use ucf for managing generated files; + ignore ucf files in rlinetd.conf; + make appropriate changes in postinst and postrm scripts. * Set debhelper compat level to 7 * Standards-Version: 3.8.4 (no changes). -- Robert Luberda Sat, 20 Mar 2010 18:03:45 +0100 rlinetd (0.6.2-3) unstable; urgency=low * Fix FTBFS on GNU/kFreeBSD (closes: #511394). -- Robert Luberda Sun, 11 Jan 2009 09:40:20 +0100 rlinetd (0.6.2-2) unstable; urgency=low * Build with libcap2 (closes: #492650). * Standards-Version: 3.8.0 (no changes). * Fix typo in debian/rules. -- Robert Luberda Sat, 02 Aug 2008 08:42:49 +0200 rlinetd (0.6.2-1) unstable; urgency=medium * New upstream version. * Build with debhelper v6. * Move homepage to its own field (lintian). * Standards-Version: 3.7.3 (no changes). * Add simple wrapper around gcc that removes -soname option while linking libparse.so in order to make libparse.so a private library to avoid dpkg warnings. * Pass --without-nsl to configure. * Don't ignore make clean error (lintian). -- Robert Luberda Sun, 13 Apr 2008 22:52:10 +0200 rlinetd (0.6.1-3) unstable; urgency=low * update-inetd.sh: Don't fail if $real_upd is not executable (closes: #422011). -- Robert Luberda Thu, 03 May 2007 10:53:57 +0200 rlinetd (0.6.1-2) unstable; urgency=low * Upload to unstable. * debian/{postinst,postrm}: Stop diverting inetd.conf. * Standards-Version: 3.7.2 * Update debian/watch and debian/lintian. * debian/templates: remove the question from extended description (lintian), and fix few typos. Unfuzzy translations. -- Robert Luberda Sun, 15 Apr 2007 15:28:22 +0200 rlinetd (0.6.1-1) experimental; urgency=low * New upstream version. -- Robert Luberda Wed, 21 Mar 2007 23:56:28 +0100 rlinetd (0.6-3) unstable; urgency=high * grammar.y: fix stack corruption error, that prevented rlinetd from stopping properly when RPC are enabled. The bug occurred in the rlp_cleanup() function, was introduced in the previous release and is caused by my misunderstanding of numlist_copy() function, which joins two lists together rather than making a simple copy. Simple NULL-ification of the destination list before the above function is called fixes the problem. * grammar.y: fix similar bug, that happens when the rpc token is used in the "default" configuration section (however hardly likely anybody will ever configure rlinetd in that way). -- Robert Luberda Wed, 21 Mar 2007 23:21:31 +0100 rlinetd (0.6-2) unstable; urgency=low * grammar.y: fix segmentation fault on RPC services for which getaddrinfo() returns more then one addrinfo result. * Initial Portuguese debconf templates translation (closes: #383839). * debian/control: + exclude GNU/kFreeBSD architectures from libcap-dev build depends (closes: #375033). + provide inet-superserver, conflict with inet-superserver and netkit-inetd + add dependency on netbase for files like /etc/services or /etc/rpc * debian/init.d: Fix typo in the Short-Description tag name (lintian). -- Robert Luberda Tue, 2 Jan 2007 23:32:14 +0100 rlinetd (0.6-1) unstable; urgency=low * New release: + split the package into the upstream and Debian parts + move upstream maintenance to Alioth + fix RPC support + implement `wait' keyword. * Fix typo in Build-Depends - should be libcap-dev, not libpcap-dev. * Update to debhelper v5. * Include link to upstream site in the package description. * Add watch file. -- Robert Luberda Sun, 19 Mar 2006 18:13:10 +0100 rlinetd (0.5.20) unstable; urgency=low * Initial Swedish debconf templates translation (closes: #331486). * Made init.d script LSB-compliant. -- Robert Luberda Sun, 23 Oct 2005 19:20:03 +0200 rlinetd (0.5.19) unstable; urgency=low * New Vietnamese translation of debconf templates (closes: #317783). * Add lintian override file for `maintainer-script-needs-depends-on-netbase' and `package-name-doesnt-match-sonames' tags. * Update autotools stuff. * Standards-Version: 3.6.2 (no changes). -- Robert Luberda Sat, 20 Aug 2005 13:35:08 +0200 rlinetd (0.5.18) unstable; urgency=low * Fix problems with inetd2rlinetd trying to get user input from STDIN, which apparentally is the converted file, and not terminal. * Use ${misc:Depends}, ${perl:Depends} in debian/control. -- Robert Luberda Thu, 24 Feb 2005 21:34:05 +0100 rlinetd (0.5.17) unstable; urgency=low * Add Czech translation of rlinetd debconf messages (closes: #287299). Thanks to Miroslav Kure . * Fix typos in debian/update-inetd.sh. * Expand '\t' to spaces in inetd2rlinetd script. -- Robert Luberda Tue, 4 Jan 2005 18:53:54 +0100 rlinetd (0.5.16) unstable; urgency=low * Fix FTBFS with gcc-3.4 (closes: #259845). * Add Japanese translation of debconf templates (closes: #262746). Thanks to Hideki Yamane . -- Robert Luberda Thu, 5 Aug 2004 08:45:38 +0200 rlinetd (0.5.15) unstable; urgency=low * When connection is denied by tcp wrappers, log the service name (closes: #92042). * Add Catalan translation of debconf templates (closes: #250134). Thanks to Aleix Badia i Bosch . -- Robert Luberda Mon, 31 May 2004 22:32:10 +0200 rlinetd (0.5.14) unstable; urgency=low * Added Dutch translation of debconf templates (closes: #209086) Thanks to Tim Vandermeersch . * Updated Spanish translation of debconf templates (closes: #211837) Thanks to Carlos Valdivia Yagüe . * Standards-Version: 3.6.1 (no changes). -- Robert Luberda Mon, 13 Oct 2003 20:38:55 +0200 rlinetd (0.5.13) unstable; urgency=low * Add missing po/templates.pot file (closes: #203675). * Add French translation of debconf templates (closes: #203678) Thanks to Michel Grentzinger for the above changes. * Recode this changelog to UTF-8. * Standards-Version: 3.6.0. -- Robert Luberda Sun, 3 Aug 2003 23:43:32 +0200 rlinetd (0.5.12) unstable; urgency=low * Fix problem with building with current flex (closes: #191207). * Fix typos in man pages. * Convert debconf translations to po-debconf * Standards-Version: 3.5.9 (no changes). -- Robert Luberda Tue, 6 May 2003 20:58:17 +0200 rlinetd (0.5.11) unstable; urgency=medium * Internal services (chargen, loopback, discard) close sockets when the other side ends connection. * Call libtool -avoid-version, don't install libtool *.la file. * Remove lintian override file. * debian/control: lsfcc package was removed from sid, do not build-depend or suggest it. * debian/rules: configure with --without-lsf. * debian/control: depend on debconf >> 1.2.9 (lintian). * Standards-Version: 3.5.8 (no changes). -- Robert Luberda Sat, 4 Jan 2003 11:08:33 +0100 rlinetd (0.5.10) unstable; urgency=low * Call configure with --build and --host as described in /usr/share/doc/autotools-dev/README.Debian.gz. * Build-Depends on libpcap-dev, not on libpcap0! * Update automake files. * Build with the newest debhelper (v4). * Support DEB_BUILD_OPTIONS=noopts, drop support for DEB_BUILD_OPTIONS=debug. * Standards-Version: 3.5.7 -- Robert Luberda Thu, 24 Oct 2002 08:02:08 +0200 rlinetd (0.5.9) unstable; urgency=low * Added Spanish translation of debconf template (closes: #136458). Thanks to Carlos Valdivia Yagüe . * Added Russian translation of debconf template (closes: #137681). Thanks to Ilgiz Kalmetev . -- Robert Luberda Thu, 14 Mar 2002 20:12:29 +0100 rlinetd (0.5.8) unstable; urgency=medium * Internal services should works again now (closes: #126225). * Corrected spelling in package description (closes: #125318). Thanks to Matt Ziemmerman. * Standards: 3.5.6 (no changes). -- Robert Luberda Tue, 29 Jan 2002 21:17:11 +0100 rlinetd (0.5.7) unstable; urgency=low * Drop build dependency on automake, use AM_MAINTAINER_MODE instead (closes: #120220). -- Robert Luberda Sat, 1 Dec 2001 17:08:59 +0100 rlinetd (0.5.6) unstable; urgency=low * Added build time dependency on automake (closes: #116792). * Updated configure.ac and automake files in aux directory. -- Robert Luberda Tue, 6 Nov 2001 08:11:24 +0100 rlinetd (0.5.5) unstable; urgency=low * Added German translation of templates. Thanks to Sebastian Feltel (closes: #109927). * Fixed bad diversion of /u/s/m/man8/update-inetd.8.gz (closes: #114940). -- Robert Luberda Sun, 14 Oct 2001 20:19:32 +0200 rlinetd (0.5.4) unstable; urgency=low * In `user' directive call setgid() before setuid() (closes: #105854). * Log file name and line number on parse warnings (closes: #91319). * Call exit() instead of abort() on fatal errors (closes: #102721). * Do not close no opened socket (fixes rlinetd part of #103299). * Rewrite inetd2rlinetd, now it outputs each service in separate file in /etc/rlinetd.d directory * Remove files from /etc/rlinetd.d directory when package is purged. * Update copyright file. * Include both (upstream & Debian) changelogs in the package. * /etc/rlinetd.conf: skip editor backup files in dircetory /etc/rlinetd.d. * Added a very simple update-inetd script, which can only add a service. * We diverts /etc/init.d/inetd file to make sure that inetd is not started. * If no service is defined in /etc/rlinetd*, ask user via debconf if we should import settings from /etc/inetd.conf. * rlinetd conflicts with xinetd and with old netbase package. * Added dependency on debconf and dpkg (both versioned). * We recommends sysklogd|system-log-daemon and suggests portmap. -- Robert Luberda Mon, 20 Aug 2001 00:07:13 +0200 rlinetd (0.5.3) unstable; urgency=low * Set package priority to extra as per an override file. * Some fixes in manpages. * Modified init.d script. -- Robert Luberda Fri, 6 Jul 2001 17:29:33 +0200 rlinetd (0.5.2) unstable; urgency=low * New maintainer (closes: #102648). * Applied patches from Polish(ed) Linux Distribution: + rlinetd-tcpwrappers.patch, fixes "unknown opcode 19" problem (closes: #91329) + rlinetd-execve.patch: do not reset environment of spawned daemons. * Update config.sub and config.guess files. * Moved inetd2rlinetd manpage to section 8. * Switched to the newset debhelper. * Bumped Standards-Version to 3.5.5 (closes: #91040 and all merged bugs): + FHS transition + Build dependencies + Support for DEB_BUILD_OPTIONS * Added lintian override file for libparse.so. -- Robert Luberda Wed, 4 Jul 2001 23:51:00 +0200 rlinetd (0.5.1) unstable; urgency=low * interim build fix release * closes: #43608, #42445 -- Mikolaj J. Habryn Fri, 3 Sep 1999 16:25:40 +0800 rlinetd (0.5) unstable; urgency=low * new release -- Mikolaj J. Habryn Wed, 25 Aug 1999 23:32:21 +0800 rlinetd (0.4) unstable; urgency=low * moved rlinetd.conf to /etc, called it a conffile * new release -- Mikolaj J. Habryn Fri, 23 Jul 1999 14:50:13 +0800 rlinetd (0.3-1) unstable; urgency=low * de-lintianed * New release -- Mikolaj J. Habryn Wed, 24 Mar 1999 15:11:14 +0800 rlinetd (0.2-1) unstable; urgency=low * New release -- Mikolaj J. Habryn Thu, 11 Mar 1999 12:19:53 +0800 rlinetd (0.1-1) unstable; urgency=low * Initial Release. -- Mikolaj J. Habryn Thu, 4 Mar 1999 16:03:43 +0800 debian/compat0000644000000000000000000000000212245576273010401 0ustar 9 debian/config0000644000000000000000000000060212245576273010371 0ustar #!/bin/sh set -e [ -f /usr/share/debconf/confmodule ] || exit 0 . /usr/share/debconf/confmodule if [ -e /etc/inetd.conf ] && ! cat /etc/rlinetd.conf /etc/rlinetd.d/* 2>/dev/null | grep -q '^[ \t]*service' ; then db_input medium rlinetd/convert_from_inetd || true db_go || true else db_fset rlinetd/convert_from_inetd seen true db_set rlinetd/convert_from_inetd false fi debian/control0000644000000000000000000000262012245576273010606 0ustar Source: rlinetd Section: net Priority: extra Maintainer: Robert Luberda Standards-Version: 3.9.5 Build-Depends: autotools-dev, bison, debhelper (>= 9), flex (>= 2.5.31), libcap2-dev [linux-any], libwrap0-dev Homepage: http://rlinetd.alioth.debian.org/ Vcs-Git: git://anonscm.debian.org/rlinetd/rlinetd.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=rlinetd/rlinetd.git;a=shortlog;h=refs/heads/debian Package: rlinetd Architecture: any Depends: dpkg (>> 1.9), lsb-base (>= 3.0-6), netbase, psmisc, ucf (>= 3.0015), ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} Recommends: rsyslog | system-log-daemon Conflicts: inet-superserver, netkit-inetd, xinetd Replaces: manpages-pl (<< 20060617-3~) Provides: inet-superserver Suggests: portmap Description: gruesomely over-featured inetd replacement rlinetd is designed to replace the BSD inetd. Feature-wise, it is a proper superset of the BSD inetd, including rpc support and both udp and tcp services. In addition, it supports a number of resource limiting features, including full resource limits a la setrlimit(2), renicing, chroot and limited per-service instances. To round out the features stolen from xinetd, it also supports binding to individual interfaces on request, and configurable logging. debian/copyright0000644000000000000000000000103112245576273011131 0ustar This package was debianized by Mikolaj J. Habryn dichro-debian@rcpt.to on Thu, 4 Mar 1999 16:03:43 +0800. Current maintainer is Robert Luberda . It was downloaded from http://rlinetd.alioth.debian.org/ Copyright: (C) 1999 Mikolaj J. Habryn (C) 2001-2008 Robert Luberda rlinetd is free software. You may copy it according to the GNU General Public License, version 2. On a Debian GNU/Linux system, the GPL can be found as /usr/share/common-licenses/GPL-2 . debian/dirs0000644000000000000000000000007012245576273010064 0ustar etc/rlinetd.d usr/share/doc/rlinetd var/lib/rlinetd/ucf debian/docs0000644000000000000000000000011712245576273010055 0ustar AUTHORS BUGS NEWS README README.capabilities README.inetd THANKS THOUGHTS TODO debian/gcc-wrapper0000755000000000000000000000132312245576273011342 0ustar #!/bin/sh # vim:ts=4:sts=4:fdm=marker:cms=\ #\ %s # Simple wrapper around gcc. Removes any -soname option passed to gcc while linking libparse.so # set -e new_args="" skip_next_arg=0 use_new_args=0 if [ -z "$1" ] ; then echo "gcc-wrapper: usage $0 compiler-name compiler-options" >&2 exit 1 fi if [ "$2" = "-shared" ]; then for arg in "$@"; do [ "$skip_next_arg" = 0 ] || { skip_next_arg=0 ; continue ; } case $arg in *parse.so) new_args="$new_args $arg" use_new_args=1 ;; *soname) skip_next_arg=1 ;; *) new_args="$new_args $arg" ;; esac; done fi if [ "$use_new_args" = 1 ] ; then echo "gcc-wrapper: executing $new_args" >&2 exec $new_args else exec "$@" fi debian/init0000644000000000000000000000311712245576273010073 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: rlinetd # Required-Start: $local_fs $remote_fs $syslog $network # Required-Stop: $local_fs $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/stop rlinetd server # Description: Rlinetd is a inetd server including rpc support and both udp # and tcp services. In addition, it supports a number of # resourcelimiting features, including full resource limits # renicing, chroot and limited per-service instances. ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/rlinetd NAME=rlinetd DESC="internet superserver" test -f $DAEMON || exit 0 test -r /etc/rlinetd.conf || exit 0 set -e status=0 . /lib/lsb/init-functions case "$1" in start) log_daemon_msg "Starting $DESC" "$NAME" start-stop-daemon --start --quiet --exec $DAEMON || status=$? log_end_msg $status ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" start-stop-daemon --stop --quiet --oknodo --exec $DAEMON || status=$? log_end_msg $status ;; reload|force-reload) log_daemon_msg "Reloading $DESC configuration files" "$NAME" start-stop-daemon --stop --signal 1 --quiet --exec $DAEMON || status=$? log_end_msg $status ;; restart) log_daemon_msg "Restarting $DESC" "$NAME" start-stop-daemon --stop --quiet --oknodo --exec $DAEMON || true sleep 1 start-stop-daemon --start --quiet --exec $DAEMON || status=$? log_end_msg $status ;; *) log_failure_msg "Usage: $0 {start|stop|restart|reload|force-reload}" exit 1 ;; esac exit $status debian/lintian-overrides0000644000000000000000000000046712245576273012573 0ustar # rlinetd don't use update-inetd, only diverts it. rlinetd: maintainer-script-needs-depends-on-update-inetd preinst # update-inetd uses debconf's confmodule only to check if debconf # is still running (to ensure that db_stop hasn't been called before). rlinetd: debconf-is-not-a-registry usr/sbin/update-inetd debian/manpages0000644000000000000000000000002612245576273010717 0ustar debian/update-inetd.8 debian/po/0000755000000000000000000000000012245576273007621 5ustar debian/po/POTFILES.in0000644000000000000000000000004412245576273011374 0ustar [type: gettext/rfc822deb] templates debian/po/ca.po0000644000000000000000000000244012245576273010544 0ustar # rlinetd (debconf) translation to Catalan. # Copyright (C) 2004 Free Software Foundation, Inc. # Aleix Badia i Bosch , 2004 # Josep Lladonosa i Capell , 2004 msgid "" msgstr "" "Project-Id-Version: rlinetd_0.5.14_templates\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\n" "PO-Revision-Date: 2004-03-05 19:46GMT\n" "Last-Translator: Aleix Badia i Bosch \n" "Language-Team: Catalan \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 "Convert inetd's configuration file to rlinetd's?" msgstr "Voleu convertir el fitxer de configuració de l'inetd al de l'rlinetd?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" "Els fitxers de configuració de l'rlinetd no disposen de cap servei definit. " "Podeu importar els serveis de l'/etc/inetd.conf utilitzant el programa " "inetd2rlinetd." #~ msgid "Do you want to do this now?" #~ msgstr "Ho voleu dur a terme?" debian/po/cs.po0000644000000000000000000000304212245576273010565 0ustar # # 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: rlinetd\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\n" "PO-Revision-Date: 2004-12-26 17:02+0100\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Convert inetd's configuration file to rlinetd's?" msgstr "Chcete pevst konfiguran soubor inetd do formtu rlinetd?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" "Momentln nemte ve svch konfiguranch souborech rlinetd nadefinovnu " "dnou slubu. Pomoc programu inetd2rlinetd mete importovat sluby ze " "souboru /etc/inetd.conf." #~ msgid "Do you want to do this now?" #~ msgstr "Chcete to provst nyn?" debian/po/da.po0000644000000000000000000000224612245576273010551 0ustar # Danish translation rlinetd. # Copyright (C) rlinetd & nedenstående oversættere. # This file is distributed under the same license as the rlinetd package. # Joe Hansen (joedalton2@yahoo.dk), 2011. # msgid "" msgstr "" "Project-Id-Version: rlinetd\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\n" "PO-Revision-Date: 2011-05-23 18:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \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 "Convert inetd's configuration file to rlinetd's?" msgstr "Konverter inetd's konfigurationsfil til rlinetd's?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" "Aktuelt er der ingen tjenester defineret i dine rlinetd's konfigurationsfiler. " "Du kan importere tjenester fra /etc/inetd.conf ved at bruge programmet " "inetd2rlinetd." debian/po/de.po0000644000000000000000000000306112245576273010551 0ustar # # 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: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\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=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Convert inetd's configuration file to rlinetd's?" msgstr "Die Inetd-Konfiguration nach rlinetd importieren?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" "Im Moment haben Sie in Ihrer rlinet-Konfiguration noch keine Dienste " "angegeben. Sie knnen die in der Datei /etc/inetd.conf angegebenen Dienste " "mit dem Programm inetd2rlinetd importieren." #~ msgid "Do you want to do this now?" #~ msgstr "Wollen Sie dies jetzt durchfhren" debian/po/es.po0000644000000000000000000000322512245576273010572 0ustar # # 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. # # Carlos Valdivia Yage , 2003 # msgid "" msgstr "" "Project-Id-Version: rlinetd 0.5.13\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\n" "PO-Revision-Date: 2003-09-20 17:00+0200\n" "Last-Translator: Carlos Valdivia Yage \n" "Language-Team: Debian L10n Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Convert inetd's configuration file to rlinetd's?" msgstr "Quiere convertir el fichero de configuracin de inetd al de rlinetd?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" "En este momento, no tiene definido ningn servicio en la configuracin de " "rlinetd. Puede importar los servicios de /etc/inetd.conf con el programa " "inetd2rlinetd." #~ msgid "Do you want to do this now?" #~ msgstr "Quiere hacerlo ahora?" debian/po/fr.po0000644000000000000000000000316112245576273010571 0ustar # # 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: rlinetd_0.5.12\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\n" "PO-Revision-Date: 2003-07-28 20:11+0200\n" "Last-Translator: Michel Grentzinger \n" "Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Convert inetd's configuration file to rlinetd's?" msgstr "" "Souhaitez-vous convertir votre fichier de configuration d'inetd vers " "rlinetd?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" "Actuellement, aucun service n'est dfini dans vos fichiers de configuration " "de rlinetd. Vous pouvez importer ces services depuis /etc/inetd.conf avec le " "programme inetd2rlinetd." #~ msgid "Do you want to do this now?" #~ msgstr "Souhaitez-vous le faire maintenant?" debian/po/it.po0000644000000000000000000000244712245576273010604 0ustar # Italian translation of rlinetd debconf messages # Copyright (C) 2013, Beatrice Torracca # This file is distributed under the same license as the rlinetd package. # Beatrice Torracca , 2013. msgid "" msgstr "" "Project-Id-Version: rlinetd 0.8.2-2\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\n" "PO-Revision-Date: 2013-06-10 18:20+0200\n" "Last-Translator: Beatrice Torracca \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" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Virtaal 0.7.1\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Convert inetd's configuration file to rlinetd's?" msgstr "Convertire il file di configurazione di inetd per rlinetd?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" "Attualmente non ci sono servizi definiti nei file di configurazione di " "rlinetd. È possibile importare servizi da /etc/inetd.conf usando il " "programma inetd2rlinetd." debian/po/ja.po0000644000000000000000000000305512245576273010556 0ustar # # 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: rlinetd 0.5.15\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\n" "PO-Revision-Date: 2004-07-19 19:13+0900\n" "Last-Translator: Hideki Yamane \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=EUC-JP\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Convert inetd's configuration file to rlinetd's?" msgstr "rlinetd Ѥ inetd եѴޤ?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" "ߤΤȤrlinetd եǤϲ⥵ӥƤޤ" "inetd2rlinetd ȤץȤä /etc/inetd.conf 饵ӥ" "ݡȤǤޤ" #~ msgid "Do you want to do this now?" #~ msgstr "˼¹Ԥޤ?" debian/po/nl.po0000644000000000000000000000307212245576273010574 0ustar # # 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: rlinetd 0.5.13\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\n" "PO-Revision-Date: 2003-09-07 18:23+0100\n" "Last-Translator: Tim Vandermeersch \n" "Language-Team: dutch \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 "Convert inetd's configuration file to rlinetd's?" msgstr "Wilt u inetd's configuratie bestand converteren naar rlinetd's?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" "Momenteel hebt u geen service gedefinieerd in uw rlinetd configuratie " "bestand. U kan services importeren van /etc/inetd.conf met het het " "inetd2rlinetd programma." #~ msgid "Do you want to do this now?" #~ msgstr "Wilt u dit nu doen?" debian/po/pl.po0000644000000000000000000000310712245576273010575 0ustar # # 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: rlinetd 0.5.12\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\n" "PO-Revision-Date: 2003-05-03 20:33+0200\n" "Last-Translator: Robert Luberda \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Convert inetd's configuration file to rlinetd's?" msgstr "" "Czy skonwertowa plik konfiguracyjny demona inetd na plik demona rlinetd?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" "Obecnie w pliku konfiguracyjnym demona rlinetd nie zostay zdefiniowane " "adne serwisy. Mog by one jednak zaimportowane z pliku /etc/inetd.conf " "przez uycie programu inetd2rlinetd." #~ msgid "Do you want to do this now?" #~ msgstr "Czy chcesz zrobi to teraz?" debian/po/pt.po0000644000000000000000000000236112245576273010606 0ustar # Portuguese translation of rlinetd. # This file is distributed under the same license as the rlinetd package. # Luísa Lourenço , 2006. # msgid "" msgstr "" "Project-Id-Version: rlinetd 0.6-1\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Luísa Lourenço \n" "Language-Team: Native Portuguese \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 "Convert inetd's configuration file to rlinetd's?" msgstr "Quer converter o ficheiro de configuração do inetd para o do rlinetd?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" "Actualmente não tem qualquer serviço definido nos seus ficheiros de " "configuração do rlinetd. Pode importar serviços a partir do /etc/inetd.conf " "usando o programa inetd2rlinetd." #~ msgid "Do you want to do this now?" #~ msgstr "Quer fazer isto agora?" debian/po/ru.po0000644000000000000000000000300412245576273010604 0ustar # # 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: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\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=KOI8-R\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Convert inetd's configuration file to rlinetd's?" msgstr " inetd rlinetd?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" ", rlinetd . " " /etc/inetd.conf, inetd2rlinetd." #~ msgid "Do you want to do this now?" #~ msgstr " ?" debian/po/sv.po0000644000000000000000000000276312245576273010621 0ustar # 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: rlinetd 0.5.19\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\n" "PO-Revision-Date: 2005-10-04 19:51+0200\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \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 "Convert inetd's configuration file to rlinetd's?" msgstr "Vill du konvertera konfigurationsfilen frn inetd till rlinetd?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" "Fr nrvarande har du ingen tjnst definierad i din rlinetd-konfiguration. " "Du kan importera tjnster frn /etc/inetd.conf genom att anvnda verktyget " "inetd2rlinetd." #~ msgid "Do you want to do this now?" #~ msgstr "Vill du gra detta nu?" debian/po/templates.pot0000644000000000000000000000165712245576273012354 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: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\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 "Convert inetd's configuration file to rlinetd's?" msgstr "" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" debian/po/vi.po0000644000000000000000000000265112245576273010603 0ustar # Vietnamese translation for rlinetd. # Copyright © 2005 Free Software Foundation, Inc. # Clytie Siddall , 2005. # msgid "" msgstr "" "Project-Id-Version: rlinetd 0.5.18\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-15 15:32+0200\n" "PO-Revision-Date: 2005-07-11 22:36+0930\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \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.2.2\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Convert inetd's configuration file to rlinetd's?" msgstr "Bạn có muốn chuyển đổi tập tin cấu hình «inetd» sang «rlinetd» không?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "Currently, there are no services defined in your rlinetd's configuration " "files. You can import services from /etc/inetd.conf by using inetd2rlinetd " "program." msgstr "" "Hiện thời bạn chưa định nghĩa dịch vụ nào trong những tập tin cấu hình " "rlinetd của bạn. Bạn có thể nhập dịch vụ từ «/etc/inetd.conf» bằng cách sử " "dụng chương trình «inetd2rlinetd»." #~ msgid "Do you want to do this now?" #~ msgstr "Vậy bạn có muốn làm như thế ngay bây giờ không?" debian/postinst0000644000000000000000000000237712245576273011022 0ustar #!/bin/sh # vim:ts=4:sts=4 set -e INETD_SCR="/etc/init.d/inetd" INETD_CONF="/etc/inetd.conf" RLINCONFDIR="/etc/rlinetd.d/" UCFDIR="/var/lib/rlinetd/ucf/" divert() { if ! LC_ALL=C dpkg-divert --list "$1$2" | grep -q diversion; then dpkg-divert --package rlinetd --quiet --rename --add \ --divert "$1.real$2" "$1$2" fi } undivert() { if LC_ALL=C dpkg-divert --list "$1$2" | grep -q 'diversion.*rlinetd'; then if [ -f "$1$2" ] ; then echo "WARNING: saving $1$2 as $1$2.saved_by_rlientd" 1>&2 mv -f "$1$2" "$1$2.saved_by_rlientd" fi dpkg-divert --package rlinetd --quiet --rename --remove \ --divert "$1.real$2" "$1$2" fi } if [ "$1" = "configure" ]; then if [ -f "$INETD_CONF" ] && [ -z "`ls -1 $UCFDIR`" ]; then # source debconf library . /usr/share/debconf/confmodule db_get rlinetd/convert_from_inetd if [ "x$RET" = "xtrue" ] ; then inetd2rlinetd --add-from-comment -f "$INETD_CONF" "$RLINCONFDIR" fi inetd2rlinetd --add-from-comment --force-overwrite -f "$INETD_CONF" "$UCFDIR" db_stop fi if dpkg --compare-versions "0.6.1-2" gt-nl "$2" ; then if [ -f "$INETD_SCR" ] ; then if grep -q 'has been diverted by the rlinetd' "$INETD_SCR"; then rm -f "$INETD_SCR" fi fi undivert "$INETD_SCR" fi fi #DEBHELPER# debian/postrm0000644000000000000000000000141412245576273010452 0ustar #!/bin/sh # vim:ts=4:sts=4 # $Id: postrm 265 2009-01-02 23:51:30Z robert $ set -e undivert() { if LC_ALL=C dpkg-divert --list "$1$2" | grep -q 'diversion.*rlinetd'; then dpkg-divert --package rlinetd --quiet --rename --remove \ --divert "$1.real$2" "$1$2" fi } if [ "X$1" = "Xremove" ] ; then undivert /usr/share/man/man8/update-inetd .8.gz undivert /usr/sbin/update-inetd rm -rf /var/lib/rlinetd fi if [ "X$1" = "Xpurge" ] ; then if [ -n "`which ucf`" ]; then ucfq -w rlinetd | while IFS=":" read file package changed exists; do ucf --purge "$file" ucfr --purge "rlinetd" "$file" done fi if [ -d /etc/rlinetd.d ] ; then echo -n "Purging files from /etc/rlinetd.d directory..." 1>&2 rm -rf /etc/rlinetd.d echo "done" 1>&2 fi fi #DEBHELPER# debian/preinst0000644000000000000000000000107012245576273010610 0ustar #!/bin/sh set -e divert() { if ! dpkg-divert --list "$1$2" | grep -q diversion; then dpkg-divert --package rlinetd --quiet --rename --add \ --divert "$1.real$2" "$1$2" fi } undivert_bad() { if dpkg-divert --list "$1" | grep -q "diversion.*$1\.real.*rlinetd"; then rm -f "$1" dpkg-divert --package rlinetd --quiet --rename --remove \ --divert "$1.real" "$1" fi } # undivert bad diversion in rlinetd 0.5.4 undivert_bad /usr/share/man/man8/update-inetd.8.gz divert /usr/sbin/update-inetd divert /usr/share/man/man8/update-inetd .8.gz #DEBHELPER# debian/rlinetd.conf0000644000000000000000000000045212245576273011514 0ustar # look for further configuration files elsewhere (ignore editor backup files) directory "/etc/rlinetd.d" "" "(~|\.bak|\.swp|\.ucf-.*|\.dpkg-.*)$"; # set up some reasonable defaults defaults { instances 5; # only making services available to your inside network? # interface 192.168.1.1; } debian/rules0000755000000000000000000000344212245576273010266 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 BUILD_DIR := BUILD DH_AUTO_OPTIONS := -v -Sautoconf --parallel -B$(BUILD_DIR) DESTDIR := $(CURDIR)/debian/$(shell dh_listpackages) DEB_VERSION := $(shell LC_ALL=C dpkg-parsechangelog | sed -ne 's/^Version: //p') ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CC := $(DEB_HOST_GNU_TYPE)-gcc else CC := gcc endif # check for maintainer mode ifneq (,$(findstring maintainer,$(DEB_BUILD_OPTIONS))) MAINTAINER_MODE := yes else MAINTAINER_MODE := no ifeq (,$(findstring debian/gcc-wrapper,$(CC))) CC := $(CURDIR)/debian/gcc-wrapper $(CC) endif endif %: dh ${@} override_dh_auto_configure: $(BUILD_DIR)/configure-stamp $(BUILD_DIR)/configure-stamp: dh_autotools-dev_updateconfig dh_auto_configure $(DH_AUTO_OPTIONS) -- \ --with-libwrap \ --with-libcap \ --without-lsf \ --without-libnsl \ --disable-silent-rules \ --enable-warnings \ --enable-maintainer-mode=$(MAINTAINER_MODE) \ CC="$(CC)" touch "$@" override_dh_auto_build: $(BUILD_DIR)/build-stamp $(BUILD_DIR)/build-stamp: $(BUILD_DIR)/configure-stamp dh_auto_build $(DH_AUTO_OPTIONS) touch "$@" override_dh_auto_clean: dh_auto_clean $(DH_AUTO_OPTIONS) dh_autotools-dev_restoreconfig override_dh_auto_install: $(BUILD_DIR)/build-stamp dh_auto_install $(DH_AUTO_OPTIONS) cp -a debian/rlinetd.conf $(DESTDIR)/etc find $(DESTDIR)/usr/lib -name '*.la' -delete sed -e 's/#VERSION#/$(DEB_VERSION)/g' \ $(DESTDIR)/usr/sbin/update-inetd chmod 755 $(DESTDIR)/usr/sbin/update-inetd debian/source/0000755000000000000000000000000012245576273010503 5ustar debian/source/format0000644000000000000000000000001412245576273011711 0ustar 3.0 (quilt) debian/source/options0000644000000000000000000000002712245576273012120 0ustar diff-ignore tar-ignore debian/templates0000644000000000000000000000044012245576273011122 0ustar Template: rlinetd/convert_from_inetd Type: boolean _Description: Convert inetd's configuration file to rlinetd's? Currently, there are no services defined in your rlinetd's configuration files. You can import services from /etc/inetd.conf by using inetd2rlinetd program. Default: true debian/update-inetd.80000644000000000000000000000307312245576273011662 0ustar .TH UPDATE\-INETD 8 "January 3rd, 2009" "Debian" "rlinetd" .\" $Id: update-inetd.8 267 2009-01-02 23:53:47Z robert $ .SH NAME update\-inetd \- manage rlinetd (and inetd) configuration entries .SH SYNOPSIS .B update\-inetd .RB [\| options \|] .BI \-\-add " ENTRY" .B update\-inetd .RB [\| options \|] .BI \-\-remove " SERVICE" .B update\-inetd .RB [\| options \|] .BI \-\-enable " SERVICE" .B update\-inetd .RB [\| options \|] .BI \-\-disable " SERVICE" .SH DESCRIPTION .B update\-inetd is a rlinetd's compatibility script, which can be used to by various Debian post-installation scripts to manage services in rlinetd configuration files directory .IR /etc/rlinetd.d . .PP .B update\-inetd will spawn .BR update\-inetd.real (8) for managing entries in .I /etc/inetd.conf file. Please see .BR update\-inetd.real (8) for details. .SH ACTIONS .TP .BI \-\-add " ENTRY" Adds an entry, which should be a line in a .BR inetd.conf (5) format. .TP .BI \-\-remove " SERVICE" Removes a service. .TP .BI \-\-enable " SERVICE" Enables a service. .TP .BI \-\-disable " SERVICE" Disables a service. .SH OPTIONS .TP .B \-\-version Prints version information on standard output and exit successfully. .TP .B \-\-debug Enables debugging mode. Note the option is also passed to .BR update\-inetd.real (8). .PP Any other option is passed directly to .BR update\-inetd.real (8). .SH FILES .IR /etc/rlinetd.conf , .IR /etc/rlinetd.d/* , .I /etc/inetd.conf .SH SEE ALSO .BR update\-inetd.real (8), .BR inetd.conf (5), .BR rlinetd.conf (5), .BR inetd2rlinetd (8) .SH AUTHOR Robert Luberda debian/update-inetd.sh0000644000000000000000000001501712245576273012126 0ustar #!/bin/sh # vim:ts=4:sts=4:fdm=marker:cms=\ #\ %s # # rlinetd's version of update-inetd. # Robert Luberda , 2001, 2009, 2011, 2013 # set -e PATH=/usr/sbin:$PATH # global variables g_version='#VERSION#' g_rlinconfdir="/etc/rlinetd.d" g_ucfdir="/var/lib/rlinetd/ucf" g_debug=0 g_need_reload=0 g_line="" g_mode="" # error - prints error message and exits the program # {{{ error() { msg="$1" echo "update-inetd: $msg" >&2 debug "Program arguments: --$g_mode \"$line\"" exit 1 } # }}} # debug - prints debug info # {{{ debug() { [ $g_debug -eq 1 ] || return 0 msg="$1" echo "$msg" } # }}} # check_debconf - ugly hack to check if debconf is still running # {{{ check_debconf() { conffile="$1" if [ "$DEBIAN_HAS_FRONTEND" ] && [ -e /usr/share/debconf/confmodule ] && [ $(id -u) = 0 ]; then status=0 tmseconds=15 debug "Checking (for up to $tmseconds seconds) if debconf is running" timeout -k 1 "$tmseconds" /bin/sh -c '. /usr/share/debconf/confmodule; db_version > /dev/null' \ || status="$?" debug "debconf check status: $status" case "$status" in 0) # OK, debconf is running ;; 124|137) # debconf hung error \ "The \"${DPKG_MAINTSCRIPT_PACKAGE:-unknown}\" package stops debconf before calling update-inetd! This prevents rlinetd's version of update-inetd from updating file ${conffile}. Please report this as a bug in package \"${DPKG_MAINTSCRIPT_PACKAGE:-rlinetd}\". Note: update-inetd was called with the following arguments: $0 --$g_mode \"$line\" " ;; *) # something strange has just happend error \ "internal error: cannot check debconf, timeout command failed with $status Please report this as a bug in package rlinetd. " ;; esac fi } # }}} # ucf_ack - asks user a question using ucf # {{{ ucf_ask() { cachedfile="$1" conffile="$2" if [ ! -e "$conffile" ] || ! cmp -s "$cachedfile" "$conffile"; then check_debconf "$conffile" debug "Running ucf on $cachedfile and $conffile" ucf --three-way --debconf-ok "$cachedfile" "$conffile" ucfr "rlinetd" "$conffile" g_need_reload=1 else debug "$cachedfile and $conffile identical, skipping ucf" fi } # }}} # ucf_purge - purges ucf configuration # {{{ ucf_purge() { conffile="$1" debug "Removing $conffile from ucf" ucf --purge "$conffile" ucfr --purge "rlinetd" "$conffile" || true g_need_reload=1 } # }}} # enable_disable_util - enables or disables an entry # {{{ enable_disable_util() { cachedfile="$1" conffile="$2" enable="$3" debug "Setting enable to $3 in $cachedfile" sed -e "s/^\([ \t]*enabled[ \t][ \t]*\).*$/\1$enable;/" < "$cachedfile" > "$cachedfile.tmp" mv "$cachedfile.tmp" "$cachedfile" ucf_ask "$cachedfile" "$conffile" } # }}} # enable - calls enable_disable_util to enable an entry # {{{ enable() { enable_disable_util "$1" "$2" "yes" } # }}} # disable - calls enable_disable_util to disable an entry # {{{ disable() { enable_disable_util "$1" "$2" "no" } # }}} # remove - removes an entry # {{{ remove() { cachedfile="$1" conffile="$2" debug "Removing $cachedfile, $conffile" rm -f "$cachedfile" "$conffile" ucf_purge "$conffile" } # }}} # remove_regexp - removes an entry based on regexp # {{{ remove_regexp() { regexp="$1" regexp="^# Generated from: ${regexp#^}" debug "Searching for files matching \"$regexp\"" files=`cd $g_ucfdir && egrep -l "$regexp" -- *` [ "$files" ] || { debug "None found"; return 1; } debug "Found: $files" for basefile in $files; do remove "$g_ucfdir/$basefile" "$g_rlinconfdir/$basefile" done return 0 } # }}} # add - adds a new entry # {{{ add() { line="$1" files=`inetd2rlinetd --force-overwrite --print-file-names --add-from-comment -l "$line" "$g_ucfdir"` debug "Converted $line saved in $files" [ -z "$file" ] || return 0 for file in $files; do file="${file##*/}" case "$file" in *_udp) basename="${file%_*}" if [ ! -e "$g_rlinconfdir/$file" ] && [ ! -e "$g_ucfdir/$basename" ] && [ -f "$g_rlinconfdir/$basename" ]; then # rename previous versions of file debug "Renaming $g_rlinconfdir/$basename to $g_rlinconfdir/$file" mv -f "$g_rlinconfdir/$basename" "$g_rlinconfdir/$file" fi ;; esac ucf_ask "$g_ucfdir/$file" "$g_rlinconfdir/$file" done } # }}} # operation - calls add, remove, enable or disable # {{{ operation() { operation="$1" line="$2" [ -n "$line" ] || error "--$operation requires argument" debug "Running $operation for $line" # add if [ "$operation" = "add" ]; then add "$line" return 0 fi # disable, enable: line can be comma separated list of values # remove: treat line as is. service="" found=0 while [ "$line" != "$service" ] ; do if [ "$operation" = "remove" ] ; then service="$line" else service="${line%,*}" line="${line#*,}" fi for proto in "" _udp; do basefile="${service}${proto}" file="$g_ucfdir/$basefile" debug "Checking for file $file" if [ -e "$file" ]; then found=1 "$operation" "$file" "$g_rlinconfdir/$basefile" fi done if [ $found -eq 0 ] && [ "$operation" = "remove" ]; then ! remove_regexp "$line" || found=1 fi if [ $found -eq 0 ]; then echo "Cannot find cached rlinetd's config files for service $service, ignoring $operation request" >&2; fi done } # }}} # reload_rlinetd - reloads rlinetd daemon # {{{ reload_rlinetd() { if [ "$g_need_reload" -eq 0 ]; then debug "Configuration not changed, not reloading rlinetd" return 0 fi debug "Reloading rlinetd config files" killall -HUP rlinetd || true } # }}} # MAIN FUNCTION # {{{ # parse arguments # {{{ ignore_next=0 for i in "$@" ; do # note: the original update-inetd allows things like "--add --comment-chars XX LINE_TO_ADD" if [ "$ignore_next" -eq 1 ] ; then ignore_next=0 continue fi case "$i" in "--add"|"--remove"|"--disable"|"--enable") [ -z "$mode" ] || error "$i conflicts with --$mode" g_mode="$i" g_mode="${g_mode#--}" ;; "--debug") g_debug=1 ;; "--version") echo "rlinetd's version of update-inetd" echo "version: $g_version" exit 0 ;; "--multi"|"--verbose") # ignore ;; "--file"|"--group"|"--comment-chars") ignore_next=1 ;; "--*") echo "Unknown option \`$i\' passed to $0, ignoring" >&2; ;; *) if [ -n "$g_mode" ] ; then [ -z "$g_line" ] || error "--$g_mode requires only one argument" g_line="$i" fi ;; esac done # }}} # do our job [ -z "$g_mode" ] || operation "$g_mode" "$g_line" # reload configuration reload_rlinetd # execute real update-inetd real_upd=`dpkg-divert --truename /usr/sbin/update-inetd` [ -x "$real_upd" ] && exec "$real_upd" "$@" exit 0 # }}} debian/watch0000644000000000000000000000020012245576273010224 0ustar # control file for the uscan(1) tool version=3 http://alioth.debian.org/frs/?group_id=30928 (?:.*)/rlinetd-([\d\.]+.*)\.tar\.gz