Commit Graph

52 Commits

Author SHA1 Message Date
Jo-Philipp Wich
ede4e23677 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*")
SVN-Revision: 34202
2012-11-15 20:17:49 +00:00
Hamish Guthrie
81a3d9ba31 licensing: Add licensing metadata to many packages 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!

SVN-Revision: 33861
2012-10-19 15:34:28 +00:00
Felix Fietkau
ed2bf29be5 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
SVN-Revision: 33523
2012-09-23 09:50:01 +00:00
Felix Fietkau
d365063c59 opkg: add host and package parallel build support
SVN-Revision: 33424
2012-09-15 12:34:52 +00:00
Jo-Philipp Wich
a43ae30e1b include, base-files, opkg: introduce version configuration to 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")

SVN-Revision: 31262
2012-04-12 17:31:16 +00:00
Jo-Philipp Wich
ba0c7accd9 opkg: fix a double free of pkg vectors when recursively removing packages due to --autoremove
SVN-Revision: 28458
2011-10-15 01:05:25 +00:00
Jo-Philipp Wich
37f7e8afdc opkg: update to r618
SVN-Revision: 26598
2011-04-11 22:08:43 +00:00
Jo-Philipp Wich
fef8f37692 change PKG_FIXUP:=libtool to PKG_FIXUP:=autoreconf
SVN-Revision: 25904
2011-03-06 21:42:48 +00:00
Felix Fietkau
8c0df5f96c opkg: use -ffunction-sections, -fdata-sections and --gc-sections
SVN-Revision: 25829
2011-03-02 12:48:04 +00:00
Jo-Philipp Wich
97860d1c5c opkg: remove stray HOST_BUILD_DEPENDS
SVN-Revision: 24679
2010-12-18 19:16:03 +00:00
Jo-Philipp Wich
99c9533a7f opkg: remove manual automake invocations and rely and host and target fixups
SVN-Revision: 24554
2010-12-13 20:54:01 +00:00
Jo-Philipp Wich
3864e6af2f opkg: update to r576, remove 013add-list-changed-conffiles.patch - went upstream.
SVN-Revision: 23230
2010-10-05 07:26:49 +00:00
Jo-Philipp Wich
7eb2c8959c opkg: implement "list-changed-conffiles" command, based on patch by Yann Lopez <yann.lopez@gmail.com>
SVN-Revision: 23210
2010-10-03 22:15:39 +00:00
Jo-Philipp Wich
8e9dfc063f opkg: reenable global upgrade, refresh patches
SVN-Revision: 23174
2010-10-02 03:25:35 +00:00
Jo-Philipp Wich
1cb2abca8e add maintainer information
SVN-Revision: 23159
2010-09-30 10:48:37 +00:00
Alexandros C. Couloumbis
bf29f6455f package/opkg: update to r563
SVN-Revision: 23050
2010-09-13 08:13:36 +00:00
Jo-Philipp Wich
9bb6f3b5f3 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
SVN-Revision: 23032
2010-09-12 21:16:02 +00:00
Jo-Philipp Wich
b1edd2ac6e opkg: add --force-run-hooks option to run postinstall scripts in offline root mode, utilize it for host package install
SVN-Revision: 22960
2010-09-06 19:58:05 +00:00
Jo-Philipp Wich
a836869b69 opkg: reintroduce host build, utilize fixed HOST_BUILD_DEPENDS and depend libtool/host
SVN-Revision: 22947
2010-09-06 02:12:14 +00:00
Jo-Philipp Wich
e47a8a001c revert r22372 and r22405, dependency on host libtool causes problems
SVN-Revision: 22406
2010-07-28 02:18:16 +00:00
Jo-Philipp Wich
8c1d9afc40 use host opkg for installing packages in buildroot and ImageBuilder
SVN-Revision: 22372
2010-07-23 19:49:19 +00:00
Jo-Philipp Wich
d429130518 opkg: update to r528, refresh patches
SVN-Revision: 21008
2010-04-18 23:23:40 +00:00
Nicolas Thill
fc72a828f5 opkg: add upstream patch fixing the order packages are configured (closes: #7057, #7058), bump release number
SVN-Revision: 20686
2010-04-03 21:38:17 +00:00
Travis Kemen
ab3d8e0779 fix opkg.conf
SVN-Revision: 19684
2010-02-17 02:34:48 +00:00
Travis Kemen
9788414b55 change the opkg path due to changes in the buildsystem, fixes incorrect path in snapshot images
SVN-Revision: 19575
2010-02-11 02:38:08 +00:00
Jo-Philipp Wich
d7272853a2 opkg: update to r513, move lock-file to /var/lock and drop cleanup patch - went upstream
SVN-Revision: 19061
2010-01-07 12:37:49 +00:00
Jo-Philipp Wich
e528ed80da 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
SVN-Revision: 18884
2009-12-22 11:46:49 +00:00
Jo-Philipp Wich
608de32479 opkg: update to r503 - reduces peak memory usage by further 20%, rebased patches, restored old config file default
SVN-Revision: 18864
2009-12-20 21:21:14 +00:00
Jo-Philipp Wich
2355f9d497 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
SVN-Revision: 18380
2009-11-11 21:42:05 +00:00
Jo-Philipp Wich
3231dce5aa 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
SVN-Revision: 18119
2009-10-22 08:46:55 +00:00
Felix Fietkau
762991f315 opkg: get rid of libopkg, saves >10k compressed, >40k uncompressed
SVN-Revision: 18091
2009-10-20 08:21:10 +00:00
Felix Fietkau
be563b8702 opkg: move the build dir to KERNEL_BUILD_DIR, as compilation is target dependent
SVN-Revision: 17820
2009-10-02 15:18:38 +00:00
Jo-Philipp Wich
6ccd4143eb opkg: fix duplicate parsing of config file, move opkg.conf back to /etc, bump package revision, thanks kupseoft
SVN-Revision: 17209
2009-08-10 22:38:37 +00:00
Imre Kaloz
e8ce7fab52 upgrade opkg to r215 from the googlecode svn
SVN-Revision: 17152
2009-08-06 20:08:27 +00:00
Imre Kaloz
671280830d add special handling for the adm5120 target, which uses subtargets for different endianess -- later we should come up with something smarter
SVN-Revision: 17101
2009-08-03 11:24:56 +00:00
Imre Kaloz
9711e6ad55 use board names instead of arch in packages
SVN-Revision: 17063
2009-07-31 12:15:51 +00:00
Florian Fainelli
459edb94dc update to r4993
SVN-Revision: 15901
2009-05-17 17:09:12 +00:00
Andy Boyett
ee48f5ae78 opkg.conf: update trunk snapshots url
SVN-Revision: 15899
2009-05-17 16:49:50 +00:00
Felix Fietkau
97c4a54db3 opkg: work around the same broken array overrun check in gcc 4.4 as in gcc 4.3
SVN-Revision: 15522
2009-04-30 19:38:58 +00:00
Nicolas Thill
21d7852de0 replace some -I & -L flags with $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) when appropriate
SVN-Revision: 14651
2009-02-24 00:08:08 +00:00
Felix Fietkau
df0643a408 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
SVN-Revision: 14508
2009-02-14 14:11:12 +00:00
Felix Fietkau
5ebc074df4 fix opkg target arch detection problem on x86
SVN-Revision: 14055
2009-01-16 16:22:01 +00:00
Nicolas Thill
7e66f38647 add a patch helping available storage space detection, remove workaround from [13611], bump release number
SVN-Revision: 13650
2008-12-15 13:11:12 +00:00
Travis Kemen
a15a10c85a remove unneeded line
SVN-Revision: 12321
2008-08-16 16:46:11 +00:00
Travis Kemen
99dd3e13fc make opkg the default package manager, disable busybox ipkg from building by default
SVN-Revision: 12319
2008-08-16 06:35:14 +00:00
Florian Fainelli
68bdb68247 Fix opkg compilation with ccache, thanks sn9
SVN-Revision: 12303
2008-08-13 21:12:26 +00:00
Felix Fietkau
e9ea28b0af use $(FPIC) in a few places where it matters
SVN-Revision: 12225
2008-08-06 22:10:29 +00:00
Travis Kemen
56172a1eba update opkg to 4564, fixes a couple of memory leaks
SVN-Revision: 12115
2008-08-05 00:48:44 +00:00
Travis Kemen
a4dbc3ddb3 remove opkg config file and link ipkg.conf to opkg.conf being they are the same
SVN-Revision: 11994
2008-07-29 17:23:52 +00:00
Travis Kemen
f988ff9a3a removed a missed dependancy on curl remove use of autogen, just run the one needed command from in it
SVN-Revision: 11991
2008-07-29 12:57:43 +00:00