Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 ruptime (1.8-4) unstable; urgency=medium
 .
   * Add patch to improve ruptimed performance.
Author: Alex Myczko <tar@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2025-04-07

--- ruptime-1.8.orig/ruptimed
+++ ruptime-1.8/ruptimed
@@ -47,12 +47,12 @@ if [ "${ARG}x" = "x" ]; then
     # only query command, deliver results asked for
     if [ "$CMD" = "xz.ruptime" ]; then
 	(
-	find $SPOOL/ -type f -name "*.ruptime" -mmin +10 -exec cat {} \; |sed "s,up.*,down,g" |while read a b; do printf "%-28s %s %9s\n" $a $b $(TIME_STYLE=+%s ls -l $SPOOL/${a}.ruptime|awk -vNOW=$(date +%s) '{print ((NOW-$(6))/60) }'); done;
-	find $SPOOL/ -name "*.ruptime" -mmin -10 -exec cat {} \; |sort) | xz -c | openssl enc -A -a -aes-192-cbc -pbkdf2 -pass env:KEY -in - -out -
+	find $SPOOL/ -type f -name "*.ruptime" -mmin +10 -exec cat {} + |sed "s,up.*,down,g" |while read a b; do printf "%-28s %s %9s\n" $a $b $(TIME_STYLE=+%s ls -l $SPOOL/${a}.ruptime|awk -vNOW=$(date +%s) '{print ((NOW-$(6))/60) }'); done;
+	find $SPOOL/ -name "*.ruptime" -mmin -10 -exec cat {} + |sort) | xz -c | openssl enc -A -a -aes-192-cbc -pbkdf2 -pass env:KEY -in - -out -
     fi
     for a in runame rload rnet rsw rboot rbench rhw rdisk rac rwho; do
 	if [ "$CMD" = "xz.$a" ]; then
-	    (find $SPOOL/ -name "*.$a" -exec cat {} \; |sort) | xz -c | openssl enc -A -a -aes-192-cbc -pbkdf2 -pass env:KEY -in - -out -
+	    (find $SPOOL/ -name "*.$a" -exec cat {} + |sort) | xz -c | openssl enc -A -a -aes-192-cbc -pbkdf2 -pass env:KEY -in - -out -
 	fi
     done
 else
