aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2022-06-25 18:16:33 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2022-06-25 18:20:28 +0200
commitf65ac6556d0d089f0b85473a7d1ac96d8811c6b6 (patch)
treec112df2def2b3f35fdf9e2d67ba38b9f4432da3a
parent2383144417eaf04e3065a81d4dc84a0b454566de (diff)
downloadguix-f65ac6556d0d089f0b85473a7d1ac96d8811c6b6.tar
guix-f65ac6556d0d089f0b85473a7d1ac96d8811c6b6.tar.gz
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.
-rw-r--r--gnu/packages/samba.scm24
1 files changed, 13 insertions, 11 deletions
diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index b1402d20e2..41bb8f12fa 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2020, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; 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.
;;;
@@ -33,7 +34,7 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
- #:use-module (guix licenses)
+ #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix utils)
#:use-module (gnu packages)
#: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.")
(home-page "https://wiki.samba.org/index.php/LinuxCIFS_utils")
;; cifs-utils is licensed as GPL3 or later, but 3 files contain LGPL code.
- (license gpl3+)))
+ (license license:gpl3+)))
(define-public iniparser
(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
external dependencies.")
- (license x11)))
+ (license license:x11)))
(define-public samba
(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
Desktops into Active Directory environments using the winbind daemon.")
- (license gpl3+)))
+ (license license:gpl3+)))
(define-public samba/fixed
;; Version that rarely changes, depended on by libsoup.
@@ -330,7 +331,7 @@ Desktops into Active Directory environments using the winbind daemon.")
(description
"Talloc is a hierarchical, reference counted memory pool system with
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
(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.
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.")
- (license lgpl3+)))
+ (license license:lgpl3+)))
(define-public ldb
(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
application. In some ways it can be seen as a intermediate solution between
key-value pair databases and a real LDAP database.")
- (license lgpl3+)))
+ (license license:lgpl3+)))
(define-public ppp
(package
@@ -487,8 +488,7 @@ key-value pair databases and a real LDAP database.")
(("des\\.h") "openssl/des.h")))
#t)))))
(inputs
- (list libpcap
- (@ (gnu packages tls) openssl)))
+ (list libpcap openssl))
(synopsis "Implementation of the Point-to-Point Protocol")
(home-page "https://ppp.samba.org/")
(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.
;; some of the pppd plugins are GPL'd.
;; 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))))