aboutsummaryrefslogtreecommitdiffstats
path: root/package/opkg
Commit message (Collapse)AuthorAgeFilesLines
* opkg: add host and package parallel build supportFelix Fietkau2012-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 ↵Jo-Philipp Wich2012-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 ↵Jo-Philipp Wich2011-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 ↵Felix Fietkau2011-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 r618Jo-Philipp Wich2011-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:=autoreconfJo-Philipp Wich2011-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-sectionsFelix Fietkau2011-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_DEPENDSJo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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 shavingJo-Philipp Wich2010-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 FreeBSDJo-Philipp Wich2010-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 stdoutJo-Philipp Wich2010-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/openwrtFlorian Fainelli2010-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 - ↵Jo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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 patchesJo-Philipp Wich2010-10-024-47/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23174 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] add maintainer informationJo-Philipp Wich2010-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 r23050Alexandros C. Couloumbis2010-09-131-0/+41
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/opkg: update to r563Alexandros C. Couloumbis2010-09-137-442/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg:Jo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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)Jo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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 patchesJo-Philipp Wich2010-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 ↵Nicolas Thill2010-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 commandNicolas Thill2010-03-281-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20531 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/opkg: refresh patchesGabor Juhos2010-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 DickinsonFlorian Fainelli2010-03-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix opkg.confTravis Kemen2010-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 ↵Travis Kemen2010-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 patchFelix Fietkau2010-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 ↵Jo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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, ↵Jo-Philipp Wich2009-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 ↵Jo-Philipp Wich2009-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, ↵Jo-Philipp Wich2009-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%, ↵Jo-Philipp Wich2009-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 commitJo-Philipp Wich2009-11-112-23/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18381 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: bump to r284Jo-Philipp Wich2009-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 ↵Jo-Philipp Wich2009-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:Jo-Philipp Wich2009-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:Jo-Philipp Wich2009-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 uncompressedFelix Fietkau2009-10-202-4/+57
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: move the build dir to KERNEL_BUILD_DIR, as compilation is target dependentFelix Fietkau2009-10-021-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17820 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: fix the -force_space optionFelix Fietkau2009-09-191-0/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: crlf -> lf in 001-fix-double-parsing.patchJo-Philipp Wich2009-08-121-12/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17235 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: fix duplicate parsing of config file, move opkg.conf back to ↵Jo-Philipp Wich2009-08-102-5/+17
| | | | | | /etc, bump package revision, thanks kupseoft git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17209 3c298f89-4303-0410-b956-a3cf2f4a3e73