Commit Graph

74 Commits (d8c7ac8a8ab8ef8fe2bbb254ca6ca5c83a898068)

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
Felix Fietkau 19e4c371c5 opkg: avoid using getline() to fix a compile issue on darwin (patch by Javier Palacios, #9223)
SVN-Revision: 26684
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
14 years ago
Felix Fietkau 8c0df5f96c opkg: use -ffunction-sections, -fdata-sections and --gc-sections
SVN-Revision: 25829
14 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 45ac69c410 opkg: disable output shaving
SVN-Revision: 24553
14 years ago
Jo-Philipp Wich 2cf41ac533 opkg: ship pkg.m4, this fixes building on FreeBSD
SVN-Revision: 24145
14 years ago
Jo-Philipp Wich 1fd328fb78 opkg: write error messages to stdout
SVN-Revision: 24133
14 years ago
Florian Fainelli b55f4bdd60 Merge branch 'master' of git://nbd.name/openwrt
Conflicts:

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

SVN-Revision: 23532
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 c1c4e40dff package/opkg: add missing patch from r23050
SVN-Revision: 23052
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 5707e757a7 opkg: fix host compilation on Darwin (libopkg_test failed to link)
SVN-Revision: 22340
14 years ago
Jo-Philipp Wich 3ebcb3ca68 opkg: strip trailing whitespaces from entries in conffiles control files, fixes conffile md5 calculation against ipkg-build generated archives
SVN-Revision: 22338
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
Nicolas Thill 8779e971ed opkg: fix usage to reflect change in the upgrade command
SVN-Revision: 20531
14 years ago
Gabor Juhos 5c5b8928d2 package/opkg: refresh patches
SVN-Revision: 20474
14 years ago
Florian Fainelli 7af8ee0481 change from /jffs to /overlay, patch from Daniel Dickinson
SVN-Revision: 20356
15 years ago
Travis Kemen ab3d8e0779 fix opkg.conf
SVN-Revision: 19684
15 years ago
Travis Kemen 9788414b55 change the opkg path due to changes in the buildsystem, fixes incorrect path in snapshot images
SVN-Revision: 19575
15 years ago
Felix Fietkau 35170c4892 opkg: remove an empty patch
SVN-Revision: 19330
15 years ago
Jo-Philipp Wich d9ca4041c5 opkg: fallback to dest->root_dir if specified overlay_root does not exist on filesystem (#6498)
SVN-Revision: 19121
15 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 51d2ab9308 opkg: fix invalid free triggered by 011-old-config-location.patch and replace 012-cleanup-tmpdir.patch with upstream fix
SVN-Revision: 18879
15 years ago
Jo-Philipp Wich 908bdfd435 opkg: the current version leaves empty temp directories behind, clean them up before exit
SVN-Revision: 18872
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 0b69c5e549 opkg: forgot to remove two obsolete patches in last commit
SVN-Revision: 18381
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 ed2eed7b64 opkg: ignore Section, Source and Maintainer as well when ignoring descriptions, saves a few hundred KB memory
SVN-Revision: 18124
15 years ago
Jo-Philipp Wich 763644ae93 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
SVN-Revision: 18120
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
Felix Fietkau 997d4fb013 opkg: fix the -force_space option
SVN-Revision: 17611
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