aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for 5-exp and add 7-exp, 8 and 8-experwin2008-01-155-11/+17
|
* Change homebrew locking routines with lockf(1) based locking.erwin2008-01-011-14/+4
|
* Add the standard 6-line header and URL to all build failure logs, notlinimon2007-12-241-1/+10
| | | | | | | | | just the plist ones. If the log is less than 1000 lines after the header, include it all; else, trim to last 1000 lines. This should help when deciding where to forward logs. Tested on: pointyhat
* Copy the duds file to a directory where the web server can find it. Thislinimon2007-12-241-0/+7
| | | | | | | | makes it possible to correctly analyze why packages were not built for a specific run. Add a beginning and ending email notification to help coordinate between multiple portmgrs doing runs.
* Make the script less whiny for unpopulated builds.linimon2007-12-241-2/+2
|
* Fix a problem when add new ports on ports-mgmt category. ports-mgmt/Makefilegarga2007-12-201-6/+13
| | | | | | | | | | lines has 3 spaces before SUBDIR word and all other categories has 4. I've asked pav@ if there is a default format of category Makefiles and he said the number of spaces doesn't matter, so, i fix addport to respect the current number of spaces and/or tabs the file has. Reported by: miwi, erwin
* Add support for 7-exp and 8 brancheskris2007-11-042-3/+3
| | | | Approved by: portmgr (self)
* Correctly report active builds when ZFS is in usekris2007-11-041-1/+1
| | | | Approved by: portmgr (self)
* * Add support for 7-exp and 8 brancheskris2007-11-041-3/+8
| | | | | | * XORG_UPGRADE and USA_RESIDENT are no longer required Approved by: portmgr (self)
* - Add support for FreeBSD 8.0erwin2007-10-261-4/+25
| | | | | - Be more robust about param.h and allow space as well as tab as seperator while determining OSVERION
* Add 7-exp, 8.linimon2007-10-161-0/+8
|
* Add 7-exp and 8.linimon2007-10-161-1/+1
|
* Rename 'missing' column to 'not yet built' so as not to confuse terminologylinimon2007-10-161-6/+6
| | | | | | with portsmon reports. Noticed by: erwin
* s/query-pr.real/query-pr/ to fix getpr after freefall migrationgarga2007-10-161-1/+1
| | | | Discussed at: #bsdports
* Reflect 8-CURRENT.linimon2007-10-151-1/+94
|
* The index page used on pointyhat.linimon2007-10-151-0/+950
|
* Update this example file to reflect 7.0 branching.linimon2007-10-151-1/+1
|
* Replace two further instances of /var/db/pkg by $PKG_DBDIR.gerald2007-09-171-2/+2
|
* Remove the following false positives, which show up as compiler warnings,linimon2007-09-131-2/+2
| | | | | | | | not errors: discards qualifiers [0-9]: implicit declaration of function ISO C\+\+ forbids
* Use PKG_DBDIR instead of hard-coding /var/db/pkg/. Do not silently revertgerald2007-09-091-3/+15
| | | | | | | to defaults for PORTSDIR and PKG_DBDIR if the respective directory does not exist, but bail out. Approved by: netchild
* Change to the latest names of the ooo ports; add jdk16; sort a bit.linimon2007-09-051-1/+1
| | | | Glanced at by: kris
* explicit_lib_depends.sh:netchild2007-09-053-14/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - check if an installed libtool records dependencies recursively and print a warning if it does currently it prints the warning on every system which has libtool installed from ports (only my local version doesn't do this, the version in the ports is not correctly patched for this, a patch similar in complexity (= simple) like the ltdl.m4 one in the libtool-port-patch-directory is needed) - enhance the regex which is responsible to not print a dependency to the port we are just checking - add a work in progress (not executed) to collapse the USE_* which can have more than one value neededlibs.sh: - we also care about shared libs resolveportsfromlibs.sh: - take care about USE_OPENSSL, USE_EFL, USE_GL, USE_FAM, USE_OPENLDAP, USE_SDL - search in the "ldconfig -r" output if we can not find the lib ourself - a better way of getting the first part of the LIB_DEPENDS stuff (lib/libXYZ.so can be specified now too) - some line wrapping + whitespace - print the origin for the USE_* too (except USE_OPENSSL), so an user can make some sanity checks and the explicit_lib_depends.sh can DTRT if we check the USE_* port itself - warn if we can not determine the right component (can happen for XORG) unambiguously.
* One more sanity check, else /+CONTENS will be searched.netchild2007-08-311-0/+5
|
* USE_FREETYPE is for v1, not for v2. Use a perfect match in the case statement.netchild2007-08-311-4/+5
|
* Do not list libs which come with the port itself.netchild2007-08-261-2/+5
|
* Add explicit_lib_depends.sh.netchild2007-08-261-0/+2
|
* - Add USE_FREETYPE.netchild2007-08-261-1/+5
| | | | | - Print the portsdir variable in front of the origin for easy copy und paste of the output.
* We should also look into sbin/ (not only bin/ and lib/).netchild2007-08-241-1/+1
|
* explicit_lib_depends.sh shows you the current explicit dependency list ofnetchild2007-08-241-0/+115
| | | | | | | | | | | | | | | | | libs for a given installed port, e.g.: # ./explicit_lib_depends.sh gnome-vfs-2.18.1_2 USE_GETTEXT=yes USE_GNOME+=gconf2 USE_GNOME+=glib20 USE_GNOME+=gnomevfs2 USE_GNOME+=libxml2 USE_GNOME+=orbit2 USE_ICONV=yes avahi-client:net/avahi avahi-common:net/avahi avahi-glib:net/avahi dbus-1:devel/dbus dbus-glib-1:devel/dbus-glib
* Teach about USE_ICONV, USE_GETTEXT, USE_GNOME and USE_XORG.netchild2007-08-241-1/+38
|
* Add 2 scripts which help in port maintenance to list all direct librarynetchild2007-08-123-0/+170
| | | | | | | | | | | | | | | dependencies of a port: neededlibs.sh Extract direct library dependencies (filenames) from binaries. resolveportsfromlibs.sh Prints the name(s) of ports(s) given a library filename, suitable for direct use (copy&paste) in LIB_DEPENDS. Example usage is included in the scripts. The following combined usage may be helpful for further porting/testing automation: resolveportsfromlibs.sh -b /usr/local $(neededlibs.sh /test/bin/*) Requested by: kris, lofi (sort of)
* - Extract command variable definitions from bsd.port.mk, they are now stored ingabor2007-08-041-40/+10
| | | | | | | | | bsd.commands.mk and can be easily reused within the infrastructure. - Revert old DESTDIR implementation. - Add a new, fully chrooted DESTDIR implementation as bsd.destdir.mk. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav)
* Support builds using zfs and tmpfs backing storekris2007-07-303-7/+40
| | | | | | | | | | | | | | | | | | | | | | | | | zfs: * Enabled by use_zfs=1 in portbuild.conf * Populate build chroots by cloning a zfs snapshot instead of maintaining many duplicate copies. In principle this is very efficient since everything is copy-on-write and zfs snapshot creation is almost instantaneous. There might be additional overheads from building on zfs though. Currently the snapshot base is hard-wired to y/${branch}@base but should be parametrized. This also must be populated beforehand, e.g. during machine startup * Clean build chroots by just destroying the snapshot. tmpfs: * Enabled by use_tmpfs=1 and tmpfs_size in portbuild.conf * The previous md strategy of mounting in used/, populating and then remounting (to avoid possible races from multiple builds claiming the same chroot) doesn't work here because tmpfs instances are destroyed at umount. I am not entirely sure the simpler approach is free from races.
* Refresh old sample portbuild.conf with the one currently used for i386kris2007-07-301-5/+16
| | | | builds. Probably this should be better documented and commented ;)
* * Clean up hacks that had to copy in shared libraries from the host inkris2007-07-301-32/+11
| | | | | | | | | | | | order to run certain host binaries that were kernel-dependent. We now seem to be able to rely on the /rescue versions (and killall(1) seems to be unused). * Allow for ccache directories to be shared over NFS via the ccache_dir_nfs portbuild.conf boolean * Populate BSD.local.dist from ${PORTSDIR}/Templates and remove population of BSD.x11-4.dist and support for XFree86 3.x
* Correct typo ("singal")kris2007-07-301-1/+1
|
* * Switch from netcat port to base system nc. Replace symbolic port namekris2007-07-301-2/+2
| | | | by its numeric equivalent since nc(1) does not look up the former.
* * Retire 4 build and add 6-exp2 experimental buildkris2007-07-301-2/+1
| | | | | * Don't populate BSD.local.dist, this file is maintained in the ports tree now and is populated at build time
* Retire support for 4 and 4-exp buildskris2007-07-301-8/+0
|
* * Increase index build concurrency to reflect the new, improved pointyhatkris2007-07-301-1/+5
| | | | * Add support for 6-exp2 experimental builds
* * Revise the machine selection algorithm. Previously it chose the firstkris2007-07-301-8/+17
| | | | | | | | | | machine with the lowest number of running jobs. This worked when the clients were all roughly equivalent, but schedules poorly when there are some that are much more powerful (e.g. 8-core machines vs UP machines) * We now compute the ratio of running jobs to maximum jobs and schedule on the machine with lowest occupation fraction. This populates the machines to equal fractions of their capacity.
* Use rsync -L instead of rsync -l to deal with the fact that we like tokris2007-07-301-2/+2
| | | | | symlink ports and src trees elsewhere. With -l this would turn a populated tree into a dangling symlink.
* * Remove support for 4 and 4-exp builds and add 6-exp2 experimental buildkris2007-07-301-3/+4
| | | | | | | * Only hardlink the old log files instead of anything else that might be in the directories * Add comment that old logfiles should be removed as well as packages, to avoid duplicate versions of the same port log
* Introduce straslivy.py, a fancier showrunning type of thing, written in Python.pav2007-07-301-0/+147
|
* * Remove processing of 4 and 4-exp logs now that the builds are no longerkris2007-07-301-3/+3
| | | | | | run * Add a 6-exp2 build which is a second experimental tree * Remove an archaic 4.x/5.x log comparison
* * Remove vestiges of procfs mounting/umounting from here; we have tokris2007-07-301-23/+15
| | | | | | | | | | | | | | do it in portbuild from outside the jail thesedays * Ignore /var/db/fontconfig which does not get restored to pristine state * Save copies of master.passwd and groups and check them after the build for changes, to look for user/group additions that may not be correctly registered in UIDs/GIDs. Future work will hopefully automatically check against those files and make unregistered IDs a fatal condition * Correct logic mistake that was keeping distfiles for collection when the checksum mismatched
* - Log the failure to copy dependant package from pointyhatpav2007-07-301-1/+1
|
* Refactor common variables from case statement for various branches.kris2007-07-301-35/+12
| | | | | Update default X11BASE. Retire PARALLEL_PACKAGE_BUILD and HAVE_MOTIF which are now obsolete.
* Retire this obsolete instruction file dating back to last century. Wekris2007-07-301-94/+0
| | | | have a more modern and complete version in the doc collection.
* Drop 4.X statistics. They are half-a-year stale.linimon2007-07-221-1/+2
|
* Add 9 more cases of gcc4; remove some false positives for autoconf; addlinimon2007-07-021-2/+6
| | | | | an 'f77' reason; flag 'warnings being treated as errors' as 'cc'. This reduces the unknown output on i386-7 by about half.
* ARCH may be set in the environment for cross building, so onlyerwin2007-06-121-2/+4
| | | | | | set it conditionally. Submitted by: kris
* Set default architecture to i386.erwin2007-06-121-0/+3
|
* Make it possible to override the templates by using an environementerwin2007-05-251-1/+2
| | | | | | | variable TEMPLATES. RT: 105108 (reworked from) Submitted by: Curtis Jewell<swordsman@csjewell.fastmail.us>
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+156
| | | | | - Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
* Fix addport to work correctly with ports-mgmt category.garga2007-04-201-1/+1
| | | | | Reported by: miwi Tested by: miwi
* Use echo instead of printf because external commands cannot be executedvd2007-03-291-3/+3
| | | | | | | | | | | with very long arguments (>400000 characters). The problem reveals for example if /usr/ports/Tools/scripts/rmport -d print/ghostscript-gnu is executed - it does printf "%s\n" "... 451109 chars ..." Spotted by: rafan
* Add a column for 'build logs'. This is larger than the number of thelinimon2007-03-231-9/+19
| | | | | | | | packages due to packages being trimmed by RESTRICTED. While here, note that the 'missing' column will be off by the number of duplicates in the other columns. This happens when partial builds are restarted.
* Workaround for the fact that 4/ports is no longer populated on pointyhat.linimon2007-03-091-1/+6
|
* * Run cvs update just before cvs commit to sync a potentially changed filesvd2007-02-191-2/+5
| | | | | in the repository. Suggested by: gabor@ * Fix typo in the output
* Increase resource limits to 400MB filesize and 2 hours CPU limit perkris2007-02-181-5/+5
| | | | | | process. Thankyou openoffice! Pass in the jail IP address in the JAIL_ADDR environment variable
* Default to -nocopy when using -norsynckris2007-02-181-2/+2
|
* Also filter out gconf leftover files from /usr/local as well as /usr/X11R6.kris2007-02-181-4/+5
| | | | | Set DISPLAY to the IP address instead of using the :<...> implied form. This is required for jails.
* Don't require arch to be passed in on the command line, query it usingkris2007-02-181-1/+1
| | | | uname
* Don't play silly games trying to guess the arch, we are passed it in onkris2007-02-181-2/+2
| | | | the command line
* Increase global build timeout to 100 hourskris2007-02-181-8/+2
|
* Improved sanitization of the build environmentkris2007-02-181-0/+6
|
* Don't require an /etc/arch file, we can obtain the information from unamekris2007-02-181-1/+1
|
* Also attempt to clean /root/.ccache in case it is in use. When cleaningkris2007-02-181-7/+5
| | | | | | | on a machine that has use_md_swap=1, allow for the possibility of reusing a md between builds if md_persistent=1. This requires a patch from pjd to support BIO_DELETE in md devices, but it is a big optimization when it can be used.
* Index building needs to happen before prunefailures is run, otherwise itkris2007-02-181-6/+6
| | | | | | | will completely erase the list. When using -continue, don't append to the duds.errors, we don't want to preserve the old cruft from a previous build
* Increase cleanup timeout to 5 days from 48 hours, the openoffice buildskris2007-02-181-3/+3
| | | | now regularly take longer than this :(
* Fix late typo in previous commit.linimon2007-02-141-1/+1
|
* Eliminate some false positives for missing_header, sometimes seen in thelinimon2007-02-141-1/+1
| | | | configure step.
* Combine all like terms to get another 10% speedup in processing time.linimon2007-02-141-116/+13
| | | | | | | | | | There is no change in any of the individual terms; this is merely a rearrangement. This change undoes what I was trying to do back in 2004 of breaking up each individual test into a grep, for readability. The performance of the script has continued to suffer as new greps were added over time, to the point where this is now a bad tradeoff.
* Move two more cases into the 'uncommon' section.linimon2007-02-101-4/+4
|
* Append one character to the gcc4 case (missed during cut-and-paste).linimon2007-02-101-1/+1
|
* Move the uncommon cases below the common ones. A 10% improvement on largelinimon2007-02-101-45/+44
| | | | | | | directories, but a 5% loss on smaller ones. No code changes (yet) except for the deletion of one duplicate ("fetch: transfer timed out" -> "fetch_timeout".
* Remove the other 2 cases of apxs.linimon2007-02-101-4/+0
|
* Speed up by removing the following obsolete tags:linimon2007-02-101-19/+1
| | | | alignment apxs assert CATEGORIES cgi-bin forbidden stl
* Add a new case, 'gcc4', to try to catch the majority of the exceptions thatlinimon2007-02-091-0/+2
| | | | | we are seeing on the latest -current runs. Saves 40 seconds of time on those runs, at the cost of 4 on the others.
* Fix up the code for amd64-6-exp; add a column to label builds thatlinimon2007-02-071-8/+23
| | | | still have processes running, and add that into the highlight logic.
* Retire PORTOBJFORMATkris2007-02-012-2/+1
|
* Drop the build on RELENG_4erwin2007-01-301-20/+1
|
* A bunch of cosmetic changes - add one empty line to make the output morevd2007-01-261-6/+7
| | | | readable and use double quotes everywhere.
* Make output messages more usefulvd2007-01-261-1/+5
|
* * Make it possible to skip existing dependencies and ports references in LEGALvd2007-01-191-39/+67
| | | | | | and continue with removal anyway. Requested by miwi@ * Pipe dependencies information (if any) through a PAGER because INDEX lines are very long and hard to read when wrapped
* Eliminate more false positives for install_error. Very noticeable onlinimon2006-12-261-1/+1
| | | | latest gcc test build.
* Query Gnats for PRs by using the query-pr command on freefall instead of thevd2006-12-201-2/+22
| | | | web-interface becase the later is not reliable.
* Add check for existing non-closed PRs related to the port being removed.vd2006-12-131-1/+65
| | | | | If any are found then ask if the port should be skipped from removal or removed regardless of the PRs.
* - add check sysvipcdinoex2006-12-041-0/+2
| | | | happens when security.jail.sysvipc_allowed=0
* Work around the fact that 5-exp, these days, is really another 6-exp,linimon2006-11-251-0/+4
| | | | except in disguise.
* Replace a simple call to localtime() to strftime() to include theerwin2006-11-231-1/+2
| | | | timezone.
* eik@ has been inactive for quite some time and as I am runningerwin2006-11-234-3/+6
| | | | | these scripts on the cluster, transfer maintainership of these to myself.
* Include a time when the script was started in the mail templates.erwin2006-11-231-5/+16
| | | | | | | This script can sometimes take several hours to run on builder, and thus leading to confusing of why it still reports an error that was fixed in cvs some time ago. Including the time when the ports tree was updated should reduce some of this confusion.
* Add deprecated reason to the output of -Fvd2006-11-021-2/+6
|
* * Create custom commit message template and populate it with the portsvd2006-11-011-16/+88
| | | | | | | | | | | to be removed, possibly with the expiration date and deprecated reason * If port is not marked for expiration than put "Removed" in ports/MOVED entry instead of "Has expired" * Implement -a option to remove all expired ports * Ask if the cvs diff output should be recreated/reviewed again thus giving the committer a chance to edit files by hand and view diff results afterwards * Cosmetic changes
* When checking for dependencies of foocategory/barport also find constructsvd2006-10-051-1/+1
| | | | | like .../barport/something e.g. expect either space, slash or eol after port's name
* Since we already have the data from the grep, go ahead and make the 'latestlinimon2006-09-231-5/+4
| | | | | log' cell a link to it. My weak awk/sh skills are evident here, but it does the job.
* Add links to cvsdone and INDEX files. Add some whitespace.linimon2006-09-231-2/+17
|
* When checking dependencies also look for portname references in Mk/*.mkvd2006-09-141-5/+5
| | | | in addition to */*/Makefile* and ignore references in comments
* * Back up duds to duds.old before, not after we create the new onekris2006-09-141-59/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add more XXX comments for future work * Only record a cvsdone timestamp if we updated cvs * When building with -trybroken, it's safe (and desirable) to run the prunefailure script * Reorganise a few things for better parallelism * Instead of keeping a duplicate copy of the previous logs and errors under bak/, just store a symlink to the archival location * When doing an incremental build, also cycle out the old logs to avoid broken links on the website (the logs from the previous build are removed until the packages are rebuilt). Use cpio to create hardlinked copies of the previous logs. XXX when these are bzipped by cron to save space the links will be broken and it might actually take more space. * Don't bother bunzipping old logs, now that the processlogs scripts can handle it. This was a waste of time anyway since they'd all be rebzipped by the next nightly cron job. * When the build is complete, stash a copy of the restricted ports in bak/restricted/ before deleting them from packages/, and restore from here when doing an incremental build to avoid needlessly rebuilding them each time.
* * When calculating the IP address to use for the jail, don't usekris2006-09-141-4/+5
| | | | | | | 127.0.0.0 or 127.0.0.1 * Don't use chroot to mount the linprocfs, or it won't be visible within the jail.
* * Support bzipped logfileskris2006-09-141-122/+127
| | | | | * More robust extraction of the header values (copes with the addition of the build uname to the header)
* * If .force exists, rebuild index unconditionallykris2006-09-141-5/+6
| | | | | | | * Support .log.bz2 files * Clarify that BROKEN ports are not frequently rebuilt so probably won't appear
* Correct typo in previous commitkris2006-09-141-2/+2
|
* * Drop alpha supportkris2006-09-141-6/+7
| | | | | | | | | | * Increase sparc64 build timeout to 24 hours (we have so few build machines that we cannot afford to tie them up for longer) * Increase other arch build timeout to 100 hours (hello openoffice!) * If we successfully build a formerly broken package, touch errors/.force which will kick off a rebuild of the html files
* * Retire 4-exp builds and add support for 6-exp.kris2006-09-141-11/+12
| | | | | | | | | * Use a generation number for the bindist tarballs, with compatibility symlink. Eventually we'll use this to avoid building in a "stale" chroot (i.e. populated by old world). * Don't bother running ldconfig on i386, it is evidently not needed since the other arches work fine without it
* * Silence gconf spam from the mtree checks (for now)kris2006-09-141-4/+5
| | | | | | | | * Don't try and mount/umount procfs, it won't work when we build inside a jail. * Report the uname -mr of the build environment, to ease confusion of people reading the error logs by mail.
* * Use SRCBASE for source locationkris2006-09-141-6/+12
| | | | | * The 5.x variant for populating /etc does not work on 6.x and above, and vice versa. Conditionalize old and new methods.
* Go back to force unmounting because not doing so was too unreliable.kris2006-09-141-2/+2
|
* Silence the clean-chroot invocationkris2006-09-141-1/+1
|
* Remove grep's -w switch from the dependency check since it misses somevd2006-09-121-1/+1
| | | | | dependencies. This needs some more polishing but for now it is better to emit false positives than skip dependencies.
* Get rid of multiple false positives for "arch" due to compiler warning;linimon2006-08-211-3/+1
| | | | fix true positive for "runaway_process".
* Catch a few more new cases of linker error; reclassify most of the linkerlinimon2006-08-191-0/+4
| | | | | errors seen on -CURRENT as "compat6x" e.g. "someone needs to create a compat6x port and then make it a dependency here."
* Add support for DESTDIR part I.erwin2006-08-041-10/+40
| | | | | | | | | | | | | | This commit should largele be a NOOP as it only adds support for DESTDIR undefined. This does allow us to start testing ports with DESTDIR set, but this is as of yet not supported. Although this has been extensively tested on pointyhat, this is a very intrusive change and some cases may have been overlooked. Please contact Gabor and me if you find any. PR: 100555 Submitted by: gabor Sponsored by: Google Summer of Code 2006
* Catch another case of 'disk full'.linimon2006-08-011-1/+1
|
* Change locking from per architecture to per architecture and branch.erwin2006-07-301-1/+2
| | | | | Especialy i386 has enough horsepower to run two branches simultaniously. This change has been on pointyhat for some time.
* Add an option to the addport script: -b requests that any files inshaun2006-07-141-3/+22
| | | | | | | | ${FILESDIR} which look like patches be treated as binary files. This prevents RCS tags in patch fragments causing a problem for CVS. Approved by: garga (maintainer), ahze (mentor, implicit)
* Add the cvs checkout date so people can see how long the runs take; addlinimon2006-07-131-3/+20
| | | | a comment about openoffice.org*; generalize a bit.
* Make it a little more robust.linimon2006-07-101-1/+1
|
* Convenience script to tersely display all currently running package builds.linimon2006-07-101-0/+11
|
* 'portcomment' appears to be obsolete.linimon2006-07-091-2/+0
|
* Fix the disk_full rule.linimon2006-07-091-1/+1
|
* Add the -exp builds down at the end. Probably only of interest to portmgr,linimon2006-07-081-11/+32
| | | | | so do them separately in order not to break up the ease of browsing the most important stats, above.
* White space adjustment after refactoring.linimon2006-07-081-21/+21
|
* Refactor. No code change (yet).linimon2006-07-081-11/+31
|
* Add some color to the display.linimon2006-07-061-17/+30
|
* Fix CVS tag.linimon2006-07-061-1/+1
|
* Refactor. No code changes yet.linimon2006-07-061-16/+16
|
* Add a column for last-date stamp and clean up the formatting a bit.linimon2006-07-061-7/+22
|
* Escape characters (like +) that may appear in ports' names andvd2006-07-051-2/+13
| | | | break sed -E regular expressions
* When automatic commit log is generated, change @ to " at " on submitter emailgarga2006-07-051-0/+1
| | | | to prevent spam
* Handle the case where the size of INDEX is zero (e.g. during new builds).linimon2006-06-291-1/+5
|
* Fix edit-o.linimon2006-06-281-1/+1
|
* Creates an HTML file with tables for each architecture which summarize thelinimon2006-06-271-0/+123
| | | | | number of packages built vs. packages that failed, along with some other related information.
* - Remove false positives for 'makefile' (and possibly a few others).linimon2006-06-251-57/+23
| | | | | | | | | | | | | | | | | | | | | | | - Remove obsolete explanations which are no longer seen, for speed: ELF, MOTIF, MOTIFLIB, X_manpage, awk, bison, ffs_conflict, forbidden, getopt, getopt.h, imake, lc_r, malloc.h, pod2man, sed, stl, soundcard.h, texinfo, union_wait, values.h - Add more cases to: arch, bad_c++, compiler_error, depend_object, install_error, linker_error, mtree, perl5 These changes reduce many dozens of false positives; add a few dozen true positives; and for certain directories, improve the speed about 10% (a few drop by 15%). It turns out that the performance issues are mainly due to the multiple greps. If performance is an issue we need to go back to the moderately- unreadable, everything-on-one-line paradigm. Before that happens, I would like to experiment with some refactoring, so that the patterns are built up in the shell line-by-line, so you could still be able to read it. Tested on: pointyhat Hat: portmgr
* MFP4:erwin2006-06-231-1/+1
| | | | | Actually use ${SCP_DEST_TMP} to fix the case where SCP_DEST_TMP != /tmp/
* MFP4:erwin2006-06-191-6/+24
| | | | | | When copying INDEX to the server, copy it first to a staging area and first then to the real location. The copying can take long enough for users to get a truncated file when downloading during the upload.
* - Change addport script to do the job locally instead connect to freefall everygarga2006-05-162-18/+39
| | | | | | | | | | time to add a new module. If you want to still use old way, just use "-M freefall.FreeBSD.org" option - Take addport maintainership - When modulesupdate fail, ask user to retry - Change modulesupdate to work fine with addport Approved by: will (maintainer)
* Add support for specifying ports to be removed as directories on thevd2006-05-021-1/+27
| | | | | | | | filesystem (either absolute or relative) in addition to `category/port'. PR: ports/96649 Submitted by: Cheng-Lung Sung <clsung@freebsd.org> Reworked by: vd
* Improve dependency check:vd2006-05-021-2/+3
| | | | | | When removing category/port - look if other ports' Makefiles contain `/port' rather than `category/port', since the later misses things like `${.CURDIR}/../port'
* Add support for removing multiple ports which depend on each othervd2006-04-171-36/+48
|
* Explicitly mount the NFS images ro, instead of relying on the server tokris2006-04-161-1/+1
| | | | | export it ro. This saves thrashing the server if we accidentally try to rm -rf a NFS mount (e.g. because a chroot cleanup failed).
* Don't bother archiving the ports tree, we don't use it for anything so itkris2006-04-161-1/+1
| | | | just takes up time.
* Quote ${1} so we don't get ``[: =: unexpected operator'' if the scriptvd2006-04-121-1/+1
| | | | is started without arguments.
* Add the script I use to remove ports so everyonevd2006-04-101-0/+315
| | | | can benefit (or suffer :-) from it.
* Mount linprocfs on amd64 for the convenience of jdk builds.kris2006-04-031-1/+1
|
* The squid rc.d script no longer has the .sh suffixkris2006-04-032-4/+4
|
* Do not preserve the previous package sets in bak/. This is taking upkris2006-04-031-2/+2
| | | | too much space on pointyhat, and it's also very slow.
* Clean up linprocfs on amd64 as well.kris2006-04-031-1/+1
|
* jdk is buildable on amd64, so we need to also mount linprocfs there.kris2006-04-031-2/+2
|
* This script preserves packages that will be removed by the restricted.shkris2006-04-031-0/+11
| | | | | | | | script, i.e. so they can be moved back into place before start the next incremental build so they won't be needlessly rebuilt every time (jdk, I'm looking at you). It is a bit of a hack since it relies on assumptions about the structure of that shell script, but for now it's the best we can do.
* Temporarily back out the pre.log change, it doesn't work properly.kris2006-03-131-6/+6
| | | | Approved by: portmgr (implicit)
* Mount the md image async here tookris2006-03-131-1/+1
| | | | Approved by: portmgr (implicit)
* Add some more directories temporarily until these ports can be made tokris2006-03-131-4/+8
| | | | | | clean themselves up properly. Approved by: portmgr (implicit)
* Add a mechanism for reporting client machine error conditions back to thekris2006-02-151-1/+14
| | | | | | | | | | | server. Error conditions are flagged by other processes by creating a named dotfile in ${scratchdir}. If these files are found, report the error status instead of the number of running jobs. Currently report "ERR" for all error conditions; I will probably change this to a per-condition message. Currently only "squid not running" and "disk space low" conditions are reported.
* Trim some unused cruftkris2006-02-151-69/+12
| | | | | | | If the package copy fails, bail out immediately instead of later on when we try to pkg_add it. Also trap signals and bail out. Both conditions will cause a retry of the package build.
* Save the output of portbuild run on the client to a temporary log file.kris2006-02-151-1/+11
| | | | | | | | | | If portbuild bailed out unexpectedly, mail the log to ${mailto}. Add some XXX comments about improving robustness of this script. Sleep for 2 minutes before retrying builds, to avoid spamming ${mailto} with a high rate of failure logs. In future we might be smarter about attempting to automatically correct common failure modes.
* Add some sanity checking of the build environment:kris2006-02-151-1/+30
| | | | | | | | | | | * Test whether squid is running. If not, try to kick off the rc script in the background in case it can be restarted cleanly. * Test for at least 100MB of free space on the scratch partition. If either condition fails, set an exception flag and bail out. This will be reported back to the server via reportload.
* * Don't try to pkg_delete packages that are not installed (the usualkris2006-02-151-6/+9
| | | | | | | | | | cause is because it was specified in the list twice) * Don't panic when the list of packages to delete becomes empty * When unexpected filesystem changes are detected, bail immediately instead of proceeding and hiding the error in the middle of the log
* Add support for 6-exp builds (FreeBSD 6.x is our new reference platform)kris2006-02-154-4/+14
|
* * Switch back to using pkg_delete -f; we are not yet ready to dealkris2006-02-141-25/+26
| | | | | | | | | with all the errors from broken pkg_delete scripts * As threatened in previous commit, move the pristine mtree spec generation to phase 1, and avoid having to delete and re-add the FETCH_DEPENDS. We still have to keep them installed until after 'make extract' though
* * In kill_procs(), pass in the directory and mountpoint as separatekris2006-02-111-2/+8
| | | | | | | | | | | arguments (cosmetic) * Detect if a chroot was used to run a jailed build, and first attempt to gracefully shut it down by killing everything within using pgrep(1) This has a much higher chance of succeeding that relying on fstat to identify processes that might interfere with our attempts to clean up mountpoints, which is fragile (libkvm-dependent), and inherently unreliable at best.
* Support for building ports in a jail instead of a chroot. If use_jail=1kris2006-02-111-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in portbuild.conf (or per-machine .conf), then construct a 127.0.0.0/8 IP address based on the build directory ID (i.e. unique for each build instance). This is bound to the lo0 interface for the duration of the 'phase 2' build. We cannot build 'phase 1' in a jail since 'make fetch' doesn't always work through a proxy (e.g. squid sometimes mangles files fetched through FTP, I think by performing CR/LF translation in FTP ASCII mode). Pass in the HTTP_PROXY variable to the jail, if set. This allows FTP/HTTP access from within the jail if the proxy is suitably configured (some ports legitimately need to fetch additional files during the build, e.g. if they have a BUILD_DEPENDS=...:configure target that needs to fetch additional distfiles). Not all ports can be built in jails (most notably the linux_base ports since they want to mount/umount linprocfs), so we will need to come up with a way to deal with this. Some ports require SYSV IPC, so security.jail.sysvipc_allowed=1 might be required. Some other ports attempt to perform DNS lookups, ping, or outbound TCP connections during the build. When it works, this provides better compartmentalization of package builds, e.g. easier termination of builds without the possibility of daemonized processes staying active; no possibility of accidental interference between jails, etc. It also allows for admin monitoring using jls(1).
* * Use ${mailto} portbuild.conf variable instead of hard-coded list [1]kris2006-02-111-4/+7
| | | | | | | | * Remove old logs and possible compressed logs before attempting the build Requested by: lofi [1] Submitted by: linimon [1] No more accidental portbuild spam: kris and krion [1]
* Use ${mailto} portbuild.conf variable instead of hard-coded listkris2006-02-111-1/+1
| | | | | | Requested by: lofi Submitted by: linimon No more accidental portbuild spam: kris and krion
* Checkpoint a major round of changes:kris2006-02-111-64/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Only keep distfiles if the port passes 'make fetch', so we don't accidentally keep files with invalid checksums * Use cleanup() instead of directly exiting in some error conditions * When cleanup() is called indicating an unexpected error (possibly leaving the filesystem in an inconsistent state), mark the chroot as dirty so it will not be reused by another build * Remove packages in dependency order instead of with pkg_delete -f in possibly incorrect order. This paves the way for focusing on errors generated by pkg_delete (e.g. @dirrm that should be @dirrmtry) in the future. [1] * Detect when packages were left behind because they were still in use by other packages, indicating an incorrect or incomplete port dependency list * Partial support for ccache builds (not yet complete) * Support non-standard LOCALBASE/X11BASE settings * Delete FETCH_DEPENDS after the 'make fetch' stage. We have to add them again before 'make extract' since, due to a lack of a 'fetch cookie', 'make extract' actually *always* runs 'make fetch' again, even when distfiles have already been fetched. We need to delete them in order to: * Record an mtree spec of the 'pristine' filesystem state, for later comparison. # XXX Perhaps this can be done in stage 1 before the # 'make fetch', removing the need to delete-and-readd. * Also record an mtree spec of the filesystem state prior to the build phase. Compare this to the state of the filesystem immediately before running the install phase, to detect files that were inappropriately installed during the build phase. Doing so is a fatal error. * Prior to installing, try to run a 'regression-test' port makefile target, if it exists. This allows ports to hook their internal regression suites into the package build. This needs further infrastructure support, e.g. a default NOP target in bsd.port.mk. For now this is run with 'make -k', so regression failures will not yet actually cause package build failures. * Separate the 'make install' from 'make package' phases rather than let the latter implicitly do the install. * After the newly packaged port has been deleted, compare the state of the filesystem to the state before 'make install'. * After removing BUILD and RUN dependencies, compare the filesystem state to the pristine state before the start of the build. This also detects package dependencies that did not clean themselves up properly when deinstalling. It also detects dependencies that were 'missing' from the port INDEX: these were not pkg_added into place, so the package build had to compile them from scratch (a big waste of time and effort), so this is now also a fatal error. PR: ports/85746 (inspired by) [1] Submitted by: Boris B. Samorodov <bsam@ipt.ru> [1]
* Flip from noclean to cleankris2006-02-041-3/+3
|
* Don't bother chowning the client /var/portbuild/, it just takes too longkris2006-02-041-3/+0
| | | | and this doesn't happen in practise unless you screwed up manually.
* Use clean-chroot with clean=2 to remove the chroot instead of duplicatingkris2006-02-041-5/+1
| | | | some of the code
* Flip "noclean" to "clean"kris2006-02-041-3/+3
|
* Instead of passing in a "noclean" boolean, pass in a "clean" level:kris2006-02-041-4/+11
| | | | | | 0 = don't clean chroot 1 = sanitize commonly-modified directories 2 = remove entire chroot
* Also look for chroots that are marked 'dirty' (previous build left chrootkris2006-02-041-1/+5
| | | | in unclean state) and run clean-chroot on them to remove them.
* Don't try to remove the lock file now that we use lockf to manage itkris2006-02-041-2/+0
| | | | Noticed by: linimon
* Fix bogus comments. No code change.linimon2006-02-021-5/+5
|
* Correctly set SRCBASE; the version inherited from buildenv is wrong forkris2006-01-281-0/+1
| | | | the client chroots.
* Don't try to rsync docs, we no longer need to distribute themkris2006-01-281-1/+0
|
* Update the list of quickportskris2006-01-281-1/+1
|
* Warn if there are duplicate MD5/SHA256/SIZE statements for a single fileedwin2006-01-251-3/+33
|
* Small tool to check the necessary lines in the distinfo files, basededwin2006-01-241-0/+105
| | | | | | | | | | | | | | | on the contents of the distinfo files. # # Small tool to find distinfo with missing MD5/SHA256/SIZE statements, # based on the assumption that if there is one of the MD5/SHA256/SIZE # statements, then there should be all of them (except for SIZE # when MD5/SHA256 is set to IGNORE). # # Usage: distinfochecker [-v] [-d directory] # -v - verbose (print) # -d - use directory instead of /usr/ports #
* Support 7.x INDEX buildskris2006-01-231-16/+37
| | | | | Add a few more local configuration variables Minor cleanups
* Don't bother mounting doc tree, it's not needed by any portskris2006-01-221-12/+8
| | | | | | Use LOCALBASE/X11BASE values from buildenv xorg uses the stock BSD.x11-4.dist now.
* Remove -nodoccvs option, it turns out mounting the doc tree is notkris2006-01-221-14/+1
| | | | required by any ports
* Also clean up linprocfs mountskris2006-01-221-0/+1
|
* Pull in buildenv for LOCALBASE/X11BASE locationskris2006-01-221-2/+4
| | | | Don't bother cleaning up doc mounts, they are not needed.
* Use LOCALBASE and X11BASE from buildenvkris2006-01-221-1/+4
|
* Allow for the possibility of overriding LOCALBASE and X11BASEkris2006-01-221-0/+2
|
* Exit with the correct error code when a make target failskris2006-01-151-3/+3
| | | | | PR: ports/64930 Submitted by: Damir Kiramov <damirycha@damirycha.net.ru>
* Back out last commit, it was the wrong filekris2006-01-151-17/+15
|
* Exit with the correct error code when a make target failskris2006-01-151-15/+17
| | | | | PR: ports/64930 Submitted by: Damir Kiramov <damirycha@damirycha.net.ru>
* Add portsvar.sh schell script into Tools/scripts.daichi2006-01-111-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | portsvar.sh - print out variable defined through bsd.port.mk example: % portsvar.sh PORTSDIR OSVERSION PORTSDIR = /usr/ports OSVERSION = 600034 % portsvar.sh -e "PORTS[^_]" PORTSDIR = /usr/ports PORTSSUPFILE = /usr/share/examples/cvsup/ports-supfile % portsvar.sh USE_RUBY=yes RUBY_VER RUBY_ARCH RUBY_VER = 1.8 RUBY_ARCH = i386-freebsd6 % portsvar.sh -w ruby RUBY_VER RUBY_ARCH RUBY_VER = 1.8 RUBY_ARCH = i386-freebsd6 % portsvar.sh -w kde -e KDE_ KDE_MAINTAINER = will@FreeBSD.org KDE_ORIGVER = ${KDE_VERSION} KDE_PREFIX = ${LOCALBASE} KDE_VERSION = 3.5.0 MASTER_SITE_KDE_kde = ${kmaster:S@%SUBDIR%/@@g} % portsvar.sh -a list all variables through bsd.port.mk % portsvar.sh -a -w kde list all variables through bsd.port.mk including kde portsvar.sh is easy tool to check out the variables used in /usr/ports/Mk/bsd.*.mk.
* This script may be run on a client machine to force it to flush its squidkris2005-12-111-0/+15
| | | | | cache. This is useful if the client is holding a bad or stale cached copy of a package that is causing problems for package builds.
* Bump the file size limit to 300MB now that openoffice distfiles exceedkris2005-12-111-5/+5
| | | | 256MB. Clarify a comment.
* Shuffle the order of a cdkris2005-12-111-2/+1
|
* Remove 0-sized entries to avoid misbehaviourkris2005-12-111-0/+4
|
* Don't use a lockfile, the script will be called with lockf -t0 instead tokris2005-12-112-16/+0
| | | | avoid problems with stale lockfiles after a reboot.
* Don't use a lockfile, the script will be called with lockf -t0 insteadkris2005-12-111-6/+0
| | | | to avoid problems with stale lockfiles after reboots.
* Update the list of quickportskris2005-12-111-1/+1
|
* Don't set -nocopy when -norsync is set, otherwise the setupnode scriptkris2005-12-111-1/+1
| | | | doesn't completely prep the client.
* Don't use a lock file, the script will be called with lockf -t 0 instead.kris2005-12-111-6/+0
| | | | This avoids problems from stale lockfiles after reboots.
* Mount the md image async since this gives much better performancekris2005-12-111-1/+1
|
* Utility: A tool to identify similar pkg-descr filesedwin2005-11-261-0/+24
| | | | | | | | | | The ports tree contains many tools with almost-similar names and no helpful pkg-descr difference. The goal of pkg-descr would be to aid the user in his choice of port version. Ergo, similar pkg-descr files are bad. PR: ports/89432 Submitted by: Jonathan <afarsec@012.net.il>
* Remove, don't comment out, unused variableskris2005-10-111-2/+0
|
* Remove unused variables. Don't bother protecting against negativekris2005-10-111-4/+2
| | | | queue lengths since that doesn't arise.
* Update lockf to lockf -k in example usagekris2005-10-111-1/+1
|
* Update the lockf command to add -k in example usagekris2005-10-111-1/+1
|
* When -norsync is set, don't bother to run md5 over the bindist.tarkris2005-10-111-3/+9
| | | | | | | | | | and copy it to the client. This has two benefits: 1) Avoids spamming the master with dozens of md5 processes when dosetupnode is spawned for all client machines at ocne 2) Avoids silly copy attempts on disconnected nodes for which the file is copied to itself
* Change lockf to lockf -k in a commented-out command, just in case it'skris2005-10-111-1/+1
| | | | ever uncommented.
* Add support for use_md_swapkris2005-10-111-0/+5
|
* Add support for use_md_swap. When this variable is set in akris2005-10-111-4/+18
| | | | | | | | | | | | | | | | | | | | | | portbuild.conf, builds will each be done in a separate swap-backed md. This dramatically improves build performance since * Every transaction is not written to disk, so disk bandwidth is not a bottleneck * Multiple builds do not contend with each other for the same set of filesystem locks and other per-device resources The size of the md devices is controlled by the md_size variable. '2g' seems to be a good size. Currently we mdconfig -u each device after each port build, since otherwise dirty blocks accumulate and the md eventually uses a full amount of backing store (2g in the above example). This is a problem if there is unsufficient swap backing to accomodate them all. XXX This should be made configurable to avoid the performance penalty on systems that do have enough swap backing
* No need to hold the queue lock while polling client loadkris2005-10-111-1/+1
|
* * Use lockf -k instead of lockf. If there is ever contention from >1kris2005-10-111-5/+5
| | | | process, you must use -k or lockf can give out two locks at once
* * Add support for use_md_swapkris2005-10-111-12/+22
|
* * Unmount linprocfs around pkg_adding dependencies, to try and workkris2005-10-111-3/+41
| | | | | | | | | | | | | | | around silly failures in some ports when it is present * Add a footer to completed builds that is recognised by pdispatch to retry truncated builds * If ALWAYS_KEEP_DISTFILES is not present in the environment or port makefile, then clean up DISTDIR after the build finishes, to prevent collection of distfiles for this port. * Finish flipping the switch on -noplistcheck - this is activated by passing in the NOPLISTCHECK environment variable instead of using PLISTCHECK in the opposite case
* * Finish flipping the switch on -noplistcheck - this is activated bykris2005-10-111-11/+6
| | | | | | | | | passing in the NOPLISTCHECK environment variable instead of using PLISTCHECK in the opposite case * Remove the unused -nodummy function * Pass in ALWAYS_KEEP_DISTFILES when -distfiles is set
* * Remove support for the unused -nodummy functionkris2005-10-111-65/+66
| | | | | | | | | | | | | * Finish flipping the switch on -noplistcheck - this is activated by passing in the NOPLISTCHECK environment variable instead of using PLISTCHECK in the opposite case * Always pull in the distfiles from the client if they exist (needed for forthcoming ports tree changes to satisfy GPL license requirements) * If the build did not complete "cleanly", e.g. it was interrupted by a network outage or client machine panic, then retry it until it succeeds instead of just leaving a dirty truncated log
* * Remove unused -nodummy argumentkris2005-10-111-34/+6
| | | | | | | | | | | * Finish flipping the switch on -noplistcheck; set NOPLISTCHECK instead of PLISTCHECK in the opposite case * Clean up the distfiles/ directory when starting build, so it is not contaminated by old distfiles * Remove commented-out code to don't back up old distfiles/ directory, it's just too big to do this.
* Silence some possible errors from chflags -Rkris2005-10-111-1/+1
|
* Silence possible errors from some recursive commandskris2005-10-111-2/+2
|
* - Add a new option -L, it works like -l but uses pkg-descr to creategarga2005-10-051-17/+30
| | | | | | commit message. Approved by: will (maintainer)
* Remove some hardcoded values to hopefully stop random users from shootingkris2005-09-091-12/+27
| | | | | | their feet off in public. Suggested by: adamw
* - Handle different INDEX filename on 5.X and abovepav2005-09-051-2/+5
| | | | | PR: ports/85281 Submitted by: Vasil Dimov <vd@datamax.bg>
* Check for extra files on !i386 alsokris2005-07-251-6/+4
|
* Support FreeBSD 7.xkris2005-07-255-5/+15
|
* Drop the removed openoffice 1.0 ports from the quickports listkris2005-07-251-1/+1
|
* Correct typokris2005-07-251-1/+1
|
* Add prototypes for all the subroutines which fixes compilation withmarcus2005-07-111-9/+20
| | | | | | Perl 5.8.7. Reported by: mezz
* Fix typosvs2005-04-181-3/+3
| | | | Approved by: sobomax
* As discussed on the cvs-ports-list, make 'addport' print a warning if the ↵vs2005-04-121-0/+1
| | | | | | | | | directory name contains upper-case characters as it makes finding a port harder. PR: ports/79679 Approved by: will, portmgr(krion)
* Add a splitpatch.pl utility, a small script to convert multi-filetobez2005-04-122-0/+112
| | | | | | patches to several appropriately named single-file patches. Requested by: flz
* - Add bump_revision.pl, a small script to bump the PORTREVISION variableflz2005-04-122-1/+193
| | | | | | | | | | of ports which are depending on a port with a changed shared lib version. Edwin dedicates this script to his son Dirk, born few days ago :) Congrats (again) ! PR: ports/63915 Submitted by: edwin
* - Replace pkg-comment with COMMENT to reflect latest (*sigh*) changesflz2005-04-121-2/+2
| | | | | | | | in the ports framework. PR: ports/62767 Submitted by: Igor Pokrovsky <tiamat@comset.net> Approved by: maintainer timeout (> 8 months)
* Use WRKDIRPREFIX instead of hardcoded value.kris2005-04-121-1/+3
| | | | Clean up after we're done.
* Change rsync -l to -L for the tarballs/ directory (so that danglingkris2005-04-031-1/+1
| | | | | symlinks are not created on the target) and rsync the entire directory so that extra files are deleted.
* Build packages with WRKDIRPREFIX=/work (which does not exist bykris2005-04-031-1/+9
| | | | | | | default) instead of /tmp, since some packages incorrectly search this build path at runtime to try to load things. Requested by: nectar
* Increase the nc poll timeout to better deal with network latencies.kris2005-04-031-1/+1
|
* Flip over the -plistcheck switch to -noplistcheck since we now want tokris2005-04-031-5/+5
| | | | make it the default behaviour.
* Update the list of files and directories to filter from the plist checking.kris2005-04-031-1/+3
|
* Checkout Templates from CVS as well since ports with GNU_CONFIGURE willvs2005-03-211-0/+2
| | | | | | need them when building from 'addport -a -t'. Approved by: will
* Put $FreeBSD$ for ident(1)'ing.krion2005-03-131-0/+1
|
* Hopefully last try to fix readmes build.krion2005-03-121-1/+2
| | | | | Submitted by: Christopher Kelley <bsd at kelleycows.com> Pointyhat to: krion
* Fix problems with quoting if PORTSTOP is specified.krion2005-03-101-1/+1
|
* * Add info files to TMPPLIST, only if INFO is specified. [1]krion2005-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Fix PATH problems during README.html generation if "make -DPORTSTOP readmes" is defined. [2] * Add support for early rcNG startup scripts. [3] * Remove duplicate USE_XLIB handling. [4] * Add check for USE_PYTHON_(BUILD|RUN), and include bsd.python.mk if both are specified. [5] * Use PRE-INSTALL target for SUB_FILES and SUB_LIST. [6] * Introduce bsd.gstreamer.mk and utilize new macros: USE_GSTREAMER/WANT_GSTREAMER. [7] PR: ports/77634 [1], ports/77592 [2], ports/77385 [3], ports/77557 [4], ports/77344 [5], ports/77211 [6], ports/77838 [7] Submitted by: krion [1] [2], Florent Thoumie <flz@xbsd.org> [3] [6], pav [4], lofi [5], ahze [7]
* * Instead of using umount -f to unmount things, first use fstat tokris2005-02-121-6/+44
| | | | | | | | | look for processes holding open references within the FS and kill them, then use regular umount. This is necessary now that devfs cannot be force-unmounted, and has the benefit that processes can't hang around holding references to files between port builds. * Preliminary work to support using ccache to accelerate builds.
* Only try to chown the portbuild directory if we are a disconnected clientkris2005-02-121-1/+1
| | | | (i.e. it is not mounted by nfs)
* Instead of using umount -f to unmount things, first use fstat to look forkris2005-02-121-1/+35
| | | | | | | processes holding open references within the FS and kill them, then use regular umount. This is necessary now that devfs cannot be force-unmounted, and has the benefit that processes can't hang around holding references to files between port builds.
* * Instead of using umount -f to unmount things, first use fstat tokris2005-02-121-7/+44
| | | | | | | | | | | look for processes holding open references within the FS and kill them, then use regular umount. This is necessary now that devfs cannot be force-unmounted, and has the benefit that processes can't hang around holding references to files between port builds. * Reduce possibility for error by testing for presence of executable ldconfig inside the chroot before attempting to run it (e.g. it may not be there if the chroot was not completely initialized)
* Update the plist checking to look for a subset of files and weed out somekris2005-02-121-1/+6
| | | | false positives.
* Document the check-latest-link and tindex scriptskris2005-01-241-1/+5
|
* Add the script I use to look for duplicate LATEST_LINK entries and tokris2005-01-241-0/+72
| | | | send nag-mails to the responsible maintainers.