aboutsummaryrefslogtreecommitdiff
path: root/Mk/Scripts
Commit message (Collapse)AuthorAgeFilesLines
* Mk/: Update the URLs in the comments to the latest locationLi-Wen Hsu2021-07-161-1/+1
| | | | | Reviewed by: rene Differential Revision: https://reviews.freebsd.org/D31152
* Mk/Scripts/smart_makepatch.sh: Force diff to produce the patch file instead ↵Po-Chuan Hsieh2021-07-141-1/+1
| | | | | | | | | | | | | | | | | of "Binary files ... differ" message It helps avoid generating wrong patches, e.g. patch-grpc.gemspec in r567838 [1]. from diff manpage: -a --text Treat all files as ASCII text. Normally diff will simply print "Binary files ... differ" if files contain binary characters. Use of this option forces diff to produce a diff. [1] https://cgit.FreeBSD.org/ports/diff/net/rubygem-grpc130/files/patch-grpc.gemspec?id=073c1c710a0c7254820adab9920c1903ace83fae PR: 257027 Approved by: mat (portmgr)
* Mk/*: Update the link about adopting portsGuangyuan Yang2021-06-201-1/+1
| | | | | Approved by: rene (portmgr), lwhsu (mentor) Differential Revision: https://reviews.freebsd.org/D30744
* devel/libbonobo: removeBaptiste Daroussin2021-05-011-1/+0
| | | | Gnome2 lib, dead upstream, no consumers left in the ports tree
* devel/gnome-vfs: removeBaptiste Daroussin2021-05-011-1/+0
| | | | Dead upstream, no consumers left in the ports tree
* x11/libgnome: removeBaptiste Daroussin2021-05-011-1/+0
| | | | Gnome2 library dead upstream with no consumers left in the ports tree
* Mk/*: cleanup leftovers from ancient removalBaptiste Daroussin2021-05-011-4/+0
|
* qa.sh: adjust after removal of some gnome portsBaptiste Daroussin2021-05-011-2/+0
|
* Cleanup executable bits, prompted by 9e1d7c39a1fa.Mathieu Arnold2021-04-081-0/+0
|
* framework: Remove $FreeBSD$Mathieu Arnold2021-04-0625-25/+0
| | | | Where appropriate fiddle with a few other things.
* Remove upgrade scriptBaptiste Daroussin2021-03-291-6/+5
| | | | | | | | | | | It never actually really have been a thing, and can be done directly in install/deinstall scripts Reviewed by: mat (portmgr) Differential Revision: https://reviews.freebsd.org/D29427 Notes: svn path=/head/; revision=569436
* Allows atf scripts to pass qaOlivier Cochard2021-03-081-0/+1
| | | | | | | | | Approved by: rene Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28581 Notes: svn path=/head/; revision=567848
* Revert r562049 which I committed by mistake.Gerald Pfeifer2021-01-191-2/+2
| | | | | | | Pointy hat: gerald Notes: svn path=/head/; revision=562050
* GCC_DEFAULT now sits at 10, so remove the special setting we added forGerald Pfeifer2021-01-191-2/+2
| | | | | | | | | powerpc64le which is a nop now (essentially reverting revision 559637). Reported by: pkubaj Notes: svn path=/head/; revision=562049
* Remove graphics/jpeg which has expired in favor of graphics/jpeg-turboRene Ladan2020-12-011-1/+1
| | | | | | | | Update qa checks and add a note to UPDATING to help users migrate. Differential Revision: https://reviews.freebsd.org/D27425 Notes: svn path=/head/; revision=556784
* Add education virtual categoryAdam Weinberger2020-11-201-0/+1
| | | | | | | | PR: 248402 Submitted by: PauAmma Notes: svn path=/head/; revision=555738
* Ignore readelf's return value.Mathieu Arnold2020-11-161-1/+1
| | | | | | | | PR: 251110 (with style fixes) Submitted by: John Hein Notes: svn path=/head/; revision=555463
* Ignore grep return value.Mathieu Arnold2020-11-111-1/+2
| | | | | | | | | | | | | Most of the time, we use grep in a test, where its return value is important. In this instance, it is only used for filtering, and we do not care about its return value, so ignore it. PR: 250723 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D27007 Notes: svn path=/head/; revision=554894
* Add set pipefail in most framework scripts.Mathieu Arnold2020-11-1122-0/+29
| | | | | | | | | | | | | | | | set pipefail changes the pipeline return status from being the return status of the last command to the last non 0 exit status of any command in the pipeline. This is needed to make sure all the commands in a pipeline did actually return a non 0 status and not only the last one. PR: 250723 Exp-run by: antoine Reviewed by: bapt Approved by: bapt Differential Revision: https://reviews.freebsd.org/D27007 Notes: svn path=/head/; revision=554893
* Prefer graphics/ligvrsvg2-rust over graphics/librsvg2Tobias C. Berner2020-11-091-0/+1
| | | | | | | | | | | | | | - switch to the more modern version of librsvg2 on architectures supporting rust - this will fix some graphical issues on these architectures PR: 250276 Exp-run by: antoine Submitted by: tobik Differential Revision: https://reviews.freebsd.org/D18878 Notes: svn path=/head/; revision=554733
* Backout r554139.Mathieu Arnold2020-11-0522-29/+0
| | | | Notes: svn path=/head/; revision=554142
* Add set pipefail in most framework scripts.Mathieu Arnold2020-11-0522-0/+29
| | | | | | | | | | set pipefail changes the pipeline return status from being the return status of the last command to the last non 0 exit status of any command in the pipeline. This is needed to make sure all the commands in a pipeline did actually return a non 0 status and not only the last one. Notes: svn path=/head/; revision=554139
* Fix permissionsSteve Wills2020-10-191-0/+0
| | | | Notes: svn path=/head/; revision=552762
* RevertSteve Wills2020-10-191-81/+10
| | | | Notes: svn path=/head/; revision=552736
* Make executable.Matthias Andree2020-10-171-0/+0
| | | | Notes: svn path=/head/; revision=552585
* Tools/scripts/sed_checked.sh: make more usefulMatthias Andree2020-10-171-10/+81
| | | | | | | | | | | | | | | | | | - when sed expressions fail, report them, and the failing files, to aid developers in identifying the commits - check whether a REINPLACE_CMD is partially effective, or totally ineffective, and adjust wording (please check vs. please FIX) - use SED variable instead of /usr/bin/sed if set, for consistency. portmgr@ hasn't raised objections other than performing power play, and haven't responded with reasons to core@s question in https://reviews.freebsd.org/D24240#592660 posed Sept 30 (17 days ago) Approved by: portmgr@ (timeout, 200 days) Differential Revision: https://reviews.freebsd.org/D24240 Notes: svn path=/head/; revision=552563
* KDE's August 2020 Apps UpdateTobias C. Berner2020-08-131-1/+0
| | | | | | | | | | | | | Dozens of KDE apps are getting new releases from KDE’s release service. New features, usability improvements, re-designs and bug fixes all contribute to helping boost your productivity and making this new batch of applications more efficient and pleasant to use. Full announcement: https://kde.org/announcements/releases/2020-08-apps-update/ Notes: svn path=/head/; revision=544824
* Move script to a more appropriate location.Mathieu Arnold2020-08-031-0/+13
| | | | Notes: svn path=/head/; revision=544070
* - Update wording/style on REINPLACE_CMD checksRyan Steinmetz2020-08-031-1/+1
| | | | Notes: svn path=/head/; revision=544069
* Update KDE Framewokrs to 5.72Tobias C. Berner2020-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | July 04, 2020. KDE today announces the release of KDE Frameworks 5.72.0. KDE Frameworks are over 70 addon libraries to Qt which provide a wide variety of commonly needed functionality in mature, peer reviewed and well tested libraries with friendly licensing terms. For an introduction see the KDE Frameworks web page. This release is part of a series of planned monthly releases making improvements available to developers in a quick and predictable manner. Changelog: https://kde.org/announcements/kde-frameworks-5.72.0.php?site_locale=en - net/kdav became a framework and was therefore moved to net/kf5-kdav. - thanks to adridg@ for fixing the fallout Exp-run by: antoine PR: 247907 Notes: svn path=/head/; revision=542761
* At present, the policy implemented in Mk/Scripts/qa.sh prevents meDan Langille2020-07-201-1/+6
| | | | | | | | | | | | | | | | | | | | from adding lang/python, lang/python2, or lang/python3 as a dependency of another port. "This is to prevent adding dependencies to meta ports that are only there to improve the end user experience." - I build my own packages via poudriere. I want to create my own meta-package which has such packages as RUN_DEPENDS. It's been suggested that I patch my own copy of the tree. This patch moves towards tools, not policy. This patch allows me to set this variable in a poudriere make.conf file: QA_ENV+= IGNORE_DEPENDS_BLACKLIST="YES" Reviewed by: mat Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D25450 Notes: svn path=/head/; revision=542671
* Fix overlays when using flavors.Mathieu Arnold2020-07-061-7/+8
| | | | | | | | | | | Move FLAVOR processing before the overlays processing so that flavors can be used with overlays. PR: 247741 Submitted by: mikael Notes: svn path=/head/; revision=541336
* Add PATCH_CONTINUE_ON_FAIL to allow patching to go through all theMathieu Arnold2020-05-141-20/+41
| | | | | | | | | | | | | | patches even if one fail. This helps when upgrading ports with a large number of patches, like www/chromium where having to fix one patch, re-do the patching, fix the fallout, 800 times, is really painful. This fixes the first attempt at this which would make ports with multiple patches patching one file somewhat explode. Notes: svn path=/head/; revision=535241
* Support OVERLAY dir passed in from Poudriere.Bryan Drewery2020-05-041-1/+2
| | | | Notes: svn path=/head/; revision=533940
* When one patch fails, continue with appling patches.Mathieu Arnold2020-04-301-28/+49
| | | | | | | | | | | | | | This makes the process of make patch, fix fallout, make makepatch much easier as only one iteration is required. While there, refactor things around, and streamline messages passed between functions. PR: 244626 Reported by: cem Notes: svn path=/head/; revision=533459
* Lower case local variable.Mathieu Arnold2020-04-301-4/+4
| | | | Notes: svn path=/head/; revision=533458
* Allow lua scripts in the framworks.Baptiste Daroussin2020-04-291-0/+1
| | | | | | | | | | | | | | Bump the minimum required pkg version to a version that accepts properly lua scripts Lua script offers the advantages over shell scripts that they are running in a capsicum sandbox and they are natively rootdir friendly Reviewed by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D21433 Notes: svn path=/head/; revision=533337
* users-groups-install: Make it pkg -r friendlyEmmanuel Vadot2020-04-231-1/+11
| | | | | | | | | | | | The generated pre-install scripts isn't pkg -r friendly for all ports that have USERS/GROUPS with an homedir, fix that. Reviewed by: bapt Approved by: portmgr (bapt) Differential Revision: https://reviews.freebsd.org/D24531 Notes: svn path=/head/; revision=532700
* Don't show private variable name in user message.Bryan Drewery2020-04-101-1/+1
| | | | Notes: svn path=/head/; revision=531389
* Unbreak make makepatch.Mathieu Arnold2020-01-231-2/+2
| | | | | | | | | | | | | The glob in `find ./*` is handled by the shell and actually sorts the files, so one needs to to ask find to sort the result, using `find -s`. `find ./* -maxdepth 0` is not equivalent to `find . -maxdepth 0`, the depth increases by one as `./x` is on level deeper than `.`. Pointy hat: bdrewery Notes: svn path=/head/; revision=523912
* find(1) doesn't need a glob to search for patches.Bryan Drewery2020-01-211-3/+3
| | | | | | | | | | This change also avoids cmdline length errors and other subst parsing issues that were previously targeted. Sponsored by: DellEMC Notes: svn path=/head/; revision=523738
* lang/rust: Add COMPAT_FREEBSD11 canaryTobias Kortkamp2020-01-131-0/+27
| | | | | | | | | | | | | | | | | | | | | | | This attempts to provide a nicer error message for the subset of users who build their own kernels without COMPAT_FREEBSD11 and then attempt to build lang/rust. The Rust ecosystem currently uses pre-ino64 syscalls, so building lang/rust without COMPAT_FREEBSD11 is not going to work. The error message for this is non-obvious and there is a new bug for this at least every 1-2 months. Hopefully this will improve the situation a little. Cargo and Gecko ports are similarly affected, so add the pre-build check to them too. Reviewed by: jbeich, mikael.urankar@gmail.com Tested by: madpilot (negative case) Approved by: gecko (jbeich) Differential Revision: https://reviews.freebsd.org/D23100 Notes: svn path=/head/; revision=522968
* Add QA warning about useless REINPLACE_CMDSteve Wills2020-01-091-1/+9
| | | | | | | | | Reviewed by: mat, bdrewery, tobik Approved by: mat Differential Revision: https://reviews.freebsd.org/D22174 Notes: svn path=/head/; revision=522484
* Garbage collect libgnomeprintBaptiste Daroussin2019-12-261-2/+0
| | | | Notes: svn path=/head/; revision=520957
* Mk/Uses/cargo.mk: Support new Cargo.lock formatTobias Kortkamp2019-12-051-8/+31
| | | | | | | | | | | | | | | | The new format [1,2] dropped the [metadata] table. As a consequence our cargo-crates.awk script no longer outputs CARGO_CRATES. We can get the crate list from the various [[package]] tables instead. This should work with the new as well as the old format. [1] https://github.com/rust-lang/cargo/pull/7070 [2] https://github.com/rust-lang/cargo/pull/7579 PR: 242416 Reported by: jbeich Notes: svn path=/head/; revision=519063
* generate-symbols: Need @dir entries if PREFIX!=LOCALBASE.Bryan Drewery2019-11-072-3/+12
| | | | | | | | | | | - makeplist/check-plist: Don't suggest or complain about @dir entries for debug symbols added by this script. Same as is done for the debug symbols themselves. Sponsored by: DellEMC Notes: svn path=/head/; revision=517011
* Retire the palm category (1999-2019)Li-Wen Hsu2019-11-041-1/+0
| | | | | | | | | Reviewed by: mat Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D22222 Notes: svn path=/head/; revision=516635
* Add make to the list of allowed shebangBaptiste Daroussin2019-09-061-0/+1
| | | | | | | | PR: 228874 Reported by: jwb Notes: svn path=/head/; revision=511285
* Add support for overlaysBaptiste Daroussin2019-09-032-11/+28
| | | | | | | | | | | | | | | | | | | | | overlays are a way to help users to integrate their own ports tree with the official ports tree without having to maintain clone of the official tree and remerge on regular basis. The ports tree will lookup in the overlays (in the order the are listed in OVERLAY variable) for the dependencies and the USES. It will use the first found. in order to use it the user have to declare his overlays that way in their make.conf: OVERLAYS= overlay1 overlay2 overlay3 Reviewed by: manu Approved by: swills Differential Revision: https://reviews.freebsd.org/D21468 Notes: svn path=/head/; revision=510950
* Remove USES=pure and its QA check now that lang/pure has been removed.Rene Ladan2019-09-011-3/+0
| | | | Notes: svn path=/head/; revision=510702