aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/opkg/patches
Commit message (Collapse)AuthorAgeFilesLines
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48917 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45904 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: fix md5 related #ifdef (thx, swalker)Felix Fietkau2015-04-141-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: drop md5 in favour of sha256John Crispin2015-04-142-0/+973
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45437 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: add patch to circumvent signature checks on the command lineFelix Fietkau2015-04-061-0/+70
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: add patch for supporting signature checking through usignFelix Fietkau2015-04-061-0/+91
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: the PKG_UPGRADE env was not set properlyJohn Crispin2014-12-021-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42468 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40766 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: do not add blank "Provides:" fields to package metadataFelix Fietkau2013-12-131-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39039 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38390 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: add build variant with signature supportSteven Barth2013-09-261-8/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38220 3c298f89-4303-0410-b956-a3cf2f4a3e73
* packages: clean up the package folderJohn Crispin2013-06-2114-0/+1092
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37007 3c298f89-4303-0410-b956-a3cf2f4a3e73