]> git.k1024.org Git - pylibacl.git/log
pylibacl.git
16 years agoAllow use of a diferent path for temporary files
Iustin Pop [Fri, 27 Jun 2008 19:07:46 +0000 (21:07 +0200)]
Allow use of a diferent path for temporary files

This patch allows temporary files and directories created during the
test to live somewhere else (override with TESTDIR env. var).

16 years agoAdd some simple unittests
Iustin Pop [Fri, 27 Jun 2008 07:02:44 +0000 (09:02 +0200)]
Add some simple unittests

This patch adds some unittests for creation of ACLs. Based on the
platform, the from octal mode creation is skipped.

16 years agoExport features as a module attributes
Iustin Pop [Fri, 27 Jun 2008 07:00:08 +0000 (09:00 +0200)]
Export features as a module attributes

Currently it's hard to check from python if the current build of the
library has support for X or Y (e.g. acl from mode, etc.). So we export
this as module-level constants and this will allow users to check:
  if posix1e.HAS_ACL_FROM_MODE:
    acl = posix1e.ACL(mode=0644)

16 years agoSwitch from distutils to setuptools
Iustin Pop [Fri, 27 Jun 2008 06:59:03 +0000 (08:59 +0200)]
Switch from distutils to setuptools

Setuptools has some nice features (unittest targets and other), so it
makes sense to use it.

16 years agoAdd a .gitignore file
Iustin Pop [Fri, 27 Jun 2008 04:16:33 +0000 (06:16 +0200)]
Add a .gitignore file

17 years agoUpdate version numbers for release 0.3.0 r0.3.0
Iustin Pop [Sun, 21 Oct 2007 10:54:05 +0000 (12:54 +0200)]
Update version numbers for release 0.3.0

17 years agoDisallow cmp on ACLs
Iustin Pop [Mon, 8 Oct 2007 08:05:01 +0000 (10:05 +0200)]
Disallow cmp on ACLs

17 years agoUse the acl_cmp to implement eq and ne for ACLs
Iustin Pop [Mon, 8 Oct 2007 07:39:23 +0000 (09:39 +0200)]
Use the acl_cmp to implement eq and ne for ACLs

17 years agoImplement the acl_check function
Iustin Pop [Mon, 8 Oct 2007 06:13:33 +0000 (08:13 +0200)]
Implement the acl_check function

17 years agoAdd constants for the acl_check function
Iustin Pop [Mon, 8 Oct 2007 05:38:17 +0000 (07:38 +0200)]
Add constants for the acl_check function

17 years agoAdd to_any_text function
Iustin Pop [Mon, 8 Oct 2007 05:38:16 +0000 (07:38 +0200)]
Add to_any_text function

17 years agoExport the libacl TEXT_* constants under Linux
Iustin Pop [Mon, 8 Oct 2007 05:05:22 +0000 (07:05 +0200)]
Export the libacl TEXT_* constants under Linux

17 years agoFix a compilation warning with python2.4
Iustin Pop [Mon, 8 Oct 2007 04:56:07 +0000 (06:56 +0200)]
Fix a compilation warning with python2.4

It seems python2.4 expects the format argument to
PyArg_ParseTupleAndKeywords to be "char*" and thus the compiler emits a
warning when passing "const char*" (python2.5 is betteri here). Remove
the const from format in ACL_init to fix this.

17 years agoAdd a Darwin build option
Iustin Pop [Mon, 8 Oct 2007 04:47:01 +0000 (06:47 +0200)]
Add a Darwin build option

This is untested by me, reported (a long while ago) by Murali Vadivelu
<mkv22@cam.ac.uk>.

17 years agoStyle changes only
Iustin Pop [Mon, 8 Oct 2007 03:43:03 +0000 (05:43 +0200)]
Style changes only

The comments were reformatted to fit in 80-columns when using pydoc, and
the indenting was changed in for the comments.

17 years agoImplement acl_from_mode
Iustin Pop [Sun, 7 Oct 2007 20:22:15 +0000 (22:22 +0200)]
Implement acl_from_mode

When using the Linux libacl, there is another method to construct an ACL
object: from a mode_t. This patch adds a new parameter (mode) to the ACL
constructor (when HAVE_LINUX is defined) that uses this function to
create the ACL.

17 years agoWrap lines to fit in 80-columns
Iustin Pop [Sun, 7 Oct 2007 15:05:11 +0000 (17:05 +0200)]
Wrap lines to fit in 80-columns

17 years agoWhitespace changes
Iustin Pop [Sun, 7 Oct 2007 10:41:44 +0000 (12:41 +0200)]
Whitespace changes

17 years ago- Update setup.py to 0.2.2 r0.2.2
Iustin Pop [Sun, 3 Dec 2006 12:43:52 +0000 (12:43 +0000)]
- Update setup.py to 0.2.2
- remove posix1e from freebsd libs, as recent freebsd versions don't need it
  and also they don't have this lib anymore (the acls are in libc now)

17 years ago- Fix warnings by includin Python.h first
Iustin Pop [Sun, 3 Dec 2006 11:55:08 +0000 (11:55 +0000)]
- Fix warnings by includin Python.h first
- Fix warnings by passing a pointer to something not an int wrapped in a
  pointer for some functions

17 years agoAdd support for building on GNU/kFreeBSD
Iustin Pop [Sun, 3 Dec 2006 11:15:15 +0000 (11:15 +0000)]
Add support for building on GNU/kFreeBSD

20 years agoAdded ChangeLog to distribution
Iustin Pop [Tue, 27 Apr 2004 20:27:26 +0000 (20:27 +0000)]
Added ChangeLog to distribution

21 years agoRelease 0.2.1 r0.2.1
Iustin Pop [Sun, 29 Dec 2002 20:41:24 +0000 (20:41 +0000)]
Release 0.2.1

21 years agoFixed compilation on LEVEL1 platform (broke since after 0.1)
Iustin Pop [Sun, 29 Dec 2002 06:48:21 +0000 (06:48 +0000)]
Fixed compilation on LEVEL1 platform (broke since after 0.1)

21 years agoAdded missing functionality (acl_calc_mask) and some convenience functions.
Iustin Pop [Sun, 29 Dec 2002 06:36:24 +0000 (06:36 +0000)]
Added missing functionality (acl_calc_mask) and some convenience functions.

21 years agoSmall changes r0.2
Iustin Pop [Fri, 27 Dec 2002 21:55:09 +0000 (21:55 +0000)]
Small changes

21 years agoPrepare for release 0.2
Iustin Pop [Fri, 27 Dec 2002 19:47:20 +0000 (19:47 +0000)]
Prepare for release 0.2

21 years agoSmall makefile
Iustin Pop [Fri, 27 Dec 2002 19:43:12 +0000 (19:43 +0000)]
Small makefile

21 years agoDistutils file
Iustin Pop [Fri, 27 Dec 2002 19:42:56 +0000 (19:42 +0000)]
Distutils file

21 years agoLinux-specific file
Iustin Pop [Fri, 27 Dec 2002 19:42:30 +0000 (19:42 +0000)]
Linux-specific file

21 years agoInformations for porting to other platforms.
Iustin Pop [Fri, 27 Dec 2002 11:35:50 +0000 (11:35 +0000)]
Informations for porting to other platforms.

21 years agoAdded the Permset type/object and some other naming changes
Iustin Pop [Thu, 26 Dec 2002 09:21:09 +0000 (09:21 +0000)]
Added the Permset type/object and some other naming changes

21 years agoRenamed type & object names from ACLType to ACL_Type and so on. Also ACLEntry is...
Iustin Pop [Thu, 26 Dec 2002 06:48:10 +0000 (06:48 +0000)]
Renamed type & object names from ACLType to ACL_Type and so on. Also ACLEntry is now jus Entry.

21 years agoRenamed some fields from ob_x to x, as per other modules in python
Iustin Pop [Thu, 26 Dec 2002 06:43:54 +0000 (06:43 +0000)]
Renamed some fields from ob_x to x, as per other modules in python

21 years agoAdded acl_entry_t type (named ACLEntryType, respectively ACLEntryObject)
Iustin Pop [Thu, 26 Dec 2002 06:41:38 +0000 (06:41 +0000)]
Added acl_entry_t type (named ACLEntryType, respectively ACLEntryObject)

21 years agoDocumentation typo
Iustin Pop [Thu, 26 Dec 2002 03:24:09 +0000 (03:24 +0000)]
Documentation typo

21 years agoAdded setup.cfg, mainly for bdist_rpm
Iustin Pop [Tue, 24 Dec 2002 15:35:30 +0000 (15:35 +0000)]
Added setup.cfg, mainly for bdist_rpm

21 years agoDon't call python2, only python
Iustin Pop [Tue, 24 Dec 2002 15:29:42 +0000 (15:29 +0000)]
Don't call python2, only python

21 years agoPrepare for first public release
Iustin Pop [Tue, 24 Dec 2002 15:19:42 +0000 (15:19 +0000)]
Prepare for first public release

21 years agoMoved to real instance creation via type()
Iustin Pop [Tue, 24 Dec 2002 03:35:00 +0000 (03:35 +0000)]
Moved to real instance creation via type()

21 years agoAddedd __setstate__ and some docs
Iustin Pop [Mon, 23 Dec 2002 21:05:40 +0000 (21:05 +0000)]
Addedd __setstate__ and some docs

21 years agoInitial revision
Iustin Pop [Mon, 23 Dec 2002 16:55:31 +0000 (16:55 +0000)]
Initial revision

21 years agoMany functions added, started working on level 2 support
Iustin Pop [Mon, 23 Dec 2002 16:55:02 +0000 (16:55 +0000)]
Many functions added, started working on level 2 support

21 years agoInitial revision
Iustin Pop [Sat, 21 Dec 2002 21:55:21 +0000 (21:55 +0000)]
Initial revision