project/opkg-lede.git
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

15 years agoopkg: add libopkg test application
ticktock35 [Mon, 15 Dec 2008 05:09:52 +0000 (05:09 +0000)]
opkg: add libopkg test application

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

15 years agoopkg: various white space cleanups and implement opkg_update_package_lists
ticktock35 [Mon, 15 Dec 2008 05:09:42 +0000 (05:09 +0000)]
opkg: various white space cleanups and implement opkg_update_package_lists

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

15 years agoopkg: implement opkg_set_option() and opkg_get_option()
ticktock35 [Mon, 15 Dec 2008 05:09:30 +0000 (05:09 +0000)]
opkg: implement opkg_set_option() and opkg_get_option()

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

15 years agoopkg: start new libopkg api in opkg.{c,h} and remove all other header files
ticktock35 [Mon, 15 Dec 2008 05:07:31 +0000 (05:07 +0000)]
opkg: start new libopkg api in opkg.{c,h} and remove all other header files
      from being copied to includes

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

15 years agoopkg: remove redundant opkg.h.in
ticktock35 [Mon, 15 Dec 2008 05:07:19 +0000 (05:07 +0000)]
opkg: remove redundant opkg.h.in

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

15 years agolibopkg: stop exporting random symbols into the wild
ticktock35 [Mon, 15 Dec 2008 05:07:12 +0000 (05:07 +0000)]
libopkg: stop exporting random symbols into the wild

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

15 years agoopkg: 's/itsy/opkg/'
ticktock35 [Mon, 15 Dec 2008 05:07:00 +0000 (05:07 +0000)]
opkg: 's/itsy/opkg/'

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

15 years agoopkg: Bug fix for Packages file with a Filename: tag with prepended path.
ticktock35 [Mon, 15 Dec 2008 05:05:24 +0000 (05:05 +0000)]
opkg: Bug fix for Packages file with a Filename: tag with prepended path.
      Patch from Alexandros Kostopoulos <akostop inaccessnetworks com>

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

15 years agoopkg: remove opkg.h in preperation for new API
ticktock35 [Mon, 15 Dec 2008 05:05:13 +0000 (05:05 +0000)]
opkg: remove opkg.h in preperation for new API

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

15 years agolibopkg: remove internal dependency on libopkg.h and opkg_cmd.h
ticktock35 [Mon, 15 Dec 2008 05:03:46 +0000 (05:03 +0000)]
libopkg: remove internal dependency on libopkg.h and opkg_cmd.h

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

15 years agoopkg: split out opkg.h
ticktock35 [Mon, 15 Dec 2008 05:03:19 +0000 (05:03 +0000)]
opkg: split out opkg.h

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

15 years agoopkg: remove old opkg.c
ticktock35 [Mon, 15 Dec 2008 05:03:06 +0000 (05:03 +0000)]
opkg: remove old opkg.c

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

15 years agoopkg: add README content, including website and mailing list details
ticktock35 [Mon, 15 Dec 2008 05:02:55 +0000 (05:02 +0000)]
opkg: add README content, including website and mailing list details

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

15 years agoopkg: fix configure check for big-endian systems
ticktock35 [Mon, 15 Dec 2008 05:02:48 +0000 (05:02 +0000)]
opkg: fix configure check for big-endian systems

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

15 years agoopkg: remove some "#if 0" code
ticktock35 [Mon, 15 Dec 2008 05:02:42 +0000 (05:02 +0000)]
opkg: remove some "#if 0" code

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

15 years ago=?utf-8?q?opkg:=20Fix=20md5=20sum=20on=20big=20endian=20systems.
ticktock35 [Mon, 15 Dec 2008 05:02:31 +0000 (05:02 +0000)]
=?utf-8?q?opkg:=20Fix=20md5=20sum=20on=20big=20endian=20systems.

=20=20=20=20=20=20=20Patch=20from=20Jeremy=20Lain=C3=A9=20<jeremy=20laine=20bolloretelecom=20eu>?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

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

15 years agoopkg: remove some printfs and replace with opkg_message where appropriate
ticktock35 [Mon, 15 Dec 2008 05:02:14 +0000 (05:02 +0000)]
opkg: remove some printfs and replace with opkg_message where appropriate

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

15 years agoopkg: use opkg_message rather than printf in opkg_verify_file()
ticktock35 [Mon, 15 Dec 2008 05:02:01 +0000 (05:02 +0000)]
opkg: use opkg_message rather than printf in opkg_verify_file()

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

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