]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Patches care about whitespace
authorNick Porter <nick@portercomputing.co.uk>
Mon, 24 Feb 2025 15:37:02 +0000 (15:37 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Mon, 24 Feb 2025 15:37:02 +0000 (15:37 +0000)
debian/patches/radiusd-to-freeradius.diff

index 155a274436ec790131a78cb0ecb1c35a7cb21539..2f6961e9066d76720d10b197994f52a75e46691e 100644 (file)
@@ -79,16 +79,16 @@ Index: freeradius-server/src/bin/radiusd.c
 --- freeradius-server.orig/src/bin/radiusd.c
 +++ freeradius-server/src/bin/radiusd.c
 @@ -319,7 +319,12 @@ int main(int argc, char *argv[])
-                EXIT_WITH_FAILURE;
-        }
+               EXIT_WITH_FAILURE;
+       }
  
-+      /*
++      /*
 +       *
 +       *      Debian changes the binary name to "freeradius", but
 +       *      leaves the configuration file as "radiusd.conf".
-+       */
--       main_config_name_set_default(config, program, false);
-+       main_config_name_set_default(config, "radiusd", false);
++       */
+-      main_config_name_set_default(config, program, false);
++      main_config_name_set_default(config, "radiusd", false);
  
-        config->daemonize = true;
-        config->spawn_workers = true;
+       config->daemonize = true;
+       config->spawn_workers = true;