summaryrefslogtreecommitdiffhomepage
path: root/debian/patches/debian-changes
blob: 106c75898a993e7c35bd6fd75ead4d26fb587c25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
The Debian packaging of debug-me is maintained in git, using the
merging workflow described in dgit-maint-merge(7).  There isn't a
patch queue that can be represented as a quilt series.

A detailed breakdown of the changes is available from their canonical
representation - git commits in the packaging repository.  For
example, to see the changes made by the Debian maintainer in the first
upload of upstream version 1.2.3, you could use:

    % git clone https://git.dgit.debian.org/debug-me
    % cd debug-me
    % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'

(If you have dgit, use `dgit clone debug-me`, rather than plain `git
clone`.)

A single combined diff, containing all the changes, follows.
--- debug-me-1.20170505.orig/CHANGELOG
+++ debug-me-1.20170505/CHANGELOG
@@ -1,3 +1,13 @@
+debug-me (1.20170506) UNRELEASED; urgency=medium
+
+  * Server: Use "postmaster" as default --from-email address
+    rather than "unknown@server".
+  * debug-me.default: Include a --from-email setting,
+    to encourage it be configured.
+    Thanks, Sean Whitton.
+
+ -- Joey Hess <id@joeyh.name>  Tue, 09 May 2017 11:45:41 -0400
+
 debug-me (1.20170505) unstable; urgency=medium
 
   * First release of debug-me.
--- debug-me-1.20170505.orig/Server.hs
+++ debug-me-1.20170505/Server.hs
@@ -262,7 +262,7 @@ emailSessionLog email o logfile
 	| otherwise = return ()
   where
 	to = Address Nothing email
-	from = Address Nothing $ fromMaybe "unknown@server" (serverEmail o)
+	from = Address Nothing $ fromMaybe "postmaster" (serverEmail o)
 	subject = "Your recent debug-me session"
 	body = "Attached is the log from your recent debug-me session."
 	isemail = "@" `T.isInfixOf` email
--- debug-me-1.20170505.orig/debug-me.default
+++ debug-me-1.20170505/debug-me.default
@@ -1,2 +1,2 @@
 # Parameters to pass to debug-me when it's started as a daemon.
-DAEMON_PARAMS="--server /var/log/debug-me/ --delete-old-logs"
+DAEMON_PARAMS="--server /var/log/debug-me/ --delete-old-logs --from-email postmaster"
--- debug-me-1.20170505.orig/debug-me.init
+++ debug-me-1.20170505/debug-me.init
@@ -33,7 +33,7 @@ case "$1" in
 		start-stop-daemon --start --quiet --oknodo \
 			--background --no-close \
 			--pidfile "$PIDFILE" --make-pidfile \
-			--chuid debug-me:debug-me \
+			--chuid _debug-me:_debug-me \
 			--exec "$DAEMON" -- $DAEMON_PARAMS \
 			> /var/log/debug-me.log
 		log_end_msg $?
--- debug-me-1.20170505.orig/debug-me.service
+++ debug-me-1.20170505/debug-me.service
@@ -8,8 +8,8 @@ EnvironmentFile=-/etc/default/debug-me
 ExecStart=/usr/bin/debug-me $DAEMON_PARAMS
 InaccessiblePaths=/home /etc
 ReadWritePaths=/var/log/debug-me
-User=debug-me
-Group=debug-me
+User=_debug-me
+Group=_debug-me
 StandardInput=null
 StandardOutput=journal
 StandardError=journal