blob: 50422d25b5073d3c1e0ea641abe6f40ba2a1dd8f (
plain)
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
|
#! /bin/sh
#
# $FreeBSD$
# TAG add/mov/del repo files...
# $1 $2 $3 $4 ...
case "$1" in
RELENG*)
;;
RELEASE*)
;;
*)
exit 0 # not reserved, ok.
;;
esac
USER=`/usr/bin/id -un`
case "$USER" in
peter | jdp | markm | obrien | murray | jhb | bmah | scottl | kris | nik | marcus | krion)
exit 0 # ok
;;
*)
echo "$USER does not have permission to perform this tag operation!" 1>&2
echo "RELENG* tag operations are reserved for release engineering!" 1>&2
echo "RELEASE* tag operations are reserved for portmgr and doceng!" 1>&2
echo "Use 'cvs add' or 'cvs rm' to add/remove files from branches!" 1>&2
echo "$*" | /usr/bin/mail -s "NCVS TAG" cvs
exit 1
;;
esac
|