summaryrefslogtreecommitdiff
path: root/Tools/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Correctly bump PORTREVISION?= instead of always resetting to 1 in this case.Gerald Pfeifer2009-09-151-1/+1
| | | | | | | | PR: 138774 Approved by: edwin Notes: svn path=/head/; revision=241447
* Add support for INDEX-9Erwin Lansing2009-08-231-3/+8
| | | | Notes: svn path=/head/; revision=240176
* Explicitly override LOCALBASE to make sure we don't getErwin Lansing2009-07-142-0/+2
| | | | | | | | | | confused by locally installed ports that might influence PKGNAME or other variables. Suggested by: pav Notes: svn path=/head/; revision=237765
* Force cleaning of the environment from customized local settings.Erwin Lansing2009-06-051-0/+5
| | | | Notes: svn path=/head/; revision=235211
* Use zfs snapshots that are periodically updated on pointyhat for theErwin Lansing2009-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. Notes: svn path=/head/; revision=234704
* note mark_safe.plPhilip M. Gollucci2009-05-171-0/+1
| | | | Notes: svn path=/head/; revision=234081
* o don't set anything in ports with NO_BUILDPhilip M. Gollucci2009-05-171-3/+3
| | | | | | | | o fix rubygem skipping o next, not die Notes: svn path=/head/; revision=234078
* Do not mark rubygem ports, its a NO-OPPhilip M. Gollucci2009-05-161-0/+2
| | | | | | | Discussed with: pav on irc (#bsdports) Notes: svn path=/head/; revision=233969
* Make previous commit work for both context and unified input patches.Ion-Mihai Tetcu2009-05-101-1/+1
| | | | Notes: svn path=/head/; revision=233587
* When naming the split patch files, replace the original path '/' with '__'Ion-Mihai Tetcu2009-05-101-1/+1
| | | | | | | instead of a single '_' to follow the current patch naming guidelines. Notes: svn path=/head/; revision=233586
* - fix --port supportPhilip M. Gollucci2009-04-291-1/+3
| | | | | | | - don't change the Makefile if MAKE_JOBS_(UN)SAFE is already present Notes: svn path=/head/; revision=232958
* - Start some docsPhilip M. Gollucci2009-04-291-11/+93
| | | | | | | - Add --ports -p to specify a list on the cli Notes: svn path=/head/; revision=232957
* Script to set MAKE_JOBS_(UN)SAFE= yes for a MAINTAINERs ports.Philip M. Gollucci2009-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 Notes: svn path=/head/; revision=232474
* Use diff -p both when first creating and when updating a patch.Christian Weisgerber2009-02-151-1/+1
| | | | | | | | Previously a patch created by update-patches would be changed again by the next update-patches run. Notes: svn path=/head/; revision=228415
* Factor out the code that performs the PORTREVISION bump for one port.Gerald Pfeifer2009-01-071-42/+47
| | | | | | | Approved by: edwin Notes: svn path=/head/; revision=225408
* Reduce per branch code duplicationErwin Lansing2008-12-271-41/+16
| | | | | | | Submitted by: pgollucci Notes: svn path=/head/; revision=224862
* Make sure we don't add ${WRKDIR}.Maxim Sobolev2008-10-211-4/+4
| | | | Notes: svn path=/head/; revision=221883
* Have a different approach on how to check if the modules file has changed.Edwin Groothuis2008-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. Notes: svn path=/head/; revision=216816
* Keep the sources of the CVSROOT-ports/modules update script safelyEdwin Groothuis2008-07-084-0/+361
| | | | | | | in the ports CVS repository. Notes: svn path=/head/; revision=216557
* [PATCH] Tools/scripts: Some cleanups, additions to bump_version.plEdwin Groothuis2008-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> Notes: svn path=/head/; revision=216390
* CVSROOT/modules no longer contains an entry per port, remove supportErwin Lansing2008-06-194-300/+9
| | | | | | | for this from these scripts. Notes: svn path=/head/; revision=215312
* Add support for "PORTREVISION?=" and "PORTEPOCH"Edwin Groothuis2008-06-061-52/+62
| | | | | | | Tested on: devel/gettext bump Notes: svn path=/head/; revision=214421
* Remove support for FreeBSD 5.xErwin Lansing2008-06-011-21/+1
| | | | Notes: svn path=/head/; revision=214096
* Add a tiny sh hack - ardiff - compares two archives.Andrew Pantyukhin2008-05-062-0/+98
| | | | Notes: svn path=/head/; revision=212743
* Fix a problem when add new ports on ports-mgmt category. ports-mgmt/MakefileRenato Botelho2007-12-191-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 Notes: svn path=/head/; revision=204123
* - Add support for FreeBSD 8.0Erwin Lansing2007-10-251-4/+25
| | | | | | | | - Be more robust about param.h and allow space as well as tab as seperator while determining OSVERION Notes: svn path=/head/; revision=202034
* s/query-pr.real/query-pr/ to fix getpr after freefall migrationRenato Botelho2007-10-151-1/+1
| | | | | | | Discussed at: #bsdports Notes: svn path=/head/; revision=201520
* Replace two further instances of /var/db/pkg by $PKG_DBDIR.Gerald Pfeifer2007-09-161-2/+2
| | | | Notes: svn path=/head/; revision=199581
* Use PKG_DBDIR instead of hard-coding /var/db/pkg/. Do not silently revertGerald Pfeifer2007-09-081-3/+15
| | | | | | | | | | to defaults for PORTSDIR and PKG_DBDIR if the respective directory does not exist, but bail out. Approved by: netchild Notes: svn path=/head/; revision=199117
* explicit_lib_depends.sh:Alexander Leidinger2007-09-043-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. Notes: svn path=/head/; revision=198758
* One more sanity check, else /+CONTENS will be searched.Alexander Leidinger2007-08-301-0/+5
| | | | Notes: svn path=/head/; revision=198542
* USE_FREETYPE is for v1, not for v2. Use a perfect match in the case statement.Alexander Leidinger2007-08-301-4/+5
| | | | Notes: svn path=/head/; revision=198541
* Do not list libs which come with the port itself.Alexander Leidinger2007-08-261-2/+5
| | | | Notes: svn path=/head/; revision=198333
* Add explicit_lib_depends.sh.Alexander Leidinger2007-08-261-0/+2
| | | | Notes: svn path=/head/; revision=198332
* - Add USE_FREETYPE.Alexander Leidinger2007-08-261-1/+5
| | | | | | | | - Print the portsdir variable in front of the origin for easy copy und paste of the output. Notes: svn path=/head/; revision=198330
* We should also look into sbin/ (not only bin/ and lib/).Alexander Leidinger2007-08-241-1/+1
| | | | Notes: svn path=/head/; revision=198257
* explicit_lib_depends.sh shows you the current explicit dependency list ofAlexander Leidinger2007-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 Notes: svn path=/head/; revision=198252
* Teach about USE_ICONV, USE_GETTEXT, USE_GNOME and USE_XORG.Alexander Leidinger2007-08-241-1/+38
| | | | Notes: svn path=/head/; revision=198251
* Add 2 scripts which help in port maintenance to list all direct libraryAlexander Leidinger2007-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) Notes: svn path=/head/; revision=197520
* - Extract command variable definitions from bsd.port.mk, they are now stored inGabor Kovesdan2007-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) Notes: svn path=/head/; revision=197074
* ARCH may be set in the environment for cross building, so onlyErwin Lansing2007-06-121-2/+4
| | | | | | | | | set it conditionally. Submitted by: kris Notes: svn path=/head/; revision=193332
* Set default architecture to i386.Erwin Lansing2007-06-111-0/+3
| | | | Notes: svn path=/head/; revision=193294
* - Welcome X.org 7.2 \o/.Florent Thoumie2007-05-191-0/+156
| | | | | | | | - Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}. Notes: svn path=/head/; revision=191544
* Fix addport to work correctly with ports-mgmt category.Renato Botelho2007-04-201-1/+1
| | | | | | | | Reported by: miwi Tested by: miwi Notes: svn path=/head/; revision=190442
* Use echo instead of printf because external commands cannot be executedVasil Dimov2007-03-281-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 Notes: svn path=/head/; revision=188691
* * Run cvs update just before cvs commit to sync a potentially changed filesVasil Dimov2007-02-191-2/+5
| | | | | | | | in the repository. Suggested by: gabor@ * Fix typo in the output Notes: svn path=/head/; revision=185501
* Retire PORTOBJFORMATKris Kennaway2007-02-011-1/+1
| | | | Notes: svn path=/head/; revision=183833
* Drop the build on RELENG_4Erwin Lansing2007-01-301-20/+1
| | | | Notes: svn path=/head/; revision=183718
* A bunch of cosmetic changes - add one empty line to make the output moreVasil Dimov2007-01-261-6/+7
| | | | | | | readable and use double quotes everywhere. Notes: svn path=/head/; revision=183339
* Make output messages more usefulVasil Dimov2007-01-261-1/+5
| | | | Notes: svn path=/head/; revision=183321