Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2012 11:38:22 +0000 (UTC)
From:      Beat Gaetzi <beat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org
Subject:   svn commit: r300894 - head/CVSROOT svnadmin/conf svnadmin/hooks svnadmin/hooks/scripts svnadmin/tools svnadmin/tools/checkacl
Message-ID:  <201207141138.q6EBcMXE030750@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: beat
Date: Sat Jul 14 11:38:20 2012
New Revision: 300894
URL: http://svn.freebsd.org/changeset/ports/300894

Log:
  - Add svnadmin directory with Subversion configuration, hooks and tools
  - Move access and approvers file from CVSROOT to svnadmin
  - Remove CVSROOT
  
  Obtained from:	FreeBSD src/ Subversion repository

Added:
     - copied unchanged from r300893, head/CVSROOT/access
  svnadmin/conf/approvers   (contents, props changed)
     - copied, changed from r300893, head/CVSROOT/approvers
  svnadmin/conf/authz   (contents, props changed)
  svnadmin/conf/dontdothat.conf   (contents, props changed)
  svnadmin/conf/exclude   (contents, props changed)
  svnadmin/conf/featurefreeze.conf   (contents, props changed)
  svnadmin/conf/mailer.conf   (contents, props changed)
  svnadmin/conf/mentors   (contents, props changed)
  svnadmin/conf/paths   (contents, props changed)
  svnadmin/conf/sizelimit.conf   (contents, props changed)
  svnadmin/conf/svnserve-inetd.conf   (contents, props changed)
  svnadmin/conf/svnserve.conf   (contents, props changed)
  svnadmin/hooks/post-commit   (contents, props changed)
  svnadmin/hooks/post-lock   (contents, props changed)
  svnadmin/hooks/post-revprop-change   (contents, props changed)
  svnadmin/hooks/post-unlock   (contents, props changed)
  svnadmin/hooks/pre-commit   (contents, props changed)
  svnadmin/hooks/pre-lock   (contents, props changed)
  svnadmin/hooks/pre-revprop-change   (contents, props changed)
  svnadmin/hooks/pre-unlock   (contents, props changed)
  svnadmin/hooks/scripts/
  svnadmin/hooks/scripts/approvecheck.pl   (contents, props changed)
  svnadmin/hooks/scripts/case-insensitive.py   (contents, props changed)
  svnadmin/hooks/scripts/check-binary.py   (contents, props changed)
  svnadmin/hooks/scripts/check-properties.pl   (contents, props changed)
  svnadmin/hooks/scripts/checkcaps.sh   (contents, props changed)
  svnadmin/hooks/scripts/deny-filenames.sh   (contents, props changed)
  svnadmin/hooks/scripts/detect-merge-conflicts.sh   (contents, props changed)
  svnadmin/hooks/scripts/env.sh   (contents, props changed)
  svnadmin/hooks/scripts/log-police.py   (contents, props changed)
  svnadmin/hooks/scripts/mailer.py   (contents, props changed)
  svnadmin/hooks/scripts/mergeinfo.sh   (contents, props changed)
  svnadmin/hooks/scripts/pathcheck.pl   (contents, props changed)
  svnadmin/hooks/scripts/sizelimit.py   (contents, props changed)
  svnadmin/hooks/scripts/update-root.sh   (contents, props changed)
  svnadmin/hooks/scripts/verify.py   (contents, props changed)
  svnadmin/hooks/start-commit   (contents, props changed)
  svnadmin/tools/checkacl/
  svnadmin/tools/checkacl/Makefile   (contents, props changed)
  svnadmin/tools/checkacl/checkacl-ports.c   (contents, props changed)
  svnadmin/tools/export.py   (contents, props changed)
Directory Properties:
  svnadmin/conf/access   (props changed)

Changes in other areas also in this revision:
Deleted:
  head/CVSROOT/

Copied: svnadmin/conf/access (from r300893, head/CVSROOT/access)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/conf/access	Sat Jul 14 11:38:20 2012	(r300894, copy of r300893, head/CVSROOT/access)
@@ -0,0 +1,192 @@
+#
+# $FreeBSD$
+#
+# Please try to keep the handbook (contrib/chapter.sgml authors.ent
+# staff/chapter.sgml) in sync with this.
+#
+#
+#	KEEP ALPHABETICALLY SORTED!!!
+#	KEEP ALPHABETICALLY SORTED!!!
+#	KEEP ALPHABETICALLY SORTED!!!
+#
+# When adding a new committer to this file, please make sure to
+# include the following information in the commit message:
+#   (1) Who the commit bit was approved by ("Approved by: portmgr").
+#   (2) The full name of the person.
+#   (3) In brief, what they will be working on (a couple of sentences).
+#
+# Changes to email forwards can be made without portmgr's approval.
+# Please use "Approved by: portmgr (implicit)" to that type of commits.
+#
+ache
+acm
+adamw
+ade
+ahze
+ak
+ale		devnull
+amdmi3
+anders
+araujo
+arved
+ashish
+avilla
+avl
+az
+bapt
+beat
+beech
+bf
+bland
+brian		freebsd-ports-committers@Awfulhak.org
+brix
+brooks
+bsam
+chinsan
+clement
+clsung
+cperciva
+cracauer
+crees
+cs
+culot
+cy
+daichi
+danfe
+db
+decke
+deischen
+delphij
+demon
+des
+dhn
+dinoex
+dougb
+dryice
+eadler
+edwin
+ehaupt
+erwin
+fjoe
+flo
+fluffy
+flz
+gabor
+gahr
+garga
+gerald
+girgen
+gj
+gjb
+glarkin
+glewis
+hq
+hrs
+imp
+itetcu
+jadawin
+jase
+jgh
+jhay
+jkim
+jlaffaye
+jmelo
+joerg	freebsd-devel@uriah.heep.sax.de
+johans
+jpaetzel
+jsa
+kevlo
+kmoore
+knu
+kuriyama
+kwm
+lbr
+leeym
+lev
+linimon
+lioux
+lippe
+lme
+lth
+lwhsu
+lx
+madpilot
+maho
+makc
+mandree
+marcus
+martymac
+mat
+matthew
+matusita
+max
+mezz
+mi	devnull
+mich
+miwi
+mm
+motoyuki
+mr
+mva
+naddy
+netchild
+nivit
+nobutaka
+nork
+novel
+nox
+obrien
+ohauer
+olgeni
+oliver
+olivierd
+osa
+pav
+pawel
+pgj
+pgollucci
+philip
+rafan
+rakuco
+rea
+rene
+rm
+roam
+roberto
+romain
+sahil
+sanpei
+sbz
+scheidell
+sem
+shaun
+simon
+skreuzer
+skv
+sobomax
+sperber
+stefan
+stephen
+sumikawa
+sunpoet
+swills
+sylvio
+tabthorpe
+tdb
+thierry
+timur
+tj
+tobez
+tota
+trasz
+ume
+uqs
+vanilla
+vd
+vsevolod
+wen
+wxs
+xride
+yzlin
+zeising
+zi

Copied and modified: svnadmin/conf/approvers (from r300893, head/CVSROOT/approvers)
==============================================================================
--- head/CVSROOT/approvers	Sat Jul 14 04:01:04 2012	(r300893, copy source)
+++ svnadmin/conf/approvers	Sat Jul 14 11:38:20 2012	(r300894)
@@ -8,15 +8,27 @@
 # Format is tab separated.
 # Use # as first character in a line for comment.
 #
-# You should satisfy all of lines which matching to modules and branches
+# You should satisfy all of lines which matching to paths
 # to commit.
 #
-# Please comment out the bottom line to activate commits only with approval.
-#
-# 1st column is regexp for module name.
-# 2nd column is regexp for branch/tag name.
-# 3rd column is regexp used with "Approved by:[\t ]*" line.
+# 1st column is regexp for path name.
+# 2nd column is regexp used with "Approved by:[\t ]*" line.
 #
 # $FreeBSD$
 #
-#^ports/	.*	(portmgr|portsmgr)
+^head/			portmgr
+^head/Makefile		portmgr
+^head/Mk/bsd.commands.mk	portmgr
+^head/Mk/bsd.destdir.mk	portmgr
+^head/Mk/bsd.licenses.db.mk	portmgr
+^head/Mk/bsd.licenses.mk	portmgr
+^head/Mk/bsd.pkgng.mk		portmgr
+^head/Mk/bsd.port.mk		portmgr
+^head/Mk/bsd.port.options.mk	portmgr
+^branches/			portmgr
+^tags/				portmgr
+^svnadmin/conf/approvers	portmgr
+^svnadmin/conf/access		portmgr
+^svnadmin/hooks/		portmgr
+^svnadmin/tools/		portmgr
+^head/LOCKS			portmgr

Added: svnadmin/conf/authz
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/conf/authz	Sat Jul 14 11:38:20 2012	(r300894)
@@ -0,0 +1,42 @@
+### This file is an example authorization file for svnserve.
+### Its format is identical to that of mod_authz_svn authorization
+### files.
+### As shown below each section defines authorizations for the path and
+### (optional) repository specified by the section name.
+### The authorizations follow. An authorization line can refer to:
+###  - a single user,
+###  - a group of users defined in a special [groups] section,
+###  - an alias defined in a special [aliases] section,
+###  - all authenticated users, using the '$authenticated' token,
+###  - only anonymous users, using the '$anonymous' token,
+###  - anyone, using the '*' wildcard.
+###
+### A match can be inverted by prefixing the rule with '~'. Rules can
+### grant read ('r') access, read-write ('rw') access, or no access
+### ('').
+
+# $FreeBSD$
+
+[aliases]
+# joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average
+
+[groups]
+# keep this sorted, and in sync with pcvs/CVSROOT/avail
+committers = beat
+portmgr = marcus, erwin, linimon, pav, flz, itetcu, miwi, tabthorpe, bapt, beat
+
+[/]
+* = r
+
+[/head]
+@committers = rw
+
+[/branches]
+@portmgr = rw
+
+[/tags]
+@portmgr = rw
+
+# config stuff.
+[/svnadmin]
+@committers = rw

Added: svnadmin/conf/dontdothat.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/conf/dontdothat.conf	Sat Jul 14 11:38:20 2012	(r300894)
@@ -0,0 +1,5 @@
+# $FreeBSD$
+[recursive-actions]
+/ = deny
+/branches = deny
+/tags = deny

Added: svnadmin/conf/exclude
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/conf/exclude	Sat Jul 14 11:38:20 2012	(r300894)
@@ -0,0 +1,13 @@
+#
+# List of path prefixes that we relax the ID keyword checks for.
+# By "relax", it means that we won't fail a commit if isn't present.
+# Everything else must still be in order though.
+#
+# These paths are used by verify.py and are in canonical form, after
+# head/, tags/*/ etc is stripped off.
+#
+# These are python style regexps.
+#
+# $FreeBSD$
+# 
+#contrib/[^/]+/

Added: svnadmin/conf/featurefreeze.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/conf/featurefreeze.conf	Sat Jul 14 11:38:20 2012	(r300894)
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+# Feature freeze, 0 = off, 1 = on.
+our $FEATURE_FREEZE = 0;
+
+1; # Perl requires all modules to return true.  Don't delete!!!!

Added: svnadmin/conf/mailer.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/conf/mailer.conf	Sat Jul 14 11:38:20 2012	(r300894)
@@ -0,0 +1,351 @@
+# http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/mailer/mailer.conf.example
+# $FreeBSD$
+#
+# mailer.conf: example configuration file for mailer.py
+#
+# $Id: mailer.conf.example 26780 2007-09-25 15:15:57Z cmpilato $
+
+[general]
+
+# The [general].diff option is now DEPRECATED.
+# Instead use [defaults].diff .
+
+#
+# One delivery method must be chosen. mailer.py will prefer using the
+# "mail_command" option. If that option is empty or commented out,
+# then it checks whether the "smtp_hostname" option has been
+# specified. If neither option is set, then the commit message is
+# delivered to stdout.
+#
+
+# This command will be invoked with destination addresses on the command
+# line, and the message piped into it.
+mail_command = /usr/sbin/sendmail
+
+# This option specifies the hostname for delivery via SMTP.
+#smtp_hostname = localhost
+
+# Username and password for SMTP servers requiring authorisation.
+#smtp_username = example
+#smtp_password = example
+
+# --------------------------------------------------------------------------
+
+#
+# CONFIGURATION GROUPS
+#
+# Any sections other than [general], [defaults], [maps] and sections
+# referred to within [maps] are considered to be user-defined groups
+# which override values in the [defaults] section.
+# These groups are selected using the following two options:
+#
+#   for_repos
+#   for_paths
+#
+# Both options specify a regular expression. The former is matched against
+# the absolute path to the repository the mailer is operating against. The
+# second is matched against *every* path (files and dirs) that was modified
+# during the commit.
+#
+# The options specified in the [defaults] section are always selected. The
+# presence of a non-matching for_repos has no relevance. Note that you may
+# still use a for_repos value to extract useful information (more on this
+# later). Any user-defined groups without a for_repos, or which contains
+# a matching for_repos, will be selected for potential use.
+#
+# The subset of user-defined groups identified by the repository are further
+# refined based on the for_paths option. A group is selected if at least
+# one path(*) in the commit matches the for_paths regular expression. Note
+# that the paths are relative to the root of the repository and do not
+# have a leading slash.
+#
+# (*) Actually, each path will select just one group. Thus, it is possible
+# that one group will match against all paths, while another group matches
+# none of the paths, even though its for_paths would have selected some of
+# the paths in the commit.
+#
+# Groups are matched in no particular order. Do not depend upon their
+# order within this configuration file. The values from [defaults] will
+# be used if no group is matched or an option in a group does not override
+# the corresponding value from [defaults].
+#
+# Generally, a commit email is generated for each group that has been
+# selected. The script will try to minimize mails, so it may be possible
+# that a single message will be generated to multiple recipients. In
+# addition, it is possible for multiple messages per group to be generated,
+# based on the various substitutions that are performed (see the following
+# section).
+#
+#
+# SUBSTITUTIONS
+#
+# The regular expressions can use the "named group" syntax to extract
+# interesting pieces of the repository or commit path. These named values
+# can then be substituted in the option values during mail generation.
+#
+# For example, let's say that you have a repository with a top-level
+# directory named "clients", with several client projects underneath:
+#
+#   REPOS/
+#     clients/
+#       gsvn/
+#       rapidsvn/
+#       winsvn/
+#
+# The client name can be extracted with a regular expression like:
+#
+#   for_paths = clients/(?P<client>[^/]*)($|/)
+#
+# The substitution is performed using Python's dict-based string
+# interpolation syntax:
+#
+#   to_addr = commits@%(client)s.tigris.org
+#
+# The %(NAME)s syntax will substitute whatever value for NAME was captured
+# in the for_repos and for_paths regular expressions. The set of names
+# available is obtained from the following set of regular expressions:
+#
+#   [defaults].for_repos    (if present)
+#   [GROUP].for_repos       (if present in the user-defined group "GROUP")
+#   [GROUP].for_paths       (if present in the user-defined group "GROUP")
+#
+# The names from the regexes later in the list override the earlier names.
+# If none of the groups match, but a for_paths is present in [defaults],
+# then its extracted names will be available.
+#
+# Note that each unique set of names for substitution will generate an
+# email. In the above example, if a commit modified files in all three
+# client subdirectories, then an email will be sent to all three commits@
+# mailing lists on tigris.org.
+#
+# The substitution variable "author" is provided by default, and is set
+# to the author name passed to mailer.py for revprop changes or the
+# author defined for a revision; if neither is available, then it is
+# set to "no_author". Thus, you might define a line like:
+#
+#   from_addr = %(author)s@example.com
+#
+#
+# SUMMARY
+#
+# While mailer.py will work to minimize the number of mail messages
+# generated, a single commit can potentially generate a large number
+# of variants of a commit message. The criteria for generating messages
+# is based on:
+#
+#   groups selected by for_repos
+#   groups selected by for_paths
+#   unique sets of parameters extracted by the above regular expressions
+#
+
+[defaults]
+
+# This is not passed to the shell, so do not use shell metacharacters.
+# The command is split around whitespace, so if you want to include
+# whitespace in the command, then ### something ###.
+diff = /usr/bin/diff -up -L %(label_from)s -L %(label_to)s %(from)s %(to)s
+
+# The default prefix for the Subject: header for commits.
+commit_subject_prefix = svn commit:
+
+# The default prefix for the Subject: header for propchanges.
+propchange_subject_prefix = svn propchange:
+
+# The default prefix for the Subject: header for locks.
+lock_subject_prefix = svn lock:
+
+# The default prefix for the Subject: header for unlocks.
+unlock_subject_prefix = svn unlock:
+
+
+# The default From: address for messages.  If the from_addr is not
+# specified or it is specified but there is no text after the `=',
+# then the revision's author is used as the from address.  If the
+# revision author is not specified, such as when a commit is done
+# without requiring authentication and authorization, then the string
+# 'no_author' is used.  You can specify a default from_addr here and
+# if you want to have a particular for_repos group use the author as
+# the from address, you can use "from_addr =".
+from_addr = %(author)s
+
+# The default To: addresses for message.  One or more addresses,
+# separated by whitespace (no commas).
+# NOTE: If you want to use a different character for separating the
+#       addresses put it in front of the addresses included in square
+#       brackets '[ ]'.
+#to_addr = ports-committers@freebsd.org svn-ports-all@freebsd.org 
+
+# If this is set, then a Reply-To: will be inserted into the message.
+reply_to =
+
+# Specify which types of repository changes mailer.py will create
+# diffs for. Valid options are any combination of
+# 'add copy modify delete', or 'none' to never create diffs.
+# If the generate_diffs option is empty, the selection is controlled
+# by the deprecated options suppress_deletes and suppress_adds.
+# Note that this only affects the display of diffs - all changes are
+# mentioned in the summary of changed paths at the top of the message,
+# regardless of this option's value.
+# Meaning of the possible values:
+# add:    generates diffs for all added paths
+# copy:   generates diffs for all copied paths
+#         which were not changed after copying
+# modify: generates diffs for all modified paths, including paths that were
+#         copied and modified afterwards (within the same commit)
+# delete: generates diffs for all removed paths
+generate_diffs = add copy modify
+
+# Commit URL construction.  This adds a URL to the top of the message
+# that can lead the reader to a Trac, ViewVC or other view of the
+# commit as a whole.
+#
+# The available substitution variable is: rev
+#commit_url = http://diffs.server.com/trac/software/changeset/%(rev)s
+commit_url = http://svn.freebsd.org/changeset/ports/%(rev)s
+#commit_url = http://svn.freebsd.org/viewvc/svntest/?view=rev&rev=%(rev)s
+
+# Diff URL construction.  For the configured diff URL types, the diff
+# section (which follows the message header) will include the URL
+# relevant to the change type, even if actual diff generation for that
+# change type is disabled (per the generate_diffs option).
+#
+# Available substitution variables are: path, base_path, rev, base_rev
+#diff_add_url =
+#diff_copy_url =
+#diff_modify_url = http://diffs.server.com/?p1=%(base_path)s&p2=%(path)s
+#diff_delete_url =
+
+# When set to "yes", the mailer will suppress the creation of a diff which
+# deletes all the lines in the file. If this is set to anything else, or
+# is simply commented out, then the diff will be inserted. Note that the
+# deletion is always mentioned in the message header, regardless of this
+# option's value.
+### DEPRECATED (if generate_diffs is not empty, this option is ignored)
+#suppress_deletes = yes
+
+# When set to "yes", the mailer will suppress the creation of a diff which
+# adds all the lines in the file. If this is set to anything else, or
+# is simply commented out, then the diff will be inserted. Note that the
+# addition is always mentioned in the message header, regardless of this
+# option's value.
+### DEPRECATED (if generate_diffs is not empty, this option is ignored)
+#suppress_adds = yes
+
+# A revision is reported on if any of its changed paths match the
+# for_paths option.  If only some of the changed paths of a revision
+# match, this variable controls the behaviour for the non-matching
+# paths.  Possible values are:
+#
+#   yes:     (Default) Show in both summary and diffs.
+#   summary: Show the changed paths in the summary, but omit the diffs.
+#   no:      Show nothing more than a note saying "and changes in other areas"
+#
+show_nonmatching_paths = summary
+
+# Subject line length limit.  The generated subject line will be truncated
+# and terminated with "...", to remain within the specified maximum length.
+# Set to 0 to turn off.
+truncate_subject = 200
+
+# --------------------------------------------------------------------------
+
+[maps]
+
+#
+# This section can be used define rewrite mappings for option values. It
+# is typically used for computing from/to addresses, but can actually be
+# used to remap values for any option in this file.
+#
+# The mappings are global for the entire configuration file. There is
+# no group-specific mapping capability. For each mapping that you want
+# to perform, you will provide the name of the option (e.g. from_addr)
+# and a specification of how to perform those mappings. These declarations
+# are made here in the [maps] section.
+#
+# When an option is accessed, the value is loaded from the configuration
+# file and all %(NAME)s substitutions are performed. The resulting value
+# is then passed through the map. If a map entry is not available for
+# the value, then it will be used unchanged.
+#
+# NOTES: - Avoid using map substitution names which differ only in case.
+#          Unexpected results may occur.
+#        - A colon ':' is also considered as separator between option and
+#          value (keep this in mind when trying to map a file path under
+#          windows).
+#
+# The format to declare a map is:
+#
+#   option_name_to_remap = mapping_specification
+#
+# At the moment, there is only one type of mapping specification:
+#
+#   mapping_specification = '[' sectionname ']'
+#
+# This will use the given section to map values. The option names in
+# the section are the input values, and the option values are the result.
+#
+
+#
+# EXAMPLE:
+#
+# We have two projects using two repositories. The name of the repos
+# does not easily map to their commit mailing lists, so we will use
+# a mapping to go from a project name (extracted from the repository
+# path) to their commit list. The committers also need a special
+# mapping to derive their email address from their repository username.
+#
+# [projects]
+# for_repos = .*/(?P<project>.*)
+# from_addr = %(author)s
+# to_addr = %(project)s
+#
+# [maps]
+# from_addr = [authors]
+# to_addr = [mailing-lists]
+#
+# [authors]
+# john = jconnor@example.com
+# sarah = sconnor@example.com
+#
+# [mailing-lists]
+# t600 = spottable-commits@example.com
+# tx = hotness-commits@example.com
+#
+
+# --------------------------------------------------------------------------
+
+#
+# [example-group]
+# # send notifications if any web pages are changed
+# for_paths = .*\.html
+# # set a custom prefix
+# commit_subject_prefix = [commit]
+# propchange_subject_prefix = [propchange]
+# # override the default, sending these elsewhere
+# to_addr = www-commits@example.com
+# # use the revision author as the from address
+# from_addr =
+# # use a custom diff program for this group
+# diff = /usr/bin/my-diff -u -L %(label_from)s -L %(label_to)s %(from)s %(to)s
+#
+# [another-example]
+# # commits to personal repositories should go to that person
+# for_repos = /home/(?P<who>[^/]*)/repos
+# to_addr = %(who)s@example.com
+#
+
+[branches]
+for_paths = ^branches(/[^/]+)*$
+to_addr = ports-committers@freebsd.org svn-ports-all@freebsd.org svn-ports-branches@freebsd.org
+
+[svnadmin]
+for_paths = ^svnadmin(/[^/]+)*$
+to_addr = ports-committers@freebsd.org svn-ports-all@freebsd.org svn-ports-svnadmin@freebsd.org
+
+[head]
+for_paths = ^head(/[^/]+)*$
+to_addr = ports-committers@freebsd.org svn-ports-all@freebsd.org svn-ports-head@freebsd.org
+
+[tags]
+for_paths = ^tags(/[^/]+)*$
+to_addr = ports-committers@freebsd.org svn-ports-all@freebsd.org svn-ports-tags@freebsd.org

Added: svnadmin/conf/mentors
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/conf/mentors	Sat Jul 14 11:38:20 2012	(r300894)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+# A list of current mentee login names and their mentors.  This list is not 
+# used for anything, but serves as a place to commit to in order to
+# "release" a mentee from mentorship since svn cannot do forced commits.
+
+# The full list of mentor->mentee relationships including historical
+# entries is in head/share/misc/committers-ports.dot
+
+# Changes in this file can be made without portmgr's approval.
+# Please use "Approved by: portmgr (implicit)" for those commits.
+
+# Sort by mentee login name.
+
+# Mentee	Mentor		Optional comment
+gjb		eadler		Co-mentor: crees
+jase		flo		Co-mentor: culot
+jsa		wxs		Co-mentor: kwm
+madpilot	crees		Co-mentor: tabthorpe
+matthew		shaun
+olivierd	miwi		Co-mentor: rene
+sperber		miwi		Co-mentor: decke, beat
+tj		db		Co-mentor: eadler
+uqs		beat
+zeising		miwi		Co-mentor: kwm

Added: svnadmin/conf/paths
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/conf/paths	Sat Jul 14 11:38:20 2012	(r300894)
@@ -0,0 +1,16 @@
+# $FreeBSD$
+# List of paths that can be committed to in this repository.
+# svnadmin/conf/approvers provides the limits as to who can commit.
+# Any commit that touches a path that does not match one of these lines will fail.
+
+# Mainline of the tree
+^head/
+
+# The actively exported -stable branches.
+^branches/
+^tags/
+
+# CVSROOT's new home
+^svnadmin/
+^svnadmin/conf/
+^svnadmin/hooks/

Added: svnadmin/conf/sizelimit.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/conf/sizelimit.conf	Sat Jul 14 11:38:20 2012	(r300894)
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+# This is a safety feature, not a policy restriction.  The svn fsfs repository
+# is the sum of all the transaction files.  If you're here, presumably it means
+# you were about to add a large transaction.
+
+# Check your 'svn status' output, think carefully and take extra care.  You may
+# temporarily add yourself here once you're in the 'careful' frame of mind. :)
+
+# Be sure to remove yourself after you're finished, or you might find yourself
+# having to explain a large accident...
+
+# Default value specified in pre-commit is 1024000.
+# If you add just your name here, you get 10 times that.  (10240000)
+
+# First field is username, second field is the raised limit required.
+#beat 3141592
+beat

Added: svnadmin/conf/svnserve-inetd.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/conf/svnserve-inetd.conf	Sat Jul 14 11:38:20 2012	(r300894)
@@ -0,0 +1,49 @@
+### This file controls the configuration of the svnserve daemon, if you
+### use it to allow access to this repository.  (If you only allow
+### access through http: and/or file: URLs, then this file is
+### irrelevant.)
+
+# $FreeBSD$
+
+### Visit http://subversion.tigris.org/ for more information.
+
+[general]
+### These options control access to the repository for unauthenticated
+### and authenticated users.  Valid values are "write", "read",
+### and "none".  The sample settings below are the defaults.
+anon-access = read
+# auth-access = write
+### The password-db option controls the location of the password
+### database file.  Unless you specify a path starting with a /,
+### the file's location is relative to the directory containing
+### this configuration file.
+### If SASL is enabled (see below), this file will NOT be used.
+### Uncomment the line below to use the default password file.
+# password-db = passwd
+### The authz-db option controls the location of the authorization
+### rules for path-based access control.  Unless you specify a path
+### starting with a /, the file's location is relative to the the
+### directory containing this file.  If you don't specify an
+### authz-db, no path-based access control is done.
+### Uncomment the line below to use the default authorization file.
+#authz-db = authz
+### This option specifies the authentication realm of the repository.
+### If two repositories have the same authentication realm, they should
+### have the same password database, and vice versa.  The default realm
+### is repository's uuid.
+# realm = My First Repository
+
+[sasl]
+### This option specifies whether you want to use the Cyrus SASL
+### library for authentication. Default is false.
+### This section will be ignored if svnserve is not built with Cyrus
+### SASL support; to check, run 'svnserve --version' and look for a line
+### reading 'Cyrus SASL authentication is available.'
+# use-sasl = true
+### These options specify the desired strength of the security layer
+### that you want SASL to provide. 0 means no encryption, 1 means
+### integrity-checking only, values larger than 1 are correlated
+### to the effective key length for encryption (e.g. 128 means 128-bit
+### encryption). The values below are the defaults.
+# min-encryption = 0
+# max-encryption = 256

Added: svnadmin/conf/svnserve.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/conf/svnserve.conf	Sat Jul 14 11:38:20 2012	(r300894)
@@ -0,0 +1,49 @@
+### This file controls the configuration of the svnserve daemon, if you
+### use it to allow access to this repository.  (If you only allow
+### access through http: and/or file: URLs, then this file is
+### irrelevant.)
+
+# $FreeBSD$
+
+### Visit http://subversion.tigris.org/ for more information.
+
+[general]
+### These options control access to the repository for unauthenticated
+### and authenticated users.  Valid values are "write", "read",
+### and "none".  The sample settings below are the defaults.
+# anon-access = read
+# auth-access = write
+### The password-db option controls the location of the password
+### database file.  Unless you specify a path starting with a /,
+### the file's location is relative to the directory containing
+### this configuration file.
+### If SASL is enabled (see below), this file will NOT be used.
+### Uncomment the line below to use the default password file.
+# password-db = passwd
+### The authz-db option controls the location of the authorization
+### rules for path-based access control.  Unless you specify a path
+### starting with a /, the file's location is relative to the the
+### directory containing this file.  If you don't specify an
+### authz-db, no path-based access control is done.
+### Uncomment the line below to use the default authorization file.
+# authz-db = authz
+### This option specifies the authentication realm of the repository.
+### If two repositories have the same authentication realm, they should
+### have the same password database, and vice versa.  The default realm
+### is repository's uuid.
+# realm = My First Repository
+
+[sasl]
+### This option specifies whether you want to use the Cyrus SASL
+### library for authentication. Default is false.
+### This section will be ignored if svnserve is not built with Cyrus
+### SASL support; to check, run 'svnserve --version' and look for a line
+### reading 'Cyrus SASL authentication is available.'
+# use-sasl = true
+### These options specify the desired strength of the security layer
+### that you want SASL to provide. 0 means no encryption, 1 means
+### integrity-checking only, values larger than 1 are correlated
+### to the effective key length for encryption (e.g. 128 means 128-bit
+### encryption). The values below are the defaults.
+# min-encryption = 0
+# max-encryption = 256

Added: svnadmin/hooks/post-commit
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/hooks/post-commit	Sat Jul 14 11:38:20 2012	(r300894)
@@ -0,0 +1,61 @@
+#!/bin/sh
+
+# $FreeBSD$
+
+# POST-COMMIT HOOK
+#
+# The post-commit hook is invoked after a commit.  Subversion runs
+# this hook by invoking a program (script, executable, binary, etc.)
+# named 'post-commit' (for which this file is a template) with the 
+# following ordered arguments:
+#
+#   [1] REPO         (the path to this repository)
+#   [2] REV          (the number of the revision just committed)
+#
+# The default working directory for the invocation is undefined, so
+# the program should set one explicitly if it cares.
+#
+# Because the commit has already completed and cannot be undone,
+# the exit code of the hook program is ignored.  The hook program
+# can use the 'svnlook' utility to help it examine the
+# newly-committed tree.
+#
+# On a Unix system, the normal procedure is to have 'post-commit'
+# invoke other programs to do the real work, though it may do the
+# work itself too.
+#
+# Note that 'post-commit' must be executable by the user(s) who will
+# invoke it (typically the user httpd runs as), and that user must
+# have filesystem-level permission to access the repository.
+#
+# On a Windows system, you should name the hook program
+# 'post-commit.bat' or 'post-commit.exe',
+# but the basic idea is the same.
+# 
+# The hook program typically does not inherit the environment of
+# its parent process.  For example, a common problem is for the
+# PATH environment variable to not be set to its usual value, so
+# that subprograms fail to launch unless invoked via absolute path.
+# If you're having unexpected problems with a hook program, the
+# culprit may be unusual (or missing) environment variables.
+# 
+# Here is an example hook script, for a Unix /bin/sh interpreter.
+# For more examples and pre-written hooks, see those in
+# the Subversion repository at
+# http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/ and
+# http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/
+
+
+REPO="$1"
+REV="$2"
+
+. /s/svn/ports/hooks/scripts/env.sh
+
+# update conf/ and hooks/.
+update-root.sh "$REPO" "$REV"
+
+# commit mail
+mailer.py commit "$REPO" "$REV" /s/svn/ports/conf/mailer.conf
+
+#commit-email.pl "$REPO" "$REV" commit-watchers@example.org
+#log-commit.py --repository "$REPO" --revision "$REV"

Added: svnadmin/hooks/post-lock
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/hooks/post-lock	Sat Jul 14 11:38:20 2012	(r300894)
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+# $FreeBSD$
+
+# POST-LOCK HOOK
+#
+# The post-lock hook is run after a path is locked.  Subversion runs
+# this hook by invoking a program (script, executable, binary, etc.)
+# named 'post-lock' (for which this file is a template) with the 
+# following ordered arguments:
+#
+#   [1] REPOS-PATH   (the path to this repository)
+#   [2] USER         (the user who created the lock)
+#
+# The paths that were just locked are passed to the hook via STDIN (as
+# of Subversion 1.2, only one path is passed per invocation, but the
+# plan is to pass all locked paths at once, so the hook program
+# should be written accordingly).
+#
+# The default working directory for the invocation is undefined, so
+# the program should set one explicitly if it cares.
+#
+# Because the lock has already been created and cannot be undone,
+# the exit code of the hook program is ignored.  The hook program
+# can use the 'svnlook' utility to help it examine the
+# newly-created lock.
+#
+# On a Unix system, the normal procedure is to have 'post-lock'
+# invoke other programs to do the real work, though it may do the
+# work itself too.
+#
+# Note that 'post-lock' must be executable by the user(s) who will
+# invoke it (typically the user httpd runs as), and that user must
+# have filesystem-level permission to access the repository.
+#
+# On a Windows system, you should name the hook program
+# 'post-lock.bat' or 'post-lock.exe',
+# but the basic idea is the same.
+# 
+# Here is an example hook script, for a Unix /bin/sh interpreter:
+
+#REPOS="$1"
+#USER="$2"
+
+# Send email to interested parties, let them know a lock was created:
+#mailer.py lock "$REPOS" "$USER" /path/to/mailer.conf

Added: svnadmin/hooks/post-revprop-change
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ svnadmin/hooks/post-revprop-change	Sat Jul 14 11:38:20 2012	(r300894)
@@ -0,0 +1,58 @@
+#!/bin/sh
+
+# $FreeBSD$
+
+# POST-REVPROP-CHANGE HOOK
+#
+# The post-revprop-change hook is invoked after a revision property
+# has been added, modified or deleted.  Subversion runs this hook by
+# invoking a program (script, executable, binary, etc.) named
+# 'post-revprop-change' (for which this file is a template), with the
+# following ordered arguments:
+#
+#   [1] REPOS-PATH   (the path to this repository)
+#   [2] REV          (the revision that was tweaked)
+#   [3] USER         (the username of the person tweaking the property)
+#   [4] PROPNAME     (the property that was changed)
+#   [5] ACTION       (the property was 'A'dded, 'M'odified, or 'D'eleted)
+#
+#   [STDIN] PROPVAL  ** the old property value is passed via STDIN.
+#
+# Because the propchange has already completed and cannot be undone,
+# the exit code of the hook program is ignored.  The hook program
+# can use the 'svnlook' utility to help it examine the
+# new property value.
+#
+# On a Unix system, the normal procedure is to have 'post-revprop-change'
+# invoke other programs to do the real work, though it may do the
+# work itself too.
+#
+# Note that 'post-revprop-change' must be executable by the user(s) who will
+# invoke it (typically the user httpd runs as), and that user must
+# have filesystem-level permission to access the repository.
+#
+# On a Windows system, you should name the hook program
+# 'post-revprop-change.bat' or 'post-revprop-change.exe',
+# but the basic idea is the same.
+# 
+# The hook program typically does not inherit the environment of
+# its parent process.  For example, a common problem is for the
+# PATH environment variable to not be set to its usual value, so
+# that subprograms fail to launch unless invoked via absolute path.
+# If you're having unexpected problems with a hook program, the
+# culprit may be unusual (or missing) environment variables.
+# 
+# Here is an example hook script, for a Unix /bin/sh interpreter.
+# For more examples and pre-written hooks, see those in
+# the Subversion repository at
+# http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/ and

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207141138.q6EBcMXE030750>