aboutsummaryrefslogtreecommitdiffstats
path: root/include/depends.mk
Commit message (Expand)AuthorAgeFilesLines
* change the recursive dependency template to use more make evaluation - the sh...Felix Fietkau2010-11-241-21/+22
* ignore vim .swp files when scanning for updates (#7867)Jo-Philipp Wich2010-09-031-1/+1
* speed up the build system by including include/shell.sh on shell commands onl...Felix Fietkau2010-08-191-1/+1
* fix timestamp checks for build system paths which have '.svn' in their direct...Felix Fietkau2010-04-141-1/+1
* add autorebuild check for menuconfigFelix Fietkau2007-10-141-1/+1
* clean up recursive dependency handling, use timestamp.pl again, because it sa...Felix Fietkau2007-08-301-15/+31
* fix a rebuild bug related to quiltFelix Fietkau2007-07-301-3/+5
* ignore filenames that can cause problems for the recursive dependency handlingFelix Fietkau2007-07-261-2/+2
* fix recursive dependencies on build directories - should lead to fewer sponta...Felix Fietkau2007-05-091-8/+9
* ignore errors in the find command for dep checksFelix Fietkau2007-04-181-1/+1
* clean up dependency handling for autorebuildsFelix Fietkau2007-04-151-0/+28
*/ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
--- a/archival/libipkg/ipkg_conf.c
+++ b/archival/libipkg/ipkg_conf.c
@@ -66,6 +66,8 @@
 	  { "offline_root_pre_script_cmd", IPKG_OPT_TYPE_STRING, &conf->offline_root_pre_script_cmd },
 	  { "proxy_passwd", IPKG_OPT_TYPE_STRING, &conf->proxy_passwd },
 	  { "proxy_user", IPKG_OPT_TYPE_STRING, &conf->proxy_user },
+	  { "http_user", IPKG_OPT_TYPE_STRING, &conf->http_user },
+	  { "http_passwd", IPKG_OPT_TYPE_STRING, &conf->http_passwd },
 	  { "query-all", IPKG_OPT_TYPE_BOOL, &conf->query_all },
 	  { "verbose-wget", IPKG_OPT_TYPE_BOOL, &conf->verbose_wget },
 	  { "verbosity", IPKG_OPT_TYPE_BOOL, &conf->verbosity },
@@ -160,6 +162,9 @@
      conf->proxy_user = NULL;
      conf->proxy_passwd = NULL;
 
+     conf->http_user = NULL;
+     conf->http_passwd = NULL;
+
      pkg_hash_init("pkg-hash", &conf->pkg_hash, IPKG_CONF_DEFAULT_HASH_LEN);
      hash_table_init("file-hash", &conf->file_hash, IPKG_CONF_DEFAULT_HASH_LEN);
      hash_table_init("obs-file-hash", &conf->obs_file_hash, IPKG_CONF_DEFAULT_HASH_LEN);
--- a/archival/libipkg/ipkg_conf.h
+++ b/archival/libipkg/ipkg_conf.h
@@ -79,6 +79,10 @@
      char *proxy_user;
      char *proxy_passwd;
 
+     /* http user/pass */
+     char *http_user;
+     char *http_passwd;
+
      hash_table_t pkg_hash;
      hash_table_t file_hash;
      hash_table_t obs_file_hash;
--- a/archival/libipkg/ipkg_download.c
+++ b/archival/libipkg/ipkg_download.c
@@ -69,8 +69,12 @@
     }
 
     /* XXX: BUG rewrite to use execvp or else busybox's internal wget -Jamey 7/23/2002 */ 
-    sprintf_alloc(&cmd, "wget --passive-ftp %s %s%s %s%s %s -P %s %s",
+    sprintf_alloc(&cmd, "wget --passive-ftp %s %s%s %s%s %s%s %s%s %s -P %s %s",
 		  (conf->http_proxy || conf->ftp_proxy) ? "--proxy=on" : "",
+          conf->http_user ? "--http-user=" : "",
+          conf->http_user ? conf->http_user : "",
+          conf->http_passwd ? "--http-password=" : "",
+          conf->http_passwd ? conf->http_passwd : "",
 		  conf->proxy_user ? "--proxy-user=" : "",
 		  conf->proxy_user ? conf->proxy_user : "",
 		  conf->proxy_passwd ? "--proxy-passwd=" : "",