aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/opkg/patches
Commit message (Collapse)AuthorAgeFilesLines
* opkg: fix use-after-free with duplicate packages on the command lineJo-Philipp Wich2016-04-231-0/+11
| | | | | | | | | When the same package file is specified multiple times on the opkg install command line, the name pointer on the argv array becomes stale after the package structures have been merged, leading to invalid memory accesses upon install. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* opkg: Fix handling of sha256sums for conffilesJohn Crispin2016-03-041-0/+14
| | | | | | | | | MD5s are shorter than SHA256, so reading buffer has to be bigger to read the whole hash. Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz> SVN-Revision: 48917
* opkg: Make opkg understand old md5John Crispin2016-03-011-19/+36
| | | | | | | | | | Opkg now uses sha256 by default and expects them. Making it optionally understand md5s also and detect md5 sum so we can migrate from configuration that used md5. Signed-off-by: Michal Hrusecky <Michal.Hrusecky@nic.cz> SVN-Revision: 48867
* opkg: Extend 'opkg list' command to optionally display package sizeJohn Crispin2015-09-161-0/+74
| | | | | | | | | | | | | | | | 'opkg list' command only displays the available packages' name, version and description. It would be useful to also see the approximate size of the available package. This patch extends "opkg list" command with "--size" to optionally show also the *.ipk size. * Default behaviour is to list the available packages as earlier: "name - version - description" * with "--size" the output of is "name - version - size - description". Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 46980
* opkg: expose lists_dir option as command line argumentJo-Philipp Wich2015-09-141-0/+39
| | | | | | | | | | | | Expose the "lists_dir" configuration file option as command line switch so that we can override it for the Image Builder environment. Also add a more standard PKG_MAINTAINER variable while touching the Makefile. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 46911
* opkg: Fix --force-checksum when using SHA256John Crispin2015-06-051-0/+31
| | | | | | | | | | Allow installing packages with mismatching SHA256 checksums via $ opkg install --force-checksum $PACKAGE Signed-off-by: Florian Fieber <florian@florianfieber.de> SVN-Revision: 45904
* opkg: fix md5 related #ifdef (thx, swalker)Felix Fietkau2015-04-141-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45447
* opkg: drop md5 in favour of sha256John Crispin2015-04-142-0/+973
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45437
* opkg: add patch to circumvent signature checks on the command lineFelix Fietkau2015-04-061-0/+70
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45285
* opkg: add patch for supporting signature checking through usignFelix Fietkau2015-04-061-0/+91
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45284
* opkg: make PKG_UPGRADE available during preinst hookJohn Crispin2014-12-081-16/+19
| | | | | | | | https://dev.openwrt.org/ticket/18479 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43581
* opkg: the PKG_UPGRADE env was not set properlyJohn Crispin2014-12-021-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43493
* opkg: indicate upgrade vs installJohn Crispin2014-09-111-0/+46
| | | | | | | | | when running the postinst trigger we set PKG_UPGRADE=1 if this is an upgrade and not an install. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42468
* opkg: introduce a --force-checksum cmdline flag to be ale to ignore ↵Jo-Philipp Wich2014-05-141-0/+85
| | | | | | | | mismatching md5sums Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 40766
* opkg: do not add blank "Provides:" fields to package metadataFelix Fietkau2013-12-131-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39039
* opkg: ignore empty fields in package listsSteven Barth2013-10-141-0/+16
| | | | | | | | | | This is to work around issues with package list generators creating empty fields in some environments. Based on a patch by Paul Selkrik <pselkrik@isc.org> Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 38390
* opkg: add build variant with signature supportSteven Barth2013-09-261-8/+8
| | | | SVN-Revision: 38220
* packages: clean up the package folderJohn Crispin2013-06-2114-0/+1092
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007