vdr/vdradmin/debian changelog postinst prerm

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Wed, 29 Dec 2004 22:45:26 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/vdradmin/debian
In directory haydn:/tmp/cvs-serv4144/vdr/vdradmin/debian

Modified Files:
	changelog postinst prerm 
Log Message:
* fix security problem by using File::Temp (closes: #287601)

Index: changelog
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdradmin/debian/changelog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- changelog	18 Dec 2004 11:48:04 -0000	1.10
+++ changelog	29 Dec 2004 22:45:24 -0000	1.11
@@ -1,19 +1,19 @@
-vdradmin (0.96-3) unstable; urgency=low
+vdradmin (0.96-3) unstable; urgency=high
 
   * Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
+    - Urgency high, because it fixes a security issue
+    - Added 02_sectmpfiles.dpatch: use File::Temp to create temporary
+      files, to prevent possible symlink-attacks (Closes: #287601)
+    - Set permissions of /etc/vdradmin/vdradmind.conf to 600 on new
+      installations (users with an existing installation should 
+      ensure that the cfg-file has a permission of 600)
     - Changed Maintainer to Debian VDR Team 
       <pkg-vdr-dvb-devel@lists.alioth.debian.org>
     - Added myself as uploader
     - Build-depend on dpatch (>= 2.0.9)
     - Converted 01_dist-var.dpatch to the new short format
-    - Set permissions of /etc/vdradmin/vdradmind.conf to 600 on new
-      installations (users with an existing installation should 
-      ensure that the cfg-file has a permission of 600)
-    - Added 02_tmpfiles.dpatch, which changes the path of some
-      temporary files from /tmp to /var/cache/vdradmin, to prevent
-      possible symlink-attacks
 
- -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Sat, 18 Dec 2004 12:45:39 +0100
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Wed, 29 Dec 2004 12:32:10 +0100
 
 vdradmin (0.96-2) unstable; urgency=low
 

Index: postinst
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdradmin/debian/postinst,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- postinst	18 Dec 2004 12:02:08 -0000	1.2
+++ postinst	29 Dec 2004 22:45:24 -0000	1.3
@@ -2,14 +2,11 @@
 set -e
 
 TEMPLATE_DIR=/usr/share/vdradmin/template
-TMP_DIR=/var/cache/vdradmin
 
 test -d $TEMPLATE_DIR/English/bilder && rm -rf $TEMPLATE_DIR/English/bilder
 test -d $TEMPLATE_DIR/French/bilder && rm -rf $TEMPLATE_DIR/French/bilder
 
 test -L $TEMPLATE_DIR/English/bilder || ln -s ../Deutsch/bilder $TEMPLATE_DIR/English/bilder
 test -L $TEMPLATE_DIR/French/bilder || ln -s ../Deutsch/bilder $TEMPLATE_DIR/French/bilder
-
-test -e $TMP_DIR || mkdir $TMP_DIR
 
 ##DEBHELPER##

Index: prerm
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdradmin/debian/prerm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- prerm	18 Dec 2004 12:02:08 -0000	1.2
+++ prerm	29 Dec 2004 22:45:24 -0000	1.3
@@ -2,11 +2,8 @@
 set -e
 
 TEMPLATE_DIR=/usr/share/vdradmin/template
-TMP_DIR=/var/cache/vdradmin
 
 test -L $TEMPLATE_DIR/English/bilder && rm -f $TEMPLATE_DIR/English/bilder
 test -L $TEMPLATE_DIR/French/bilder && rm -f $TEMPLATE_DIR/French/bilder
-
-test -d $TMP_DIR && rm -rf $TMP_DIR
 
 ##DEBHELPER##