Commit Graph

48 Commits (a43ae30e1bebe4d502ff1da4e715dd4cabcde83c)

Author SHA1 Message Date
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
12 years ago
Jo-Philipp Wich ba0c7accd9 opkg: fix a double free of pkg vectors when recursively removing packages due to --autoremove
SVN-Revision: 28458
13 years ago
Jo-Philipp Wich 37f7e8afdc opkg: update to r618
SVN-Revision: 26598
13 years ago
Jo-Philipp Wich fef8f37692 change PKG_FIXUP:=libtool to PKG_FIXUP:=autoreconf
SVN-Revision: 25904
13 years ago
Felix Fietkau 8c0df5f96c opkg: use -ffunction-sections, -fdata-sections and --gc-sections
SVN-Revision: 25829
13 years ago
Jo-Philipp Wich 97860d1c5c opkg: remove stray HOST_BUILD_DEPENDS
SVN-Revision: 24679
14 years ago
Jo-Philipp Wich 99c9533a7f opkg: remove manual automake invocations and rely and host and target fixups
SVN-Revision: 24554
14 years ago
Jo-Philipp Wich 3864e6af2f opkg: update to r576, remove 013add-list-changed-conffiles.patch - went upstream.
SVN-Revision: 23230
14 years ago
Jo-Philipp Wich 7eb2c8959c opkg: implement "list-changed-conffiles" command, based on patch by Yann Lopez <yann.lopez@gmail.com>
SVN-Revision: 23210
14 years ago
Jo-Philipp Wich 8e9dfc063f opkg: reenable global upgrade, refresh patches
SVN-Revision: 23174
14 years ago
Jo-Philipp Wich 1cb2abca8e add maintainer information
SVN-Revision: 23159
14 years ago
Alexandros C. Couloumbis bf29f6455f package/opkg: update to r563
SVN-Revision: 23050
14 years ago
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
14 years ago
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
14 years ago
Jo-Philipp Wich a836869b69 opkg: reintroduce host build, utilize fixed HOST_BUILD_DEPENDS and depend libtool/host
SVN-Revision: 22947
14 years ago
Jo-Philipp Wich e47a8a001c revert r22372 and r22405, dependency on host libtool causes problems
SVN-Revision: 22406
14 years ago
Jo-Philipp Wich 8c1d9afc40 use host opkg for installing packages in buildroot and ImageBuilder
SVN-Revision: 22372
14 years ago
Jo-Philipp Wich d429130518 opkg: update to r528, refresh patches
SVN-Revision: 21008
14 years ago
Nicolas Thill fc72a828f5 opkg: add upstream patch fixing the order packages are configured (closes: #7057, #7058), bump release number
SVN-Revision: 20686
14 years ago
Travis Kemen ab3d8e0779 fix opkg.conf
SVN-Revision: 19684
14 years ago
Travis Kemen 9788414b55 change the opkg path due to changes in the buildsystem, fixes incorrect path in snapshot images
SVN-Revision: 19575
14 years ago
Jo-Philipp Wich d7272853a2 opkg: update to r513, move lock-file to /var/lock and drop cleanup patch - went upstream
SVN-Revision: 19061
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
Felix Fietkau 762991f315 opkg: get rid of libopkg, saves >10k compressed, >40k uncompressed
SVN-Revision: 18091
15 years ago
Felix Fietkau be563b8702 opkg: move the build dir to KERNEL_BUILD_DIR, as compilation is target dependent
SVN-Revision: 17820
15 years ago
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
15 years ago
Imre Kaloz e8ce7fab52 upgrade opkg to r215 from the googlecode svn
SVN-Revision: 17152
15 years ago
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
15 years ago
Imre Kaloz 9711e6ad55 use board names instead of arch in packages
SVN-Revision: 17063
15 years ago
Florian Fainelli 459edb94dc update to r4993
SVN-Revision: 15901
15 years ago
Andy Boyett ee48f5ae78 opkg.conf: update trunk snapshots url
SVN-Revision: 15899
15 years ago
Felix Fietkau 97c4a54db3 opkg: work around the same broken array overrun check in gcc 4.4 as in gcc 4.3
SVN-Revision: 15522
15 years ago
Nicolas Thill 21d7852de0 replace some -I & -L flags with $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) when appropriate
SVN-Revision: 14651
15 years ago
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
15 years ago
Felix Fietkau 5ebc074df4 fix opkg target arch detection problem on x86
SVN-Revision: 14055
16 years ago
Nicolas Thill 7e66f38647 add a patch helping available storage space detection, remove workaround from [13611], bump release number
SVN-Revision: 13650
16 years ago
Travis Kemen a15a10c85a remove unneeded line
SVN-Revision: 12321
16 years ago
Travis Kemen 99dd3e13fc make opkg the default package manager, disable busybox ipkg from building by default
SVN-Revision: 12319
16 years ago
Florian Fainelli 68bdb68247 Fix opkg compilation with ccache, thanks sn9
SVN-Revision: 12303
16 years ago
Felix Fietkau e9ea28b0af use $(FPIC) in a few places where it matters
SVN-Revision: 12225
16 years ago
Travis Kemen 56172a1eba update opkg to 4564, fixes a couple of memory leaks
SVN-Revision: 12115
16 years ago
Travis Kemen a4dbc3ddb3 remove opkg config file and link ipkg.conf to opkg.conf being they are the same
SVN-Revision: 11994
16 years ago
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
16 years ago
Florian Fainelli 3832f60af7 opkg depends on curl
SVN-Revision: 11988
16 years ago
Travis Kemen 53332ba9c2 add opkg - symlink /usr/lib/ipkg to /usr/lib/opkg so that opkg can be used as a drop in replacement of ipkg
SVN-Revision: 11983
16 years ago