Commit Graph

40 Commits (86397e38b55f95c1b60de5b189cb9013e42b4008)

Author SHA1 Message Date
Jo-Philipp Wich e1aabea527 [package] opkg: only select overlay_root if the install destination is root, this eliminates the need for force_space when using external destinations like usb disks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-22 11:46:49 +00:00
Jo-Philipp Wich 1ba2246e3d [package] opkg: fix invalid free triggered by 011-old-config-location.patch and replace 012-cleanup-tmpdir.patch with upstream fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-21 15:09:08 +00:00
Jo-Philipp Wich 115fa2f565 [package] opkg: the current version leaves empty temp directories behind, clean them up before exit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-21 03:28:11 +00:00
Jo-Philipp Wich 49a0eaa0ab [package] opkg: update to r503 - reduces peak memory usage by further 20%, rebased patches, restored old config file default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-20 21:21:14 +00:00
Jo-Philipp Wich b0c0b2010b [package] opkg: forgot to remove two obsolete patches in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 22:13:10 +00:00
Jo-Philipp Wich 374664f3af [package] opkg: bump to r284
- incorporates parsing improvements upstream
	- fixes a couple of memory leaks
	- fixes some null pointer dereferences
	- fixes possible crashes during removal of packages
	- various other corrections


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 21:42:05 +00:00
Jo-Philipp Wich b14afe135b [package] opkg: ignore Section, Source and Maintainer as well when ignoring descriptions, saves a few hundred KB memory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 17:16:13 +00:00
Jo-Philipp Wich 41d87fb7a8 [package] opkg:
- re-enable upgrade and restrict it to signle packages, fix usage text
	- only read package descriptions if they're actually needed (almost never),
	  saves even more space when parsing package lists
	- refresh patches


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 15:15:19 +00:00
Jo-Philipp Wich bd44398aea [package] opkg:
- replace package list parser by something that works with fixed buffers
	  to avoid slurping the whole file into memory during parsing
	- fix a possible null pointer dereference in opkg_remove_cmd()
	- get rid of upgrade, it cannot upgrade single packages and kills
	  the system in most cases
	- get rid of the flag operation, not needed
	- bump package revision


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 08:46:55 +00:00
Felix Fietkau 0ee55d9f55 opkg: get rid of libopkg, saves >10k compressed, >40k uncompressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 08:21:10 +00:00
Felix Fietkau 11ea08ec3c opkg: move the build dir to KERNEL_BUILD_DIR, as compilation is target dependent
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 15:18:38 +00:00
Felix Fietkau 6bc6300984 opkg: fix the -force_space option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-19 17:32:59 +00:00
Jo-Philipp Wich 6beb235874 [package] opkg: crlf -> lf in 001-fix-double-parsing.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-12 13:19:34 +00:00
Jo-Philipp Wich ee12684c89 [package] opkg: fix duplicate parsing of config file, move opkg.conf back to /etc, bump package revision, thanks kupseoft
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-10 22:38:37 +00:00
Imre Kaloz 25ee9c1d6b upgrade opkg to r215 from the googlecode svn
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 20:08:27 +00:00
Imre Kaloz b4ce4197c7 add special handling for the adm5120 target, which uses subtargets for different endianess -- later we should come up with something smarter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-03 11:24:56 +00:00
Imre Kaloz 85c82eb8a0 use board names instead of arch in packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-31 12:15:51 +00:00
Florian Fainelli d5444d6804 [opkg] update to r4993
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-17 17:09:12 +00:00
Andy Boyett 0a0bddcf31 [opkg] opkg.conf: update trunk snapshots url
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-17 16:49:50 +00:00
Felix Fietkau fe7233958c opkg: work around the same broken array overrun check in gcc 4.4 as in gcc 4.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30 19:38:58 +00:00
Felix Fietkau bf44f7b388 opkg: fix error message reporting caused by an uninitialized variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-28 20:39:19 +00:00
Nicolas Thill 8ae9e2cf0f [package] replace some -I & -L flags with $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) when appropriate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-24 00:08:08 +00:00
Felix Fietkau 6def772341 opkg: apparently array bounds checking is gcc 4.3 specific, move -Wno-array-bounds into TARGET_CFLAGS instead of a patch and make it conditional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-14 14:11:12 +00:00
Felix Fietkau 96cdf83459 opkg: work around a gcc warning bug related to array bounds checking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-14 10:43:15 +00:00
Felix Fietkau 1a6786c4ea fix opkg target arch detection problem on x86
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-16 16:22:01 +00:00
Felix Fietkau 3b50744bcc fix opkg overlay_root option for jffs2-only images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-21 19:52:14 +00:00
Nicolas Thill 2fd3702308 add a patch helping available storage space detection, remove workaround from [13611], bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 13:11:12 +00:00
Nicolas Thill 1133bfbf31 add a workaround preventing opkg to install anything on squashfs-based fs layouts after [13602]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-12 01:00:51 +00:00
Travis Kemen 7323a7dc30 remove GPG not enabled in this build warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-30 18:22:00 +00:00
Andy Boyett b743aa0187 [opkg] use gzipped package lists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-04 10:27:06 +00:00
Travis Kemen 1f00b02bb4 remove unneeded line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 16:46:11 +00:00
Travis Kemen 55722b974e make opkg the default package manager, disable busybox ipkg from building by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 06:35:14 +00:00
Travis Kemen 980cf1cd93 fix symlinks when installing opkg into a image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-15 04:13:21 +00:00
Florian Fainelli e068762c01 Fix opkg compilation with ccache, thanks sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-13 21:12:26 +00:00
Felix Fietkau 73a5abbb32 use $(FPIC) in a few places where it matters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 22:10:29 +00:00
Travis Kemen 4b47c62538 update opkg to 4564, fixes a couple of memory leaks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 00:48:44 +00:00
Travis Kemen 44ef6c1c3d remove opkg config file and link ipkg.conf to opkg.conf being they are the same
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 17:23:52 +00:00
Travis Kemen 272ae30c63 removed a missed dependancy on curl
remove use of autogen, just run the one needed command from in it

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 12:57:43 +00:00
Florian Fainelli ce9e315051 opkg depends on curl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 10:24:32 +00:00
Travis Kemen b3fc353df8 add opkg
- symlink /usr/lib/ipkg to /usr/lib/opkg so that opkg can be used as a drop in replacement of ipkg


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 04:16:43 +00:00