gnu: Use license: prefix in (gnu packages samba).

* gnu/packages/samba.scm: Import (guix licenses) with the "license:" prefix to
  solve the conflict between the 'openssl' variables from (guix licenses) and
  from (gnu packages tls). Adjust all license fields.
  (ppp)[inputs]: Simplify list of inputs.
This commit is contained in:
Guillaume Le Vaillant 2022-06-25 18:16:33 +02:00
parent 2383144417
commit f65ac6556d
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F

View File

@ -11,6 +11,7 @@
;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com> ;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2020, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2020, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech> ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -33,7 +34,7 @@
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix licenses) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages acl) #:use-module (gnu packages acl)
@ -117,7 +118,7 @@ mounting and managing @acronym{CIFS, Common Internet File System} shares using
the Linux kernel CIFS client.") the Linux kernel CIFS client.")
(home-page "https://wiki.samba.org/index.php/LinuxCIFS_utils") (home-page "https://wiki.samba.org/index.php/LinuxCIFS_utils")
;; cifs-utils is licensed as GPL3 or later, but 3 files contain LGPL code. ;; cifs-utils is licensed as GPL3 or later, but 3 files contain LGPL code.
(license gpl3+))) (license license:gpl3+)))
(define-public iniparser (define-public iniparser
(package (package
@ -179,7 +180,7 @@ are easy to read, write, and modify.
The library is small, thread safe, and written in portable ANSI C with no The library is small, thread safe, and written in portable ANSI C with no
external dependencies.") external dependencies.")
(license x11))) (license license:x11)))
(define-public samba (define-public samba
(package (package
@ -283,7 +284,7 @@ DOS and Windows, OS/2, GNU/Linux and many others.
Samba is an important component to seamlessly integrate Linux/Unix Servers and Samba is an important component to seamlessly integrate Linux/Unix Servers and
Desktops into Active Directory environments using the winbind daemon.") Desktops into Active Directory environments using the winbind daemon.")
(license gpl3+))) (license license:gpl3+)))
(define-public samba/fixed (define-public samba/fixed
;; Version that rarely changes, depended on by libsoup. ;; Version that rarely changes, depended on by libsoup.
@ -330,7 +331,7 @@ Desktops into Active Directory environments using the winbind daemon.")
(description (description
"Talloc is a hierarchical, reference counted memory pool system with "Talloc is a hierarchical, reference counted memory pool system with
destructors. It is the core memory allocator used in Samba.") destructors. It is the core memory allocator used in Samba.")
(license gpl3+))) ;; The bundled "replace" library uses LGPL3. (license license:gpl3+))) ;; The bundled "replace" library uses LGPL3.
(define-public talloc/static (define-public talloc/static
(package (package
@ -397,7 +398,7 @@ destructors. It is the core memory allocator used in Samba.")
"Tevent is an event system based on the talloc memory management library. "Tevent is an event system based on the talloc memory management library.
It is the core event system used in Samba. The low level tevent has support for It is the core event system used in Samba. The low level tevent has support for
many event types, including timers, signals, and the classic file descriptor events.") many event types, including timers, signals, and the classic file descriptor events.")
(license lgpl3+))) (license license:lgpl3+)))
(define-public ldb (define-public ldb
(package (package
@ -453,7 +454,7 @@ many event types, including timers, signals, and the classic file descriptor eve
is provide a fast database with an LDAP-like API designed to be used within an is provide a fast database with an LDAP-like API designed to be used within an
application. In some ways it can be seen as a intermediate solution between application. In some ways it can be seen as a intermediate solution between
key-value pair databases and a real LDAP database.") key-value pair databases and a real LDAP database.")
(license lgpl3+))) (license license:lgpl3+)))
(define-public ppp (define-public ppp
(package (package
@ -487,8 +488,7 @@ key-value pair databases and a real LDAP database.")
(("des\\.h") "openssl/des.h"))) (("des\\.h") "openssl/des.h")))
#t))))) #t)))))
(inputs (inputs
(list libpcap (list libpcap openssl))
(@ (gnu packages tls) openssl)))
(synopsis "Implementation of the Point-to-Point Protocol") (synopsis "Implementation of the Point-to-Point Protocol")
(home-page "https://ppp.samba.org/") (home-page "https://ppp.samba.org/")
(description (description
@ -498,5 +498,7 @@ and IPV6 and the protocols layered above them, such as TCP and UDP.")
;; pppd, pppstats and pppdump are under BSD-style notices. ;; pppd, pppstats and pppdump are under BSD-style notices.
;; some of the pppd plugins are GPL'd. ;; some of the pppd plugins are GPL'd.
;; chat is public domain. ;; chat is public domain.
(license (list bsd-3 bsd-4 gpl2+ public-domain)))) (license (list license:bsd-3
license:bsd-4
license:gpl2+
license:public-domain))))