From bce4a0dabb59fcecd2c5097f5cde83a9939dd6fa Mon Sep 17 00:00:00 2001 From: Dragan Dosen Date: Sat, 27 Feb 2016 20:33:45 +0100 Subject: [PATCH] Prva inacica paketa za Debian jessie distribuciju. --- README.CARNet | 4 ++-- debian/changelog | 11 +++++++++++ debian/compat | 2 +- debian/control | 10 +++++----- debian/copyright | 2 +- debian/dirs | 2 ++ debian/postinst | 8 +------- 7 files changed, 23 insertions(+), 16 deletions(-) create mode 100644 debian/dirs diff --git a/README.CARNet b/README.CARNet index 9a4ecaf..0ba9c51 100644 --- a/README.CARNet +++ b/README.CARNet @@ -32,9 +32,9 @@ servisa. U slucaju da je INETD_COMPAT postavljen u 'Yes', isti ce biti prepravljen u 'No'. Dakle, xinetd vise NECE citati servise konfigurirane u /etc/inetd.conf datoteci. -Ukoliko zelite dodati novi servis ili konfigurirati vec postojece, +Ako zelite dodati novi servis ili konfigurirati vec postojece, konfiguracija se nalazi u vec spomenutom /etc/xinetd.d/ direktoriju. Takva konfiguracija ima prednost nad onom iz /etc/inetd.conf. - -- Dragan Dosen Tue, 13 Aug 2013 12:33:58 +0200 + -- Dragan Dosen Sat, 27 Feb 2016 20:00:54 +0100 diff --git a/debian/changelog b/debian/changelog index 1b5d7ac..556e61a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +xinetd-cn (2:2.3.15+1) stable; urgency=low + + * Prva inacica paketa za Debian jessie distribuciju. + * Azurirane ovisnosti unutar debian/control. + * Izmjene unutar datoteke debian/postinst - koristi service za ponovno + pokretanje xinetd. + * Azurirane datoteke README.CARNet, debian/copyright i debian/compat. + * Dodana datoteka debian/dirs. + + -- Dragan Dosen Sat, 27 Feb 2016 20:04:16 +0100 + xinetd-cn (1:2.3.14+4) stable; urgency=low * Prva inacica paketa za Debian wheezy distribuciju. diff --git a/debian/compat b/debian/compat index 45a4fb7..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -8 +9 diff --git a/debian/control b/debian/control index 1e658ec..0d1718c 100644 --- a/debian/control +++ b/debian/control @@ -1,13 +1,14 @@ Source: xinetd-cn Section: net -Priority: optional +Priority: extra Maintainer: Dragan Dosen -Build-Depends: debhelper (>= 8.0.0) -Standards-Version: 3.9.3 +Build-Depends: debhelper (>> 9) +Standards-Version: 3.9.4 +Homepage: http://www.xinetd.org Package: xinetd-cn Architecture: all -Depends: xinetd (>= 1:2.3.14-7.1), coreutils (>= 8.13-3.5), debianutils (>= 4.3.2), carnet-tools-cn (>= 3.0.4), ${misc:Depends} +Depends: xinetd (>= 1:2.3.15-3), coreutils (>= 8.23-4), debianutils (>= 4.4), carnet-tools-cn (>= 3.1.0), ${misc:Depends} Description: replacement for inetd with many enhancements xinetd has access control mechanisms, extensive logging capabilities, the ability to make services available based on time, and can place @@ -23,4 +24,3 @@ Description: replacement for inetd with many enhancements running on the same port, but different interfaces. . This is a basic CARNet Debian customization package. -Homepage: http://www.xinetd.org diff --git a/debian/copyright b/debian/copyright index dd9254d..7a81b29 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,4 +1,4 @@ -Copyright 2013 CARNet +Copyright 2003-2016 CARNet You are free to distribute this software package under the terms of the GNU General Public License. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..af23ad8 --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +/etc/default +/etc/xinetd.d diff --git a/debian/postinst b/debian/postinst index f620ce5..05e4384 100644 --- a/debian/postinst +++ b/debian/postinst @@ -268,13 +268,7 @@ fi # Restart xinetd if needed # if [ $need_restart -eq 1 ]; then - if [ -x "/etc/init.d/xinetd" ]; then - if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then - invoke-rc.d xinetd restart || exit $? - else - /etc/init.d/xinetd restart || exit $? - fi - fi + service xinetd restart || exit $? fi # Mail root -- 1.7.10.4