aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
Commit message (Collapse)AuthorAgeFilesLines
* Mark NO_ARCHEmanuel Haupt2016-09-101-0/+1
| | | | Notes: svn path=/head/; revision=421683
* - Fix python shebangDmitry Marakasov2016-09-091-0/+2
| | | | | | | | | PR: 191106 Submitted by: fred@fredcondo.net Approved by: maintainer timeout (wxs, 2 years) Notes: svn path=/head/; revision=421611
* ports-mgmt/synth: Upgrade version 1.50 => 1.51John Marino2016-09-062-4/+4
| | | | | | | | | | | | | | | | | This release changes the watchdog time limits from a fixed value to one that is affected by the average load. Using fixed values didn't work well on extremely (and intentionally) loaded servers, e.g. an overage load of 200 on an server with ncpu of 32. The base times which were long to account for loading have been reduced, and a multiplier of average-5 load / ncpu rounded to the nearest tenth has been implemented (with 1.0 as the floor value). For example, a 4-core machine with an average 5-minute load of 6.0 will multiply the base timeout by 1.5. This approach worked well in an extreme test against the entire ports tree. Notes: svn path=/head/; revision=421445
* - Mark BROKEN on 9.x: requires std::to_stringDmitry Marakasov2016-09-011-1/+2
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=421221
* ports-mgmt/synth: Upgrade version 1.43 => 1.50John Marino2016-08-312-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This release improves robustness and activates the watchdog. It leveraes the procctl functionality to ensure all processes spawned from a builder are reaped, which in turn ensures that tmpfs mounts can be dismounted. Previously stuck processes could prevent those dismounts, trapping them as new mounts get placed on top. This also finally enables the watchdog that will kill runaway builds. The watchdog has a specific time limit per build phase where it will kill the build if the log doesn't grow over the previous X minutes. No activity timeout limits per phase are: check_sanity : 1 minute pkg_depends : 3 minutes fetch : 480 minutes checksum : 480 minutes (fetches if required) extract_depends : 3 minutes extract : 30 minutes patch_depends : 3 minutes patch : 3 minutes build_depends : 5 minutes build : 20 minutes run_depends : 10 minutes stage : 20 minutes check_plist : 3 minutes pkg_package : 120 minutes install_mtree : 3 minutes install : 10 minutes deinstall : 10 minutes A minor change regarding the swap display: If there is no swap installed, it will now display "n/a" instead of "100%" Notes: svn path=/head/; revision=421174
* ports-mgmt/synth: Upgrade version 1.42 => 1.43John Marino2016-08-252-5/+11
| | | | | | | | | | | | | | | | | This is a minor bug fix version. Changes include: * Set close-on-exec operation mode on popen. This is required to stop leaking file descriptors in highly concurrent modes (e.g. 32 builders). It's not supported on FreeBSD 9 or DragonFly 4.4 (and earlier) so this modification is removed for those platforms. * Remove procfs mount for lang/rust and lang/rust-nightly. This was necessary for DragonFly, but rust has been fixed for DF 4.6 and later * Add a stage-QA exception for entries left /var/spool/*. The presence of these are not an identication of a port issue * Sanitize synthexec to verify file descriptors 0 .. 2 are in use and automatically close any file descriptor > 2 before execv fork. Notes: svn path=/head/; revision=420867
* Replace Mk/bsd.kde4.mk by Mk/Uses/kde.mk in preparation for KDE Frameworks andTobias C. Berner2016-08-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plasma5 ports At the moment KDE ports use bsd.kde4.mk to handle their dependencies. When working on the ports for KDE Frameworks and Plasma5 it seemed to be more reasonable to create a new kde.mk instead of adding an bsd.kde5.mk. The kde.mk in this review is a stripped down version of the one we are using in the KDE Test repositories plasma5 branch [1] to only contain the parts relevant to the current KDE4 ports in the portstree [2]. Changes to the KDE Ports needed by this: Replace USE_KDE4 by USE_KDE [3] Add USES=kde:4 [4] [1] http://src.mouf.net/area51/view/branches/plasma5/KDE/Mk/Uses/kde.mk [2] The version in the plasma5 branch also handles frameworks/plasma5 and handles MASTER_SITES via a KDE_DIST variable similar to bsd.qt.mk for Qt Ports -- I chose to leave this out for now, as the diff is already large enough. [3] I chose USE_KDE instead of USE_KDE4, USE_KDE5, USE_KDEX as the version we want is already specified as argument to kde:<arg> [4] For KDE Frameworks and Plasma5 ports this would be kde:5 PR: 210667 Approved by: portmgr, mat (mentor), rakuco (mentor) Reviewed by: mat, rakuco Differential Revision: https://reviews.freebsd.org/D6961 Notes: svn path=/head/; revision=420774
* Update to 1.8.99.1Baptiste Daroussin2016-08-202-4/+4
| | | | | | | | | - removes chroot in sanboxes it causes too many issues Reported by: kwm, bdrewery Notes: svn path=/head/; revision=420520
* Update to 1.8.99.10Baptiste Daroussin2016-08-192-4/+4
| | | | | | | | | | | | - sandboxes always drops privileges if run as root and chroot in /var/empty - sandboxes limits resource usage to make them less useless on system without capsicum - drops privileges and chroot to /var/empty in various commands if run as root: * pkg audit * pkg info * pkg (r)query Notes: svn path=/head/; revision=420493
* - Update to 3.3.1Dmitry Marakasov2016-08-193-13/+12
| | | | | | | | | | - While here, add NO_ARCH and turn ECHO_MSG's into pkg-message to be visible to package users as well PR: 211956 Submitted by: sakaue.mamoru@mwghennndo.com (maintainer) Notes: svn path=/head/; revision=420458
* Remove expired port:Rene Ladan2016-08-114-39/+0
| | | | | | | 2016-08-10 ports-mgmt/xps: Does not support pkg(8) Notes: svn path=/head/; revision=420095
* Fix pkg-plist.Romain Tartière2016-08-072-9/+2
| | | | | | | | The master port was refactored to make tracking github repositories easier, but this change was not reflected in the last update to ports-mgmt/portshaker. Notes: svn path=/head/; revision=419773
* Update to 1.0.12.Romain Tartière2016-08-063-17/+5
| | | | Notes: svn path=/head/; revision=419738
* Add a hack in pkg to skip running predeinstall for javavmwrapper-2.5Baptiste Daroussin2016-07-312-0/+34
| | | | | | | | | | | | | | During upgrades/reinstall javavmwrapper 2.5 pre deinstall script deletes the pkg temporary files preventing to finish the upgrade. A fixed version of javavmwrapper will be made soon, this hack will remain in the ports tree and not in pkg(8) itself. This hack is made to not bother users is only affecting upgrade/reinstall phase not proper deinstall PR: 210313 Notes: svn path=/head/; revision=419360
* Update to 2.17.4.Joe Marcus Clarke2016-07-242-4/+13
| | | | | | | | | | | | * Check PLIST_FILES for icons [1] * Add VARS and VARS_OFF to the option helper list [2] * Add NO_ARCH [2] PR: 211175 [1] Submitted by: koobs [2] Notes: svn path=/head/; revision=419006
* Fix "portmaster --check-port-dbdir" broken by the previous commit. WhileStefan Eßer2016-07-242-4/+6
| | | | | | | | | | | the variable $unique_list was created with identical content, its value was only set within the implicit sub-shell (2nd command in a pipe) and lost on exit from the while loop. Reported by: Jakub Laach Notes: svn path=/head/; revision=419005
* ports-mgmt/synth: Remove ineffective sed command from port makefileJohn Marino2016-07-221-1/+0
| | | | | | | | | At one point during development of last changeset, the default.gpr file needed to have a LOCALBASE correction, but that's no longer true. This line shouldn't have made it into the previous commit. Notes: svn path=/head/; revision=418907
* ports-mgmt/synth: Upgrade version 1.41 => 1.42John Marino2016-07-222-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bug fix version. Changes include: * Fix potential exception seen with a large number of builders. The height of the log area was determined by subtracting the height of the other two zones from the overall xterm height. This allowed for the possibility of a negative height for the log area resulting in a thrown exception. Now the log is defined to be at least 10 lines log, but ncurses will just truncate as necessary. * Detection of bad OPSYS value added. There's a rare case where pkg can corrupt the configuration value of the Operating System. If it happens on FreeBSD, Synth thinks it is running on DragonFly which causes all sorts of problems. The corruption can't be auto-fixed, but Synth will gracefully abort with instructions on how to correct the issue. * Fix filtering of port-mgmt/pkg in list of ports. Synth was designed to always skip building pkg and thus remove it from a given list of ports, but the filtering didn't work correctly resulting in an exception with a misleading message. * Redirect failed jail setup command output to a new log: /var/log/synth/05_abnormal_cmd.out. Under normal operation, the log will be empty, but any abnormal output will now be sent there rather than corrupt the ncurses display as it before now. * Fix mount cleanup procedure. The output of "df -h" was being sorted alphabetically which caused mounts-on-mounts (an exception condition that dillon has been getting with H2 testing) to fail during dismount. The df output is already in the correct order so it only needs to be iterated in reverse without the pre-sort. Change: * Synth now links curses statically so it should not pull in any additional packages when the Synth binary package is installed. The only known bug is the curses display will freeze if running in an xterm window that gets resized. The cause is still unknown because in theory Synth should correctly react to a window-resize event. Some people may have success with ^z followed by fg command, but it's best to avoid resizing the window at all. Notes: svn path=/head/; revision=418906
* When there is a do-install target, do not use a post-install target, doMathieu Arnold2016-07-193-5/+0
| | | | | | | | | | | | | | | everything at once. Sometime, rename post-install into a options helper target. I did not fix ports that were such a mess that I could not figure out what they really wanted to do. I also did not change ports that had some version of an auto-plist code in post-install, for the same reason. With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=418767
* Bump PORTREVISION to have portmaster be re-installed with the fix commitedStefan Eßer2016-07-161-1/+1
| | | | | | | | | as SVN rev. 418619. Reported by: Herbert J. Skuhra (herbert at mailbox.org) Notes: svn path=/head/; revision=418629
* A read lock on the sqlite file used by pkg can lock out writers forStefan Eßer2016-07-161-0/+67
| | | | | | | | | | | | | | | | | indefinite amounts of time, preventing installation or upgrade of ports with portmaster. Instead of using a pipe to read pkg query input to be consumed by a shell loop, buffer the query result in a shell variable and let the loop iterate over the contents of this variable. While here, use a call to all_pkgs_by_origin() instead of an inline versin of equivalent code. Reviewed by: tz Approved by: tz Notes: svn path=/head/; revision=418619
* - Update to version 3.3.0Pawel Pekala2016-07-142-5/+6
| | | | | | | | | | | | | - New maintainer's email - Enable automatic workarounds of looped dependencies - Fixe a problem that had emerged when pkg(8) was updated PR: 210955 Submitted by: maintainer Notes: svn path=/head/; revision=418548
* Fix ports-mgmt/portfind string management/searching issuesEnji Cooper2016-07-142-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makefile: Bump `PORT_REVISION` for the change. portfind.c: get_release(..): The function was incorrectly modifying a pointer that wasn't the original calloc'ed pointer, tripping asserts when MALLOC_PRODUCTION wasn't enabled in jemalloc [*]. - Use one temporary buffer (`release`) instead of two (`release` and `version`). - Improve temporary memory idiom for managing memory used with sysctlbyname(3) by first checking the length, mallocing the buffer, then filling it with a second call to sysctlbyname(3). - Use strchr(3) instead of handrolling it in a while-loop and to avoid the improper free(3) of the memory allocated for `release`. main(..): - Use asprintf instead of calloc + sprintf. - Use constant `pasting` with `INDEX_FILE` instead of passing it in to asprintf(3). - Fix error message when unable to open `INDEX_FILE`. Approved by: brd Differential Revision: https://reviews.freebsd.org/D7198 PR: 211032 [*] Reported by: Michael Zhilin <mizhka@gmail.com> Reviewed by: Michael Zhilin <mizhka@gmail.com> Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=418537
* ports-mgmt/dialog4ports: 0.1.5 -> 0.1.6Kurt Jaeger2016-07-122-4/+5
| | | | | | | | | | | | | - Added support dialog.ascii_lines(D4PASCIILINES), thanks to kuriyama - Now first line can be ITEM_SEPARATOR, reported by: Rotluchs(EFnet) - Rewrote Makefile, bsd.prog.mk no longer needed, with help from amdmi3 - Fix help message, thanks to wblock PR: 211035 Submitted by: rum1cro@yandex.ru (maintainer) Notes: svn path=/head/; revision=418433
* - Drop maintainership and deprecate: does not work with pkg(8)Dmitry Marakasov2016-07-111-1/+4
| | | | | | | | PR: 210973 Submitted by: serpent7776@gmail.com (maintainer) Notes: svn path=/head/; revision=418387
* Update to 2.17.3.Joe Marcus Clarke2016-07-072-5/+5
| | | | | | | | | | | This release fixes a bug in newer versions of Perl where '{' and '}' caused regexp compilation to fail. PR: 210809 Submitted by: mat Notes: svn path=/head/; revision=418192
* Update to 1.8.7Baptiste Daroussin2016-07-052-4/+4
| | | | | | | | | | | | | - update internal expat to 2.2.0 - fix external solver - fix build on freebsd pre 9.2 - fix warnings on armv6 - fix solver issue resulting in missing conflicts or reinstalling unneeded packages - add a mini summary at the end of the output Notes: svn path=/head/; revision=418088
* Update to 1.8.99.9:Baptiste Daroussin2016-07-052-4/+4
| | | | | | | | | | | | | | - Update internal expat to 2.2.0 - Fix using an external solver - Fix build on FreeBSD prior to 9.2 - Fix issues on armv6 - Add a mini summary of the operations (removal, installation, upgrades) that that will be done - Fix solver issues that could trigger issues with conflicts or reinstall too many things Notes: svn path=/head/; revision=418085
* Move the release MANIFESTS to misc/freebsd-release-manifests.Bryan Drewery2016-06-2950-342/+14
| | | | | | | Also add a dependency for ca_root_nss to Poudriere. Notes: svn path=/head/; revision=417797
* Release 1.8.6Baptiste Daroussin2016-06-253-18/+4
| | | | | | | | | | | - Important fixes in the solver - When conflicts are found, they are explicitly printed - Reduce namecache contention a bit - Temporary files created during extraction are now hidden - Accept symlinks to directories when pkg is expecting a directory Notes: svn path=/head/; revision=417464
* Update to 1.8.99.8Baptiste Daroussin2016-06-252-4/+4
| | | | | | | | | | - Accept symlinks to directory when the package expects a directory - Cleanup symlink checksuming code - Fix a bug that results in bus error on very specific cases with lots of packages installed Notes: svn path=/head/; revision=417462
* Fix debugging that crept inBryan Drewery2016-06-242-1/+20
| | | | Notes: svn path=/head/; revision=417436
* Fix debugging that crept inBryan Drewery2016-06-242-1/+20
| | | | Notes: svn path=/head/; revision=417435
* - Update to 3.0-1677-g146fc3fBryan Drewery2016-06-242-5/+5
| | | | | | | | | - Support 252 colors for job IDs - Ensure bmake is used for ports_env (fixes usage for 9.x) - Fix creating /nxb-bin in the root system Notes: svn path=/head/; revision=417434
* - Update to 3.1.14Bryan Drewery2016-06-242-4/+4
| | | | | | | - Fix creating /nxb-bin in the root system Notes: svn path=/head/; revision=417433
* Update to 1.8.99.7Baptiste Daroussin2016-06-222-4/+4
| | | | | | | | | | | | | | | | | - Lots of important fixes in the solver - Fix pkg upgrade -f - Reduce namecache contention a bit - Prefix all temporary files with a . so they are hidden - Explicitly tell the users which conflicts were found - Do not fork pkg when being ptraced (only on FreeBSD) - Implement repo pinning so once installed a package will keep coming from a given repo - Fix repository priority handling on directly requested packages Big thanks az@ and vsevolod@ for the thank less help provided Notes: svn path=/head/; revision=417334
* - Update to 3.1.13Bryan Drewery2016-06-223-9/+15
| | | | | | | Changes: https://github.com/freebsd/poudriere/wiki/release_notes_3113 Notes: svn path=/head/; revision=417320
* ports-mgmt/synth: Upgrade version 1.40 => 1.41John Marino2016-06-202-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | This release adds detection and handling of circular dependencies. Two users that tried replacing OpenSSL with LibreSSL found out that ftp/curl depends on itself when its built with GNUTLS. That's because Synth goes into an infinity dependency loop, runs out of stack space, and crashes. Now Synth can detect a circular dependency and abort gracefully and informatively, e.g. > synth status ftp/curl ftp/curl scan aborted because a circular dependency on ftp/curl was detected. ... backtrace devel/cmake ... backtrace emulators/tpm-emulator ... backtrace security/trousers ... backtrace security/gnutls ... backtrace ftp/curl While here, build synth with stack-checking on so out-of-stack situations result in an exception and not an illegal instruction crash. Notes: svn path=/head/; revision=417168
* Fix pkg upgrade -fBaptiste Daroussin2016-06-122-0/+14
| | | | Notes: svn path=/head/; revision=416827
* ports-mgmt/synth: Upgrade version 1.34 => 1.40John Marino2016-06-123-16/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This release brings a behavioral change to Synth. The action of building package repositories is much more conservative now; packages that would fail sanity checks are only removed under the following commands: * synth prepare-system * synth upgrade-system * synth rebuild-repository * synth everything That means the following commands will never result in built packages being removed now: * synth install * synth build (followed by "yes" to rebuild repo question) * synth force (followed by "yes" to rebuild repo question) Other changes/fixes: * The PORTSCAN.SEEK_FAILURE exception is usually a false positive and should be fixed now * Under test mode leftover check, all changes to /var/db between installation and deinstallation are ignored rather than being flagged as a failure (see databases/mysql56-server test failure) * Add support for DragonFly's /boot/modules.local (similar to FreeBSD's /boot/modules) * Bring in ports patch to use installed libraries instead of the bundled versions Notes: svn path=/head/; revision=416781
* - Update to checkin 3.0-1669-g5d15cfeBryan Drewery2016-06-112-5/+5
| | | | | | | | Changes: - jail -c: Fix fetching for 11.0-ALPHA Notes: svn path=/head/; revision=416761
* Change MAINTAINER from ports@toco-domains.de to tz@FreeBSD.orgTorsten Zuehlsdorff2016-06-102-2/+2
| | | | | | | Approved by: junovitch (mentor) Notes: svn path=/head/; revision=416662
* Update to 1.8.99.6Baptiste Daroussin2016-06-092-4/+4
| | | | | | | | | Changes: - fix solver deciding to reinstall the reverse dependencies - fix mirror_type: http with https url Notes: svn path=/head/; revision=416636
* Release 1.8.5Baptiste Daroussin2016-06-093-24/+4
| | | | | | | | | Changes: - Fix mirror_type: http with https servers - Fix regression in the solver that tries to reinstall reverse deps sometime Notes: svn path=/head/; revision=416634
* Add a patch to fix grabbing mirror lists over httpsBaptiste Daroussin2016-06-082-0/+20
| | | | | | | | | | | Note that people are using mirror_type: http when they should not most probably due to bad documentation on our side so we will improve that later mirror_type: http is only useful if you actually host multiple mirror of your repos see pkg-repository(5). Notes: svn path=/head/; revision=416541
* Update to 1.8.4Baptiste Daroussin2016-06-052-4/+4
| | | | | | | | | | | | | | Changes: - Fix: setting date on system not POSIX 2008 compliant (like FreeBSD 8) - Fix: running pkg in env where the 0 file descriptor is closd - Fix: make http mirror type respect the specified port - Fix: chown/chmod on linux - Fix: pkg ssh - Improved upgrade chain in multi repo environment - Update libucl to latest version Notes: svn path=/head/; revision=416389
* Update to 1.8.99.5Baptiste Daroussin2016-06-052-4/+4
| | | | | | | | | | | | Changes: - Fix: make http mirror type respect the specified port - Fix: chown/chmod on linux - Fix: pkg ssh - Update libucl to latest version - Reduce adherence on openssl Notes: svn path=/head/; revision=416387
* Ignore on the package buildersAntoine Brodin2016-06-041-1/+7
| | | | | | | Reported by: pkg-fallout Notes: svn path=/head/; revision=416366
* - Update to checkin 3.0-1668-g5880c23Bryan Drewery2016-06-032-6/+6
| | | | | | | | | | | | | | | | Changes: - jail: Fix usage for -m src=PATH - jail -v: Note that non-listed methods used the value only for display. - QEMU: Copy the latest emulator into the jail at startup. This fixes the jail running into bugs with qemu that are fixed with the latest qemu. It was only copying it in during creation before. - bulk: Avoid redundant cleaning message with jailversion cleanup. - Add and document PORTBUILD_UID and CCACHE_DIR_NON_ROOT_SAFE. [1] PR: 209786 [1] Notes: svn path=/head/; revision=416341
* - Update to 3.0-1663-gf6c1badBryan Drewery2016-05-312-5/+5
| | | | | | | | | | | Changes: - Tweak ccache+BUILD_AS_NON_ROOT so that BUILD_AS_NON_ROOT is just default off, with a warning, when CCACHE_DIR is set. PR: 209786 Notes: svn path=/head/; revision=416224