aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
Commit message (Collapse)AuthorAgeFilesLines
* ports-mgmt/pkg_search: deprecate and expire 30 Nov 2016John Marino2016-11-021-0/+3
| | | | | | | | The author/maintainer confirmed that this tool has never been updated to use pkg(8) and thus can be removed from the tree. Notes: svn path=/head/; revision=425168
* ports-mgmt/create-rb-port: create portSteve Wills2016-11-024-0/+31
| | | | | | | | | This port provides a simple script meant to ease creation of rubygem- ports. WWW: https://github.com/swills/freebsd-ruby Notes: svn path=/head/; revision=425111
* Update to 1.9.99.2Baptiste Daroussin2016-10-302-4/+4
| | | | | | | | - readd FTS support to sqlite lib to allow dropping fts tables - rewrite some functions to use file descriptors when possible Notes: svn path=/head/; revision=424958
* Update to 1.9.99.1Baptiste Daroussin2016-10-302-4/+7
| | | | | | | | | | | | | - Fix fd leak on systems without utimensat (merged in release branch) - Do not use openssl for sha256 - Improve the default output when fetching data - Update libfetch to the version of FreeBSD 11 - Update libsbuf to the version of FreeBSD 11 - Fix NetBSD ABI - Add a fallback for utimensat when reporting EOPNOTSUPP Notes: svn path=/head/; revision=424956
* Update to 1.9.2Baptiste Daroussin2016-10-292-4/+7
| | | | | | | | | - Fix NetBSD ABI - Add a fallback for when utimensat returns EOPNOTSUPP like on some NFS servers - Install the NEWS file Notes: svn path=/head/; revision=424896
* ports-mgmt/synth: Upgrade version 1.62 => 1.63John Marino2016-10-212-4/+4
| | | | | | | | | | | | | Fix web report regression caused by cleaning of history files. The history files were being removed too late. Any ignored/skipped files erased after writing (but would return with first built/failed port). If more than 500 ports were ignored+skipped, the web report would fail to show the history completely and would not recover. The old history files are now removed before the ignore/skip cascades. Notes: svn path=/head/; revision=424435
* ${RM} already has -f.Mathieu Arnold2016-10-211-1/+1
| | | | | | | | | | PR: 213570 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Notes: svn path=/head/; revision=424411
* ports-mgmt/synth: Upgrade version 1.61 => 1.62John Marino2016-10-202-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Cosmetic: curses display Capitalize "Swap" and "Skipped" field labels Cosmetic: web report After the build completes, fade out the builders table in 2.5 seconds. Nobody needs to see a table showing all the builders in "shutdown" mode. Bandwidth: json files A history.json file holds up to 500 log entries. 16 bytes of spaces were removed which reduces the history file size by 8000 bytes. Spaces were also removed from summary.json which can account for 20%+ of the size. Only rewrite history files upon change: The last history.json file was being written/rewritten every 3 seconds regardless if there were changes to it or not. Now it's only written if it's changed since the previous write. This might help reduce errors seen by in nginx access log which are thought to occur when file changes as the file is being served. Notes: svn path=/head/; revision=424344
* ports-mgmt/synth: Upgrade version 1.60 => 1.61John Marino2016-10-182-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Address "[N] Fetch prebuilt packages" bug: Once the /usr/local/etc/pkg/repos/00_synth.conf file was created, there was a good change that fetching prebuilt packages would stop with a fetch error that the checksum didn't match. This seems to be caused by pkg(8) using both the FreeBSD and the Synth repositories and often deferring to the latter. This is incorrect behavior as only the FreeBSD repository should be used for prefetching. This issue is hopefully resolved now. Web report behavior change: Any existing ??_history.json files are now deleted at the start of each run. They were only litter as the javascript did not pull in old files, so this change just removes them. While here, rename the "Elapsed" column on the builders table to "Duration" to match the history table lable and also adjust the widths of the origin and information columns on the history table. Notes: svn path=/head/; revision=424192
* Simplify Makefile via USES=metaport.Colin Percival2016-10-181-6/+1
| | | | | | | Submitted by: mat Notes: svn path=/head/; revision=424147
* Release 1.9.1Baptiste Daroussin2016-10-162-4/+4
| | | | | | | | | | - fix a fd leak on freebsd <11 Reported by: mat Tested by: mat Notes: svn path=/head/; revision=424068
* Update to 1.9.0Baptiste Daroussin2016-10-152-5/+4
| | | | | | | | | | | - Drop privileges in many commands - Drop privileges when fetching a file - Add resource limitation in sandboxes - Add support for METALOG - pkg delete new prints a warning for pattens that matches nothing? Notes: svn path=/head/; revision=424032
* Update to 1.9.99.0Baptiste Daroussin2016-10-152-4/+4
| | | | | | | | - Fix pkg refetching te repositories all the time - Add support for METALOG Notes: svn path=/head/; revision=424030
* ports-mgmt/synth: Upgrade version 1.54 => 1.60John Marino2016-10-153-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major new feature: Web-based front-end A dynamic html report is now generated for each build. The report is placed at <profile log directory>/Report/index.html. The report is updated 10 times per minute. The entire build history is retained and is searchable, but that history is reset at the start of the next run. In addition, several fields are clickable and trigger a quick-filter on the history log including the "Built", "Failed", "Ignored", "Skipped", "No." column and "ID" column (see tiptool for action hint) and the "Total" field clears the search pattern quickly. An earlier but representative version of the web report can be seen at: https://github.com/jrmarino/synth#web-interface The Synth web report pulls 2 orders of magnitude less data than the equivalent poudriere report because the json data is split into multiple files limited to 500 ports each (e.g. the poudriere data file might be 1.8 Mb on a big bulk run polled every 8 seconds where as Synth only pulls the latest segment file (50kb avg) every 6 seconds. Synth also stops polling when the run is complete. Minor enhancement: The log files were cleaned up The data/phase headers and footers were modified so that the build log appears a lot cleaner now (subjective of course). Notes: svn path=/head/; revision=424025
* Update to 1.0.14Romain Tartière2016-10-142-4/+4
| | | | | | | | Allow to override configuration location with the $portshaker_config_dir environment variable. Notes: svn path=/head/; revision=423992
* Update to 1.0.13Romain Tartière2016-10-132-4/+4
| | | | | | | | | | | This update brings: - Documentation update; - A new way to fail fast when conflics are detected. Reported by: swills Notes: svn path=/head/; revision=423937
* Add port-index-uniquifier, which is a dummy port taking its version numberColin Percival2016-10-103-0/+21
| | | | | | | | | from ${OSVERSION}. This should work around a bug in portsnap whereby the "Fetching N metadata files" step will fail if the identical INDEX files are generated for different major FreeBSD versions. Notes: svn path=/head/; revision=423733
* devel/adacurses: Prevent building with base ncurses headersJohn Marino2016-10-091-0/+1
| | | | | | | | | | It turns out that the C source files were getting built with the headers from the base ncurses. The recent update in Synth's display exposed a resulting problem with the add chtype routines, resulting in garbled output. Since adacurses is a static library, synth requires a revbump. Notes: svn path=/head/; revision=423563
* ports-mgmt/synth: Upgrade version 1.53 => 1.54John Marino2016-10-072-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Handles remaining resizing exceptions and improves display handling. Yesterday's work handled most of the common display exceptions, but others were still possible. Now all possible exceptions are handled. Several improvements were made to the display: 1) lines no longer wrap if the size width is resized too narrow; they get truncated as always intended 2) Elements such as the elapse timer don't get displayed in the wrong place when the screen is too narrow (they just don't show) 3) The dashes now get restored if the screen is sized small and then big again (or started small and then expanded). In many cases those lines just never came back before. 4) The "full" refresh frequency was increased a period of 30 seconds to a period of 4 seconds. This has a side benefit to text-mode watchdog as well since that's the same timer for the log inspection. 5) The history window height ranges from 10 to 50 rows. If the xterm window starts small, the history will be 10 lines. If it starts big, the number of lines will be dictated by the original size of the xterm window. Making the screen small and then bigger again will reveal the full number of log lines. Notes: svn path=/head/; revision=423482
* - Update to 1.5.2Dmitry Marakasov2016-10-052-15/+12
| | | | | | | | | | - While here, minor consmetic fixes PR: 212847 Submitted by: cryx-freebsd@h3q.com (maintainer) Notes: svn path=/head/; revision=423367
* ports-mgmt/synth: Upgrade version 1.52 => 1.53John Marino2016-10-052-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Major bug fix: ncurses display resize hang fixed Until now, resizing the window why synth is running in ncurses mode caused synth to hang (it would finish the builds it was working on but the display wouldn't update and no new jobs would start). This was due to an unhandled exception thown by ncurses binding as a result of the resize event, and now these are handled. Minor fix: Ports with @info in pkg-plist now pass in test mode The mtree exclusion file was improved to allow these leftover info directories to be ignored (as is done in poudriere. Before only info/dir was ignored, but the presence of "dir" prevented "info" from being removed by pkg(8) upon deinstallation. enhancement: Augment text mode (requested) Now when a builder starts on a new package, the port origin will be shown in the running log (before only the completion was logged.) Notes: svn path=/head/; revision=423361
* ports-mgmt/porttree: switch MASTER_SITE to SF to unbreakJohn Marino2016-09-302-3/+4
| | | | | | | | PR: 213025 Submitted by: maintainer Notes: svn path=/head/; revision=422989
* ports-mgmt/synth: Upgrade version 1.51 => 1.52John Marino2016-09-282-4/+4
| | | | | | | | | | | | | | | | | Fix regression in text-mode caused by activation of watchdog. The watchdog is checking the lengths of the build logs to figure out if a builder has stalled. It turns out that the logs were only being inspected in ncurses display mode, so any port that took longer than 20 minutes to build would be aborted by the watchdog. While here, bump the *BASE* time limit for the build phase from 20 to 25 minutes based on extreme causes (normally involving gcc or tex ports) and also bump the check-plist phase limit from 3 minutes to 10 minutes. Some ports have tens of thousands of files in them which takes a long time to check under test mode, especially if the server is loaded. Notes: svn path=/head/; revision=422879
* Force a rebuild to bring in libarchive fixes from head r305819.Bryan Drewery2016-09-141-1/+1
| | | | | | | MFH: 2016Q3 Notes: svn path=/head/; revision=422170
* GOOGLE_CODE has gone away.Mathieu Arnold2016-09-141-0/+2
| | | | | | | | | | | | | - If a port has another upstream, remove GOOGLE_CODE - If a port only has GOOGLE_CODE mark it BROKEN Some ports have a local mirror configured but for security reasons, it is not considered upstream. Sponsored by: Absolight Notes: svn path=/head/; revision=422140
* Add javavmwrapper 2.5_1 to the list of buggy scriptsBaptiste Daroussin2016-09-132-3/+4
| | | | Notes: svn path=/head/; revision=422083
* 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