oweals/opkg-lede.git
15 years agoopkg: introduce active list into pkg_t
ticktock35 [Mon, 15 Dec 2008 05:33:16 +0000 (05:33 +0000)]
opkg: introduce active list into pkg_t

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

15 years agoopkg: update the the author infomation
ticktock35 [Mon, 15 Dec 2008 05:33:03 +0000 (05:33 +0000)]
opkg: update the the author infomation
Since my e-mail account had been deleted for some reason,
and I cannot get mail from that account, update a vaild one.
So that I can keep in touch with people who want to help opkg. :)

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

15 years agoopkg: reinitial node of active_list after clear
ticktock35 [Mon, 15 Dec 2008 05:32:57 +0000 (05:32 +0000)]
opkg: reinitial node of active_list after clear

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

15 years agoopkg: implment active_list_clear()
ticktock35 [Mon, 15 Dec 2008 05:32:47 +0000 (05:32 +0000)]
opkg: implment active_list_clear()

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

15 years agoopkg: implement active_list_prev and test cases.
ticktock35 [Mon, 15 Dec 2008 05:32:34 +0000 (05:32 +0000)]
opkg: implement active_list_prev and test cases.

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

15 years agoopkg: refactory active_list_next remove unnecessary field.
ticktock35 [Mon, 15 Dec 2008 05:32:19 +0000 (05:32 +0000)]
opkg: refactory active_list_next  remove unnecessary field.

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

15 years agoopkg: active_list tests
ticktock35 [Mon, 15 Dec 2008 05:32:04 +0000 (05:32 +0000)]
opkg: active_list tests

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

15 years agoopkg: introduce the protype of active_list
ticktock35 [Mon, 15 Dec 2008 05:31:50 +0000 (05:31 +0000)]
opkg: introduce the protype of active_list
     This can be used for upgrade path

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

15 years agoopkg: fixing some trivial defects while reviewing code
ticktock35 [Mon, 15 Dec 2008 05:31:34 +0000 (05:31 +0000)]
opkg: fixing some trivial defects while reviewing code

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

15 years agoadding list_upgradable
ticktock35 [Mon, 15 Dec 2008 05:31:22 +0000 (05:31 +0000)]
adding list_upgradable

opkg: refactory the upgradable list

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

15 years agoopkg: using calloc to replace the malloc, initialize varaiable
ticktock35 [Mon, 15 Dec 2008 05:31:04 +0000 (05:31 +0000)]
opkg: using calloc to replace the malloc, initialize varaiable

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

15 years agoopkg: trivial just indent
ticktock35 [Mon, 15 Dec 2008 05:30:54 +0000 (05:30 +0000)]
opkg: trivial just indent

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

15 years agoopkg: remove the free_error_list wrong usage bug
ticktock35 [Mon, 15 Dec 2008 05:30:44 +0000 (05:30 +0000)]
opkg: remove the free_error_list wrong usage bug
Thanks for manitu

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

15 years agoopkg: adding the hash_table_remove API, not using yet.
ticktock35 [Mon, 15 Dec 2008 05:30:29 +0000 (05:30 +0000)]
opkg: adding the hash_table_remove API, not using yet.
Just complete the API for future usage.
Clean all the entry at initial time. This reduces planty of unnecessary check.
In order to prevent this kind of bug, using calloc to replace most malloc

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

15 years agoopkg: making hash_table_insert works as real hash_table.
ticktock35 [Mon, 15 Dec 2008 05:29:50 +0000 (05:29 +0000)]
opkg: making hash_table_insert works as real hash_table.
solving the update_file_ownership misbehaviour issue, and redundent installed files issue.

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

15 years agoopkg: mark the pkg SF as !SF_FILELIST_CHANGED after write back.
ticktock35 [Mon, 15 Dec 2008 05:29:40 +0000 (05:29 +0000)]
opkg: mark the pkg SF  as !SF_FILELIST_CHANGED after write back.

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

15 years agoopkg: trivial, clean up obsolete code, and some typo
ticktock35 [Mon, 15 Dec 2008 05:29:30 +0000 (05:29 +0000)]
opkg: trivial, clean up obsolete code, and some typo

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

15 years agoopkg: only cache the packages
ticktock35 [Mon, 15 Dec 2008 05:29:12 +0000 (05:29 +0000)]
opkg: only cache the packages
 thanks Werner.

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

15 years agoopkg: add a simple way to pass a path environment for pre/post scription execution...
ticktock35 [Mon, 15 Dec 2008 05:29:02 +0000 (05:29 +0000)]
opkg: add a simple way to pass a path environment for pre/post scription execution when in offline mode.

Thanks for Christopher Hall <hsw@openmoko.com>

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

15 years agoopkg: adding cache support
ticktock35 [Mon, 15 Dec 2008 05:28:44 +0000 (05:28 +0000)]
opkg:  adding cache support

   opkg-cl --cache <cache_directory>

   Thank for Werner

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

15 years agoClean up some out of date TODOs
ticktock35 [Mon, 15 Dec 2008 05:28:25 +0000 (05:28 +0000)]
Clean up some out of date TODOs
Keep some still valid, or what I am not sure about.

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

15 years agoopkg: remove ChangeLog, add AUTHORS, remove maintainer-mode
ticktock35 [Mon, 15 Dec 2008 05:28:19 +0000 (05:28 +0000)]
opkg: remove ChangeLog, add AUTHORS, remove maintainer-mode

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

15 years agoopkg: attached patch fixes build failures with gcc 4.3.2. patch by Enrico Scholz...
ticktock35 [Mon, 15 Dec 2008 05:28:08 +0000 (05:28 +0000)]
opkg: attached patch fixes build failures with gcc 4.3.2. patch by Enrico Scholz -- thanks!

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

15 years ago[opkg] fixing typo & incompatible part to gcc 4.3.2
ticktock35 [Mon, 15 Dec 2008 05:27:58 +0000 (05:27 +0000)]
[opkg] fixing typo & incompatible part to gcc 4.3.2

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

15 years agoPatch from rwhitby to follow 302 redirects properly.
ticktock35 [Mon, 15 Dec 2008 05:27:43 +0000 (05:27 +0000)]
Patch from rwhitby to follow 302 redirects properly.

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

15 years ago[opkg] trivial, remove unused variable res
ticktock35 [Mon, 15 Dec 2008 05:27:33 +0000 (05:27 +0000)]
[opkg] trivial, remove unused variable res

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

15 years ago[opkg] Remove the orphan packages while upgrading
ticktock35 [Mon, 15 Dec 2008 05:27:24 +0000 (05:27 +0000)]
[opkg] Remove the orphan packages while upgrading

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

15 years ago[opkg] fix opkg crashes if PATH is unset
ticktock35 [Mon, 15 Dec 2008 05:27:15 +0000 (05:27 +0000)]
[opkg] fix opkg crashes if PATH is unset

Thanks for chgros

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

15 years agoremove build error on gcc 3.4
ticktock35 [Mon, 15 Dec 2008 05:27:05 +0000 (05:27 +0000)]
remove build error on gcc 3.4
Thanks for jserv found and fix this.

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

15 years agoopkg: fix the crashing issue.
ticktock35 [Mon, 15 Dec 2008 05:26:51 +0000 (05:26 +0000)]
opkg: fix the crashing issue.
      It's a hanging pointer.
      Using installed_files without get and free

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

15 years agoopkg: mark one line that cause crash.
ticktock35 [Mon, 15 Dec 2008 05:26:39 +0000 (05:26 +0000)]
opkg: mark one line that cause crash.
      But it will makes the system failed in reference count.

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

15 years agoopkg: remove a serious memory leak
ticktock35 [Mon, 15 Dec 2008 05:26:29 +0000 (05:26 +0000)]
opkg: remove a serious memory leak
      when searching every package opkg will clone the package but never released.

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

15 years agoopkg: make .opk as the default opkg file extension
ticktock35 [Mon, 15 Dec 2008 05:26:19 +0000 (05:26 +0000)]
opkg: make .opk as the default opkg file extension

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

15 years agoopkg: balance the installed_files reference count
ticktock35 [Mon, 15 Dec 2008 05:26:01 +0000 (05:26 +0000)]
opkg: balance the installed_files reference count
      reducing some memory leaks

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

15 years agoopkg: fix some memory leak and double free issues.
ticktock35 [Mon, 15 Dec 2008 05:25:48 +0000 (05:25 +0000)]
opkg: fix some memory leak and double free issues.

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

15 years agoopkg: Fix a bug that ap may undefined.
ticktock35 [Mon, 15 Dec 2008 05:25:37 +0000 (05:25 +0000)]
opkg: Fix a bug that ap may undefined.
  by Alexandros Kostopoulos <akostop@inaccessnetworks.com>

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

15 years agoopkg: write the status change after actually updated.
ticktock35 [Mon, 15 Dec 2008 05:25:26 +0000 (05:25 +0000)]
opkg: write the status change after actually updated.

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

15 years agoopkg: adding repository check function
ticktock35 [Mon, 15 Dec 2008 05:23:29 +0000 (05:23 +0000)]
opkg: adding repository check function

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

15 years ago opkg: let args_init return 0 is successful
ticktock35 [Mon, 15 Dec 2008 05:23:15 +0000 (05:23 +0000)]
 opkg: let args_init return 0 is successful
returns errno if some error happens

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

15 years agoopkg: Don't attempt to check the validity of a repository if package did not
ticktock35 [Mon, 15 Dec 2008 05:22:59 +0000 (05:22 +0000)]
opkg: Don't attempt to check the validity of a repository if package did not
      come from a known source

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

15 years agoopkg: Fix a small memory leak in opkg_download.
ticktock35 [Mon, 15 Dec 2008 05:22:49 +0000 (05:22 +0000)]
opkg: Fix a small memory leak in opkg_download.
      Patch from Alexandros Kostopoulos <akostop@inaccessnetworks.com>

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

15 years agoopkg: remove unused code
ticktock35 [Mon, 15 Dec 2008 05:22:38 +0000 (05:22 +0000)]
opkg: remove unused code

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

15 years agoopkg: Convert "multiple packages" message to NOTICE rather than ERROR
ticktock35 [Mon, 15 Dec 2008 05:22:22 +0000 (05:22 +0000)]
opkg: Convert "multiple packages" message to NOTICE rather than ERROR

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

15 years agoopkg: Consolidate error reporting from opkg_conf_init and ensure return value is
ticktock35 [Mon, 15 Dec 2008 05:22:06 +0000 (05:22 +0000)]
opkg: Consolidate error reporting from opkg_conf_init and ensure return value is
      checked in the appropriate places.

opkg: Add a locking mechanism to prevent two instances of opkg being run at the
      same time.

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

15 years agoopkg: update error message
ticktock35 [Mon, 15 Dec 2008 05:21:47 +0000 (05:21 +0000)]
opkg: update error message

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

15 years agoopkg: consolidate error enums and add an error for when no package matches
ticktock35 [Mon, 15 Dec 2008 05:21:36 +0000 (05:21 +0000)]
opkg: consolidate error enums and add an error for when no package matches
current architecture

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

15 years agoopkg.c moving the sig_file_name into the section of HAVE_GPGME
ticktock35 [Mon, 15 Dec 2008 05:21:12 +0000 (05:21 +0000)]
opkg.c moving the sig_file_name into the section of HAVE_GPGME

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

15 years agoopkg: add some command line arguments to libopkg_test
ticktock35 [Mon, 15 Dec 2008 05:21:02 +0000 (05:21 +0000)]
opkg: add some command line arguments to libopkg_test

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

15 years agoopkg: run pre-install check before listing upgradable packages to ensure all
ticktock35 [Mon, 15 Dec 2008 05:20:49 +0000 (05:20 +0000)]
opkg: run pre-install check before listing upgradable packages to ensure all
data is valid. Fixes bug 1433.

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

15 years agoopkg: update error handling for opkg_update_pkg in opkg.c and bump version number
ticktock35 [Mon, 15 Dec 2008 05:20:39 +0000 (05:20 +0000)]
opkg: update error handling for opkg_update_pkg in opkg.c and bump version number

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

15 years agoopkg: improve opkg_install error reporting and include a check to verify repository...
ticktock35 [Mon, 15 Dec 2008 05:20:28 +0000 (05:20 +0000)]
opkg: improve opkg_install error reporting and include a check to verify repository signature during install

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

15 years agoopkg: add string versions of error codes to libopkg_test
ticktock35 [Mon, 15 Dec 2008 05:20:10 +0000 (05:20 +0000)]
opkg: add string versions of error codes to libopkg_test

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

15 years agoopkg: report errors from opkg_remove_pkg
ticktock35 [Mon, 15 Dec 2008 05:20:01 +0000 (05:20 +0000)]
opkg: report errors from opkg_remove_pkg

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

15 years agoopkg: fix typos
ticktock35 [Mon, 15 Dec 2008 05:19:50 +0000 (05:19 +0000)]
opkg: fix typos

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

15 years agoopkg: improve error reporting
ticktock35 [Mon, 15 Dec 2008 05:19:40 +0000 (05:19 +0000)]
opkg: improve error reporting

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

15 years agoopkg: remove redundant multiple_providers option and also remove redundant familiar_r...
ticktock35 [Mon, 15 Dec 2008 05:19:30 +0000 (05:19 +0000)]
opkg: remove redundant multiple_providers option and also remove redundant familiar_revision pointer from the pkg struct

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

15 years agoopkg: strdup the command line arguments so we can free the struct properly later
ticktock35 [Mon, 15 Dec 2008 05:19:10 +0000 (05:19 +0000)]
opkg: strdup the command line arguments so we can free the struct properly later

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

15 years agoopkg: (leak fixing, day 3) fixed final memory leaks fixed reported from
ticktock35 [Mon, 15 Dec 2008 05:19:00 +0000 (05:19 +0000)]
opkg: (leak fixing, day 3) fixed final memory leaks fixed reported from
running libopkg_test

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

15 years agoopkg: (leak fixing, day 2) lots and lots of memory leaks fixed
ticktock35 [Mon, 15 Dec 2008 05:18:44 +0000 (05:18 +0000)]
opkg: (leak fixing, day 2) lots and lots of memory leaks fixed

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

15 years agoopkg: (leak fixing, day 1) lots and lots of memory leaks fixed
ticktock35 [Mon, 15 Dec 2008 05:18:11 +0000 (05:18 +0000)]
opkg: (leak fixing, day 1) lots and lots of memory leaks fixed

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

15 years agoopkg: set callbacks before opkg_conf_init
ticktock35 [Mon, 15 Dec 2008 05:17:51 +0000 (05:17 +0000)]
opkg: set callbacks before opkg_conf_init

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

15 years agoopkg: remove verbose_wget option
ticktock35 [Mon, 15 Dec 2008 05:17:40 +0000 (05:17 +0000)]
opkg: remove verbose_wget option

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

15 years agoopkg: re-read package lists after update
ticktock35 [Mon, 15 Dec 2008 05:17:25 +0000 (05:17 +0000)]
opkg: re-read package lists after update

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

15 years agoopkg: fix distcheck
ticktock35 [Mon, 15 Dec 2008 05:17:14 +0000 (05:17 +0000)]
opkg: fix distcheck

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

15 years agoopkg: fix remaining accidental commit
ticktock35 [Mon, 15 Dec 2008 05:17:07 +0000 (05:17 +0000)]
opkg: fix remaining accidental commit

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

15 years agoopkg: revert unintended changes in src/Makefile.am
ticktock35 [Mon, 15 Dec 2008 05:16:59 +0000 (05:16 +0000)]
opkg: revert unintended changes in src/Makefile.am

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

15 years agoopkg: add some error codes to libopkg
ticktock35 [Mon, 15 Dec 2008 05:16:50 +0000 (05:16 +0000)]
opkg: add some error codes to libopkg

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

15 years agoopkg: * Add opkg-key utility
ticktock35 [Mon, 15 Dec 2008 05:16:36 +0000 (05:16 +0000)]
opkg: * Add opkg-key utility
      * Move update-alternatives to utils directory
      * Update opkg_verify_file function to import keys from /etc/opkg

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

15 years agoopkg: fix distcheck issues
ticktock35 [Mon, 15 Dec 2008 05:16:14 +0000 (05:16 +0000)]
opkg: fix distcheck issues

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

15 years agoopkg: remove per-target CFLAGS
ticktock35 [Mon, 15 Dec 2008 05:15:57 +0000 (05:15 +0000)]
opkg: remove per-target CFLAGS

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

15 years agoopkg: add default message handler
ticktock35 [Mon, 15 Dec 2008 05:15:42 +0000 (05:15 +0000)]
opkg: add default message handler

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

15 years agoopkg: download required packages before install and report progress to clients
ticktock35 [Mon, 15 Dec 2008 05:15:32 +0000 (05:15 +0000)]
opkg: download required packages before install and report progress to clients

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

15 years agoopkg: add header guards to libopkg/opkg.h
ticktock35 [Mon, 15 Dec 2008 05:15:22 +0000 (05:15 +0000)]
opkg: add header guards to libopkg/opkg.h

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

15 years agoopkg: protect against NULL src
ticktock35 [Mon, 15 Dec 2008 05:15:12 +0000 (05:15 +0000)]
opkg: protect against NULL src

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

15 years agoopkg: implement opkg_find_package()
ticktock35 [Mon, 15 Dec 2008 05:15:01 +0000 (05:15 +0000)]
opkg: implement opkg_find_package()

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

15 years agoopkg: add more attributes to opkg_package_t
ticktock35 [Mon, 15 Dec 2008 05:14:44 +0000 (05:14 +0000)]
opkg: add more attributes to opkg_package_t

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

15 years agoopkg: add extra data to libopkg progress callbacks
ticktock35 [Mon, 15 Dec 2008 05:14:31 +0000 (05:14 +0000)]
opkg: add extra data to libopkg progress callbacks

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

15 years agoopkg: add some extra error checks to opkg_verify_file()
ticktock35 [Mon, 15 Dec 2008 05:14:14 +0000 (05:14 +0000)]
opkg: add some extra error checks to opkg_verify_file()

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

15 years agoopkg: implement opkg_list_upgradable_packages function
ticktock35 [Mon, 15 Dec 2008 05:14:04 +0000 (05:14 +0000)]
opkg: implement opkg_list_upgradable_packages function

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

15 years agoopkg: clean up libopkg Makefile.am a bit
ticktock35 [Mon, 15 Dec 2008 05:13:49 +0000 (05:13 +0000)]
opkg: clean up libopkg Makefile.am a bit

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

15 years agoopkg: prevent segfault if option is not found
ticktock35 [Mon, 15 Dec 2008 05:13:40 +0000 (05:13 +0000)]
opkg: prevent segfault if option is not found

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

15 years agoopkg: set version number and distribute pkg-config file
ticktock35 [Mon, 15 Dec 2008 05:13:31 +0000 (05:13 +0000)]
opkg: set version number and distribute pkg-config file

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

15 years agoopkg: Implement proper reordering of packages before configuring.
ticktock35 [Mon, 15 Dec 2008 05:13:22 +0000 (05:13 +0000)]
opkg: Implement proper reordering of packages before configuring.
      Patch from Alexandros Kostopoulos <akostop inaccessnetworks com>

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

15 years agoopkg: implement package listing in new libopkg
ticktock35 [Mon, 15 Dec 2008 05:13:12 +0000 (05:13 +0000)]
opkg: implement package listing in new libopkg

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

15 years agoopkg: Add upgrade and upgrade_all functions to libopkg_test
ticktock35 [Mon, 15 Dec 2008 05:12:58 +0000 (05:12 +0000)]
opkg: Add upgrade and upgrade_all functions to libopkg_test
      Improve progress display in libopkg_test

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

15 years agoopkg: minor white space and indent fixes
ticktock35 [Mon, 15 Dec 2008 05:12:49 +0000 (05:12 +0000)]
opkg: minor white space and indent fixes

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

15 years agoopkg: implement new opkg_upgrade_package and opkg_upgrade_all functions
ticktock35 [Mon, 15 Dec 2008 05:12:39 +0000 (05:12 +0000)]
opkg: implement new opkg_upgrade_package and opkg_upgrade_all functions

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

15 years agoopkg: improve download callback handling and integrate into opkg_update_package_lists
ticktock35 [Mon, 15 Dec 2008 05:12:27 +0000 (05:12 +0000)]
opkg: improve download callback handling and integrate into opkg_update_package_lists

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

15 years agoopkg: fix some initialisation and double free issues in libbb
ticktock35 [Mon, 15 Dec 2008 05:12:11 +0000 (05:12 +0000)]
opkg: fix some initialisation and double free issues in libbb

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

15 years agoopkg: add some safety macros
ticktock35 [Mon, 15 Dec 2008 05:12:00 +0000 (05:12 +0000)]
opkg: add some safety macros

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

15 years agoopkg: fix problems in opkg_install_package and implement opkg_remove_package
ticktock35 [Mon, 15 Dec 2008 05:11:50 +0000 (05:11 +0000)]
opkg: fix problems in opkg_install_package and implement opkg_remove_package

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

15 years agoopkg: remove unused variable
ticktock35 [Mon, 15 Dec 2008 05:11:34 +0000 (05:11 +0000)]
opkg: remove unused variable

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

15 years agolibopkg: remove default progress bar
ticktock35 [Mon, 15 Dec 2008 05:11:23 +0000 (05:11 +0000)]
libopkg: remove default progress bar

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

15 years agoopkg: add progress callbacks to libopkg api
ticktock35 [Mon, 15 Dec 2008 05:11:12 +0000 (05:11 +0000)]
opkg: add progress callbacks to libopkg api
libopkg: fix opkg_install_package()

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

15 years agoopkg: add opkg_read_config_files() to libopkg_test
ticktock35 [Mon, 15 Dec 2008 05:10:57 +0000 (05:10 +0000)]
opkg: add opkg_read_config_files() to libopkg_test

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

15 years agolibopkg: add some checks for NULL strings
ticktock35 [Mon, 15 Dec 2008 05:10:48 +0000 (05:10 +0000)]
libopkg: add some checks for NULL strings

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

15 years agolibopkg: add opkg_read_config_files() function
ticktock35 [Mon, 15 Dec 2008 05:10:32 +0000 (05:10 +0000)]
libopkg: add opkg_read_config_files() function

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

15 years agoopkg: add update packages lists call to libopkg_test
ticktock35 [Mon, 15 Dec 2008 05:10:21 +0000 (05:10 +0000)]
opkg: add update packages lists call to libopkg_test

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

15 years agoopkg: fix header include path issues
ticktock35 [Mon, 15 Dec 2008 05:10:13 +0000 (05:10 +0000)]
opkg: fix header include path issues

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

15 years agoopkg: fix option array handling
ticktock35 [Mon, 15 Dec 2008 05:10:01 +0000 (05:10 +0000)]
opkg: fix option array handling

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