1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:01:52 +02:00
Commit Graph

78 Commits

Author SHA1 Message Date
hcg
58313fff71 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!


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-19 15:34:28 +00:00
nbd
6a31a701e2 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-23 09:50:01 +00:00
nbd
9a7bc8a8b5 opkg: add host and package parallel build support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 12:34:52 +00:00
jow
8faa8431db [buildroot] 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")


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 17:31:16 +00:00
jow
66e5badb52 [package] opkg: fix a double free of pkg vectors when recursively removing packages due to --autoremove
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-15 01:05:25 +00:00
nbd
1ff8171541 opkg: avoid using getline() to fix a compile issue on darwin (patch by Javier Palacios, #9223)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 16:18:11 +00:00
jow
98dca62fa1 [package] opkg: update to r618
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 22:08:43 +00:00
jow
1abe2388b7 [package] change PKG_FIXUP:=libtool to PKG_FIXUP:=autoreconf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-06 21:42:48 +00:00
nbd
92b82debd2 opkg: use -ffunction-sections, -fdata-sections and --gc-sections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 12:48:04 +00:00
jow
167441f5b5 [package] opkg: remove stray HOST_BUILD_DEPENDS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 19:16:03 +00:00
jow
79db441083 [package] opkg: remove manual automake invocations and rely and host and target fixups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 20:54:01 +00:00
jow
9ddf39b564 [package] opkg: disable output shaving
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 20:52:57 +00:00
jow
dea05a281f [package] opkg: ship pkg.m4, this fixes building on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-25 18:02:36 +00:00
jow
8b815e9edf [package] opkg: write error messages to stdout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 14:54:26 +00:00
florian
c007d6e1cc Merge branch 'master' of git://nbd.name/openwrt
Conflicts:

	package/opkg/patches/009-remove-upgrade-all.patch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-19 07:06:12 +00:00
jow
61e51139ca [package] opkg: update to r576, remove 013add-list-changed-conffiles.patch - went upstream.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 07:26:49 +00:00
jow
95773d8fb6 [package] opkg: implement "list-changed-conffiles" command, based on patch by Yann Lopez <yann.lopez@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 22:15:39 +00:00
jow
986ed8c893 [package] opkg: reenable global upgrade, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 03:25:35 +00:00
jow
f2b88b6980 [package] add maintainer information
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-30 10:48:37 +00:00
acoul
42fb4e376e package/opkg: add missing patch from r23050
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 08:57:16 +00:00
acoul
928ee695bb package/opkg: update to r563
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 08:13:36 +00:00
jow
606dc5ad6f [package] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 21:16:02 +00:00
jow
99ddec6aa6 [package] opkg: add --force-run-hooks option to run postinstall scripts in offline root mode, utilize it for host package install
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 19:58:05 +00:00
jow
3edae0c682 [package] opkg: reintroduce host build, utilize fixed HOST_BUILD_DEPENDS and depend libtool/host
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 02:12:14 +00:00
jow
55da36a1f2 [buildsystem] revert r22372 and r22405, dependency on host libtool causes problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-28 02:18:16 +00:00
jow
ebd96b6723 [buildsystem] use host opkg for installing packages in buildroot and ImageBuilder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-23 19:49:19 +00:00
jow
2a8750a905 [package] opkg: fix host compilation on Darwin (libopkg_test failed to link)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 22:02:25 +00:00
jow
47de1665b1 [package] opkg: strip trailing whitespaces from entries in conffiles control 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
2010-07-21 18:26:07 +00:00
jow
e2cc8ca357 [package] opkg: update to r528, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-18 23:23:40 +00:00
nico
29752f54bb [package] opkg: add upstream patch fixing the order packages are configured (closes: #7057, #7058), bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 21:38:17 +00:00
nico
f7da9d9671 [package] opkg: fix usage to reflect change in the upgrade command
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 01:27:07 +00:00
juhosg
a774a61a35 package/opkg: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 14:29:17 +00:00
florian
9e7554db87 change from /jffs to /overlay, patch from Daniel Dickinson
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 17:16:50 +00:00
thepeople
92319b9ec3 fix opkg.conf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-17 02:34:48 +00:00
thepeople
5059d246b9 change the opkg path due to changes in the buildsystem, fixes incorrect path in snapshot images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-11 02:38:08 +00:00
nbd
99c311e86c opkg: remove an empty patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 17:10:59 +00:00
jow
7d33089d1a [package] opkg: fallback to dest->root_dir if specified overlay_root does not exist on filesystem (#6498)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 20:21:39 +00:00
jow
936485f730 [package] opkg: update to r513, move lock-file to /var/lock and drop cleanup patch - went upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-07 12:37:49 +00:00
jow
5e52855bff [package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-22 11:46:49 +00:00
jow
eec3ede257 [package] opkg: fix invalid free triggered by 011-old-config-location.patch and replace 012-cleanup-tmpdir.patch with upstream fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-21 15:09:08 +00:00
jow
6755b68047 [package] opkg: the current version leaves empty temp directories behind, clean them up before exit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-21 03:28:11 +00:00
jow
c449f37809 [package] opkg: update to r503 - reduces peak memory usage by further 20%, rebased patches, restored old config file default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-20 21:21:14 +00:00
jow
25941ba23f [package] opkg: forgot to remove two obsolete patches in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 22:13:10 +00:00
jow
22d6227505 [package] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 21:42:05 +00:00
jow
e94a2e1312 [package] opkg: ignore Section, Source and Maintainer as well when ignoring descriptions, saves a few hundred KB memory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 17:16:13 +00:00
jow
d968f2b92f [package] opkg:
- 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
2009-10-22 15:15:19 +00:00
jow
a460e82adb [package] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 08:46:55 +00:00
nbd
628a773644 opkg: get rid of libopkg, saves >10k compressed, >40k uncompressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 08:21:10 +00:00
nbd
982e75bdf6 opkg: move the build dir to KERNEL_BUILD_DIR, as compilation is target dependent
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 15:18:38 +00:00
nbd
9af7cd4561 opkg: fix the -force_space option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-19 17:32:59 +00:00