summaryrefslogtreecommitdiff
path: root/Tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add another check for duplicate installations of same port. OnlySatoshi Asami2001-10-141-3/+5
| | | | | | | search for logs in toplevel directory. A couple of cosmetic changes. Notes: svn path=/head/; revision=48766
* Use 'id -un' and 'id -gn' for user and group information, not 'logname'.Neil Blakey-Milner2001-08-173-7/+80
| | | | | | | | | | Add mkppackage, which will create a "fake"-style package, but not really. It doesn't try fake PREFIX and such to the build (it's not really possible anyway yet), but it uses pkg_create's '-s' option to pretend the package generated was installed in ${PREFIX}. Notes: svn path=/head/; revision=46358
* Actually fix the breakage introduced in rev 1.2.Maxim Sobolev2001-07-311-2/+0
| | | | Notes: svn path=/head/; revision=45650
* Fix breakage introduced in previous commit.Maxim Sobolev2001-07-311-1/+1
| | | | Notes: svn path=/head/; revision=45649
* Fix a bug that in some rare cases may lead to a patch not being properlyMaxim Sobolev2001-07-311-0/+2
| | | | | | | generated. Notes: svn path=/head/; revision=45648
* Trap signal 31 as well (typo).Maxim Sobolev2001-07-301-2/+2
| | | | | | | Submitted by: "Alexey V. Neyman" <alex.neyman@auriga.ru> Notes: svn path=/head/; revision=45622
* Unbroke when /usr/ports is symlink.Maxim Sobolev2001-07-301-2/+2
| | | | | | | Submitted by: ben Notes: svn path=/head/; revision=45607
* Fix problems in previous commit:Maxim Sobolev2001-05-171-5/+5
| | | | | | | | - We don't really want to catch SIGCHLD; - actually enable new `-f' option. Notes: svn path=/head/; revision=42672
* - Add an option to disable interactive confirmation;Maxim Sobolev2001-05-171-1/+18
| | | | | | | | | - catch up possible signals to remove temporary files. Submitted by: dirk, sobomax Notes: svn path=/head/; revision=42670
* Stopgap bugfix to avoid the case where a user invokes -t and ends up withWill Andrews2001-05-011-3/+4
| | | | | | | | | | | | | | a work/ dir in the repository placed there by addport without permission. Also restore the rcsids from the predecessors of this script by removing their $'s. If I had more time, I'd just revamp parts of this script. Submitted by: greid Apologies to: greid && cvs@ Notes: svn path=/head/; revision=42131
* Be more specific in trying to exclude man pages - look for 'man/man',Neil Blakey-Milner2001-04-021-1/+1
| | | | | | | not just 'man'. This makes the 'manage_*' from Zope work. Notes: svn path=/head/; revision=40742
* Steal the 'hmake' variable building from mkpinstall. This wasn'tNeil Blakey-Milner2001-04-021-4/+6
| | | | | | | properly fixing the username in the *OWN variables passed to make(1). Notes: svn path=/head/; revision=40741
* Add patchtool - a tool to automate generation/updating of patchfiles. ThisMaxim Sobolev2001-03-192-0/+775
| | | | | | | | | tool has something in common with update-patches shell script, but has more features and is more intelligent. See README.patchtool or source code for details. Notes: svn path=/head/; revision=40054
* Look into arch-specific distinfo's as well.Maxim Sobolev2001-03-191-2/+2
| | | | | | | Prompted by: Vadim Ostranitsyn <vadim@alpha.tsu.ru> Notes: svn path=/head/; revision=40053
* Make plist work again with new-found use of line continuation inBrian Feldman2001-03-131-9/+16
| | | | | | | mtree files. Notes: svn path=/head/; revision=39710
* Uncomment and update OSREL and OSVERSION in preparation for 4.3R.Satoshi Asami2001-03-123-6/+6
| | | | Notes: svn path=/head/; revision=39642
* Tweak to catch missing directories from the Makefiles in the variousSteve Price2001-03-081-1/+5
| | | | | | | | | categories which were failing to be mapped from directory to port name because 'make index' can't know to run 'make describe' in directories it doesn't know exist. Notes: svn path=/head/; revision=39222
* mkbindist is in scripts/ now, with ${branch}/mkbindist.conf specifyingSatoshi Asami2001-02-284-100/+12
| | | | | | | necessary per-branch options. Notes: svn path=/head/; revision=38905
* Do not hardcode /tmp as a temp directory base, try $TMPDIR, $TMP andPeter Pentchev2001-02-222-4/+41
| | | | | | | | | | the system temp dir as given by paths.h (paths.ph) in this order. Approved by: nbm Perl-fu by: des, Tony Finch <dot@dotat.at> Notes: svn path=/head/; revision=38611
* (1) Update values of OSREL/OSVERSION to match reality.Satoshi Asami2001-02-213-15/+15
| | | | | | | | | | | | (2) (portbuild) Change no-output timeout from 1800 to 3600. Some ports seem to actually take more than 30 minutes inside a command. (3) (portbuild) Add -p flag to tar when extracting bindist. (4) (makeindex) Remove the -j flag to make index, the argument was 1 anyway. Notes: svn path=/head/; revision=38538
* Some minor additions so that we act a bit more like NetBSD's url2pkg; weNeil Blakey-Milner2001-02-021-1/+7
| | | | | | | | | | now autogenerate MASTER_SITES if we're given an URL. Also check the PKGMAINTAINER environment variable. Submitted by: Tomasz Luchowski <zuntum@eik.pl> Notes: svn path=/head/; revision=37909
* A few new features:Satoshi Asami2001-01-211-14/+22
| | | | | | | | | | | | | | | | | | | | | | | (1) The script now assumes make(1) knows how to handle long dependency chains properly. quickports is a list of ports that take a long time to build by thesmelves (not ports that have long dependency chains). The script adds several extra dependency levels to the generate Makefile for those ports to make their dependency chains longer. (2) Use -R flag to cvs. Comment out the cvsup part. (3) Preserve error messages for ports that didn't build the first time around but did build on the retry. (4) Record the package's timestamps in the log directory by doing an "ls -asFlrt" in the packages/All directory. (5) Add a little sleep after two background jobs so outputs won't be garbled. Notes: svn path=/head/; revision=37384
* Fix off-by-one error that was causing an infinite loop in some veryWill Andrews2001-01-161-1/+1
| | | | | | | | | | weird cases. AAARGGH!!! Discovered by: will, sobomax, alex Fix by: Dima Dorfman <dima@unixfreak.org> Notes: svn path=/head/; revision=37263
* Use the -p option with diff. Add a FreeBSD tag. Don't try toTrevor Johnson2001-01-121-24/+7
| | | | | | | | | | | | guess WRKSRC or PATCHDIR. Don't munge "." characters in filenames. This requires support in bsd.port.mk, a patch for which is in PR 24292. Submitted by: Christian Weisgerber <naddy@mips.inka.de> Notes: svn path=/head/; revision=37153
* Fix two bugs: pass $passenv to make *always*; remember that the initialWill Andrews2001-01-071-3/+3
| | | | | | | | | join() in the autofill algorithm doesn't need a space. Bugged by: alex Notes: svn path=/head/; revision=36877
* Make plist (the Ruby script) a tad more useful: build in mtree supportBrian Feldman2001-01-061-26/+54
| | | | | | | | | which holds final veto power over what @dirrm lines go into the plist. This is a bit less evil than all the regexps previously used to manually remove those directories. Notes: svn path=/head/; revision=36862
* As a quick fix, use /tmp instead of the currently hardcoded /usr/tmp.Neil Blakey-Milner2001-01-032-2/+2
| | | | Notes: svn path=/head/; revision=36636
* Add (a currently very bare) mkpbuild, and (the more useful) mkpinstall.Neil Blakey-Milner2001-01-022-0/+136
| | | | | | | | | | | | | | | | | | | | | mkpbuild just builds a port with WRKDIRPREFIX and PREFIX set to a directory in /tmp, and with the owner and group variables set to the user. A placeholder - in future, it'll have build error/log parsing. mkpinstall's claim to fame is to do the same, except with "make install" instead of "make build", and it then parses the mtree file, and compares that and the current directory tree and the files, and auto-generates a plist. They're not pretty, but they finish the mkptools set basic functionality: automatic skeleton generation with mkpskel, on-extraction requirements guessing, and plist generation. Future direction might be parsing build and install failures, checking for '/usr/local' abuse, more requirements guessing, and stuff like that. Notes: svn path=/head/; revision=36610
* Fix breakage when someone uses -t option: pass DISTDIR environment variableWill Andrews2001-01-011-7/+9
| | | | | | | | | | | | | | to the extra testing's make procs. Fix _stupid_ mistake where -n option had no effect on hindering ``cvs add'' and CVSROOT/modules updating. Cosmetics; remove extra space in generated commit log message and fix the usage section's style in regards to options that take arguments. Add missing -g option's mention. Submitted by: assar (DISTDIR, CVSROOT/modules updating routine bugs) Notes: svn path=/head/; revision=36588
* Several changes. First, depend on another environment variable ratherWill Andrews2001-01-011-12/+14
| | | | | | | | | | | than CVSROOT (now ADDPCVSROOT) to avoid conflicts for people who normally set CVSROOT to something besides freefall (like myself). Second, allow autofill to work for non-PR additions by checking for a -l argument of -1. Third, remove the bogus $portname check in autofill that screws up if you are adding something with a PKGNAMEPREFIX (i.e. p5-). Notes: svn path=/head/; revision=36552
* Here's my holiday present to the ports team: new -l option allows you toWill Andrews2000-12-311-19/+95
| | | | | | | | | | | | | | | let portlint fill out your commit log message. It takes data from your port's Makefile and pkg-comment to generate this, then displays the resulting file and gives a chance to fix any problems. Also, change -c option to move the file to the temp directory. Since -c and -l option conflict, -l will take precedence. Move -c option down to where directories are parsed. Reviewed by: Jeremy Shaffner <jeremy@external.org> Notes: svn path=/head/; revision=36524
* Add new option: -c file : Pass a file containing the log message for theWill Andrews2000-12-301-3/+23
| | | | | | | | | | new port. Slight hack used to obtain absolute path for the file. I'll probably change that to make it copy the file to the tmpdir instead. For now, this provides a stepping stone to use to begin automating commit log messages - with, of course, a chance to edit the file again. Notes: svn path=/head/; revision=36452
* Add -g option to disable committing to CVSROOT/modules, useful if someoneWill Andrews2000-12-191-2/+5
| | | | | | | | | | | is going to commit a large number of ports and doesn't want to bloat the repo any more than necessary. Later on I'll add support to modulesupdate to do multiple modules at the same time. I should check that script in CVS, but nobody's repocopied non-ports-specific tools to src yet to my knowledge so I can't do that. Notes: svn path=/head/; revision=36084
* master is back to bento.Satoshi Asami2000-12-181-1/+2
| | | | | | | | Add definition of scratchdir=/x/tmp for scratch directory to use when temporarily creating load files. Notes: svn path=/head/; revision=36050
* Combine the scripts for building the bundist tarballs. The per-branchSatoshi Asami2000-12-181-0/+70
| | | | | | | specifics are in mkbindist.conf under ${portbuilddir}/${branch}. Notes: svn path=/head/; revision=36047
* Functional modification: Make -n only apply to cvs commit, NOT *all*Will Andrews2000-12-081-3/+3
| | | | | | | | | | cvs ops. Many committers found it difficult to debug while using addport with the -n argument. I'm inclined to agree with the sentiment. Submitted by: sada, deischen, others Notes: svn path=/head/; revision=35776
* Use YYYYMMDDHH for log files so we can have two builds on the sameSatoshi Asami2000-11-071-1/+8
| | | | | | | day. Remove lock file if package build aborts. Notes: svn path=/head/; revision=34894
* (1) New flag, -ftp, indicates packages are to be copied over to theSatoshi Asami2000-11-071-17/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ftp site (specified in portbuild.conf). (It used to be implied by -norestr.) (2) Remove x11-toolkits/Motif-dummy from list of dummy ports, since open-motif is now the default. Also gone is the MOTIF_OPEN variable. (3) Run the tar -czf of the ports tree and generation of CHECKSUM.MD5 in the background. (4) Print the amount of time it took for the entire process, as well as phase 1 and phase 2 of the compilations. (It is done by date -r, so it will only work modulo 24 hours. Hopefully the build will never go over 24 hours again.) (5) Make symlink of the form [ae].${branch}.YYYYMMDD -> [ae].${branch}.YYYYMMDDHH so we can have the simple "date" form as well as the new "date+hour" directories for logs. (6) Remove temporary make status files from /tmp that are over 60 minutes since the last modification. It was filling up the root filesystem. (7) Print out an "ls -lrt" of packages/All into logs/ls-lrt. This is going to be used to evaluate make's job dispatch policies. Notes: svn path=/head/; revision=34893
* Add standard 2-clause BSD license to protect my (and mharo's) copyright.Will Andrews2000-11-041-0/+24
| | | | Notes: svn path=/head/; revision=34802
* s|pkg/PLIST|pkg-plist|gMaxim Sobolev2000-10-211-3/+3
| | | | Notes: svn path=/head/; revision=34071
* Add update-patches, a script to generate updated versions of theTrevor Johnson2000-10-192-1/+139
| | | | | | | | | patches in a port. Obtained from: OpenBSD Notes: svn path=/head/; revision=33990
* Add plist, a script to automate the generation of a pkg-plist.Brian Feldman2000-10-172-0/+65
| | | | Notes: svn path=/head/; revision=33935
* Overhaul addport again. Should be quite functional now.Will Andrews2000-10-141-22/+70
| | | | | | | | | | | | | | | | | | | | | | 1) Re-add functionality removed in revision 1.11, but only as an option. This time, it checks out its own copy of ports/Mk and points PORTSDIR at the correct location. To use this, use the -a option. It will not work if it can't find portlint in your path. 2) Add option -f to disable fetching the distfile. 3) Add option -m to disable checking out a copy of Mk for 1). For those that have a current Mk in PORTSDIR and don't want to check out a fresh copy for whatever reason. 4) Support CVSROOT environment variable. 5) Note environment variables recognized by addport. 6) Fix breakage trying to use -d with multiple directories (not tested). 7) Actually use $interactive variable. 8) Update usage(). 9) Note original RCSID for my shell script; take over as MAINTAINER. Tested by: gshapiro (this revision was used in adding sendmail) Notes: svn path=/head/; revision=33809
* Add the first efforts on my mkptools, the successor to makeport.pl.Neil Blakey-Milner2000-10-144-0/+613
| | | | | | | | | | | | | | | | | | | | | | | | mkptools are broken up into simple scripts: mkpskel takes a distribution file as an argument and generates a skeleton; it guesses the extract method, the package name, and so forth, and generates populated Makefile and distinfo and empty pkg-descr, pkg-comment, and pkg-plist. mkpextr goes through the extract phase, and generates what it believes are the necessary variables necessary to build the port. It guesses the work source directory, what the Makefile is called, whether it has configure, whether to use libtool, and other bits such as wildly guessing kde, qt, gtk, gnome, and ssl requirements. Run it in a port directory, and it generates Makefile.extr. mkpmerge merges the results from mkpskel and mkpextr (and will later merge the results from the other phases) into Makefile. mkpclean cleans up any extra files that may be hanging about. Notes: svn path=/head/; revision=33807
* Since people don't seem to appreciate the fact that addport can doWill Andrews2000-10-111-26/+0
| | | | | | | | | | | automatic checking on their ports to be added, I'm removing it and its overriding -v option. Let the improper port additions continue, and screw anyone who doesn't care about the repo. Propelled by: obrien, msmith Notes: svn path=/head/; revision=33694
* Ajust for a new world order (md5 --> distinfo).Maxim Sobolev2000-10-091-3/+3
| | | | Notes: svn path=/head/; revision=33600
* Name change, files/md5 -> distinfo. (Only change is to message -- theSatoshi Asami2000-10-091-2/+2
| | | | | | | | | code actually detects both new and old errors.) Expand the USE_XLIB case to include Xosdefs.h. Notes: svn path=/head/; revision=33597
* Hack this file beyond recognition to cope with both the old and newSatoshi Asami2000-10-061-9/+12
| | | | | | | | | | | mtree outputs. Also change the title of the file from "List of extra files and directories" to "List of files and directories that do not match their mtree description", which is more accurate. Notes: svn path=/head/; revision=33453
* Need to quote su -c command with ", not ' since I've got variablesSatoshi Asami2000-10-061-1/+1
| | | | | | | in there (d'oh!). Notes: svn path=/head/; revision=33452
* Typo (/etc/portbuild -> /var/portbuild).Satoshi Asami2000-10-061-1/+1
| | | | Notes: svn path=/head/; revision=33451