added FTPPROXY, FTPPORT
authorewt <devnull@localhost>
Sun, 20 Oct 1996 18:25:19 +0000 (18:25 +0000)
committerewt <devnull@localhost>
Sun, 20 Oct 1996 18:25:19 +0000 (18:25 +0000)
CVS patchset: 1109
CVS date: 1996/10/20 18:25:19

lib/rpmlib.h
lib/rpmrc.c

index 3296d18..a67f211 100644 (file)
@@ -168,7 +168,8 @@ extern const int rpmTagTableSize;
 #define RPMVAR_FTPPROXY                 29
 #define RPMVAR_TMPPATH                  30
 #define RPMVAR_CPIOBIN                  31
-#define RPMVAR_LASTVAR                 32 /* IMPORTANT to keep right! */
+#define RPMVAR_FTPPORT                 32
+#define RPMVAR_LASTVAR                 33 /* IMPORTANT to keep right! */
 
 char *getVar(int var);
 int getBooleanVar(int var);
index ce0c27a..340601d 100644 (file)
@@ -76,6 +76,7 @@ struct option optionTable[] = {
     { "dbpath",                        RPMVAR_DBPATH,                  0 },
     { "distribution",          RPMVAR_DISTRIBUTION,            0 },
     { "excludedocs",           RPMVAR_EXCLUDEDOCS,             0 },
+    { "ftpport",               RPMVAR_FTPPORT,                 0 },
     { "ftpproxy",              RPMVAR_FTPPROXY,                0 },
     { "messagelevel",          RPMVAR_MESSAGELEVEL,            0 },
     { "optflags",              RPMVAR_OPTFLAGS,                1 },