summaryrefslogtreecommitdiffstats
path: root/package/opkg
Commit message (Collapse)AuthorAgeFilesLines
* opkg: fix find logic introduced by previous commitjow2012-11-151-8/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34203 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: various additionsjow2012-11-154-1/+259
| | | | | | | | - 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
* licensing: Add licensing metadata to many packageshcg2012-10-191-0/+3
| | | | | | | | | | | | | | Two new variables are introduces to many packages, namely PKG_LICENSE and PKG_LICENSE_FILES - there may be more than one license applied to packages, and these are listed in the PKG_LICENSE variable and separated by spaces. All relevant license files are also added to the PKG_LICENSE_FILES variable, also space separated. The licensing metadata is put into the bin/<platform>/packages/Packages file for later parsing. A script for that is on it's way! git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33861 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add the + token to any commands that can pass through the jobserver, ↵nbd2012-09-231-1/+1
| | | | | | fixes parallel build on some systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33523 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: add host and package parallel build supportnbd2012-09-151-5/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33424 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] include, base-files, opkg: introduce version configuration to ↵jow2012-04-122-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | override the embedded version info of generated images - Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build - Introduce include/version.mk to provide common helpers for packages dealing with versions - Make opkg use version.mk to populate the opkg.conf template - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner The available placeholders are: %D .. Replace with $(CONFIG_VERSION_DIST), default to "OpenWrt" %d .. Like %D, but all characters made lowercase and spaces substituted with "_" (e.g. "openwrt") %N .. Replace with $(CONFIG_VERSION_NICK), default to the build tree release (e.g. "Attitude Adjustment") %n .. Like %N, but all characters made lowercase and spaces substituted with "_" (e.g. "attitude_adjustment") %V .. Replace with $(CONFIG_VERSION_NUMBER), default to the build tree release (e.g. "r31262") %v .. Like %V, but all characters made lowercase and spaces substituted with "_" %C .. Replace with $(CONFIG_VERSION_NUMBER), default to "Bleeding Edge" %c .. Like %C, but all characters made lowercase and spaces substituted with "_" (e.g. "bleeding_edge") %U .. Replace with $(CONFIG_VERSION_REPO), default to "http://downloads.openwrt.org/snapshots/trunk/%T/packages" %R .. Replace with the current build tree revision (e.g. "r31262" or "75488c4a05b8033cf69e91874a61852db7ba9c6c") %T .. Replace with the current target (e.g. "ar71xx") %S .. Replace with the current target/subtarget combo (e.g. "adm5120/router_le") git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: fix a double free of pkg vectors when recursively removing ↵jow2011-10-152-1/+11
| | | | | | packages due to --autoremove git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: avoid using getline() to fix a compile issue on darwin (patch by ↵nbd2011-04-151-0/+317
| | | | | | Javier Palacios, #9223) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: update to r618jow2011-04-115-71/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] change PKG_FIXUP:=libtool to PKG_FIXUP:=autoreconfjow2011-03-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25904 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: use -ffunction-sections, -fdata-sections and --gc-sectionsnbd2011-03-021-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25829 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: remove stray HOST_BUILD_DEPENDSjow2010-12-181-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: remove manual automake invocations and rely and host and ↵jow2010-12-131-12/+1
| | | | | | target fixups git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: disable output shavingjow2010-12-131-0/+37
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: ship pkg.m4, this fixes building on FreeBSDjow2010-11-251-0/+168
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: write error messages to stdoutjow2010-11-242-2/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24133 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Merge branch 'master' of git://nbd.name/openwrtflorian2010-10-191-0/+41
| | | | | | | | Conflicts: package/opkg/patches/009-remove-upgrade-all.patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23532 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: update to r576, remove 013add-list-changed-conffiles.patch - ↵jow2010-10-052-72/+2
| | | | | | went upstream. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: implement "list-changed-conffiles" command, based on patch ↵jow2010-10-032-1/+71
| | | | | | by Yann Lopez <yann.lopez@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: reenable global upgrade, refresh patchesjow2010-10-024-47/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23174 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] add maintainer informationjow2010-09-301-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/opkg: add missing patch from r23050acoul2010-09-131-0/+41
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/opkg: update to r563acoul2010-09-137-442/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg:jow2010-09-124-11/+249
| | | | | | | | | | - 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
* [package] opkg: add --force-run-hooks option to run postinstall scripts in ↵jow2010-09-062-1/+69
| | | | | | offline root mode, utilize it for host package install git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: reintroduce host build, utilize fixed HOST_BUILD_DEPENDS and ↵jow2010-09-061-0/+25
| | | | | | depend libtool/host git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildsystem] revert r22372 and r22405, dependency on host libtool causes ↵jow2010-07-281-24/+0
| | | | | | problems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildsystem] use host opkg for installing packages in buildroot and ↵jow2010-07-231-0/+24
| | | | | | ImageBuilder git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22372 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: fix host compilation on Darwin (libopkg_test failed to link)jow2010-07-211-0/+30
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: strip trailing whitespaces from entries in conffiles control ↵jow2010-07-211-0/+23
| | | | | | 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
* [package] opkg: update to r528, refresh patchesjow2010-04-185-23/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: add upstream patch fixing the order packages are configured ↵nico2010-04-032-1/+16
| | | | | | (closes: #7057, #7058), bump release number git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20686 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: fix usage to reflect change in the upgrade commandnico2010-03-281-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20531 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/opkg: refresh patchesjuhosg2010-03-265-13/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20474 3c298f89-4303-0410-b956-a3cf2f4a3e73
* change from /jffs to /overlay, patch from Daniel Dickinsonflorian2010-03-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix opkg.confthepeople2010-02-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* change the opkg path due to changes in the buildsystem, fixes incorrect path ↵thepeople2010-02-111-1/+1
| | | | | | in snapshot images git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: remove an empty patchnbd2010-01-251-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: fallback to dest->root_dir if specified overlay_root does ↵jow2010-01-131-5/+18
| | | | | | not exist on filesystem (#6498) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: update to r513, move lock-file to /var/lock and drop cleanup ↵jow2010-01-078-50/+16
| | | | | | patch - went upstream git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19061 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: only select overlay_root if the install destination is root, ↵jow2009-12-222-7/+16
| | | | | | 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
* [package] opkg: fix invalid free triggered by 011-old-config-location.patch ↵jow2009-12-212-8/+31
| | | | | | and replace 012-cleanup-tmpdir.patch with upstream fix git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18879 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: the current version leaves empty temp directories behind, ↵jow2009-12-211-0/+12
| | | | | | clean them up before exit git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18872 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: update to r503 - reduces peak memory usage by further 20%, ↵jow2009-12-208-142/+106
| | | | | | rebased patches, restored old config file default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: forgot to remove two obsolete patches in last commitjow2009-11-112-23/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18381 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: bump to r284jow2009-11-119-969/+27
| | | | | | | | | | | - 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
* [package] opkg: ignore Section, Source and Maintainer as well when ignoring ↵jow2009-10-221-3/+3
| | | | | | descriptions, saves a few hundred KB memory git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18124 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg:jow2009-10-225-163/+226
| | | | | | | | | | - 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
* [package] opkg:jow2009-10-225-1/+998
| | | | | | | | | | | | | - 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
* opkg: get rid of libopkg, saves >10k compressed, >40k uncompressednbd2009-10-202-4/+57
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18091 3c298f89-4303-0410-b956-a3cf2f4a3e73