]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix typos in scripts
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Thu, 21 Dec 2023 09:08:00 +0000 (10:08 +0100)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Thu, 21 Dec 2023 11:17:43 +0000 (11:17 +0000)
Misspellings found by codespell.

I have left out files that appear to have been generated, such as:
scripts/boiler.mk
which has been generated from:
https://github.com/dmoulding/boilermake

20 files changed:
scripts/asciidoc/sass/components/_asciidoc.scss
scripts/build/fuzzer-fetch-artifacts
scripts/ci/Jenkinsfile
scripts/ci/openresty/delay-api.lua
scripts/ci/package-test.mk
scripts/docker/build-centos7/Dockerfile.deps
scripts/docker/build-debian10/Dockerfile.deps
scripts/docker/build-debian11/Dockerfile.deps
scripts/docker/build-debian9/Dockerfile.deps
scripts/docker/build-debiansid/Dockerfile.deps
scripts/docker/build-ubuntu18/Dockerfile.deps
scripts/docker/build-ubuntu20/Dockerfile.deps
scripts/ldap/radiusd2ldif.pl
scripts/snmp-proxy/README
scripts/sql/generate_pool_addresses.pl
scripts/sql/radsqlrelay
scripts/sql/rlm_sqlippool_tool
scripts/util/archive.sh
scripts/util/radeapol_uat.py
scripts/util/radtee

index 34ee76ac89aa472a31ff3ef5308c10af4dbe1b81..e8941ec18c3c791aafd8185301ac9c2191b4fa56 100644 (file)
@@ -1295,7 +1295,7 @@ td.hdlist1 {
   }
 }
 
-// reenable once we can style the number too
+// re-enable once we can style the number too
 //.qanda > ol > li > p > em:only-child {
 //  color: darken($primary-color, 5%);
 //}
index 87a489ec6a97109c11427caea7ced8615e35600d..02e4ee8052201bc943f391770e5c3c1f820049be 100755 (executable)
@@ -35,7 +35,7 @@ Usage:
 
                  This mode will download the specified artifact and extract the
                  reproducers that it contains. (The list of available fuzzer
-                 artifacts is ouput by the preceeding mode.)
+                 artifacts is output by the preceding mode.)
 
   artifact-zip - "path/to/downloaded/artifact/fuzzer-radius-701e5be.zip"
 
index dc316511bb8d30c97ebb3206e16ad3a67af73851..5d16482009f09e9fd9790fe8380ae29d8cd451db 100644 (file)
@@ -17,7 +17,7 @@ def buildClosures(arg) {
         closures[value] = { testEnv_str ->
             def(dir,testEnv) = testEnv_str.split(":")
             stage("$testEnv") {
-                // Docker needs full privileges and capabilites to run the tests
+                // Docker needs full privileges and capabilities to run the tests
                 // This passes the necessary arguments to "docker run"
                 travisImage.inside("--privileged --cap-add=ALL") {
                     checkout([$class: 'GitSCM',\
index aa4f61b99e94a214fdd9c1f145b5b76315f57830..32918b57d6d4e145de09d748852632d2de42035f 100644 (file)
@@ -1,4 +1,4 @@
--- Simple API represending a slow response for testing timeouts
+-- Simple API representing a slow response for testing timeouts
 
 local t0 = os.clock()
 while os.clock() - t0 <= 2 do end
index 354a8387f6bbfba64adb51c326c1ddb81a46b805..86c0701a50486bb2b5c7ac53a6057a4b9e5977a5 100644 (file)
@@ -6,7 +6,7 @@
 #  installed by the distribution packaging.
 #
 #  We want the run-time environment to be lean, typical of a fresh system
-#  installation so that we catch any missing runtime dependancies, assets
+#  installation so that we catch any missing runtime dependencies, assets
 #  missing from the packages, issues with the dynamic loader, etc.
 #
 #  Therefore we skip the usual build framework so that we do not have so
index 193891b2a16ec81831a7d2b1e4dcdef6f68311d0..87ceb9259f92f7dddbb1efbc269d6150d8c2a05a 100644 (file)
@@ -43,7 +43,7 @@ RUN rm /etc/yum.repos.d/CentOS-SCLo-scl.repo
 
 
 #
-#  Documentation build dependecies
+#  Documentation build dependencies
 #
 
 #  - doxygen & JSON.pm
@@ -96,7 +96,7 @@ RUN rpm --import https://packages.networkradius.com/pgp/packages@networkradius.c
 
 
 #
-#  Use LTB's openldap packages intead of the distribution version to avoid linking against NSS
+#  Use LTB's openldap packages instead of the distribution version to avoid linking against NSS
 #
 RUN echo $'[ltb-project]\n\
 name=LTB project packages\n\
index 7b46c5be03083226fda565b77febb5fb673b1ed8..c1bf031113dbc6f728b2de1524d756c138256921 100644 (file)
@@ -37,7 +37,7 @@ RUN apt-get update && \
 
 
 #
-#  Documentation build dependecies
+#  Documentation build dependencies
 #
 
 #  - doxygen & JSON.pm
index bf2d461c43e80a0b7997d431000f2dec192a6d9e..6ad86f858c5156c6aba5c269b03b92e00ff335d2 100644 (file)
@@ -37,7 +37,7 @@ RUN apt-get update && \
 
 
 #
-#  Documentation build dependecies
+#  Documentation build dependencies
 #
 
 #  - doxygen & JSON.pm
index 0f8019eca6c6b62c5b44d340319b2836b721e99c..c217468376252dd79b5e5d5a2fbce33f4b4fbe7e 100644 (file)
@@ -36,7 +36,7 @@ RUN apt-get update && \
 
 
 #
-#  Documentation build dependecies
+#  Documentation build dependencies
 #
 
 #  - doxygen & JSON.pm
index 651724b2dbbf76f4d854fb8b04d5150eafed5cbd..3676b4cde0000e338e834ee3560b98aa25c4a810 100644 (file)
@@ -37,7 +37,7 @@ RUN apt-get update && \
 
 
 #
-#  Documentation build dependecies
+#  Documentation build dependencies
 #
 
 #  - doxygen & JSON.pm
index ba05549a581f97dcb21806a9e48dc28b7b308f12..7f6776240860e7dfa4bf2b37979fbee47fc5d165 100644 (file)
@@ -37,7 +37,7 @@ RUN apt-get update && \
 
 
 #
-#  Documentation build dependecies
+#  Documentation build dependencies
 #
 
 #  - doxygen & JSON.pm
index 54f29516ed3c33f6c99537bf3e683d2614b1a97d..2c10af80bda1fcc2b6ba554232a913bedc1c1bbd 100644 (file)
@@ -37,7 +37,7 @@ RUN apt-get update && \
 
 
 #
-#  Documentation build dependecies
+#  Documentation build dependencies
 #
 
 #  - doxygen & JSON.pm
index 14847517eb5852ccb4b1b7803f0d0b43c0199037..869ec40f4694cf3ef9de291776b1b47fd2712b93 100755 (executable)
@@ -79,7 +79,7 @@ my $debug = $opt_d;
 
 my %passwords;
 # This might or might not be necessary depending if your LDAP server
-# when importing from ldif introduces crypted passwords in the LDAP db
+# when importing from ldif introduces encrypted passwords in the LDAP db
 # (not necessary for Netscape's Directory Server)
 read_passwds ($opt_f) if $opt_f;
 
@@ -198,7 +198,7 @@ $mapping{'framed-ip-route'} = "radiusFramedRoute";
 $mapping{'framed-netmask'} = "radiusFramedIPNetmask";
 $mapping{'user-service'} = "radiusServiceType";
 # Since this might not change they could be placed in the DEFAULT
-# user insted of the LDAP
+# user instead of the LDAP
 #$mapping{'ascend-metric'} = "radiusAscendMetric";
 #$mapping{'ascend-idle-limit'} = "radiusAscendIdleLimit";
 # But this really ought to be there :
@@ -289,7 +289,7 @@ if ( $group ) {
 exit 0;
 
 sub read_passwds {
-# Reads passwords from a file in order to get the crypted
+# Reads passwords from a file in order to get the encrypted
 # version, the file must be of the following format:
 # password     cryptedversion
        my ($file)=@_;
index 07203bb7232df00b55009c04c7b844f75f765b09..83d0359b386f551151a33a0a897ff9ceb9c392cc 100644 (file)
@@ -1,5 +1,5 @@
   The files in this directory replace the old FreeRADIUS SNMP
-implementantion with a new one.
+implementation with a new one.
 
 net-radius-freeradius-dictionary.diff
        Patch to enable the Perl Net::RADIUS module to read the
index bedaa7114e8f30bc1dfb92e7e8a856b3fcad868b..6f7e3ea2525e4c68f4a7ec0c841b9bf95fa7768b 100755 (executable)
 #
 #      Will create a pool from a sparsely populated IPv4 range for a /16
 #      network (maximum of 65.536 addresses), populating the range with 10,000
-#      addreses. The effective size of the pool can be increased in future by
+#      addresses. The effective size of the pool can be increased in future by
 #      increasing the capacity of the range with:
 #
 #    generate_pool_addresses.pl main_pool 10.66.0.0 10.66.255.255 20000
@@ -300,7 +300,7 @@ sub handle_range {
 
        if ($range_size < $capacity) {
                $capacity = "$range_size";
-               warn "WARNING: Insufficent IPs in the range. Will create $capacity entries.";
+               warn "WARNING: Insufficient IPs in the range. Will create $capacity entries.";
        }
 
        # Prune the entries to only those within the specified range
@@ -344,7 +344,7 @@ sub handle_range {
 #  the size of the range. It becomes slower as the population of a range nears
 #  the range's limit since it is harder to choose a free address at random.
 #
-#  It is useful for selecting a handful of addresses from an enourmous IPv6 /64
+#  It is useful for selecting a handful of addresses from an enormous IPv6 /64
 #  network for example.
 #
 sub sparse_fill {
index 74531ba9bf7588eb42bb409fc69ecd0abdf919f5..fd8e861b182ae79188f56b3380bdf8de384ae325 100755 (executable)
@@ -177,7 +177,7 @@ sub process_file($$)
         my ($dbinfo,$query) = @_;
         debug ">";
         until ($dbinfo->{handle}->do($query)) {
-           # If an error occured and we're disconnected then try to recomnnect
+           # If an error occurred and we're disconnected then try to recomnnect
            # and redo the query, otherwise give up so we don't become stuck.
             print $dbinfo->{handle}->errstr."\n";
             if ($dbinfo->{handle}->ping) {
index ff4026581a24b4819a0d56a72c12ec30e9e4e352..ad27e0017c3d7291984e66cf6d6040e1e2100600 100755 (executable)
 #  different SQL dialects.
 #
 #  The SQL first creates a temporary table to insert the new pools into,
-#  inserts the addresses, then removes any exisitng entries from the pool
+#  inserts the addresses, then removes any existing entries from the pool
 #  table that do not exist in the new pool.  Finally any new entries that
 #  don't exist in the existing pool table are copied from the temporary
 #  table.
 #
 #      Will create a pool from a sparsely populated IPv4 range for a /16
 #      network (maximum of 65.536 addresses), populating the range with 10,000
-#      addreses. With SQL output suitable for MySQL.
+#      addresses. With SQL output suitable for MySQL.
 #      The effective size of the pool can be increased in future by increasing
 #      the capacity of the range with:
 #
@@ -540,7 +540,7 @@ sub handle_range {
 
        if ($range_size < $capacity) {
                $capacity = "$range_size";
-               warn 'WARNING: Insufficent IPs in the range. Will create '.$capacity.' entries.';
+               warn 'WARNING: Insufficient IPs in the range. Will create '.$capacity.' entries.';
        }
 
        #  Prune the entries to only those within the specified range
@@ -583,7 +583,7 @@ sub handle_range {
 #  the size of the range. It becomes slower as the population of a range nears
 #  the range's limit since it is harder to choose a free address at random.
 #
-#  It is useful for selecting a handful of addresses from an enourmous IPv6 /64
+#  It is useful for selecting a handful of addresses from an enormous IPv6 /64
 #  network for example.
 #
 sub sparse_fill {
index 0f834c58677696f7a78736d826b086b8ecec2d45..70d1d29ac735f6df0f61fb3726695dea92ad531c 100644 (file)
@@ -166,7 +166,7 @@ for LOGDD in $(ls $LOG_DIR | egrep "$DATE_EXPR"); do
                        DEBUG "Error creating archive for '$LOGFP'"
                        exit 65
                elif ! rm -rf $LOGDD; then
-                       DEBUG "Error removing uncompresed directory"
+                       DEBUG "Error removing uncompressed directory"
                        exit 65
                fi
        fi
index 120a09fcc2989205694613553231212a8def268c..c0b70ac35d59b9b5c261f29829e97e7ce76068fc 100755 (executable)
@@ -311,7 +311,7 @@ The directory containing the tests may have multiple subdirectories to group the
        )
        parser.add_argument("-i",
                                                dest = "iter",
-                                               help = "Number of interations. (default: {})".format(DEFAULT_INTERATIONS),
+                                               help = "Number of iterations. (default: {})".format(DEFAULT_INTERATIONS),
                                                type = int,
                                                required = False,
                                                default = DEFAULT_INTERATIONS
@@ -368,7 +368,7 @@ The directory containing the tests may have multiple subdirectories to group the
        print("* Verbose:         {}".format(args.verbose))
        if args.verbose >= 1:
                print("* Parallel:        {}".format(args.parallel))
-               print("* Interations:     {}".format(args.iter))
+               print("* Iterations:      {}".format(args.iter))
                print("* dict_dir:        {}".format(args.dict_dir))
                print("* eapol_test_bin:  {}".format(args.eapol_test_bin))
                print("* eapol_test ctrl: {}".format(args.eapol_ctrl))
index 37cd2a496d18f6c7190ecc056246ea80b701af8a..1df93f6bbcaa47e3481127e8170bff83b1a28b1c 100755 (executable)
@@ -36,7 +36,7 @@ from __future__ import with_statement
 # - C=x.x.x.x: Ignored packet sniffed from unknown client.
 # - D: Dropped sniffed packet due to processing bottleneck. Consider
 #      increasing THREADS.
-# - I: Invalid/unparseable packet sniffed.
+# - I: Invalid/unparsable packet sniffed.
 # - Mreq: Response was sniffed without sniffing a corresponding request.
 # - Mresp: Request was sniffed without sniffing a corresponding response.
 # - T: Request to test server timed out.