summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Maks sure scripts get packaged florian.boor2009-11-271-0/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@402 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix typo in file name in order to fix distcheck.florian.boor2009-11-271-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@401 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove unused parameter from pkg_hash_fetch_best_installation_candidate().graham.gower2009-11-277-19/+20
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@397 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Finding a provider which is has an incompatible arch should not preventgraham.gower2009-11-271-5/+14
| | | | | | the installation of others which are compatible. git-svn-id: http://opkg.googlecode.com/svn/trunk@396 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove enum opkg_error.graham.gower2009-11-268-134/+65
| | | | | | | | The return codes aren't particularly useful and trying to have a useful one for every error scenario would be like extending errno. Good error messages via opkg_message() are far more appropriate. git-svn-id: http://opkg.googlecode.com/svn/trunk@395 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Be slightly less verbose by default.graham.gower2009-11-261-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@394 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix some errno abuse.graham.gower2009-11-264-13/+6
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@393 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Check the unzip child process for errors and pass the upwards. Also, avoid ↵graham.gower2009-11-264-8/+53
| | | | | | child from being killed by SIGPIPE. git-svn-id: http://opkg.googlecode.com/svn/trunk@392 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Provide error checking for users of pkg_extract_* functions.graham.gower2009-11-265-23/+80
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@391 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add error checking to deb_extract(), unarchive(), extract_archive(). et al.graham.gower2009-11-263-81/+102
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@390 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add __FUNCTION__ to the error mesage.graham.gower2009-11-261-2/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@389 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Name it after what it does: s/extract_to_stdout/extract_to_stream/graham.gower2009-11-263-3/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@388 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add missing includepixdamix2009-11-261-0/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@387 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix problem introduced in r382. Pointed out by jlc, thanks!graham.gower2009-11-261-3/+7
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@386 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* libbb.h cleanup.graham.gower2009-11-254-276/+6
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@385 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Various unarchive.c cleanups.graham.gower2009-11-251-54/+42
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@384 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove str_util.{c,h}graham.gower2009-11-2511-96/+14
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@383 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* file_util.c cleanups. Remove redundant str_chomp from str_util.c.graham.gower2009-11-257-79/+64
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@382 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* malloc -> xmallocgraham.gower2009-11-251-2/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@381 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Minor cleanup for opkg_upgrade.cgraham.gower2009-11-251-17/+25
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@380 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Propagate errors upwards.graham.gower2009-11-252-11/+27
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@379 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Various clean ups.graham.gower2009-11-252-286/+255
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@378 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Return void, not int.graham.gower2009-11-252-5/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@377 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix duplicate and add a name.graham.gower2009-11-251-2/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@376 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add a list of Contributors (appologies to any missed)pixdamix2009-11-251-0/+32
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@375 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Plug leaks found when using --force-removal-of-dependent-packages.graham.gower2009-11-251-3/+5
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@374 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Various cleanups in opkg_remove.{c,h}graham.gower2009-11-253-86/+47
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@373 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Various cleanups for pkg.{c,h}.graham.gower2009-11-242-253/+260
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@372 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* One more TODO.graham.gower2009-11-241-0/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@371 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add vim swp files.graham.gower2009-11-241-0/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@370 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove unused functions. Shuffle things around and remove forward declarations.graham.gower2009-11-242-685/+516
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@369 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Make a couple of functions static, and return void since they cannot fail.graham.gower2009-11-243-35/+20
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@368 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Update README and TODO. Add myself to AUTHORS.graham.gower2009-11-243-44/+34
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@367 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add a .gitignore file for the ones using git-svnpixdamix2009-11-241-0/+61
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@366 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix warning on 64bit arches.graham.gower2009-11-241-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@365 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* shave: making the autotools output sanepixdamix2009-11-245-0/+238
| | | | | | | | | | Use shave (http://git.lespiau.name/cgit/shave) to make compilation more human friendly. Shave is enabled by default, Use --disable-shave to see the actual compiler and linker commands being executed. git-svn-id: http://opkg.googlecode.com/svn/trunk@364 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Clean up opkg_depends_cmd() and opkg_what_depends_conflicts_cmd().graham.gower2009-11-241-132/+132
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@363 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Do the right thing if we have a version but no constraint.graham.gower2009-11-241-2/+2
| | | | | | The package maintainer shouldn't do this, but it happens ocassionally. git-svn-id: http://opkg.googlecode.com/svn/trunk@362 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Provide a more useful comment.graham.gower2009-11-241-2/+6
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@361 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove the purge command. Undocumented and only duplicates remove functionality.graham.gower2009-11-233-40/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@360 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove list_pending command. Undocumented and the pending_dir was unpopulated.graham.gower2009-11-233-46/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@359 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove dead code in opkg_remove_cmd().graham.gower2009-11-231-73/+33
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@358 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove useless memory allocation and strcpy.graham.gower2009-11-231-5/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@357 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove remaining uses of pkg->*_str arrays and free() them after parsing.graham.gower2009-11-232-36/+39
| | | | | | Saves about 800kb in peak memory usage for my package list (6000 packages). git-svn-id: http://opkg.googlecode.com/svn/trunk@356 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix a leak found when using --force-reinstall.graham.gower2009-11-231-2/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@355 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* There should be a space before the bracket.graham.gower2009-11-231-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@354 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix pkg_depend_str() to not use pkg->depends_str.graham.gower2009-11-233-48/+71
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@353 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* There is no need to use a buffer at all.graham.gower2009-11-231-12/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@352 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Allow to install a package from a read-only dirpixdamix2009-11-234-6/+8
| | | | | | | | This patch allows to install a package which is located on a readonly filesystem or folder by moving the control file into the tmp_dir directory git-svn-id: http://opkg.googlecode.com/svn/trunk@351 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix an unfortunate typo.graham.gower2009-11-232-2/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@350 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358