bump rsyslog version

This commit is contained in:
Jean-François GUILLAUME 2023-01-06 09:40:29 +01:00
parent dfd23a25ba
commit 67231e697d
GPG key ID: 38751DAE145EFB5A

View file

@ -1,152 +1,131 @@
(define-module (glicid packages openldap) (define-module (glicid packages openldap)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix download) #:use-module (guix download)
#:use-module ((guix licenses) #:use-module ((guix licenses) #:prefix license:)
#:prefix license:) #:use-module (guix packages)
#:use-module (guix packages) #:use-module (guix utils)
#:use-module (guix utils) #:use-module (gnu packages autotools)
#:use-module (gnu packages autotools) #:use-module (gnu packages compression)
#:use-module (gnu packages compression) #:use-module (gnu packages cyrus-sasl)
#:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages databases)
#:use-module (gnu packages databases) #:use-module (gnu packages dbm)
#:use-module (gnu packages dbm) #:use-module (gnu packages gnupg)
#:use-module (gnu packages gnupg) #:use-module (gnu packages groff)
#:use-module (gnu packages groff) #:use-module (gnu packages kerberos)
#:use-module (gnu packages kerberos) #:use-module (gnu packages libevent)
#:use-module (gnu packages libevent) #:use-module (gnu packages linux)
#:use-module (gnu packages linux) #:use-module ((gnu packages openldap)
#:use-module ((gnu packages openldap) #:prefix gnu:)
#:prefix gnu:) #:use-module (gnu packages password-utils)
#:use-module (gnu packages password-utils) #:use-module (gnu packages perl)
#:use-module (gnu packages perl) #:use-module (gnu packages python)
#:use-module (gnu packages python) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages tls))
#:use-module (gnu packages tls))
(define-public openldap (define-public openldap
(package (package
(name "openldap") (name "openldap")
(version "2.6.3") (version "2.6.3")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (list (string-append (uri (list (string-append "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-" version ".tgz")))
"https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-" (sha256 (base32 "0ihddk8c6hg9lkjv0wk0w13g8kb75r8dfsn1n6b77mzk3pbs38nj"))))
version ".tgz"))) (build-system gnu-build-system)
(sha256 (inputs (list argon2
(base32 cyrus-sasl
"0ihddk8c6hg9lkjv0wk0w13g8kb75r8dfsn1n6b77mzk3pbs38nj")))) libevent
(build-system gnu-build-system) libgcrypt
(inputs (list argon2 libltdl
cyrus-sasl lz4
libevent openssl
libgcrypt perl
libltdl snappy
lz4 unixodbc
openssl wiredtiger
perl zlib))
snappy (native-inputs (list bdb groff libtool pkg-config))
unixodbc (arguments '(
wiredtiger #:tests? #f
zlib)) #:configure-flags '("--enable-debug" "--enable-dynamic"
(native-inputs (list bdb groff libtool pkg-config)) "--enable-syslog"
(arguments "--enable-ipv6"
'(;; this is needed because the make check does not work inside guix "--enable-local"
#:tests? #f "--enable-slapd"
#:configure-flags '("--enable-debug" "--enable-dynamic" "--enable-dynacl"
"--enable-syslog" "--enable-aci"
"--enable-ipv6" "--enable-cleartext"
"--enable-local" "--enable-crypt"
"--enable-slapd" "--enable-spasswd"
"--enable-dynacl" "--enable-modules"
"--enable-aci" "--enable-rlookups"
"--enable-cleartext" "--enable-slapi"
"--enable-crypt" "--enable-backends=mod"
"--enable-spasswd" "--enable-overlays=mod"
"--enable-modules" "--enable-argon2"
"--enable-rlookups" "--enable-balancer"
"--enable-slapi" "--disable-static"
"--enable-backends=mod" "--enable-shared"
"--enable-overlays=mod" "--with-tls=openssl")
"--enable-argon2" #:make-flags '("STRIP=")
"--enable-balancer" #:phases (modify-phases %standard-phases
"--disable-static" (add-before 'build 'make-depend
"--enable-shared" (lambda* (#:key input #:allow-other-keys)
"--with-tls=openssl") (invoke "make" "depend"))))))
#:make-flags '("STRIP=") (synopsis "Implementation of the Lightweight Directory Access Protocol")
#:phases (modify-phases %standard-phases (description
(add-before 'build 'make-depend "OpenLDAP is a free implementation of the Lightweight Directory Access Protocol.")
(lambda* (#:key input #:allow-other-keys) (license license:openldap2.8)
(invoke "make" "depend")))))) (home-page "https://www.openldap.org/")))
(synopsis "Implementation of the Lightweight Directory Access Protocol")
(description
"OpenLDAP is a free implementation of the Lightweight Directory Access Protocol.")
(license license:openldap2.8)
(home-page "https://www.openldap.org/")))
(define-public openldap-2.4.59 (define-public openldap-2.4.59
(package (package
(inherit openldap) (inherit openldap)
(name "openldap") (name "openldap")
(version "2.4.59") (version "2.4.59")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (list (string-append (uri (list (string-append "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-" version ".tgz")))
"https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-" (sha256 (base32 "0d1gw898gbkv46mw0gll3q0w2j2y9midlzh6f320d0nq8xkpvwwr"))))))
version ".tgz")))
(sha256
(base32
"0d1gw898gbkv46mw0gll3q0w2j2y9midlzh6f320d0nq8xkpvwwr"))))))
(define-public openldap-2.5.13 (define-public openldap-2.5.13
(package (package
(inherit openldap) (inherit openldap)
(name "openldap") (name "openldap")
(version "2.5.13") (version "2.5.13")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (list (string-append (uri (list (string-append "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-" version ".tgz")))
"https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-" (sha256 (base32 "13007pv1vpp31dvnf9xzzcknqv9p75rqq412nrbprf7p9q646g7f"))))))
version ".tgz")))
(sha256
(base32
"13007pv1vpp31dvnf9xzzcknqv9p75rqq412nrbprf7p9q646g7f"))))))
(define-public nss-pam-ldapd (define-public nss-pam-ldapd
(package (package
(name "nss-pam-ldapd") (name "nss-pam-ldapd")
(version "0.9.12") (version "0.9.12")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append "https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-" version ".tar.gz"))
"https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-" (sha256 (base32 "050fzcmxmf6y15dlcffc4gxr3wkk7fliqqwhlwqzbjwk8vkn3mn6"))))
version ".tar.gz")) (build-system gnu-build-system)
(sha256 (arguments
(base32 `(#:configure-flags (list (string-append "--with-pam-seclib-dir="
"050fzcmxmf6y15dlcffc4gxr3wkk7fliqqwhlwqzbjwk8vkn3mn6")))) (assoc-ref %outputs "out")
(build-system gnu-build-system) "/lib/security/")
(arguments "--with-ldap-conf-file=/etc/nslcd.conf")
`(#:configure-flags (list (string-append "--with-pam-seclib-dir=" #:phases (modify-phases %standard-phases
(assoc-ref %outputs "out") (add-after 'unpack 'override-nslcd.conf-install-path
"/lib/security/") (lambda* (#:key outputs #:allow-other-keys)
"--with-ldap-conf-file=/etc/nslcd.conf") (substitute* "Makefile.in"
#:phases (modify-phases %standard-phases (("\\$\\(DESTDIR\\)\\$\\(NSLCD_CONF_PATH\\)")
(add-after 'unpack 'override-nslcd.conf-install-path (string-append (assoc-ref outputs "out")
(lambda* (#:key outputs #:allow-other-keys) "/etc/nslcd.conf.example"))))))))
(substitute* "Makefile.in" (inputs (list linux-pam mit-krb5 openldap python))
(("\\$\\(DESTDIR\\)\\$\\(NSLCD_CONF_PATH\\)") (home-page "https://arthurdejong.org/nss-pam-ldapd")
(string-append (assoc-ref outputs "out") (synopsis "NSS and PAM modules for LDAP")
"/etc/nslcd.conf.example")))))))) (description
(inputs `(("linux-pam" ,linux-pam) "nss-pam-ldapd provides a @dfn{Name Service Switch} (NSS)
("mit-krb5" ,mit-krb5) module that allows your LDAP server to provide user account, group, host name,
("openldap" ,openldap) alias, netgroup, and basically any other information that you would normally
("python" ,python))) get from @file{/etc} flat files or NIS. It also provides a @dfn{Pluggable
(home-page "https://arthurdejong.org/nss-pam-ldapd") Authentication Module} (PAM) to do identity and authentication management with
(synopsis "NSS and PAM modules for LDAP") an LDAP server.")
(description (license license:lgpl2.1+)))
"nss-pam-ldapd provides a @dfn{Name Service Switch} (NSS)
module that allows your LDAP server to provide user account, group, host name,
alias, netgroup, and basically any other information that you would normally
get from @file{/etc} flat files or NIS. It also provides a @dfn{Pluggable
Authentication Module} (PAM) to do identity and authentication management with
an LDAP server.")
(license license:lgpl2.1+)))