aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/openldap.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/openldap.scm')
0 files changed, 0 insertions, 0 deletions
which leads to a failure in gzipping the CHANGES file. (add-after 'unpack 'ensure-no-mtimes-pre-1980 (lambda _ (let ((early-1980 315619200)) ; 1980-01-02 UTC (ftw "." (lambda (file stat flag) (unless (<= early-1980 (stat:mtime stat)) (utime file early-1980 early-1980)) #t))))) (add-after 'build 'patch-exec-bin-sh (lambda _ (substitute* "test/run" (("/bin/sh") (which "sh"))))) (add-before 'check 'patch-tests (lambda _ ;; The coreutils do not have an ACL bit to remove from their ;; output, so the sed expression that removes the bit is disabled. (substitute* "test/sbits-restore.test" (("\\| sed.*'") "")) ;; These tests require the existence of a user named "bin", but ;; this user does not exist within Guix's build environment. (substitute* "Makefile.in" ((".*test/misc\\.test.*") "") ((".*test/cp\\.test.*") "") ((".*test/setfacl-X\\.test.*") ""))))))) (inputs (list attr)) (native-inputs (list gettext-minimal perl)) (home-page "https://savannah.nongnu.org/projects/acl") (synopsis "Library and tools for manipulating access control lists") (description "Library and tools for manipulating access control lists.") (license (list gpl2+ lgpl2.1+)))) (define-public python-pylibacl (package (name "python-pylibacl") (version "0.6.0") (source (origin (method url-fetch) (uri (pypi-uri "pylibacl" version)) (sha256 (base32 "1zyrk2m20p5b6bdwxhrwib273i6i71zyr5hzssbxfqis5qra9848")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'disable-tests (lambda* (#:key outputs inputs #:allow-other-keys) ;; These tests operate on real files, but our tmpfs does not support ;; ACLs. (substitute* "tests/test_acls.py" (("( *)def test_applyto(_extended(_mixed)?)?" match indent) (string-append indent "@pytest.mark.skip(reason=\"guix\")\n" match))))) (replace 'check (lambda* (#:key inputs outputs tests? #:allow-other-keys) (when tests? (add-installed-pythonpath inputs outputs) (invoke "pytest" "tests"))))))) (inputs (list acl)) (native-inputs (list python-pytest)) (home-page "https://pylibacl.k1024.org/") (synopsis "POSIX.1e @acronym{ACLs, access control lists} for Python") (description "This Python extension module manipulates the POSIX.1e @acronym{ACLs, Access Control Lists} available on many file systems. These allow more fine-grained access control than traditional user/group permissions.") (license lgpl2.1+)))