Update license headers.
[jackhill/guix/guix.git] / distro / packages / shishi.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
3 ;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
4 ;;;
5 ;;; This file is part of GNU Guix.
6 ;;;
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
11 ;;;
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
16 ;;;
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19
20 (define-module (distro packages shishi)
21 #:use-module (guix licenses)
22 #:use-module (distro)
23 #:use-module (distro packages gnutls)
24 #:use-module (distro packages gnupg)
25 #:use-module ((distro packages compression)
26 #:renamer (symbol-prefix-proc 'guix:))
27 #:use-module (guix packages)
28 #:use-module (guix download)
29 #:use-module (guix build-system gnu))
30
31 (define-public shishi
32 (package
33 (name "shishi")
34 (version "1.0.1")
35 (source
36 (origin
37 (method url-fetch)
38 (uri (string-append
39 "mirror://gnu/shishi/shishi-"
40 version
41 ".tar.gz"))
42 (sha256
43 (base32
44 "13c6w9rpaqb3am65nrn86byvmll5r78pld2vb0i68491vww4fzlx"))))
45 (build-system gnu-build-system)
46 (arguments
47 `(#:make-flags
48 '("CPPFLAGS=-DMAX_ERROR_DESCRIPTION_SIZE=ASN1_MAX_ERROR_DESCRIPTION_SIZE")
49 #:patches (list (assoc-ref %build-inputs
50 "patch/gets"))))
51 (inputs
52 `(("gnutls" ,gnutls)
53 ("zlib" ,guix:zlib)
54 ("libgcrypt" ,libgcrypt)
55 ("libtasn1" ,libtasn1)
56 ("patch/gets" ,(search-patch "shishi-gets-undeclared.patch"))))
57 (home-page "http://www.gnu.org/software/shishi/")
58 (synopsis
59 "GNU Shishi, free implementation of the Kerberos 5 network security system")
60 (description
61 " GNU Shishi is an implementation of the Kerberos 5 network
62 authentication system, as specified in RFC 4120. Shishi can be
63 used to authenticate users in distributed systems.
64
65 Shishi contains a library (`libshishi') that can be used by
66 application developers to add support for Kerberos 5. Shishi
67 contains a command line utility (1shishi') that is used by
68 users to acquire and manage tickets (and more). The server
69 side, a Key Distribution Center, is implemented by `shishid'.
70 ")
71 (license gpl3+))) ; some files are under GPLv2+