summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg.c
Commit message (Collapse)AuthorAgeFilesLines
* [opkg] fixing typo & incompatible part to gcc 4.3.2ticktock352008-12-151-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@150 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* remove build error on gcc 3.4ticktock352008-12-151-0/+2
| | | | | | | | Thanks for jserv found and fix this. git-svn-id: http://opkg.googlecode.com/svn/trunk@145 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: remove a serious memory leakticktock352008-12-151-1/+8
| | | | | | | | 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
* opkg: write the status change after actually updated.ticktock352008-12-151-0/+5
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@137 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: adding repository check functionticktock352008-12-151-0/+65
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@136 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: Consolidate error reporting from opkg_conf_init and ensure return value isticktock352008-12-151-2/+17
| | | | | | | | | | | 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
* opkg: consolidate error enums and add an error for when no package matchesticktock352008-12-151-16/+17
| | | | | | | | current architecture git-svn-id: http://opkg.googlecode.com/svn/trunk@128 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg.c moving the sig_file_name into the section of HAVE_GPGMEticktock352008-12-151-1/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@127 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: run pre-install check before listing upgradable packages to ensure allticktock352008-12-151-0/+3
| | | | | | | | data is valid. Fixes bug 1433. git-svn-id: http://opkg.googlecode.com/svn/trunk@125 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: update error handling for opkg_update_pkg in opkg.c and bump version ↵ticktock352008-12-151-1/+14
| | | | | | number git-svn-id: http://opkg.googlecode.com/svn/trunk@124 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: improve opkg_install error reporting and include a check to verify ↵ticktock352008-12-151-13/+25
| | | | | | repository signature during install git-svn-id: http://opkg.googlecode.com/svn/trunk@123 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: report errors from opkg_remove_pkgticktock352008-12-151-5/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@121 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: fix typosticktock352008-12-151-2/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@120 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: improve error reportingticktock352008-12-151-4/+21
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@119 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: remove redundant multiple_providers option and also remove redundant ↵ticktock352008-12-151-1/+0
| | | | | | familiar_revision pointer from the pkg struct git-svn-id: http://opkg.googlecode.com/svn/trunk@118 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: (leak fixing, day 2) lots and lots of memory leaks fixedticktock352008-12-151-7/+8
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@115 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: re-read package lists after updateticktock352008-12-151-0/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@111 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add some error codes to libopkgticktock352008-12-151-10/+11
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@107 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: download required packages before install and report progress to clientsticktock352008-12-151-14/+91
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@102 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: protect against NULL srcticktock352008-12-151-1/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@100 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: implement opkg_find_package()ticktock352008-12-151-29/+84
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@99 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add more attributes to opkg_package_tticktock352008-12-151-2/+6
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@98 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add extra data to libopkg progress callbacksticktock352008-12-151-46/+68
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@97 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: implement opkg_list_upgradable_packages functionticktock352008-12-151-1/+51
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@95 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: prevent segfault if option is not foundticktock352008-12-151-1/+8
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@93 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: implement package listing in new libopkgticktock352008-12-151-0/+80
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@90 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: minor white space and indent fixesticktock352008-12-151-10/+10
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@88 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: implement new opkg_upgrade_package and opkg_upgrade_all functionsticktock352008-12-151-2/+69
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@87 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: improve download callback handling and integrate into ↵ticktock352008-12-151-3/+44
| | | | | | opkg_update_package_lists git-svn-id: http://opkg.googlecode.com/svn/trunk@86 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add some safety macrosticktock352008-12-151-26/+47
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@84 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: fix problems in opkg_install_package and implement opkg_remove_packageticktock352008-12-151-3/+69
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@83 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add progress callbacks to libopkg apiticktock352008-12-151-10/+35
| | | | | | | | libopkg: fix opkg_install_package() git-svn-id: http://opkg.googlecode.com/svn/trunk@80 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* libopkg: add some checks for NULL stringsticktock352008-12-151-6/+15
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@78 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* libopkg: add opkg_read_config_files() functionticktock352008-12-151-0/+43
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@77 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: fix header include path issuesticktock352008-12-151-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@75 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: fix option array handlingticktock352008-12-151-19/+24
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@74 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: various white space cleanups and implement opkg_update_package_liststicktock352008-12-151-32/+173
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@72 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: implement opkg_set_option() and opkg_get_option()ticktock352008-12-151-0/+75
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@71 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: start new libopkg api in opkg.{c,h} and remove all other header filesticktock352008-12-151-0/+156
| | | | | | | | from being copied to includes git-svn-id: http://opkg.googlecode.com/svn/trunk@70 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: remove old opkg.cticktock352008-12-151-81/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@62 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: re-arrange source code into sub-directoriesticktock352008-12-141-0/+81
git-svn-id: http://opkg.googlecode.com/svn/trunk@33 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358