add opkg option http_timeout http_timeout will append `--timeout xy` to the resulting wget call. This is useful when using opkg update in a automatic way and prevent long timeouts Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
opkg: add --no-check-certificate argument For cases when artifacts are stored on https:// accessible locations and you don't want to install ca-certificates (for various reasons). I'll admit, using SSL like this is not recommended, but since wget (even uclient-fetch) allows the --no-check-certificate option, it would be nice for opkg to support setting it if needed/configured. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
libopkg: remove Curl support Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg: remove x509 support Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg: remove config.h references Signed-off-by: Jo-Philipp Wich <jo@mein.io>
treewrite: use Lindent to reformat to kernel coding style Use the kernels "Lindent" script to reformat files using kernel coding style. This should make subsequent refactoring much easier. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
cli: implement --size Implement a new switch "--size" which causes opkg to print the package size in the listing output. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
cli: implement --force-signature Implement a new "--force-signature" flag which causes opkg to ignore signature verification errors. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
cli: implement --force-checksum Introduce a new --force-checksum flag which allows installing packages even if the checksum does not match. This is useful for development and debugging. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
cli: implement --nocase flag Introduce a new --nocase flag which causes all opkg pattern matching operations to ignore the case. This is useful to find packages with uppercase letters in their name. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Introduce a new pkg_src list in global configuration to store the contents of 'dists' entries for apt-alike repositories git-svn-id: http://opkg.googlecode.com/svn/trunk@614 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Add overlay_root config option. Opkg checks this location for available space. This option is useful in the case where root is mounted ro, and another rw filesystem is overlaid on top with e.g. mini_fo. From Nicolas Thill via OpenWrt. git-svn-id: http://opkg.googlecode.com/svn/trunk@601 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Abort package removal if the prerm script of a package returns non zero. This can be overridden with --force-remove. Also, improve propagation of errors up the call stack for related errors. From Sergey 'Jin' Bostandzhyan. git-svn-id: http://opkg.googlecode.com/svn/trunk@587 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
- split the loading part of opkg_conf_init() out into opkg_conf_load() - move the temporary destination list into the global config struct git-svn-id: http://opkg.googlecode.com/svn/trunk@561 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
implement --force-postinstall option, this allows forcing the execution of postinstall scripts in offline root mode git-svn-id: http://opkg.googlecode.com/svn/trunk@559 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
s/dependences/dependencies/ Pointed out by klemmster in Issue 40. git-svn-id: http://opkg.googlecode.com/svn/trunk@515 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Add an option to download packages but do not install/upgrade anything git-svn-id: http://opkg.googlecode.com/svn/trunk@512 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Include config.h to pull in HAVE_* macros where needed. git-svn-id: http://opkg.googlecode.com/svn/trunk@505 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Initial stab at untangling the #include maze. Probably needs a second pass. git-svn-id: http://opkg.googlecode.com/svn/trunk@504 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Add a message callback function to the config struct for libopkg users. git-svn-id: http://opkg.googlecode.com/svn/trunk@496 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358