Copyright (c) 2016 MetaMask
The Ethereum Project Contributor Asset Distribution Terms ( MIT + Share-alike )
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
THE USE OR OTHER DEALINGS IN THE SOFTWARE.
These licence terms have been adapted from the MIT licence./a> : freebsd-ports-gnome
|
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome) | |
blob: 4147547b53c3a20835674a7862922b949f7514ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
#! /bin/sh
#
# $FreeBSD$
#
# BEWARE: If you are "borrowing" this code for use on another cvs
# repository, please make sure you change all references to '@FreeBSD.org'
# in the log_accum script. Otherwise your commit messages will be sent
# to 'cvs-committers@freebsd.org' etc. This could be highly embarresing. :-)
#
case "`hostname | tr A-Z a-z`" in
freefall.freebsd.org|internat.freebsd.org)
# Sanity check to make sure we've been run through the wrapper and are
# now primary group 'ncvs'.
#
GRP=`/usr/bin/id -gn`
if [ "x$GRP" != "xncvs" ]; then
echo "You do not have group ncvs!"
exit 1
fi
;;
*)
echo "Please commit on Freefall\!"
echo "(and Internat for crypto.)"
exit 1
esac
#
# Ensure the minimum version of cvs is installed.
#
VERS=`/usr/bin/cvs -v | awk '$1 == "Concurrent" { print $5 }' | awk -F. '{printf "%d%02d%02d\n",$1,$2,$3}'`
if [ "x${VERS}" = "x" -o ${VERS} -lt 10909 ]; then
echo "The wrong version of CVS is installed!" 1>&2
exit 1
fi
#
# Does the access control list allow them commit access?
#
if $CVSROOT/CVSROOT/cvs_acls.pl ${1+"$@"}
then
: # OK
else
echo "Access control checks failed! (cvs_acls.pl)" 1>&2
exit 1
fi
#
# Last minute checks and preperations for log_accum.pl later. This
# records the last directory in this commit so that log_accum knows when
# to finish coalescing commit messages and mail it.
#
if $CVSROOT/CVSROOT/commit_prep.pl ${1+"$@"}
then
: # OK
else
echo "commit_prep.pl failed!" 1>&2
exit 1
fi
exit 0 # Lets do it!
|