aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts
Commit message (Collapse)AuthorAgeFilesLines
* - Update to 0.1.3 which only brings a -v option to allowbdrewery2013-03-281-1/+10
| | | | | | | supporting older versions for the stdout/stderr switching Approved by: Ilya A. Arkhipov <rum1cro@yandex.ru> (maintainer) With hat: portmgr
* Replace linebreak with space instead of comma in addresserwin2013-03-271-1/+1
| | | | list, to make the for loop lateron actually work.
* Revert to sending both stdout and stderr to the OPTIONSFILE for nowbdrewery2013-03-251-1/+1
| | | | | | | | as this change was not backwards compatible. A more robust solution checking the installed version and auto updating is needed. Pointyhat to: bdrewery With hat: portmgr
* - Update to 0.1.2bdrewery2013-03-251-1/+1
| | | | | | | | | | Changes: - Use stderr as the old dialog did, which fixes usage inside of jails - Add D4PMINHEIGHT and D4PALIGNCENTER (see dialog4ports(1)) Approved by: Ilya A. Arkhipov <rum1cro@yandex.ru> (maintainer) With hat: portmgr
* - Fix dialog4ports missing when PREFIX!=LOCALBASEbdrewery2013-03-211-1/+3
| | | | | | PR: ports/177174 Reported by: Hirohisa Yamaguchi <umq@ueo.co.jp> With hat: portmgr
* - Remove prompt for dialog4ports. Dialog4Ports is abdrewery2013-03-211-0/+37
| | | | | | | | | | | | | | | | required part of ports 'make config' now. This is seen as not much different than any other dependency. - Allow dialog4ports to work with INSTALL_AS_USER by building and using the port's WRKDIR version through a Tools/scripts wrapper - Add NO_DIALOG for 'config' as well. - Fix D4P environment variables not passing to dialog4ports: D4PHEIGHT, D4PWIDTH, D4PFULLSCREEN Reviewed by: miwi, bapt, rum1cro@yandex.ru Tested by: miwi, bapt, rum1cro@yandex.ru Tested by: bdrewery (small exp-run) Requested by: many
* Make check_deps behave the same as check_PRs:bapt2013-03-101-25/+21
| | | | propose to skip removing a port if anything depends on it, instead of infinite looping on "ignore the issue"
* Remove support for FreeBSD 7.xerwin2013-03-071-6/+2
|
* Don't hardcode makecrees2013-03-041-1/+1
| | | | Submitted by: az
* Apparently some people override PKGCATEGORY, socrees2013-03-041-3/+2
| | | | | | manually extract it from CATEGORIES again. Discovered by: dinoex
* Add myself to the list of people who don't need a Created by: line.brooks2013-03-011-1/+1
|
* Loosen regex to match additional emailseadler2013-02-161-1/+1
| | | | | | Add makc's alternate email Submitted by: makc
* - I hereby declare myself a "nice" persontabthorpe2013-02-161-1/+1
|
* Various spelling correctionscrees2013-02-091-5/+5
| | | | | | | | | | PR: ports/175331 Submitted by: Christoph Mallon Approved by: No objections within three weeks from any maintainer While here, style and duplicate phrase fixes in bsdcflow pkg-descr Submitted by: mi
* Add some checks for Subversion; minimum version required is 1.7, or addingcrees2013-02-031-0/+11
| | | | | | ports with subdirectories fails because of scattered .svn directories. Original issue reported by: netchild
* Add azeadler2012-12-171-1/+1
| | | | Fix regex - I had this locally but forgot to commit
* Make the regex stricter to avoid false positive matcheseadler2012-12-171-1/+1
| | | | | Add kuriyama to the list Add bapt's alternate email to the list
* Covert gnomedepends.py from Python 2 to Python 3.eadler2012-12-161-5/+5
| | | | No objections from: sobomax
* Add both of pgollucci's email addresseseadler2012-12-161-1/+1
| | | | | | | Add rm's alternate email address Add wxs If anyone else wants to be added please email me so we could batch them up into one set.
* I and Philip are Nice Peoplecrees2012-12-161-1/+1
|
* Teach the conversion script about all the nice people that offered to reduce ↵eadler2012-12-161-1/+5
| | | | the number of wasted bytes in the world
* Teach convert-makefile-header about the mcom header line.eadler2012-12-151-0/+13
| | | | Don't remove this when doing the conversion.
* prdone and prpatch were removed in r297358bdrewery2012-12-122-11/+2
|
* Strip svn:executable just in case it's been setcrees2012-12-101-0/+4
| | | | Reported by: db
* Document tool which converts from old style header to new styleeadler2012-11-291-0/+1
| | | | Feature safe: yes
* - Fix runtime utf-8 problems using codec encoder and system localesbz2012-11-061-3/+6
| | | | | | | PR: ports/173195 Submitted by: rm Reviewed by: sbz (myself) Feature safe: yes
* Use the 'Created by:' header option per default rather than the RCS onlyehaupt2012-10-301-5/+6
| | | | | | | header. Suggested by: adamw Feature safe: yes
* Add convert-makefile-header.pl, a perl script that converts old style Makefileehaupt2012-10-291-0/+111
| | | | | | headers to the new format. Feature safe: yes
* Freefall doesn't have LWP::Simple, so use /usr/bin/fetch to reduce dependenciescrees2012-10-291-3/+2
| | | | | Noticed by: thierry Feature safe: yes
* - Fix reference to the Additional Contributors' list due to renamingmadpilot2012-10-261-1/+1
| | | | | | | to .xml in r39631 Approved by: crees Feature safe: yes
* Silence svn update commands.erwin2012-10-211-4/+4
| | | | Feature safe: yes
* - Sync with the versions currently running on pointyhatbeat2012-10-202-105/+42
| | | | | | | - Use Subversion instead of CVS Approved by: erwin (maintainer) Feature safe: yes
* Sync with the version that's currently running on pointyhat:erwin2012-10-191-2/+5
| | | | | | | | | - be less verbose to be more friendly to running from cron - I've been running this script for several years now, not Kris - Send me a copy of the output for debugging Feature safe: yes
* Add MOVEDLint checks for some of the other formatting problemseadler2012-10-161-0/+7
| | | | | | seen in MOVED lines. Feature safe: yes
* Clean-up command-line options.ale2012-10-091-7/+3
| | | | Approved by: crees
* Make the removal diff nicer to read by not showing the line-by-line removal ↵eadler2012-09-241-1/+1
| | | | | | and instead replace it with "FILE has been deleted" Reviewed by: crees
* - prefix saved files (PR/patches) with PR_$numohauer2012-09-241-6/+9
| | | | | | PR: ports/171853 Submitted by: ohauer Approved by: miwi (maintainer) explicit per PM
* bsd.port.mk handles getting the primary category for uscrees2012-09-211-5/+4
| | | | | | Since Created by: line appears to be popular, get Submitted by: from that Old-style Makefile headers should no longer be used
* - Fix bytes problem returned by urlopen when using Python 3.xsbz2012-09-181-4/+4
|
* Accepts the new svn_revision tag in the removed ports xml database.crees2012-09-161-5/+11
| | | | | Apologies for the complexity of the code; it's optimised for speed. Soon I will be able to remove the section working with dates.
* - Set fbsd:nokeywords property value to the one recommended by the Portsbeat2012-09-101-1/+1
| | | | | | Subversion Primer. Approved by: mandree@ (maintainer)
* - Support Python 3.xsbz2012-09-061-1/+4
|
* By request, move dialogwrapper to the main folder and fix the readme.eadler2012-09-013-8/+2
| | | | Additionally, document the wrapper in the main readme
* Now that the headers have been removed, we no longer get the Whom line fromcrees2012-09-011-3/+3
| | | | | | | which to acquire the Submitted by: line. It should be reasonable to simply use the MAINTAINER line; unfortunately we lose the real name and only get the email address.
* Add $FreeBSD$ lineseadler2012-09-012-0/+4
| | | | reported by: crees
* By request, add dialog wrapper used to give the ports options dialogeadler2012-09-012-0/+150
| | | | | | | | | | | additional features such as: - extended descriptions - auto resizing - compatability with older dialog implementations Submitted by: wblock Reviewed by: ports@
* - Fix documentationsbz2012-08-303-27/+27
| | | | Submitted by: culot, gahr
* Fix the -y option to test for possible duplicate ports; use INDEX instead ofcrees2012-08-251-6/+7
| | | | | | modules file that was removed. It's fast, use it!
* Use "exec" when executing SVN with user-provided arguments,mandree2012-08-251-2/+2
| | | | | | | | | to avoid running SVN multiple times with command lines like the following: svn co --depth empty svn+ssh://svn.freebsd.org/ports/head ports Reported by: ak@ (on IRC)
* - Add getpatch script to download patch attachments on bug tracking systemssbz2012-08-233-0/+275
| | | | Approved by: portmgr (bapt)
* - Look for older versions of ports to copy over before committing.crees2012-08-211-13/+75
| | | | | | | | Requested by: several - Remove older readded ports from MOVED - Tighten up find syntax (split by null and use -print0)
* Changes over original script:mandree2012-08-211-49/+94
| | | | | | | | | | | | | | | | | | | | | | - FIX: all progress and error output goes to fd#2 (stderr) - FIX: at top level, properly detect commands if preceded by options - FIX: in checkstatus(), handle ~ (obstructed versioned item) - FIX: support blanks, leading dashes, and shell meta characters: + in file names, so as not to choke the script on difficult file names + in command line arguments, so that svn commit -m "commit message" works, rather than complaining about an unversioned file "message". - FIX: in checkstatus(), keep leading spaces from svn status - FIX: in setprop(), detect egrep errors, rather than assuming "no match" - ADD: die if "check" psvn-specific command has trailing arguments - CHANGE: replace `...` by more concise $(...) notation - CHANGE: take maintainership, offered by beat@. - SPEEDUP: in checkstatus(), use shell built-ins, rather than commands - SPEEDUP: when checking files, run svn only once, rather than for each file - SPEEDUP: when skipping "svn rm"-ed files, use ! -e rather than head|awk - TODO: handle long options for svn commit - TODO: do not stomp over svn:mime-type if it's already set (binary files!) Approved by: beat@ (maintainer)
* Don't replace - with _ in category variable.crees2012-08-101-3/+2
| | | | | | | | | | | | | This was required with CVS, since the category was checked out as a module, but the directory name is used with svn. For example: pcvs co ports_ports_mgmt svn co $ports/head/ports-mgmt Submitted by: swills
* - Remove duplicate execution of svn info [1]beat2012-07-191-4/+13
| | | | | | - Add description what the script actually does Submitted by: gahr [1]
* Support svn tooeadler2012-07-161-1/+1
|
* Remove support for CVS from MOVEDLinteadler2012-07-161-3/+1
| | | | Approved by: portmgr (beat)
* - Add a svn wrapper which does sanity checking and handles svn propertiesbeat2012-07-161-0/+136
|
* - Update addport and rmport to work with Subversionbeat2012-07-162-74/+56
| | | | Submitted by: crees, miwi
* s/X11BASE/LOCALBASE/, or equivalent.dougb2012-06-251-1/+1
| | | | The X11BASE variable is long gone, however these ports were not updated.
* Support conversion of make.conf-style files.crees2012-06-091-21/+91
| | | | | The script is very cautious, and may miss some; checking the results by hand is absolutely vital.
* Add script to convert old-style OPTIONS database files to new format.crees2012-06-041-0/+30
| | | | | If you are having trouble with saved OPTIONS not being recognised, just run this as root and you will have no further trouble!
* - Modify Additional Contributors path to match svncrees2012-05-311-2/+3
| | | | | | - Take maintainership Approved by: garga (maintainer)
* - Restore getpr, i still use it and i believe few other committers as wellmiwi2012-05-291-0/+93
| | | | - Take maintainership
* Remove obsolete PR handling scripts. These had hardcoded /home/ncvscrees2012-05-253-159/+0
| | | | Approved by: mharo (maintainer)
* Take maintainership-- thanks to vd for his past work on this scriptcrees2012-05-031-6/+11
| | | | | | | | | | | Approved by: vd (maintainer) - Make the diff output work - Use cdiff if exists, otherwise stick with $EDITOR - Stop trying to remove CVSROOT; hasn't been checked out since modules support was removed by erwin
* Spell plural LATEST_LINKs with a lowercase s to avoid confusionerwin2012-04-081-1/+1
| | | | | | | to the spelling of LATEST_LINK. Submitted by: gerald Feature safe: yes
* Document MOVEDlint in READMEeadler2012-02-171-0/+1
|
* - fix interpreter path for pythonpgollucci2012-02-124-4/+4
| | | | | PR: ports/154431 Approved by: sobomax (maintainer)
* If you have not yet run this script, I feel sorry for you.eadler2012-01-161-156/+0
| | | | Hat: x11
* Better wording to clarify the previous two commits.wxs2011-12-281-1/+2
| | | | Submitted by: dougb@
* Revert part of the previous commit, and make things a little more clear withwxs2011-12-281-1/+1
| | | | | | punctuation. Discussed with: eadler@
* - Remove some old duplicate words. They were getting in way of finding newer ↵eadler2011-12-273-3/+3
| | | | ones.
* - Fixed missing end-quote in sed commandglarkin2011-12-101-3/+3
| | | | | | | | | - Fixed some grammatical errors in output messages PR: ports/162506 Submitted by: "Conrad J. Sabatier" <conrads@cox.net> Approved by: sobomax (maintainer timeout - 1 month) Feature safe: yes
* INDEX-6 -> INDEX-8dougb2011-09-281-1/+1
| | | | Submitted by: gjb
* Add support from FreeBSD 10.xerwin2011-09-271-2/+6
|
* Add option (-y) to check for similarly named ports.crees2011-08-291-1/+35
| | | | | | PR: ports/159841 Submitted by: crees (me) Approved by: garga (maintainer)
* - Use optparse instead of old deprecated method.stas2011-08-231-14/+10
| | | | - Kill ruby 1.6 related stuff.
* - Fix options processing (optparse puts options into hash indexed by strings,stas2011-08-231-3/+3
| | | | not symbols).
* - Make it work with ruby 1.9.stas2011-08-231-6/+17
|
* - Back out category check for nowswills2011-08-161-6/+0
|
* - Remove obfuscation of submitter email at request of dougbswills2011-08-161-1/+6
| | | | - Add check that port is in right directory as I've been bitten by this
* Change shebang to #!/usr/bin/env perl, as required by bapt@garga2011-07-281-1/+1
|
* Remove duplicate words in comment.erwin2011-05-021-1/+1
| | | | Submitted by: ohauer
* Drop support for FreeBSD 6.x.erwin2010-12-141-7/+2
|
* - Switch to SHA256 checksumspav2010-11-181-11/+11
| | | | | PR: ports/152358 Submitted by: Volodymyr Kostyrko <c.kworr@gmail.com>
* - s/make/may/pgollucci2010-09-241-1/+1
| | | | Reported by: wxs
* -use a tab not a spacepgollucci2010-09-231-1/+1
|
* /8/9/ as the defaultpgollucci2010-09-231-1/+1
|
* blanket approvalpgollucci2010-09-231-0/+1
|
* check for repocopy snafuspgollucci2010-09-141-0/+43
|
* - Unbreak the -n flag;romain2010-06-061-6/+5
| | | | | | - Remove invalid reference to freefall. Approved by: garga
* - allow addport to work in ports-mgnt againdinoex2010-03-251-1/+1
| | | | Approved by: garga, drso, flz
* - Add a script to check unneeded dependencies for perl modules.kuriyama2010-01-292-0/+107
|
* Correct depreciation warning with Python 2.6 and fix several warningssobomax2009-11-211-19/+19
| | | | from the pytchecker.
* - Fixed "permission denied" errorglarkin2009-10-061-2/+2
| | | | | | - Prevented full ports tree build when operating with ~/.cvsrc PR: ports/139121
* Correctly bump PORTREVISION?= instead of always resetting to 1 in this case.gerald2009-09-151-1/+1
| | | | | PR: 138774 Approved by: edwin
* Add support for INDEX-9erwin2009-08-231-3/+8
|
* Explicitly override LOCALBASE to make sure we don't geterwin2009-07-142-0/+2
| | | | | | | confused by locally installed ports that might influence PKGNAME or other variables. Suggested by: pav
* Force cleaning of the environment from customized local settings.erwin2009-06-061-0/+5
|
* Use zfs snapshots that are periodically updated on pointyhat for theerwin2009-05-281-27/+78
| | | | | normal builds instead of a local cvs update. This speeds up the script several times and easies I/O on pointyhat.
* note mark_safe.plpgollucci2009-05-171-0/+1
|
* o don't set anything in ports with NO_BUILDpgollucci2009-05-171-3/+3
| | | | | o fix rubygem skipping o next, not die
* Do not mark rubygem ports, its a NO-OPpgollucci2009-05-161-0/+2
| | | | Discussed with: pav on irc (#bsdports)
* Make previous commit work for both context and unified input patches.itetcu2009-05-111-1/+1
|
* When naming the split patch files, replace the original path '/' with '__'itetcu2009-05-111-1/+1
| | | | instead of a single '_' to follow the current patch naming guidelines.
* - fix --port supportpgollucci2009-04-301-1/+3
| | | | - don't change the Makefile if MAKE_JOBS_(UN)SAFE is already present
* - Start some docspgollucci2009-04-301-11/+93
| | | | - Add --ports -p to specify a list on the cli
* Script to set MAKE_JOBS_(UN)SAFE= yes for a MAINTAINERs ports.pgollucci2009-04-221-0/+191
| | | | | | | Please be sure to completely test the results of running this _BEFORE_ committing several times and in a Tinderbox Feel free to commit to this file
* Use diff -p both when first creating and when updating a patch.naddy2009-02-161-1/+1
| | | | | Previously a patch created by update-patches would be changed again by the next update-patches run.
* Factor out the code that performs the PORTREVISION bump for one port.gerald2009-01-081-42/+47
| | | | Approved by: edwin
* Reduce per branch code duplicationerwin2008-12-281-41/+16
| | | | Submitted by: pgollucci
* Make sure we don't add ${WRKDIR}.sobomax2008-10-221-4/+4
|
* Have a different approach on how to check if the modules file has changed.edwin2008-07-141-9/+7
| | | | | | | | | | Because the $FreeBSD$ keyword isn't expanded in the new version, we can't just do a diff, check the return value and ignore the output. Every new modules file, changed or not with regarding to the contents, has at least four lines in the diff output (line number, old line, seperator, new line). Only commit it if there are more than four lines difference between it.
* Keep the sources of the CVSROOT-ports/modules update script safelyedwin2008-07-094-0/+361
| | | | in the ports CVS repository.
* [PATCH] Tools/scripts: Some cleanups, additions to bump_version.pledwin2008-07-061-28/+33
| | | | | | | | | | | | | | - added -c, doesn't change anything - added -n, deal with an already checkouted tree - removed negative logic in favor of 'unless' - switch to 3 arg form of open() - don't use globs for filehandles, this is been obsolete since at least 5.6.1 - handle possible errors in close() - allow CVSROOT to be overriden in the ENV PR: ports/125025 Submitted by: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
* CVSROOT/modules no longer contains an entry per port, remove supporterwin2008-06-204-300/+9
| | | | for this from these scripts.
* Add support for "PORTREVISION?=" and "PORTEPOCH"edwin2008-06-061-52/+62
| | | | Tested on: devel/gettext bump
* Remove support for FreeBSD 5.xerwin2008-06-011-21/+1
|
* Add a tiny sh hack - ardiff - compares two archives.sat2008-05-072-0/+98
|
* 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 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
* s/query-pr.real/query-pr/ to fix getpr after freefall migrationgarga2007-10-161-1/+1
| | | | Discussed at: #bsdports
* Replace two further instances of /var/db/pkg by $PKG_DBDIR.gerald2007-09-171-2/+2
|
* 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
* 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)
* 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
|
* - 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
* * 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
* Retire PORTOBJFORMATkris2007-02-011-1/+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
* 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.
* 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
* When checking dependencies also look for portname references in Mk/*.mkvd2006-09-141-5/+5
| | | | in addition to */*/Makefile* and ignore references in comments
* 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.
* 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
* 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)
* 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
* 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
|
* 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.
* 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
* 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.
* 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>
* - 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>
* 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)
* 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
* 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.
* This is the script I use to build indexes for all supported ports branches,kris2005-01-241-0/+164
| | | | | | which are copied to www.freebsd.org for use by 'make fetchindex', as well as the source of build failure reports on ports@FreeBSD.org when it is broken.
* Remove traling spaces.krion2005-01-0915-20/+20
|
* Newline should go after the terminating punctuation (fix typo).dd2004-11-071-1/+1
| | | | Approved by: will
* Strip out date/time from +++/--- headers in generated patchfiles, so that theysobomax2004-10-141-11/+12
| | | | don't generate extra hunk each time patchfile is updated.
* Avoid possible GNATS timeouts by using query-pr.real direclty.krion2004-07-281-1/+1
|
* Modernize these two scripts a little bit to make it easier to dealmurray2004-06-092-6/+16
| | | | | | with 5.X or 4.X package sets (i.e., INDEX vs INDEX-5 and tgz vs tbz) OKed by: marcus
* Hack in master/slave supporteik2004-06-051-27/+69
|
* parse $FreeBSD$ with yyyy-mm-dd format dateseik2004-05-311-1/+1
|
* protect $FreeBSD: ... $ from being expandedeik2004-05-301-1/+1
| | | | Noticed by: mat
* don't terminate the log entry with the first hypheneik2004-05-301-1/+1
|
* - make somewhat more robust against a corrupted ports treeeik2004-05-301-30/+80
| | | | | | | | | | - CC committers and maintainer [1] - include affected ports in the subject line [2] - do a CVS log of the version checked out [3] Suggsted by: Ade Lovett <ade@FreeBSD.org> [1] Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> [2] Pav Lucistnik <pav@FreeBSD.org> [3]
* - Remove 'pkg-plist' from required fileskrion2004-05-271-2/+1
| | | | Approved by: sobomax
* - fix a bug handling the maintainer field when ALLPORTS is usedeik2004-05-221-35/+56
| | | | | | - add an option to watch for maintainer changes - change watch regex to match PKGORIGIN, not PKGNAME
* Turn chkversion into an all-dancing, all-singing notification tool.eik2004-05-191-35/+138
| | | | | | | | You can even get notified of version changes in your favourite perl modules by setting WATCH_REGEX='p5-.*' Plus, it has a nice configurable nagging option.
* small optimazation: don't compare versions that are equaleik2004-05-181-1/+1
|
* check only ports connected to the build.eik2004-05-181-15/+32
|
* - integrated chkorigineik2004-05-171-51/+102
| | | | | | - eliminated shell usage [1] Submitted by: mat [1]
* FWIIW, spawn fewer processes.eik2004-05-161-3/+12
|
* support for symlinked portsdir (but no other symlinks in the ports tree)eik2004-05-152-14/+19
| | | | chkversion: support for CVS blame with env CVSBLAME=yes
* add support for ignoring local ports / categories:eik2004-05-151-1/+4
| | | | env 'EXCLUDE=local devel/local' /usr/ports/Tools/scripts/chkmodules.pl
* added chkversion, a script that ensures that PORTVERSIONs don't go backwardseik2004-05-141-0/+155
|
* add a perl script to check CVSROOT-ports/modules,eik2004-05-141-0/+127
| | | | based on a shell script by Clement Laforet.
* - don't flag empty lineseik2004-05-081-6/+30
| | | | | | - callable without arguments: /usr/ports/Tools/scripts/MOVEDlint.awk - do CVS annotate when called with env CVS=yes
* awk script to check MOVED for consistencyeik2004-05-081-0/+87
| | | | | Usage: [env PORTSDIR=/usr/ports] awk -f MOVEDlint.awk /usr/ports/MOVED
* While generating commit message, don't lowercase the first letter if the secondmat2004-04-051-2/+2
| | | | | | | is upper case (ie : don't end up with pEAR) Approved by: will Asked by: thierry
* added an -q option to enable usage in crontab.eik2004-03-291-2/+27
| | | | Suggested by: erwin
* Fix a bug arising when you added a port which should have been at the end ofmat2004-03-211-3/+10
| | | | | | <category>/Makefile, and ended up at the begining Approved by: will
* Add chkorigin.sh, a script that checks the ports tree for ports with a wrongeik2004-03-192-0/+89
| | | | | | | | PKGORIGIN. Useful especially after repocopies. env PORTSDIR=/usr/ports sh /usr/ports/Tools/scripts/chkorigin.sh Approved by: marcus (portmgr)
* Fill /mnt/ before each port and clear it afterward, to avoid runningtrevor2004-03-161-1/+2
| | | | out of inodes.
* This script had served its purpose.knu2004-03-141-146/+0
|
* Add note about FETCH_BEFORE_ARGS=-s.trevor2004-03-131-0/+4
|
* script for finding "size mismatch" and "size unknown" errorstrevor2004-03-131-0/+58
|
* Add sunshar, a "secure unshar" for ports committers, which:knu2004-02-283-0/+368
| | | | | | | | | | | - Does not execute unknown commands nor call sh(1) at all. - Does not overwrite existing files by default. - Does not extract files into upper directories. - Does have a dry run (-n) flag to see what would have been extracted. - Does have a strip (-p N) flag to strip any number of levels from pathnames. It (so far) only supports shell archives made with BSD shar.
* Update "plist" to understand the rest of the mtree(5) file format,green2004-02-281-14/+36
| | | | | thus fixing the extra-@dirrm-problem once the base mtree files document the extra symlinks that are part of the local/etc. trees.
* - Fix synopsisale2004-01-231-2/+2
| | | | | | - Add 'ports/' PR category to commit log Approved by: will
* Add domakedescribe and doportlint, two scripts that iterate over the portsmarcus2004-01-202-0/+39
| | | | | | | | tree, and run "make describe" and portlint respectively. They can be useful as automated linting tools. PR: 59226 Submitted by: linimon
* Add security-check.awk, a more efficient implementation of the portsmarcus2004-01-201-0/+100
| | | | | | | | system's security checking algorithm. This will be used in the upcoming changes to bsd.*.mk. PR: 55331 Submitted by: Eugene M. Kim <ab@astralblue.com>
* When suggesting to add new port's submitter to Contributors' List,demon2004-01-081-1/+2
| | | | | | | | also print the exact location of the file to checkout. This is for those who rarely adds new ports and do not remember the location of Additional FreeBSD Contributors article. Approved by: will
* Refactor how we format the autofill message. With the slightly questionablepetef2004-01-061-34/+15
| | | | | | | | Perl before, sometimes we would word wrap too soon. Now we should never generate a line more than 72 characters long (but as close to 72 characters long as we can without breaking up a word). Approved by: will (maintainer)
* There is nothing "future" about 'addport'.obrien2004-01-031-1/+1
|
* Use 'make master-sites-all' instead of 'make -V MASTER_SITES' to obtain the listdemon2003-12-171-1/+1
| | | | | | | | of master sites. Before that %SUBDIR% was not expanded and the resulting URL was malformed. L-o-o-o-ng maintainer timeout waiting for review of a slightly different solution.
* fetch(1)'s -b and -t options were deprecated years ago, so stop using them.des2003-11-121-1/+1
|
* Fix -l option comment removing obsolete pkg-comment reference.bland2003-09-291-2/+2
| | | | Approved by: will
* When using addport on freefall, there's no need to ssh freefall once more tomat2003-09-021-1/+5
| | | | | | use modulesupdate. Approved by: will
* Previous delta was:sobomax2003-04-181-1/+1
| | | | Submitted by: ru
* Clean up empty dirs.sobomax2003-04-181-2/+2
|
* Speed-up a bit when user keeps his working directories in the ports treesobomax2003-04-081-2/+5
| | | | | | (doesn't use WRKDIRPREFIX). Submitted by: ru
* This tool parses the output of kdump to generate a list of addededwin2003-04-041-0/+199
| | | | | | | | | | | | | and removed files. This can be used as the basis of a pkg-plist, or even just for curiosity about what files something is touching. Fairly raw at the moment, and doubtless inefficient, but it should make a useful tool for port creators. PR: ports/47424 Submitter: Daniel O'Connor <doconnor@gsoft.com.au>
* Sort the non-dirrm entries, and reverse sort the dirrm entries.marcus2003-03-281-1/+5
| | | | Reviewed by: green
* Make modulesupdate actually work in light of split. You can't use awill2003-03-031-1/+1
| | | | CVSROOT that's readonly.
* Update for post-repo-split. s/ncvs/pcvs/ so that the default root ispeter2003-03-012-5/+5
| | | | pcvs.freebsd.org:/home/pcvs
* Another try at fixing the "adding to CVSROOT/modules from remotelioux2003-02-241-1/+1
| | | | | | | | | hosts (non-freefall)" bug: add '-A' argument to ssh(1) command line for accessing host cointaining modules file. This should fix the bug for ssh-agent(1) users. Others can just switch to using ssh-agent(1). Approved by: will (maintainer)
* Handle '#' and '$' in pkg-comment properly.knu2003-02-211-2/+3
|
* - pkg-comment is no longer mandatory;sobomax2003-02-211-1/+5
| | | | - ignore patchfiles ending with `,v' or '.orig'.
* Add de-pkg-comment.knu2003-02-181-0/+2
|
* Add de-pkg-comment, a ruby script to convert pkg-comment to COMMENT.knu2003-02-181-0/+145
|
* Change how to get CATEGORIES tag from new port for slave port.nork2003-02-161-2/+2
| | | | Approved by: will
* Catch up to new semantics of COMMENT variable (contains comment stringkris2003-02-102-5/+2
| | | | itself, instead of pointing to pkg-comment)
* Attempt to defuse problems from developers who don't have the correctwill2003-01-311-0/+2
| | | | ssh setup in order for addport to do CVSROOT/modules correctly.
* Add both hungarian and portuguese l10n prefixes to syncronize withlioux2003-01-231-0/+2
| | | | | | portlint port Approved by: maintainer
* Update this script to deal with .tbz packages.murray2003-01-201-9/+10
|
* Add two utilties for listing and stashing away package files obtainedroam2003-01-082-0/+110
| | | | | | | | | | | | from recursive dependency builds a la: make DEPENDS_TARGET='install package clean' all install package clean The pkg-list script obtains a list of the packages in the dependency directories; the pkg-stash script moves them away to a predefined directory, adding a timestamp to the package file name. This is convenient for keeping ready-built packages for system rescue activities.
* unbroke addport by petefalane2002-11-191-1/+2
|
* Use 'cvs ci -F ...' instead of setting the log file with EDITOR="cp ...".petef2002-11-131-3/+1
| | | | | | | This fixes addport for me on -stable (cvs was erroring out), and also fixes addport when you have the EDITOR environment variable set. Approved by: will
* I never thought I'd change this code, but a change was required to makewill2002-10-141-0/+107
| | | | | sure cvs -R is enforced for freefall !=n cvs. And it's a Bad Thing(TM) that a piece of code addport depended on wasn't in the CVS tree anyway.