Felix Fietkau
da6849d9ab
opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 19:31:37 +00:00
Jo-Philipp Wich
fa89666694
opkg: fix find logic introduced by previous commit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-15 20:53:51 +00:00
Jo-Philipp Wich
bb9647c459
opkg: various additions
...
- only wrap package descriptions when outputting to a tty, simplifies parsing descriptions with external utils
- introduce -i (--nocase) flag which makes all matching operations case insensitive
- introduce "find" command which searches package names and descriptions (e.g. opkg -i find "*autoconfig*")
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-15 20:17:49 +00:00
Jo-Philipp Wich
bc3d7f54b9
[package] opkg: fix a double free of pkg vectors when recursively removing packages due to --autoremove
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-15 01:05:25 +00:00
Felix Fietkau
40b128ec2f
opkg: avoid using getline() to fix a compile issue on darwin (patch by Javier Palacios, #9223 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 16:18:11 +00:00
Jo-Philipp Wich
4db6664002
[package] opkg: update to r618
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 22:08:43 +00:00
Jo-Philipp Wich
ac9270c6cb
[package] opkg: disable output shaving
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 20:52:57 +00:00
Jo-Philipp Wich
1b985d993d
[package] opkg: ship pkg.m4, this fixes building on FreeBSD
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-25 18:02:36 +00:00
Jo-Philipp Wich
8c43fbff92
[package] opkg: write error messages to stdout
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 14:54:26 +00:00
Florian Fainelli
9fb95ee068
Merge branch 'master' of git://nbd.name/openwrt
...
Conflicts:
package/opkg/patches/009-remove-upgrade-all.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-19 07:06:12 +00:00
Jo-Philipp Wich
70d6feffa9
[package] opkg: update to r576, remove 013add-list-changed-conffiles.patch - went upstream.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 07:26:49 +00:00
Jo-Philipp Wich
90549d3d32
[package] opkg: implement "list-changed-conffiles" command, based on patch by Yann Lopez <yann.lopez@gmail.com>
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 22:15:39 +00:00
Jo-Philipp Wich
397ec72934
[package] opkg: reenable global upgrade, refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 03:25:35 +00:00
Alexandros C. Couloumbis
af0788bb32
package/opkg: add missing patch from r23050
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 08:57:16 +00:00
Alexandros C. Couloumbis
1e830d03cb
package/opkg: update to r563
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 08:13:36 +00:00
Jo-Philipp Wich
f10bd899e6
[package] opkg:
...
- implement --add-dest and --add-arch commandline options, this allows to run entirely without configuration
- tweak default config location patch to not require a config in offline root mode
- rename --force-run-hooks option to --force-postinstall, its a more appropriate name
- utilize new opkg commandline options in package-ipkg.mk and remove config file generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 21:16:02 +00:00
Jo-Philipp Wich
d9386d548b
[package] opkg: add --force-run-hooks option to run postinstall scripts in offline root mode, utilize it for host package install
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 19:58:05 +00:00
Jo-Philipp Wich
29ff3d0fe5
[package] opkg: fix host compilation on Darwin (libopkg_test failed to link)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 22:02:25 +00:00
Jo-Philipp Wich
a5e5298edc
[package] opkg: strip trailing whitespaces from entries in conffiles control files, fixes conffile md5 calculation against ipkg-build generated archives
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 18:26:07 +00:00
Jo-Philipp Wich
0e8c82e0bd
[package] opkg: update to r528, refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-18 23:23:40 +00:00
Nicolas Thill
e76080e98d
[package] opkg: add upstream patch fixing the order packages are configured ( closes : #7057 , #7058 ), bump release number
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 21:38:17 +00:00
Nicolas Thill
767955134f
[package] opkg: fix usage to reflect change in the upgrade command
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 01:27:07 +00:00
Gabor Juhos
cbc22ae4c7
package/opkg: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 14:29:17 +00:00
Felix Fietkau
9281b57ee9
opkg: remove an empty patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 17:10:59 +00:00
Jo-Philipp Wich
6f8f045193
[package] opkg: fallback to dest->root_dir if specified overlay_root does not exist on filesystem ( #6498 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 20:21:39 +00:00
Jo-Philipp Wich
210ef07a74
[package] opkg: update to r513, move lock-file to /var/lock and drop cleanup patch - went upstream
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-07 12:37:49 +00:00
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
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
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
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
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
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
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
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