#! /usr/bin/perl # # $Id: logcheck,v 1.2 1997/06/08 16:56:46 peter Exp $ # # This hack is to sanitise the results of what the user may have # "done" while editing the commit log message.. :-) Peter Wemm. # # Note: this uses an enhancement to cvs's verifymsg functionality. # Normally, the check is advisory only, the FreeBSD version reads # back the file after the verifymsg file so that this script can # can make changes. # if (!@ARGV) { die "Usage: logcheck filename\n"; } $filename = $ARGV[0]; $tmpfile = $filename . "tmp"; open(IN, "< $filename") || die "cvsedit: Cannot open for reading: $filename: $!\n"; open(OUT, "> $tmpfile") || die "cvsedit: Cannot open for writing: $tmpfile: $!\n"; # In-place edit the result of the user's edit on the file. $blank = 0; # true if the last line was blank $first = 0; # true if we have seen the first real text while() { # Dont let CVS: lines upset things, strip them out. if (/^CVS:/) { next; } chop; # strip trailing newline s/[\s]+$//; # strip trailing whitespace # collapse multiple blank lines, and trailing blank lines. if (/^$/) { # Blank line. Remember in case more text follows. $blank = 1; next; } else { # Delete if they only have whitespace after them. if (/^Reviewed by:$/i || /^Submitted by:$/i || /^Obtained from:$/i || /^PR:$/i) { next; } if ($blank && $first) { # Previous line(s) was blank, this isn't. Close the # collapsed section. print OUT "\n"; } $blank = 0; # record non-blank $first = 1; # record first line print OUT "$_\n"; } } close(IN); close(OUT); unlink($filename . "~"); # Nuke likely editor backups.. unlink($filename . ".bak"); # Nuke likely editor backups.. rename("$tmpfile", "$filename") || die("logcheck: Could not rename $tmpfile to $filename: $!"); exit(0); s/elliptic-6.5.4'>dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.4 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese
Commit message (Expand)AuthorAgeFilesLines
* 2013-03-05 ftp/proma: Broken for more than 6 monthbapt2013-03-1033-2132/+0
* Update to 4.0.1.jkim2013-03-092-5/+5
* Mark as deprecated a bunch of ports that are marked as broken for more than 6bapt2013-02-052-12/+8
* Update to 3.6.5.jkim2013-02-051-4/+4
* KDE/FreeBSD team presents KDE SC 4.9.5 ports!makc2013-02-043-9/+13
* - Deprecate QT3, KDE3 and unmaintained ports depending on them. QT 3.3.8beat2012-12-301-0/+3
* - Update to 3.5.7.jkim2012-10-272-9/+4
* - Update to 3.5.6.jkim2012-08-241-4/+4
* - Update LibreOffice and the language packs to 3.5.5.jkim2012-07-181-4/+4
* - The FreeBSD Office team is proud to announce LibreOffice.org 3.5.4 releasefluffy2012-07-011-4/+4
* KDE/FreeBSD team presents KDE SC 4.8.4, probably the last release in 4.8.x se...makc2012-06-151-2/+2
* - update png to 1.5.10dinoex2012-06-012-2/+2
* Fix CATEGORIESmakc2012-05-251-1/+1
* KDE/FreeBSD team presents long awaited KDE SC 4.8.3!makc2012-05-255-0/+248
* Add the forgotten categoriesbapt2012-04-231-0/+1
* - upgrade to 3.5.2bapt2012-04-234-0/+21
* The vast majority of pkg-descr files had the following format when theydougb2011-10-241-3/+0
* Provide a new MASTER_SITE.obrien2011-10-062-8/+6
* Turns out that some geocities sites are more dead than others.dougb2011-08-242-2/+2
* Geocities has been gone for almost 2 years now, so let's removedougb2011-08-234-4/+6
* - Set DIST_SUBDIR: move dist files to DISTDIR/hunspellsunpoet2011-08-182-2/+3
* - Change MASTER_SITES to my LOCAL to avoid implicit change of non-versionedsunpoet2011-08-182-4/+4
* - Unify COMMENT and pkg-descrsunpoet2011-08-132-3/+3
* Remove WWW entries from unmaintained ports that return 404 or where the domainehaupt2011-08-031-2/+0
* Bye bye abandonwares (part 5)bapt2011-08-015-52/+0
* - Sort SUBDIRssunpoet2011-08-011-1/+1
* - Move language prefix to PKGNAMEPREFIXsunpoet2011-07-291-8/+8
* - Fix typosunpoet2011-07-251-1/+1
* Pass matainership to the new office teambapt2011-07-221-1/+1
* Add vietnamese hunspell dictionnarybapt2011-07-204-0/+37
* Reset maintainership de jure. In fact KDE 3 has not been maintained by our teammakc2011-07-081-1/+1
* - Kick MD5 supportmiwi2011-07-032-2/+0
* Last bunch of deprecation: no more public distfiles and/or abandonware... las...bapt2011-06-171-0/+3
* Bump PORTREVISION after open-mofit updatemakc2011-05-021-1/+1
* - Get Rid MD5 supportmiwi2011-03-19