Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl2/xcvs/dist/src add cvs acl support
details: https://anonhg.NetBSD.org/src/rev/538d9ee1eae8
branches: trunk
changeset: 777901:538d9ee1eae8
user: christos <christos%NetBSD.org@localhost>
date: Thu Mar 08 20:50:26 2012 +0000
description:
add cvs acl support
diffstat:
external/gpl2/xcvs/dist/src/cvs.h | 26 +++++++++++++++++++++++++-
1 files changed, 25 insertions(+), 1 deletions(-)
diffs (57 lines):
diff -r e6a19d0a4205 -r 538d9ee1eae8 external/gpl2/xcvs/dist/src/cvs.h
--- a/external/gpl2/xcvs/dist/src/cvs.h Thu Mar 08 20:49:29 2012 +0000
+++ b/external/gpl2/xcvs/dist/src/cvs.h Thu Mar 08 20:50:26 2012 +0000
@@ -19,7 +19,7 @@
#ifdef HAVE_CONFIG_H
# include <config.h> /* this is stuff found via autoconf */
-#endif /* CONFIG_H */
+#endif /* HAVE_CONFIG_H */
/* Add GNU attribute suppport. */
#ifndef __attribute__
@@ -189,6 +189,11 @@
#define CVSROOTADM_WRAPPER "cvswrappers"
#define CVSROOTADM_WRITERS "writers"
+/* cvsacl patch */
+#define CVSROOTADM_ACLCONFIG "aclconfig"
+#define CVSROOTADM_ACCESS "access"
+#define CVSROOTADM_GROUP "group"
+
#define CVSNULLREPOS "Emptydir" /* an empty directory */
/* Other CVS file names */
@@ -459,6 +464,22 @@
*/
extern int error_use_protocol;
+/* cvsacl patch */
+/* ACL Patch settings from CVSROOT/config */
+extern int use_cvs_acl;
+extern char *cvs_acl_default_permissions;
+extern int use_cvs_groups;
+extern int use_system_groups;
+extern int use_separate_acl_file_for_each_dir;
+extern char *cvs_acl_file_location;
+extern char *cvs_groups_file_location;
+extern char *cvs_server_run_as;
+extern int stop_at_first_permission_denied;
+
+int given_perms_valid (const char *cperms);
+int
+access_allowed (const char *file, const char *repos, const char *tag,
+ int perm, char **mline, int *mpos, int usecache);
DBM *open_module (void);
List *Find_Directories (char *repository, int which, List *entries);
@@ -858,6 +879,9 @@
/* User variables. */
extern List *variable_list;
+/* cvsacl patch */
+extern int cvsacl (int argc, char **argv);
+
void variable_set (char *nameval);
int watch (int argc, char **argv);
Home |
Main Index |
Thread Index |
Old Index