@@ -467,7 +467,7 @@ static void print_Win_Getopt_Licenses(void)
467467#if defined(__FreeBSD__ )
468468static void print_FreeBSD_License (void )
469469{
470- printf ("Copyright 1992 - 2019 The FreeBSD Project.\n\n" );
470+ printf ("Copyright 1992 - 2025 The FreeBSD Project.\n\n" );
471471 printf ("Redistribution and use in source and binary forms, with or without\n" );
472472 printf ("modification, are permitted provided that the following conditions are met :\n" );
473473 printf ("\n" );
@@ -495,6 +495,40 @@ static void print_FreeBSD_License(void)
495495}
496496#endif //__FreeBSD__
497497
498+ #if defined(__DragonFly__ )
499+ static void print_DragonFlyBSD_License (void )
500+ {
501+ printf ("Copyright (c) 2003-2024 The DragonFly Project. All rights reserved.\n\n" );
502+ printf ("Redistribution and use in source and binary forms, with or without\n" );
503+ printf ("modification, are permitted provided that the following conditions are met:\n" );
504+ printf ("\n" );
505+ printf ("1. Redistributions of source code must retain the above copyright\n" );
506+ printf (" notice, this list of conditions and the following disclaimer.\n" );
507+ printf ("2. Redistributions in binary form must reproduce the above copyright\n" );
508+ printf (" notice, this list of conditions and the following disclaimer in\n" );
509+ printf (" the documentation and/or other materials provided with the\n" );
510+ printf (" distribution.\n" );
511+ printf ("3. Neither the name of The DragonFly Project nor the names of its\n" );
512+ printf (" contributors may be used to endorse or promote products derived\n" );
513+ printf (" from this software without specific, prior written permission.\n" );
514+ printf ("\n" );
515+ printf ("THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n" );
516+ printf ("``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n" );
517+ printf ("LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n" );
518+ printf ("FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n" );
519+ printf ("COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n" );
520+ printf ("INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,\n" );
521+ printf ("BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n" );
522+ printf ("LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED\n" );
523+ printf ("AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n" );
524+ printf ("OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n" );
525+ printf ("OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n" );
526+ printf ("SUCH DAMAGE.\n" );
527+ printf ("\n\n" );
528+ }
529+
530+ #endif //__DragonFly__
531+
498532#if defined(__GLIBC__ )
499533static void print_GNU_LGPL_License (void )
500534{
@@ -743,6 +777,8 @@ void print_Open_Source_Licenses(void)
743777 // May need a way to access that flag to determine when this should or should-not be part of the license
744778 // output.-TJE
745779 print_Open_Fabrics_NVMe_IOCTL_License ();
780+ #elif defined (__DragonFly__ )
781+ print_DragonFlyBSD_License ();
746782#elif defined(__FreeBSD__ )
747783 print_FreeBSD_License ();
748784#elif defined(__linux__ )
0 commit comments