pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/yale-tftpd



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Mar 22 09:42:12 UTC 2026

Modified Files:
        pkgsrc/net/yale-tftpd: distinfo
        pkgsrc/net/yale-tftpd/patches: patch-ad patch-ae patch-ai

Log Message:
yale-tftpd: Fix implicit function decls


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/net/yale-tftpd/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/yale-tftpd/patches/patch-ad
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/yale-tftpd/patches/patch-ae
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/yale-tftpd/patches/patch-ai

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/yale-tftpd/distinfo
diff -u pkgsrc/net/yale-tftpd/distinfo:1.14 pkgsrc/net/yale-tftpd/distinfo:1.15
--- pkgsrc/net/yale-tftpd/distinfo:1.14 Tue Oct 26 11:07:13 2021
+++ pkgsrc/net/yale-tftpd/distinfo      Sun Mar 22 09:42:12 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2021/10/26 11:07:13 nia Exp $
+$NetBSD: distinfo,v 1.15 2026/03/22 09:42:12 nia Exp $
 
 BLAKE2s (yale-tftpd-3.0.tar.gz) = 6a837303a8039ef35052fb25146705be273650c5d09d5b40850d8a0b14cd0eb3
 SHA512 (yale-tftpd-3.0.tar.gz) = c87c13957cc9832bc87d3a319910189227c408611f23ad1574a4cab97f9c9e53881bdc5880098a12f8c8df660f19a1801c026292a883ac49ec2abacfe36859ff
@@ -6,12 +6,12 @@ Size (yale-tftpd-3.0.tar.gz) = 33469 byt
 SHA1 (patch-aa) = 3ee2118e261ed2012932ec87f998aa309d187a86
 SHA1 (patch-ab) = b32890019b289362b2b0f626394eba128585c9fc
 SHA1 (patch-ac) = a009cf18fa7413f1d3b2523f5ad7db600cc7cc57
-SHA1 (patch-ad) = 04a5079132a2e9f01c37c9551a09ac244217d2dd
-SHA1 (patch-ae) = 8a1da199365465d35b903578323485404155803e
+SHA1 (patch-ad) = a230e5735db483b959a5113d8b9f6013f9480331
+SHA1 (patch-ae) = 9e5421197e60fe38d4ff9acf0db10288720e1716
 SHA1 (patch-af) = 4d36c2bf21d5f100d012eb8bc83f9770085216f6
 SHA1 (patch-ag) = 04f68d8cb30c146978bf5b2d18623645a07cd137
 SHA1 (patch-ah) = 105c226bcc36fb14279333ec013340b809eca915
-SHA1 (patch-ai) = df8ac74bc8c2517f34f028667470468ad2ba9eef
+SHA1 (patch-ai) = ac18550a4bb40b3a3f112e3a47452154fb24b9aa
 SHA1 (patch-aj) = 6628e046d2040a9c9ef02acf2f1228a77fcffcf4
 SHA1 (patch-ak) = ffcaedfa9937f2b587a06a31ef0a2a3ceeb64a9d
 SHA1 (patch-al) = 72a41ee9799ccd6f8d65b650ae73bc405d159b9d

Index: pkgsrc/net/yale-tftpd/patches/patch-ad
diff -u pkgsrc/net/yale-tftpd/patches/patch-ad:1.7 pkgsrc/net/yale-tftpd/patches/patch-ad:1.8
--- pkgsrc/net/yale-tftpd/patches/patch-ad:1.7  Wed Jan 25 09:56:08 2012
+++ pkgsrc/net/yale-tftpd/patches/patch-ad      Sun Mar 22 09:42:12 2026
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.7 2012/01/25 09:56:08 he Exp $
+$NetBSD: patch-ad,v 1.8 2026/03/22 09:42:12 nia Exp $
 
 A number of changes to make this build with no warnings under -Wall.
 
@@ -13,8 +13,11 @@ A number of changes to make this build w
  #endif /* not lint */
  
  /*
-@@ -43,9 +43,13 @@ static char sccsid[] = "@(#)tftpd.c 5.12
- #include <sys/signal.h>
+@@ -40,12 +40,15 @@ static char sccsid[] = "@(#)tftpd.c        5.12
+ #include <sys/ioctl.h>
+ #include <sys/wait.h>
+ #include <sys/stat.h>
+-#include <sys/signal.h>
  #include <sys/time.h>
  #include <sys/param.h>
 +#ifdef __sun
@@ -27,7 +30,11 @@ A number of changes to make this build w
  #include <arpa/tftp.h>
  
  #include <netdb.h>
-@@ -56,19 +60,45 @@ static char sccsid[] = "@(#)tftpd.c        5.12
+@@ -53,22 +56,49 @@ static char sccsid[] = "@(#)tftpd.c        5.12
+ #include <stdio.h>
+ #include <errno.h>
+ #include <ctype.h>
++#include <signal.h>
  #include <syslog.h>
  #include <string.h>
  

Index: pkgsrc/net/yale-tftpd/patches/patch-ae
diff -u pkgsrc/net/yale-tftpd/patches/patch-ae:1.3 pkgsrc/net/yale-tftpd/patches/patch-ae:1.4
--- pkgsrc/net/yale-tftpd/patches/patch-ae:1.3  Wed Jan 25 09:56:08 2012
+++ pkgsrc/net/yale-tftpd/patches/patch-ae      Sun Mar 22 09:42:12 2026
@@ -1,17 +1,18 @@
-$NetBSD: patch-ae,v 1.3 2012/01/25 09:56:08 he Exp $
+$NetBSD: patch-ae,v 1.4 2026/03/22 09:42:12 nia Exp $
 
 A number of changes to make this build with no warnings under -Wall.
 
 --- classes/access.c.orig      1994-10-05 05:20:44.000000000 +0000
 +++ classes/access.c
-@@ -1,4 +1,6 @@
+@@ -1,4 +1,7 @@
  #include <stdio.h>
 +#include <stdlib.h>
 +#include <string.h>
++#include <strings.h>
  #include <ctype.h>
  #include <sys/types.h>
  #include <sys/stat.h>
-@@ -39,7 +41,7 @@ typedef struct ACCESSLISTHEAD {
+@@ -39,7 +42,7 @@ typedef struct ACCESSLISTHEAD {
  
  #if defined (__STDC__)
  
@@ -20,7 +21,7 @@ A number of changes to make this build w
                        AccessGroup self,
                        FILE* file
                );
-@@ -51,13 +53,14 @@ typedef struct ACCESSLISTHEAD {
+@@ -51,13 +54,14 @@ typedef struct ACCESSLISTHEAD {
                        listhead_t* alp,
                        condition_t* condition
                );
@@ -37,7 +38,7 @@ A number of changes to make this build w
                        listhead_t* alp,
                        FILE* file
                );
-@@ -69,6 +72,9 @@ typedef struct ACCESSLISTHEAD {
+@@ -69,6 +73,9 @@ typedef struct ACCESSLISTHEAD {
                        condition_t* ptr
                );
        static int accessListVerifyAddress ();
@@ -47,7 +48,7 @@ A number of changes to make this build w
  #else
        static int      accessList_dispose ();
        static int      accessList_addCondition ();
-@@ -92,7 +98,6 @@ AccessGroup
+@@ -92,7 +99,6 @@ AccessGroup
  accessGroup_new ()
  {
        AccessGroup self;
@@ -55,7 +56,7 @@ A number of changes to make this build w
  
        self = (AccessGroup)calloc (1, sizeof (*self));
        return self;
-@@ -123,9 +128,9 @@ AccessGroup self;
+@@ -123,9 +129,9 @@ AccessGroup self;
   */
  int
  accessGroup_add (self, argc, argv)
@@ -68,7 +69,7 @@ A number of changes to make this build w
  {
        condition_t condition;
        int list;
-@@ -137,14 +142,13 @@ char     **argv;
+@@ -137,14 +143,13 @@ char     **argv;
  }
  
  
@@ -88,7 +89,7 @@ A number of changes to make this build w
        char *tcp;
  
        /* get enough space for the condition */
-@@ -218,9 +222,10 @@ int type;
+@@ -218,9 +223,10 @@ int type;
  
  
  /* Debugging function */
@@ -101,7 +102,7 @@ A number of changes to make this build w
  {
        register int i;
  
-@@ -365,9 +370,10 @@ static char* permNames[] ={ "deny", "rea
+@@ -365,9 +371,10 @@ static char* permNames[] ={ "deny", "rea
                                ? "<unknown>" : permNames[N])
  
  
@@ -114,7 +115,7 @@ A number of changes to make this build w
  {
        char* permission;
        char addrbuf[32], maskbuf[32];
-@@ -426,7 +432,7 @@ condition_t* ptr;
+@@ -426,7 +433,7 @@ condition_t* ptr;
        }
        av++; ac--;
  
@@ -123,7 +124,7 @@ A number of changes to make this build w
                int addlist;
                listhead_t* hp;
                condition_t* cp;
-@@ -435,7 +441,9 @@ condition_t* ptr;
+@@ -435,7 +442,9 @@ condition_t* ptr;
                        self->accessError = "-<list> not implemented yet";
                        return 0;
                }

Index: pkgsrc/net/yale-tftpd/patches/patch-ai
diff -u pkgsrc/net/yale-tftpd/patches/patch-ai:1.5 pkgsrc/net/yale-tftpd/patches/patch-ai:1.6
--- pkgsrc/net/yale-tftpd/patches/patch-ai:1.5  Wed Jan 25 09:56:08 2012
+++ pkgsrc/net/yale-tftpd/patches/patch-ai      Sun Mar 22 09:42:12 2026
@@ -1,21 +1,22 @@
-$NetBSD: patch-ai,v 1.5 2012/01/25 09:56:08 he Exp $
+$NetBSD: patch-ai,v 1.6 2026/03/22 09:42:12 nia Exp $
 
 A number of changes to make this build with no warnings under -Wall.
 
 --- tftpyale.c.orig    1995-03-20 20:11:11.000000000 +0000
 +++ tftpyale.c
-@@ -2,8 +2,9 @@
+@@ -2,8 +2,10 @@
  #include <string.h>
  #include <syslog.h>
  #include <ctype.h>
 -#include <arpa/tftp.h>
++#include <unistd.h>
  #include <sys/types.h>
 +#include <arpa/inet.h>
 +#include <arpa/tftp.h>
  #include <sys/stat.h>
  #include <netinet/in.h>
  #include "tftpyale.h"
-@@ -73,6 +74,10 @@ static char*                accessFormatError;
+@@ -73,6 +75,10 @@ static char*                accessFormatError;
  static char*          cfgets();
  static struct stat    configStat;
  static int            defaultAccessList;
@@ -26,7 +27,7 @@ A number of changes to make this build w
  
  /* for debugging printouts */
  static char* permNames[] ={ "deny", "readonly", "writeonly", "readwrite" };
-@@ -90,12 +95,12 @@ static char* permNames[] ={ "deny", "rea
+@@ -90,12 +96,12 @@ static char* permNames[] ={ "deny", "rea
  #define CMD_INPUT_WAIT                7
  
  /* Add a file restriction clause to the list */
@@ -41,7 +42,7 @@ A number of changes to make this build w
  
        ac--; av++;
        if (ac != 2) {
-@@ -104,7 +109,7 @@ char**     av;
+@@ -104,7 +110,7 @@ char**     av;
        }
  
        /* get list number */
@@ -50,7 +51,7 @@ A number of changes to make this build w
        if (list <= 0) {
                accessFormatError = "list argument not positive integer";
                return 0;
-@@ -142,6 +147,7 @@ int        *lineCount;
+@@ -142,6 +148,7 @@ int        *lineCount;
  /* Return whether the file named by the argument stat structure
   * is the same as the configuration file.
   */
@@ -58,7 +59,7 @@ A number of changes to make this build w
  isConfigFile (sb)
  struct stat* sb;
  {
-@@ -157,27 +163,24 @@ struct stat* sb;
+@@ -157,27 +164,24 @@ struct stat* sb;
   * qualified (starts with '/') check to see if the
   * prefix matches the default directory.
   */
@@ -92,7 +93,7 @@ A number of changes to make this build w
  
        return list ? list : defaultAccessList;
  }
-@@ -202,7 +205,7 @@ char* arg;
+@@ -202,7 +206,7 @@ char* arg;
   * on the file and check to see if it's been modified since
   * the last read.
   */
@@ -101,7 +102,7 @@ A number of changes to make this build w
  readConfigFile(argc, argv)
  int   argc;
  char**        argv;
-@@ -216,12 +219,14 @@ char**   argv;
+@@ -216,12 +220,14 @@ char**   argv;
        struct stat statb;
        Config  cnf;
  
@@ -117,7 +118,7 @@ A number of changes to make this build w
        }
        if (configf == 0) {
                fileName = dfltConfigFile;
-@@ -238,7 +243,7 @@ char**     argv;
+@@ -238,7 +244,7 @@ char**     argv;
        }
        if (tftpDebugLevel > 3) {
                syslog(LOG_DEBUG, "configFile = '%s'; FILE* = 0x%08x",
@@ -126,7 +127,7 @@ A number of changes to make this build w
        }
  
        /* See if the file has been changed since the last time we
-@@ -250,7 +255,7 @@ char**     argv;
+@@ -250,7 +256,7 @@ char**     argv;
        fstat(fileno(configf), &statb);
        configStat = statb;
        if (statb.st_mtime == configModTime)
@@ -135,7 +136,7 @@ A number of changes to make this build w
        configModTime = statb.st_mtime;
  
        /* Read the config file */
-@@ -262,14 +267,13 @@ char**   argv;
+@@ -262,14 +268,13 @@ char**   argv;
        config_setoptions (cnf, config_getoptions (cnf)& ~CFG_OPT_CASEMAP);
  
        while (cfgets (buf, sizeof buf, configf, &configLineNumber) != NULL) {
@@ -151,7 +152,7 @@ A number of changes to make this build w
                  /* specify default directory */
                  case CMD_DEFAULT_DIR:
                        if (cargc != 2)
-@@ -446,7 +450,7 @@ char*      buf;
+@@ -446,7 +451,7 @@ char*      buf;
  
        /* squeeze out current and parent entries */
        {
@@ -160,7 +161,7 @@ A number of changes to make this build w
  
                for (i=0, j=0; i < num; i++) {
                        char* cur = obuf[i];
-@@ -481,28 +485,28 @@ char*    buf;
+@@ -481,28 +486,28 @@ char*    buf;
  
  static struct CMDS {
        char* cmdName;
@@ -205,7 +206,7 @@ A number of changes to make this build w
        extern char* dfltDefaultDirectory;
        extern char* dfltRootDirectory;
        extern int dfltDebugLevel;
-@@ -603,12 +607,14 @@ int type;
+@@ -603,12 +608,14 @@ int type;
  
  
  #ifndef DEBUG



Home | Main Index | Thread Index | Old Index