summaryrefslogtreecommitdiffstats
path: root/libopkg
Commit message (Collapse)AuthorAgeFilesLines
* 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
* opkg: improve download callback handling and integrate into ↵ticktock352008-12-154-40/+59
| | | | | | 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: remove unused variableticktock352008-12-151-1/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@82 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* libopkg: remove default progress barticktock352008-12-151-23/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@81 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add progress callbacks to libopkg apiticktock352008-12-152-15/+41
| | | | | | | | 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-152-0/+44
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@77 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: fix header include path issuesticktock352008-12-152-2/+2
| | | | 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