oweals/opkg-lede.git
15 years agoopkg: skip downloading Packages.sig if GPGME is not enabled at build time
ticktock35 [Mon, 15 Dec 2008 05:01:47 +0000 (05:01 +0000)]
opkg: skip downloading Packages.sig if GPGME is not enabled at build time

git-svn-id: http://opkg.googlecode.com/svn/trunk@55 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: print help and version messages to stdout rather than stderr. Based on
ticktock35 [Mon, 15 Dec 2008 05:01:35 +0000 (05:01 +0000)]
opkg: print help and version messages to stdout rather than stderr. Based on
patch from Marcin Juszkiewicz <openembedded haerwu biz>

git-svn-id: http://opkg.googlecode.com/svn/trunk@54 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: update md5.{c,h} with latest version from gnulib
ticktock35 [Mon, 15 Dec 2008 05:01:24 +0000 (05:01 +0000)]
opkg: update md5.{c,h} with latest version from gnulib

git-svn-id: http://opkg.googlecode.com/svn/trunk@53 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: enable -Werror in libopkg and fix resulting build failures
ticktock35 [Mon, 15 Dec 2008 05:01:13 +0000 (05:01 +0000)]
opkg: enable -Werror in libopkg and fix resulting build failures

git-svn-id: http://opkg.googlecode.com/svn/trunk@52 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: Remove unused CONFIG_CLEAR_SW_INSTALL_FLAG conditional code
ticktock35 [Mon, 15 Dec 2008 05:00:52 +0000 (05:00 +0000)]
opkg: Remove unused CONFIG_CLEAR_SW_INSTALL_FLAG conditional code

git-svn-id: http://opkg.googlecode.com/svn/trunk@51 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: remove unused CONFIG_OPKG_PROCESS_ACTIONS conditional code
ticktock35 [Mon, 15 Dec 2008 05:00:42 +0000 (05:00 +0000)]
opkg: remove unused CONFIG_OPKG_PROCESS_ACTIONS conditional code

git-svn-id: http://opkg.googlecode.com/svn/trunk@50 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: remove redundant OPKG_LIB conditional code
ticktock35 [Mon, 15 Dec 2008 04:53:45 +0000 (04:53 +0000)]
opkg: remove redundant OPKG_LIB conditional code

git-svn-id: http://opkg.googlecode.com/svn/trunk@49 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg/libbb: Patch from Esben Haabendal <esbenhaabendal gmail com>
ticktock35 [Mon, 15 Dec 2008 04:53:20 +0000 (04:53 +0000)]
opkg/libbb: Patch from Esben Haabendal <esbenhaabendal gmail com>
Fix the usage of dirname() in libbb/make_directory.c, as it is not correct according to the standard specification for dirname.

git-svn-id: http://opkg.googlecode.com/svn/trunk@48 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: output state change messages only at info verbosity level
ticktock35 [Mon, 15 Dec 2008 04:53:10 +0000 (04:53 +0000)]
opkg: output state change messages only at info verbosity level

git-svn-id: http://opkg.googlecode.com/svn/trunk@47 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: use a single temporary directory for entire update transaction and remove
ticktock35 [Mon, 15 Dec 2008 04:52:54 +0000 (04:52 +0000)]
opkg: use a single temporary directory for entire update transaction and remove
it when done.

git-svn-id: http://opkg.googlecode.com/svn/trunk@46 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: restore original ipkg ChangeLog
ticktock35 [Mon, 15 Dec 2008 04:52:44 +0000 (04:52 +0000)]
opkg: restore original ipkg ChangeLog

git-svn-id: http://opkg.googlecode.com/svn/trunk@45 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: catch up with removals and fix include statement in opkg-frontend.c
ticktock35 [Mon, 15 Dec 2008 04:52:36 +0000 (04:52 +0000)]
opkg: catch up with removals and fix include statement in opkg-frontend.c

git-svn-id: http://opkg.googlecode.com/svn/trunk@44 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg:
ticktock35 [Mon, 15 Dec 2008 04:52:22 +0000 (04:52 +0000)]
opkg:
 * remove generated files
 * add autogen.sh
 * move ChangeLog to ChangeLog.ipkg and start new ChangeLog for our changes
 * remove familiar directory

git-svn-id: http://opkg.googlecode.com/svn/trunk@43 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: add support for Tags attribute
ticktock35 [Mon, 15 Dec 2008 04:52:05 +0000 (04:52 +0000)]
opkg: add support for Tags attribute

git-svn-id: http://opkg.googlecode.com/svn/trunk@42 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: Enable Debian style revision field by default and remove "familiar" specific...
ticktock35 [Mon, 15 Dec 2008 04:51:51 +0000 (04:51 +0000)]
opkg: Enable Debian style revision field by default and remove "familiar" specific code. Patch from Richard Purdie <rpurdie rpsys net>

git-svn-id: http://opkg.googlecode.com/svn/trunk@41 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: Update the version comparision to a more recent one from dpkg. This
ticktock35 [Mon, 15 Dec 2008 04:51:34 +0000 (04:51 +0000)]
opkg: Update the version comparision to a more recent one from dpkg. This
means it now recognises 0.0-foo > 0.0+foo as it should. Patch from Richard
Purdie <rpurdie rpsys net>

git-svn-id: http://opkg.googlecode.com/svn/trunk@40 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: implement removal of auto-installed packages
ticktock35 [Mon, 15 Dec 2008 04:51:23 +0000 (04:51 +0000)]
opkg: implement removal of auto-installed packages

git-svn-id: http://opkg.googlecode.com/svn/trunk@39 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: use strdup() to prevent memory corruption
ticktock35 [Mon, 15 Dec 2008 04:51:11 +0000 (04:51 +0000)]
opkg: use strdup() to prevent memory corruption

git-svn-id: http://opkg.googlecode.com/svn/trunk@38 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: add autoremove command line option
ticktock35 [Mon, 15 Dec 2008 04:46:49 +0000 (04:46 +0000)]
opkg: add autoremove command line option

git-svn-id: http://opkg.googlecode.com/svn/trunk@37 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: distcheck fixes
ticktock35 [Mon, 15 Dec 2008 04:45:31 +0000 (04:45 +0000)]
opkg: distcheck fixes

git-svn-id: http://opkg.googlecode.com/svn/trunk@36 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: remove redundant etc directory
ticktock35 [Mon, 15 Dec 2008 04:44:59 +0000 (04:44 +0000)]
opkg: remove redundant etc directory

git-svn-id: http://opkg.googlecode.com/svn/trunk@35 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: move tests into a separate directory
ticktock35 [Mon, 15 Dec 2008 04:38:19 +0000 (04:38 +0000)]
opkg: move tests into a separate directory

git-svn-id: http://opkg.googlecode.com/svn/trunk@34 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: re-arrange source code into sub-directories
ticktock35 [Mon, 15 Dec 2008 04:25:08 +0000 (04:25 +0000)]
opkg: re-arrange source code into sub-directories

git-svn-id: http://opkg.googlecode.com/svn/trunk@33 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: correct the name of the state changed callback and run it when appropriate
ticktock35 [Mon, 15 Dec 2008 04:22:05 +0000 (04:22 +0000)]
opkg: correct the name of the state changed callback and run it when appropriate

git-svn-id: http://opkg.googlecode.com/svn/trunk@32 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: include opkg_state.h in libopkg_include_HEADERS
ticktock35 [Mon, 15 Dec 2008 04:21:56 +0000 (04:21 +0000)]
opkg: include opkg_state.h in libopkg_include_HEADERS

git-svn-id: http://opkg.googlecode.com/svn/trunk@31 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: fix gpg enabled builds and fix one compiler warning
ticktock35 [Mon, 15 Dec 2008 04:21:48 +0000 (04:21 +0000)]
opkg: fix gpg enabled builds and fix one compiler warning

git-svn-id: http://opkg.googlecode.com/svn/trunk@30 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: disable gpgme header if gpgme disabled from configure
ticktock35 [Mon, 15 Dec 2008 04:21:39 +0000 (04:21 +0000)]
opkg: disable gpgme header if gpgme disabled from configure

git-svn-id: http://opkg.googlecode.com/svn/trunk@29 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: make gpg support optional
ticktock35 [Mon, 15 Dec 2008 04:21:31 +0000 (04:21 +0000)]
opkg: make gpg support optional

git-svn-id: http://opkg.googlecode.com/svn/trunk@28 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: add downloading, configuring and installing state changes
ticktock35 [Mon, 15 Dec 2008 04:21:21 +0000 (04:21 +0000)]
opkg: add downloading, configuring and installing state changes

git-svn-id: http://opkg.googlecode.com/svn/trunk@27 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: add internal state framework
ticktock35 [Mon, 15 Dec 2008 04:21:07 +0000 (04:21 +0000)]
opkg: add internal state framework

git-svn-id: http://opkg.googlecode.com/svn/trunk@26 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: fix pkg_parse_raw() bug where architecture is set to an invalid value
ticktock35 [Mon, 15 Dec 2008 04:20:55 +0000 (04:20 +0000)]
opkg: fix pkg_parse_raw() bug where architecture is set to an invalid value

git-svn-id: http://opkg.googlecode.com/svn/trunk@25 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: add a status flag to record if the package was automatically installed to
ticktock35 [Mon, 15 Dec 2008 04:20:45 +0000 (04:20 +0000)]
opkg: add a status flag to record if the package was automatically installed to
      satisfy a dependency

git-svn-id: http://opkg.googlecode.com/svn/trunk@24 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: protect against total being zero when calculation percentage
ticktock35 [Mon, 15 Dec 2008 04:20:28 +0000 (04:20 +0000)]
opkg: protect against total being zero when calculation percentage

git-svn-id: http://opkg.googlecode.com/svn/trunk@23 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: improve download error reporting
ticktock35 [Mon, 15 Dec 2008 04:20:20 +0000 (04:20 +0000)]
opkg: improve download error reporting

git-svn-id: http://opkg.googlecode.com/svn/trunk@22 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: initial implementation of package list signature verification
ticktock35 [Mon, 15 Dec 2008 04:20:10 +0000 (04:20 +0000)]
opkg: initial implementation of package list signature verification

git-svn-id: http://opkg.googlecode.com/svn/trunk@21 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: fix configure checks for gpgme
ticktock35 [Mon, 15 Dec 2008 04:19:59 +0000 (04:19 +0000)]
opkg: fix configure checks for gpgme

git-svn-id: http://opkg.googlecode.com/svn/trunk@20 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: add configure check for libgpgme
ticktock35 [Mon, 15 Dec 2008 04:19:50 +0000 (04:19 +0000)]
opkg: add configure check for libgpgme

git-svn-id: http://opkg.googlecode.com/svn/trunk@19 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: apply "2-pkg-vec--Optimize-gross-inefficiency.patch" from OpenEmbedded
ticktock35 [Mon, 15 Dec 2008 04:19:43 +0000 (04:19 +0000)]
opkg: apply "2-pkg-vec--Optimize-gross-inefficiency.patch" from OpenEmbedded

  pkg_vec: Optimize gross inefficiency.

  This module tries to implement *unique* vector (without duplicating objects),
  and does this by iterating thru all already existing elements.  Thus,
  complexity of adding N elements was O(N^2). However, there're no grave reasons
  to do uniqueness at all:

  1. First of all, if feeds are correct, there won't be duplicates.
  2. Then, even if there will be, there won't be serious problems like
     segfaults.
  3. Finally, for quite a few operations vectors is constructed from a
     hashtable, thus uniqueness is guaranteed (which reduces possible cases of
     non-uniqueness to values of Depends: and friends).

  All an all, remove dup check, and make ipkg work order of magnitude faster on
  a feed with few thousands of packages.

git-svn-id: http://opkg.googlecode.com/svn/trunk@18 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: apply "1-pkg-parse--Optimize-inefficient-parsing.patch" from OpenEmbedded
ticktock35 [Mon, 15 Dec 2008 04:19:35 +0000 (04:19 +0000)]
opkg: apply "1-pkg-parse--Optimize-inefficient-parsing.patch" from OpenEmbedded

  pkg_parse: Optimize inefficient parsing.  Instead of expensively probing all
  fields in row, dispatch based on the first letter of the field. Tests show ~12
  times reduction in number of calls to low-level parsing functions.

git-svn-id: http://opkg.googlecode.com/svn/trunk@17 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: don't print "Successfully terminated." message
ticktock35 [Mon, 15 Dec 2008 04:19:26 +0000 (04:19 +0000)]
opkg: don't print "Successfully terminated." message

git-svn-id: http://opkg.googlecode.com/svn/trunk@16 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: fix some compiler warnings
ticktock35 [Mon, 15 Dec 2008 04:19:18 +0000 (04:19 +0000)]
opkg: fix some compiler warnings

git-svn-id: http://opkg.googlecode.com/svn/trunk@15 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: don't report the same download percentage multiple times
ticktock35 [Mon, 15 Dec 2008 04:19:03 +0000 (04:19 +0000)]
opkg: don't report the same download percentage multiple times

git-svn-id: http://opkg.googlecode.com/svn/trunk@14 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: include the current url being downloaded in the progress callback
ticktock35 [Mon, 15 Dec 2008 04:18:54 +0000 (04:18 +0000)]
opkg: include the current url being downloaded in the progress callback

git-svn-id: http://opkg.googlecode.com/svn/trunk@13 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: Fix #ifdef
ticktock35 [Mon, 15 Dec 2008 04:18:41 +0000 (04:18 +0000)]
opkg: Fix #ifdef

git-svn-id: http://opkg.googlecode.com/svn/trunk@12 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years ago* Add proxy username/password support
ticktock35 [Mon, 15 Dec 2008 04:18:33 +0000 (04:18 +0000)]
* Add proxy username/password support

git-svn-id: http://opkg.googlecode.com/svn/trunk@11 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: add a download progress callback hook to libopkg
ticktock35 [Mon, 15 Dec 2008 04:18:25 +0000 (04:18 +0000)]
opkg: add a download progress callback hook to libopkg

git-svn-id: http://opkg.googlecode.com/svn/trunk@10 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoopkg: fix progress bar
ticktock35 [Mon, 15 Dec 2008 04:18:16 +0000 (04:18 +0000)]
opkg: fix progress bar

git-svn-id: http://opkg.googlecode.com/svn/trunk@9 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years ago* Rename top level ipkg directory to opkg
ticktock35 [Mon, 15 Dec 2008 04:18:06 +0000 (04:18 +0000)]
* Rename top level ipkg directory to opkg

git-svn-id: http://opkg.googlecode.com/svn/trunk@8 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoipkg: add a simple progress bar while downloading
ticktock35 [Mon, 15 Dec 2008 04:15:38 +0000 (04:15 +0000)]
ipkg: add a simple progress bar while downloading

git-svn-id: http://opkg.googlecode.com/svn/trunk@7 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoipkg: remove more auto-generated files
ticktock35 [Mon, 15 Dec 2008 04:15:30 +0000 (04:15 +0000)]
ipkg: remove more auto-generated files

git-svn-id: http://opkg.googlecode.com/svn/trunk@6 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoipkg: replace wget with libcurl functions
ticktock35 [Mon, 15 Dec 2008 04:15:16 +0000 (04:15 +0000)]
ipkg: replace wget with libcurl functions

git-svn-id: http://opkg.googlecode.com/svn/trunk@5 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoipkg: remove auto-generated files
ticktock35 [Mon, 15 Dec 2008 04:15:05 +0000 (04:15 +0000)]
ipkg: remove auto-generated files

git-svn-id: http://opkg.googlecode.com/svn/trunk@4 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years ago* Add ipkg for future development
ticktock35 [Mon, 15 Dec 2008 04:10:56 +0000 (04:10 +0000)]
* Add ipkg for future development

git-svn-id: http://opkg.googlecode.com/svn/trunk@3 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoinitial dir
ticktock35 [Mon, 15 Dec 2008 03:43:03 +0000 (03:43 +0000)]
initial dir

git-svn-id: http://opkg.googlecode.com/svn/trunk@2 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

15 years agoInitial directory structure.
(no author) [Sat, 13 Dec 2008 05:50:13 +0000 (05:50 +0000)]
Initial directory structure.

git-svn-id: http://opkg.googlecode.com/svn/trunk@1 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358