summaryrefslogtreecommitdiffstats
path: root/libopkg
Commit message (Collapse)AuthorAgeFilesLines
...
* opkg: mark one line that cause crash.ticktock352008-12-151-1/+2
| | | | | | | | 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
* 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: make .opk as the default opkg file extensionticktock352008-12-156-6/+8
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@141 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: balance the installed_files reference countticktock352008-12-153-0/+5
| | | | | | | | reducing some memory leaks git-svn-id: http://opkg.googlecode.com/svn/trunk@140 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: fix some memory leak and double free issues.ticktock352008-12-152-9/+17
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@139 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: Fix a bug that ap may undefined.ticktock352008-12-151-1/+3
| | | | | | | | by Alexandros Kostopoulos <akostop@inaccessnetworks.com> git-svn-id: http://opkg.googlecode.com/svn/trunk@138 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-152-0/+66
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@136 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: let args_init return 0 is successfulticktock352008-12-151-1/+4
| | | | | | | | returns errno if some error happens git-svn-id: http://opkg.googlecode.com/svn/trunk@135 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: Don't attempt to check the validity of a repository if package did notticktock352008-12-151-14/+18
| | | | | | | | come from a known source git-svn-id: http://opkg.googlecode.com/svn/trunk@134 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: Fix a small memory leak in opkg_download.ticktock352008-12-151-0/+2
| | | | | | | | Patch from Alexandros Kostopoulos <akostop@inaccessnetworks.com> git-svn-id: http://opkg.googlecode.com/svn/trunk@133 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: remove unused codeticktock352008-12-155-457/+6
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@132 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: Convert "multiple packages" message to NOTICE rather than ERRORticktock352008-12-151-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@131 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: Consolidate error reporting from opkg_conf_init and ensure return value isticktock352008-12-157-24/+72
| | | | | | | | | | | 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: update error messageticktock352008-12-151-2/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@129 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: consolidate error enums and add an error for when no package matchesticktock352008-12-1510-70/+87
| | | | | | | | 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-154-28/+78
| | | | | | 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-157-25/+2
| | | | | | familiar_revision pointer from the pkg struct git-svn-id: http://opkg.googlecode.com/svn/trunk@118 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: strdup the command line arguments so we can free the struct properly laterticktock352008-12-151-2/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@117 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: (leak fixing, day 3) fixed final memory leaks fixed reported fromticktock352008-12-152-0/+4
| | | | | | | | running libopkg_test git-svn-id: http://opkg.googlecode.com/svn/trunk@116 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: (leak fixing, day 2) lots and lots of memory leaks fixedticktock352008-12-1513-31/+80
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@115 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: (leak fixing, day 1) lots and lots of memory leaks fixedticktock352008-12-157-9/+111
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@114 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: set callbacks before opkg_conf_initticktock352008-12-151-3/+4
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@113 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: remove verbose_wget optionticktock352008-12-154-15/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@112 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-152-10/+23
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@107 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: * Add opkg-key utilityticktock352008-12-151-3/+25
| | | | | | | | | * 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
* opkg: fix distcheck issuesticktock352008-12-151-3/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@105 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: remove per-target CFLAGSticktock352008-12-151-2/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@104 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add default message handlerticktock352008-12-151-3/+10
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@103 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: add header guards to libopkg/opkg.hticktock352008-12-151-0/+6
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@101 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-152-30/+85
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@99 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add more attributes to opkg_package_tticktock352008-12-152-3/+9
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@98 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add extra data to libopkg progress callbacksticktock352008-12-152-47/+83
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@97 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add some extra error checks to opkg_verify_file()ticktock352008-12-151-0/+4
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@96 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: implement opkg_list_upgradable_packages functionticktock352008-12-152-2/+53
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@95 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: clean up libopkg Makefile.am a bitticktock352008-12-151-7/+6
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@94 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 proper reordering of packages before configuring.ticktock352008-12-151-1/+107
| | | | | | | | Patch from Alexandros Kostopoulos <akostop inaccessnetworks com> git-svn-id: http://opkg.googlecode.com/svn/trunk@91 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: implement package listing in new libopkgticktock352008-12-152-0/+101
| | | | 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