Commit graph

378 commits

Author SHA1 Message Date
Erwin Lansing
2b35911821 Add support from FreeBSD 10.x 2011-09-27 06:29:35 +00:00
Chris Rees
5d4b8b15b0 Add option (-y) to check for similarly named ports.
PR:		ports/159841
Submitted by:	crees (me)
Approved by:	garga (maintainer)
2011-08-29 14:54:48 +00:00
Stanislav Sedov
bfc1333181 - Use optparse instead of old deprecated method.
- Kill ruby 1.6 related stuff.
2011-08-23 09:23:54 +00:00
Stanislav Sedov
d39e30b3dc - Fix options processing (optparse puts options into hash indexed by strings,
not symbols).
2011-08-23 09:17:46 +00:00
Stanislav Sedov
90d33c8b8c - Make it work with ruby 1.9. 2011-08-23 08:42:31 +00:00
Steve Wills
c1c18af0fe - Back out category check for now 2011-08-16 00:09:12 +00:00
Steve Wills
4a09663ed3 - Remove obfuscation of submitter email at request of dougb
- Add check that port is in right directory as I've been bitten by this
2011-08-15 21:21:41 +00:00
Renato Botelho
390fe1afe5 Change shebang to #!/usr/bin/env perl, as required by bapt@ 2011-07-27 17:18:26 +00:00
Erwin Lansing
2b43202957 Remove duplicate words in comment.
Submitted by:	ohauer
2011-05-02 09:38:04 +00:00
Erwin Lansing
34b70fee7a Drop support for FreeBSD 6.x. 2010-12-14 14:16:37 +00:00
Pav Lucistnik
309d07b77b - Switch to SHA256 checksums
PR:		ports/152358
Submitted by:	Volodymyr Kostyrko <c.kworr@gmail.com>
2010-11-18 11:28:05 +00:00
Philip M. Gollucci
4f0ae25a44 - s/make/may/
Reported by:    wxs
2010-09-23 17:22:45 +00:00
Philip M. Gollucci
71e4661dfa -use a tab not a space 2010-09-22 19:02:47 +00:00
Philip M. Gollucci
6d823cc849 /8/9/ as the default 2010-09-22 18:58:18 +00:00
Philip M. Gollucci
2070dd3325 blanket approval 2010-09-22 18:56:44 +00:00
Philip M. Gollucci
9a38c1b8b9 check for repocopy snafus 2010-09-14 06:13:10 +00:00
Romain Tartière
4a54a88a4f - Unbreak the -n flag;
- Remove invalid reference to freefall.

Approved by:	garga
2010-06-06 09:30:54 +00:00
Dirk Meyer
5e55949069 - allow addport to work in ports-mgnt again
Approved by:	garga, drso, flz
2010-03-25 15:44:17 +00:00
Jun Kuriyama
e2f30d68c5 - Add a script to check unneeded dependencies for perl modules. 2010-01-29 14:52:45 +00:00
Maxim Sobolev
4ba8d15977 Correct depreciation warning with Python 2.6 and fix several warnings
from the pytchecker.
2009-11-21 00:40:59 +00:00
Greg Larkin
e49ea39cc3 - Fixed "permission denied" error
- Prevented full ports tree build when operating with ~/.cvsrc

PR:		ports/139121
2009-10-06 00:48:13 +00:00
Gerald Pfeifer
413c1b6ad3 Correctly bump PORTREVISION?= instead of always resetting to 1 in this case.
PR:		138774
Approved by:	edwin
2009-09-15 09:34:08 +00:00
Erwin Lansing
ba594074e3 Add support for INDEX-9 2009-08-23 10:47:02 +00:00
Erwin Lansing
3accf1e172 Explicitly override LOCALBASE to make sure we don't get
confused by locally installed ports that might influence
PKGNAME or other variables.

Suggested by:	pav
2009-07-14 07:58:50 +00:00
Erwin Lansing
ca91e7339b Force cleaning of the environment from customized local settings. 2009-06-05 16:22:45 +00:00
Erwin Lansing
3f3cfcfe52 Use zfs snapshots that are periodically updated on pointyhat for the
normal builds instead of a local cvs update.  This speeds up the
script several times and easies I/O on pointyhat.
2009-05-28 15:54:38 +00:00
Philip M. Gollucci
5d1e7f6179 note mark_safe.pl 2009-05-17 11:40:16 +00:00
Philip M. Gollucci
1e47318f7d o don't set anything in ports with NO_BUILD
o fix rubygem skipping
o next, not die
2009-05-17 11:12:24 +00:00
Philip M. Gollucci
0df0ef1432 Do not mark rubygem ports, its a NO-OP
Discussed with: pav on irc (#bsdports)
2009-05-16 01:51:40 +00:00
Ion-Mihai Tetcu
3fb7a3d1a2 Make previous commit work for both context and unified input patches. 2009-05-10 16:34:20 +00:00
Ion-Mihai Tetcu
ec5050b6b2 When naming the split patch files, replace the original path '/' with '__'
instead of a single '_' to follow the current patch naming guidelines.
2009-05-10 16:28:52 +00:00
Philip M. Gollucci
f700032948 - fix --port support
- don't change the Makefile if MAKE_JOBS_(UN)SAFE is already present
2009-04-29 21:16:43 +00:00
Philip M. Gollucci
4dfe2a9982 - Start some docs
- Add --ports -p to specify a list on the cli
2009-04-29 21:08:53 +00:00
Philip M. Gollucci
4fa6707cf8 Script to set MAKE_JOBS_(UN)SAFE= yes for a MAINTAINERs ports.
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
2009-04-22 00:33:44 +00:00
Christian Weisgerber
1895bc9e69 Use diff -p both when first creating and when updating a patch.
Previously a patch created by update-patches would be changed again
by the next update-patches run.
2009-02-15 16:16:33 +00:00
Gerald Pfeifer
a351950aad Factor out the code that performs the PORTREVISION bump for one port.
Approved by:	edwin
2009-01-07 21:33:17 +00:00
Erwin Lansing
9f53e58103 Reduce per branch code duplication
Submitted by:	pgollucci
2008-12-27 21:24:30 +00:00
Maxim Sobolev
3fe7e87724 Make sure we don't add ${WRKDIR}. 2008-10-21 21:32:08 +00:00
Edwin Groothuis
17e6ef1c06 Have a different approach on how to check if the modules file has changed.
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.
2008-07-14 03:56:23 +00:00
Edwin Groothuis
00809d33a0 Keep the sources of the CVSROOT-ports/modules update script safely
in the ports CVS repository.
2008-07-08 21:03:42 +00:00
Edwin Groothuis
de831ac6da [PATCH] Tools/scripts: Some cleanups, additions to bump_version.pl
- 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>
2008-07-06 02:00:52 +00:00
Erwin Lansing
e4bbe0c85e CVSROOT/modules no longer contains an entry per port, remove support
for this from these scripts.
2008-06-19 22:09:01 +00:00
Edwin Groothuis
4937bd57bd Add support for "PORTREVISION?=" and "PORTEPOCH"
Tested on: devel/gettext bump
2008-06-06 05:52:57 +00:00
Erwin Lansing
cdb5013c48 Remove support for FreeBSD 5.x 2008-06-01 09:26:12 +00:00
Andrew Pantyukhin
0b5ca793be Add a tiny sh hack - ardiff - compares two archives. 2008-05-06 16:17:01 +00:00
Renato Botelho
e89241beff Fix a problem when add new ports on ports-mgmt category. ports-mgmt/Makefile
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
2007-12-19 16:54:37 +00:00
Erwin Lansing
0a56075360 - Add support for FreeBSD 8.0
- Be more robust about param.h and allow space as well as tab as seperator
  while determining OSVERION
2007-10-25 21:51:07 +00:00
Renato Botelho
d54475429d s/query-pr.real/query-pr/ to fix getpr after freefall migration
Discussed at:	#bsdports
2007-10-15 19:37:31 +00:00
Gerald Pfeifer
957d2a35c5 Replace two further instances of /var/db/pkg by $PKG_DBDIR. 2007-09-16 22:24:12 +00:00
Gerald Pfeifer
df787b975d Use PKG_DBDIR instead of hard-coding /var/db/pkg/. Do not silently revert
to defaults for PORTSDIR and PKG_DBDIR if the respective directory does
not exist, but bail out.

Approved by:	netchild
2007-09-08 16:23:13 +00:00
Alexander Leidinger
0d7a3e7e9f explicit_lib_depends.sh:
- 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.
2007-09-04 19:32:36 +00:00
Alexander Leidinger
5c2c9f05ad One more sanity check, else /+CONTENS will be searched. 2007-08-30 16:48:33 +00:00
Alexander Leidinger
142947601f USE_FREETYPE is for v1, not for v2. Use a perfect match in the case statement. 2007-08-30 16:47:11 +00:00
Alexander Leidinger
bd34c2cc9c Do not list libs which come with the port itself. 2007-08-26 15:03:55 +00:00
Alexander Leidinger
1fc8d4fdd0 Add explicit_lib_depends.sh. 2007-08-26 15:02:24 +00:00
Alexander Leidinger
dd65a20d30 - Add USE_FREETYPE.
- Print the portsdir variable in front of the origin for easy copy und paste
  of the output.
2007-08-26 14:43:52 +00:00
Alexander Leidinger
63e512d248 We should also look into sbin/ (not only bin/ and lib/). 2007-08-24 15:30:31 +00:00
Alexander Leidinger
2733307251 explicit_lib_depends.sh shows you the current explicit dependency list of
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
2007-08-24 14:29:42 +00:00
Alexander Leidinger
011560cf37 Teach about USE_ICONV, USE_GETTEXT, USE_GNOME and USE_XORG. 2007-08-24 14:29:03 +00:00
Alexander Leidinger
43b63893be Add 2 scripts which help in port maintenance to list all direct library
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)
2007-08-12 12:49:23 +00:00
Gabor Kovesdan
4c9cd257fd - Extract command variable definitions from bsd.port.mk, they are now stored in
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)
2007-08-04 11:37:24 +00:00
Erwin Lansing
afade85a8a ARCH may be set in the environment for cross building, so only
set it conditionally.

Submitted by:	kris
2007-06-12 15:14:29 +00:00
Erwin Lansing
87b364f5fd Set default architecture to i386. 2007-06-11 21:18:46 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Renato Botelho
75b87da473 Fix addport to work correctly with ports-mgmt category.
Reported by:	miwi
Tested by:	miwi
2007-04-20 12:45:01 +00:00
Vasil Dimov
101df1b468 Use echo instead of printf because external commands cannot be executed
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
2007-03-28 20:39:18 +00:00
Vasil Dimov
eed3828ab1 * Run cvs update just before cvs commit to sync a potentially changed files
in the repository. Suggested by: gabor@
* Fix typo in the output
2007-02-19 07:24:36 +00:00
Kris Kennaway
2c759cf3d0 Retire PORTOBJFORMAT 2007-02-01 03:28:03 +00:00
Erwin Lansing
f3f3875210 Drop the build on RELENG_4 2007-01-30 14:49:21 +00:00
Vasil Dimov
92615ddfc4 A bunch of cosmetic changes - add one empty line to make the output more
readable and use double quotes everywhere.
2007-01-26 14:25:39 +00:00
Vasil Dimov
a62c886fca Make output messages more useful 2007-01-26 10:19:23 +00:00
Vasil Dimov
0d451e0598 * Make it possible to skip existing dependencies and ports references in LEGAL
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
2007-01-19 15:49:49 +00:00
Vasil Dimov
59a026b0f1 Query Gnats for PRs by using the query-pr command on freefall instead of the
web-interface becase the later is not reliable.
2006-12-20 13:18:25 +00:00
Vasil Dimov
e2f1d375a7 Add check for existing non-closed PRs related to the port being removed.
If any are found then ask if the port should be skipped from removal or
removed regardless of the PRs.
2006-12-13 07:32:58 +00:00
Erwin Lansing
596b15845d Replace a simple call to localtime() to strftime() to include the
timezone.
2006-11-23 14:04:52 +00:00
Erwin Lansing
bdbae3ea52 eik@ has been inactive for quite some time and as I am running
these scripts on the cluster, transfer maintainership of these
to myself.
2006-11-23 12:16:59 +00:00
Erwin Lansing
6e65d26f6e Include a time when the script was started in the mail templates.
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.
2006-11-23 11:59:04 +00:00
Vasil Dimov
9125407be5 Add deprecated reason to the output of -F 2006-11-02 09:20:10 +00:00
Vasil Dimov
e1bcb99398 * Create custom commit message template and populate it with the ports
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
2006-11-01 09:57:36 +00:00
Vasil Dimov
1854c2ed1d When checking for dependencies of foocategory/barport also find constructs
like .../barport/something e.g. expect either space, slash or eol after
port's name
2006-10-05 10:40:29 +00:00
Vasil Dimov
800d19da74 When checking dependencies also look for portname references in Mk/*.mk
in addition to */*/Makefile* and ignore references in comments
2006-09-14 09:13:39 +00:00
Vasil Dimov
f5a601c10a Remove grep's -w switch from the dependency check since it misses some
dependencies. This needs some more polishing but for now it is better to
emit false positives than skip dependencies.
2006-09-12 08:35:16 +00:00
Erwin Lansing
50513d5d52 Add support for DESTDIR part I.
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
2006-08-04 12:34:50 +00:00
Shaun Amott
068a568fca Add an option to the addport script: -b requests that any files in
${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)
2006-07-14 01:49:35 +00:00
Vasil Dimov
ed290037f5 Escape characters (like +) that may appear in ports' names and
break sed -E regular expressions
2006-07-05 08:31:49 +00:00
Renato Botelho
0bc560fc74 When automatic commit log is generated, change @ to " at " on submitter email
to prevent spam
2006-07-04 23:12:10 +00:00
Erwin Lansing
7fbbcb4402 MFP4:
Actually use ${SCP_DEST_TMP} to fix the case where
        SCP_DEST_TMP != /tmp/
2006-06-22 18:52:57 +00:00
Erwin Lansing
c090c55e39 MFP4:
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.
2006-06-19 15:44:16 +00:00
Renato Botelho
3cf8cfc8cd - Change addport script to do the job locally instead connect to freefall every
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)
2006-05-16 15:44:29 +00:00
Vasil Dimov
12dda3240e Add support for specifying ports to be removed as directories on the
filesystem (either absolute or relative) in addition to `category/port'.

PR:		ports/96649
Submitted by:	Cheng-Lung Sung <clsung@freebsd.org>
Reworked by:	vd
2006-05-02 11:31:54 +00:00
Vasil Dimov
8529c41f37 Improve dependency check:
When removing category/port - look if other ports' Makefiles contain
`/port' rather than `category/port', since the later misses things
like `${.CURDIR}/../port'
2006-05-02 09:16:10 +00:00
Vasil Dimov
b2a9550574 Add support for removing multiple ports which depend on each other 2006-04-17 08:08:37 +00:00
Vasil Dimov
dffa807775 Quote ${1} so we don't get ``[: =: unexpected operator'' if the script
is started without arguments.
2006-04-12 05:23:04 +00:00
Vasil Dimov
ffc261a29e Add the script I use to remove ports so everyone
can benefit (or suffer :-) from it.
2006-04-10 05:54:50 +00:00
Edwin Groothuis
faaea2b718 Warn if there are duplicate MD5/SHA256/SIZE statements for a single file 2006-01-24 21:53:51 +00:00
Edwin Groothuis
295732eff2 Small tool to check the necessary lines in the distinfo files, based
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
#
2006-01-24 07:30:07 +00:00
Kris Kennaway
b3f6037efa Support 7.x INDEX builds
Add a few more local configuration variables
Minor cleanups
2006-01-22 20:45:11 +00:00
Daichi GOTO
e1ad7a3739 Add portsvar.sh schell script into Tools/scripts.
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.
2006-01-11 07:06:51 +00:00
Edwin Groothuis
3d8bb0ca76 Utility: A tool to identify similar pkg-descr files
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>
2005-11-26 01:15:20 +00:00
Renato Botelho
2a6ad7961f - Add a new option -L, it works like -l but uses pkg-descr to create
commit message.

Approved by:	will (maintainer)
2005-10-04 16:26:37 +00:00
Kris Kennaway
310ce3b0a4 Remove some hardcoded values to hopefully stop random users from shooting
their feet off in public.

Suggested by:	adamw
2005-09-08 17:57:37 +00:00
Pav Lucistnik
6d4f3ffef5 - Handle different INDEX filename on 5.X and above
PR:		ports/85281
Submitted by:	Vasil Dimov <vd@datamax.bg>
2005-09-04 23:11:15 +00:00
Joe Marcus Clarke
898c84cdf7 Add prototypes for all the subroutines which fixes compilation with
Perl 5.8.7.

Reported by:	mezz
2005-07-10 22:18:55 +00:00
Volker Stolz
ac482a872e Fix typos
Approved by: sobomax
2005-04-18 14:03:05 +00:00
Volker Stolz
c53968b206 As discussed on the cvs-ports-list, make 'addport' print a warning if the directory
name contains upper-case characters as it makes finding a port harder.

PR:		ports/79679
Approved by:	will, portmgr(krion)
2005-04-12 11:03:49 +00:00
Anton Berezin
bbd85008bd Add a splitpatch.pl utility, a small script to convert multi-file
patches to several appropriately named single-file patches.

Requested by:	flz
2005-04-12 10:56:08 +00:00
Florent Thoumie
75dd621ca0 - Add bump_revision.pl, a small script to bump the PORTREVISION variable
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
2005-04-12 09:22:59 +00:00
Florent Thoumie
a9c04539e5 - Replace pkg-comment with COMMENT to reflect latest (*sigh*) changes
in the ports framework.

PR:		ports/62767
Submitted by:	Igor Pokrovsky <tiamat@comset.net>
Approved by:	maintainer timeout (> 8 months)
2005-04-11 22:21:41 +00:00
Volker Stolz
3ddc5c643b Checkout Templates from CVS as well since ports with GNU_CONFIGURE will
need them when building from 'addport -a -t'.

Approved by: will
2005-03-20 17:32:52 +00:00
Kris Kennaway
3038d3579a Document the check-latest-link and tindex scripts 2005-01-24 07:22:38 +00:00
Kris Kennaway
4649cc8071 Add the script I use to look for duplicate LATEST_LINK entries and to
send nag-mails to the responsible maintainers.
2005-01-24 07:20:01 +00:00
Kris Kennaway
738cf264d0 This is the script I use to build indexes for all supported ports branches,
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.
2005-01-24 07:18:33 +00:00
Kirill Ponomarev
043f5658ce Remove traling spaces. 2005-01-09 10:21:17 +00:00
Dima Dorfman
77414b4220 Newline should go after the terminating punctuation (fix typo).
Approved by:	will
2004-11-07 04:09:39 +00:00
Maxim Sobolev
4570e0b23c Strip out date/time from +++/--- headers in generated patchfiles, so that they
don't generate extra hunk each time patchfile is updated.
2004-10-14 14:39:44 +00:00
Kirill Ponomarev
8f11239294 Avoid possible GNATS timeouts by using query-pr.real direclty. 2004-07-28 07:17:29 +00:00
Murray Stokely
23cad417ec Modernize these two scripts a little bit to make it easier to deal
with 5.X or 4.X package sets (i.e., INDEX vs INDEX-5 and tgz vs tbz)

OKed by:    marcus
2004-06-08 21:57:01 +00:00
Oliver Eikemeier
52ba8d8267 Hack in master/slave support 2004-06-04 22:23:03 +00:00
Oliver Eikemeier
5a9ce724fa parse $FreeBSD$ with yyyy-mm-dd format dates 2004-05-30 21:12:34 +00:00
Oliver Eikemeier
890f926dbd protect $FreeBSD: ... $ from being expanded
Noticed by:	mat
2004-05-30 15:15:54 +00:00
Oliver Eikemeier
0d19350b78 don't terminate the log entry with the first hyphen 2004-05-30 15:09:11 +00:00
Oliver Eikemeier
ea2c46a9b4 - make somewhat more robust against a corrupted ports tree
- 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]
2004-05-30 10:44:51 +00:00
Kirill Ponomarev
a78c230b4a - Remove 'pkg-plist' from required files
Approved by:	sobomax
2004-05-27 08:49:29 +00:00
Oliver Eikemeier
2550a13d0b - fix a bug handling the maintainer field when ALLPORTS is used
- add an option to watch for maintainer changes

- change watch regex to match PKGORIGIN, not PKGNAME
2004-05-21 16:23:10 +00:00
Oliver Eikemeier
8e5aea1bea Turn chkversion into an all-dancing, all-singing notification tool.
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.
2004-05-19 14:30:25 +00:00
Oliver Eikemeier
f21b7ffdfa small optimazation: don't compare versions that are equal 2004-05-18 08:53:39 +00:00
Oliver Eikemeier
ed499309f3 check only ports connected to the build. 2004-05-17 17:09:01 +00:00
Oliver Eikemeier
3f5f7aca90 - integrated chkorigin
- eliminated shell usage [1]

Submitted by:	mat [1]
2004-05-17 00:04:56 +00:00
Oliver Eikemeier
6c992223ae FWIIW, spawn fewer processes. 2004-05-16 10:46:47 +00:00
Oliver Eikemeier
1af7a456da support for symlinked portsdir (but no other symlinks in the ports tree)
chkversion: support for CVS blame with env CVSBLAME=yes
2004-05-14 21:07:39 +00:00
Oliver Eikemeier
1e3bf4436f add support for ignoring local ports / categories:
env 'EXCLUDE=local devel/local' /usr/ports/Tools/scripts/chkmodules.pl
2004-05-14 18:03:55 +00:00
Oliver Eikemeier
2b9f8d3add added chkversion, a script that ensures that PORTVERSIONs don't go backwards 2004-05-14 12:35:20 +00:00
Oliver Eikemeier
165c67df46 add a perl script to check CVSROOT-ports/modules,
based on a shell script by Clement Laforet.
2004-05-14 01:58:16 +00:00
Oliver Eikemeier
fbb1a3869a - don't flag empty lines
- callable without arguments:
  /usr/ports/Tools/scripts/MOVEDlint.awk
- do CVS annotate when called with env CVS=yes
2004-05-08 11:52:36 +00:00
Oliver Eikemeier
3b5d63ae7b awk script to check MOVED for consistency
Usage:
  [env PORTSDIR=/usr/ports] awk -f MOVEDlint.awk /usr/ports/MOVED
2004-05-08 02:46:29 +00:00
Mathieu Arnold
6e5777c670 While generating commit message, don't lowercase the first letter if the second
is upper case (ie : don't end up with pEAR)

Approved by:	will
Asked by:	thierry
2004-04-04 21:10:38 +00:00
Oliver Eikemeier
74123e9733 added an -q option to enable usage in crontab.
Suggested by:	erwin
2004-03-28 19:13:34 +00:00
Mathieu Arnold
ba74778208 Fix a bug arising when you added a port which should have been at the end of
<category>/Makefile, and ended up at the begining

Approved by:	will
2004-03-20 18:52:33 +00:00
Oliver Eikemeier
8d16127344 Add chkorigin.sh, a script that checks the ports tree for ports with a wrong
PKGORIGIN. Useful especially after repocopies.

  env PORTSDIR=/usr/ports sh /usr/ports/Tools/scripts/chkorigin.sh

Approved by:	marcus (portmgr)
2004-03-19 11:08:09 +00:00
Trevor Johnson
dfc4c0a7ce Fill /mnt/ before each port and clear it afterward, to avoid running
out of inodes.
2004-03-15 21:46:49 +00:00
Akinori MUSHA
3d30f7c9c7 This script had served its purpose. 2004-03-14 11:48:40 +00:00
Trevor Johnson
d042f83b86 Add note about FETCH_BEFORE_ARGS=-s. 2004-03-12 20:03:51 +00:00
Trevor Johnson
fc9fc69007 script for finding "size mismatch" and "size unknown" errors 2004-03-12 18:56:53 +00:00
Akinori MUSHA
ac6314f977 Add sunshar, a "secure unshar" for ports committers, which:
- 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.
2004-02-28 14:29:09 +00:00
Brian Feldman
d7e662de4c Update "plist" to understand the rest of the mtree(5) file format,
thus fixing the extra-@dirrm-problem once the base mtree files
document the extra symlinks that are part of the local/etc. trees.
2004-02-27 21:01:02 +00:00
Alex Dupre
0374da0b6e - Fix synopsis
- Add 'ports/' PR category to commit log

Approved by:	will
2004-01-23 07:28:54 +00:00
Joe Marcus Clarke
83c1f7ffe2 Add domakedescribe and doportlint, two scripts that iterate over the ports
tree, and run "make describe" and portlint respectively.  They can be useful
as automated linting tools.

PR:		59226
Submitted by:	linimon
2004-01-19 22:35:58 +00:00
Joe Marcus Clarke
63f09d3369 Add security-check.awk, a more efficient implementation of the ports
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>
2004-01-19 22:19:00 +00:00
Dmitry Sivachenko
cb132627e5 When suggesting to add new port's submitter to Contributors' List,
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
2004-01-07 20:03:52 +00:00
Pete Fritchman
6160a79b6c Refactor how we format the autofill message. With the slightly questionable
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)
2004-01-06 06:04:31 +00:00