[Git][java-team/jetty9][master] 2 commits: use dh-cruft to register & purge volatile files

Alexandre Detiste (@detiste-guest) gitlab at salsa.debian.org
Thu May 7 12:47:09 BST 2026



Alexandre Detiste pushed to branch master at Debian Java Maintainers / jetty9


Commits:
e50baa15 by Alexandre Detiste at 2026-05-07T13:35:55+02:00
use dh-cruft to register & purge volatile files

- - - - -
0634984e by Alexandre Detiste at 2026-05-07T13:46:52+02:00
release

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/jetty9.postrm
- + debian/jetty9.purge


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+jetty9 (9.4.58-2) unstable; urgency=medium
+
+  * Team Upload
+  * Use dh-cruft to register & purge volatile files
+  * Standards-Version updated to 4.7.4
+
+  [ Luca Boccassi ]
+  * Install and use sysusers.d/tmpfiles.d config files
+
+ -- Alexandre Detiste <tchet at debian.org>  Thu, 07 May 2026 13:46:11 +0200
+
 jetty9 (9.4.58-1) unstable; urgency=medium
 
   * Standards-Version updated to 4.7.3


=====================================
debian/control
=====================================
@@ -6,6 +6,7 @@ Uploaders: Emmanuel Bourg <ebourg at apache.org>
 Build-Depends:
  ant-optional,
  debhelper-compat (= 13),
+ dh-sequence-cruft,
  dh-sequence-installsysusers,
  default-jdk,
  dh-exec,
@@ -34,7 +35,7 @@ Build-Depends:
  libwebsocket-api-java,
  maven-debian-helper (>= 2.2.8~),
  maven-repo-helper
-Standards-Version: 4.7.3
+Standards-Version: 4.7.4
 Vcs-Git: https://salsa.debian.org/java-team/jetty9.git
 Vcs-Browser: https://salsa.debian.org/java-team/jetty9
 Homepage: http://www.eclipse.org/jetty/


=====================================
debian/jetty9.postrm
=====================================
@@ -3,25 +3,17 @@ set -e
 
 #DEBHELPER#
 
-# Remove cached files
-rm -rf /var/cache/jetty9/*
-
 case "$1" in
     remove)
         rmdir --ignore-fail-on-non-empty \
             /var/lib/jetty9/webapps/root \
             /var/lib/jetty9/webapps \
             /var/lib/jetty9 || true
-
-        if [ -d "/var/cache/jetty9" ] ; then
-            rm -rf /var/cache/jetty9
-        fi
     ;;
 
     purge)
-        # Remove log files (don't remove everything under /var/lib/jetty
-        # because there might be user-installed webapps)
-        rm -rf /var/log/jetty9
+        # don't remove everything under /var/lib/jetty
+        # because there might be user-installed webapps
         if [ -d "/var/lib/jetty9" ] ; then
             rmdir --ignore-fail-on-non-empty /var/lib/jetty9 || true
         fi


=====================================
debian/jetty9.purge
=====================================
@@ -0,0 +1,2 @@
+/var/cache/jetty9/
+/var/log/jetty9/



View it on GitLab: https://salsa.debian.org/java-team/jetty9/-/compare/e20006767443cf6a614e16357dd4a846d4b78379...0634984eead44b90253ef99e5607e0d77337ea08

-- 
View it on GitLab: https://salsa.debian.org/java-team/jetty9/-/compare/e20006767443cf6a614e16357dd4a846d4b78379...0634984eead44b90253ef99e5607e0d77337ea08
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20260507/da219775/attachment.htm>


More information about the pkg-java-commits mailing list