[pkg-java] r10788 - trunk/jetty/debian

Niels Thykier nthykier-guest at alioth.debian.org
Sat Oct 10 10:53:08 UTC 2009


Author: nthykier-guest
Date: 2009-10-10 10:53:08 +0000 (Sat, 10 Oct 2009)
New Revision: 10788

Modified:
   trunk/jetty/debian/changelog
   trunk/jetty/debian/jetty.postrm
Log:
New upstream release + stopped rm -fr in /tmp [postrm].

Modified: trunk/jetty/debian/changelog
===================================================================
--- trunk/jetty/debian/changelog	2009-10-08 20:32:23 UTC (rev 10787)
+++ trunk/jetty/debian/changelog	2009-10-10 10:53:08 UTC (rev 10788)
@@ -1,3 +1,10 @@
+jetty (6.1.21-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+  * Stopped removing files in /tmp/ during postrm for security reasons.
+
+ -- Niels Thykier <niels at thykier.net>  Fri, 09 Oct 2009 13:25:54 +0200
+
 jetty (6.1.20-2) unstable; urgency=low
 
   * Move documentation to /usr/share/doc/libjetty-java

Modified: trunk/jetty/debian/jetty.postrm
===================================================================
--- trunk/jetty/debian/jetty.postrm	2009-10-08 20:32:23 UTC (rev 10787)
+++ trunk/jetty/debian/jetty.postrm	2009-10-10 10:53:08 UTC (rev 10788)
@@ -5,7 +5,6 @@
 
 # Remove cached files
 rm -rf /var/cache/jetty/*
-rm -rf /tmp/jetty-temp/*
 
 case "$1" in
     remove)
@@ -23,16 +22,13 @@
         if [ -d "/var/cache/jetty" ] ; then
             rm -rf /var/cache/jetty
         fi
-        if [ -d "/tmp/jetty-temp" ] ; then
-            rm -rf /tmp/jetty-temp
-        fi
     ;;
 
     purge)
         # Remove user/group and log files (don't remove everything under
         # /var/lib/jetty because there might be user-installed webapps)
         deluser jetty || true
-        rm -rf /var/log/jetty /tmp/jetty-temp
+        rm -rf /var/log/jetty
         if [ -d "/var/lib/jetty" ] ; then
             rmdir --ignore-fail-on-non-empty /var/lib/jetty || true
         fi




More information about the pkg-java-commits mailing list