b6bcd8cd34
* daemontools and dmraid is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
15 lines
489 B
Diff
15 lines
489 B
Diff
--- a/server/dhcpd.c 2003-11-05 14:08:09.000000000 -0800
|
|
+++ b/server/dhcpd.c 2003-11-05 14:15:32.000000000 -0800
|
|
@@ -602,6 +602,12 @@
|
|
if (lftest)
|
|
exit (0);
|
|
|
|
+#if defined (PARANOIA)
|
|
+ /* Set proper permissions... */
|
|
+ if (lchown (path_dhcpd_db, set_uid, set_gid))
|
|
+ log_fatal ("lchown(%s, %d, %d): %m", path_dhcpd_db, (int) set_uid, (int) set_gid);
|
|
+#endif /* PARANOIA */
|
|
+
|
|
/* Discover all the network interfaces and initialize them. */
|
|
discover_interfaces (DISCOVER_SERVER);
|
|
|