From: Dinko Korunic Date: Mon, 13 Apr 2009 16:16:41 +0000 (+0200) Subject: - Ispravak za cp_mail gdje je zalutao whitespace i uzrokovao blacklisting od X-Git-Tag: debian/3.0.0~6 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=07f3e2984f79dfb911e3b0364dd10c7127fd705e;p=carnet-upgrade.git - Ispravak za cp_mail gdje je zalutao whitespace i uzrokovao blacklisting od Amavisa - Ispravak za cp-update gdje se za inplace edit koristio sysopen() bez zadrzavanje prethodnih dozvola --- diff --git a/README.CARNet b/README.CARNet index 4e676d4..d65104c 100644 --- a/README.CARNet +++ b/README.CARNet @@ -12,7 +12,7 @@ Trenutna verzija sadrzi: - /usr/share/carnet-tools/functions.sh datoteku koja sadrzi sljedece shell funkcije: -Man-stranice cp-update(1) i carnet-tools(7) donose popis funkcija koje +Man-stranice cp-update(1) i carnet-tools(7) donose popis funkcija koje ti alati podrzavaju/sadrzavaju te upute za njihovo koristenje. O eventualnim problemima / ispravkama / zahtjevima za novim funkcijama diff --git a/cp-update b/cp-update index 01bfe48..5514ee6 100755 --- a/cp-update +++ b/cp-update @@ -459,7 +459,7 @@ sub actualize() { $file_new .= '.cp-update.new'; # our .new file $file_old .= '.cp-update.old'; # our .old file # write content in new file in single write op - sysopen ($FileHandle, $file_new, O_CREAT|O_TRUNC|O_WRONLY) + sysopen ($FileHandle, $file_new, O_CREAT|O_TRUNC|O_WRONLY, (stat($File))[2]) or die "$ProgramName: Failed to open file '$File' for writing ($!)\n"; if (length($newContent)) { my $wb = syswrite($FileHandle, $newContent); diff --git a/debian/changelog b/debian/changelog index 88a15a0..62bc447 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +carnet-tools-cn (2.8.2) stable; urgency=low + + * Ispravak za cp_mail gdje je zalutao whitespace i uzrokovao blacklisting od + Amavisa + * Ispravak za cp-update gdje se za inplace edit koristio sysopen() bez + zadrzavanje prethodnih dozvola + + -- Dinko Korunic Mon, 13 Apr 2009 18:00:24 +0200 + carnet-tools-cn (2.8.1) stable; urgency=low * Kozmeticke ispravke u funkcijama cp_yes_no() i cp_mail() diff --git a/debian/control b/debian/control index d4d86f4..de85bfa 100644 --- a/debian/control +++ b/debian/control @@ -1,9 +1,9 @@ Source: carnet-tools-cn Section: utils Priority: optional -Maintainer: Grupa za izradu paketa +Maintainer: Grupa za izradu paketa Build-Depends: debhelper (>= 4.0.0) -Standards-Version: 3.6.1 +Standards-Version: 3.7.2 Package: carnet-tools-cn Architecture: all diff --git a/functions.sh b/functions.sh index dc2d45c..38cd05f 100644 --- a/functions.sh +++ b/functions.sh @@ -328,7 +328,7 @@ cp_mail () { To: root Subject: $pkg$version package install log Date: $(LC_ALL=C /bin/date --rfc-2822) - + Hello! The $pkg package has been successfully installed on your computer.