gnu: ppp: Update to 2.4.9.
* gnu/packages/samba.scm (ppp): Update to 2.4.9. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
		
							parent
							
								
									458cb25b9e
								
							
						
					
					
						commit
						bd46b80aa1
					
				
					 1 changed files with 42 additions and 45 deletions
				
			
		| 
						 | 
					@ -443,51 +443,48 @@ key-value pair databases and a real LDAP database.")
 | 
				
			||||||
    (license lgpl3+)))
 | 
					    (license lgpl3+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public ppp
 | 
					(define-public ppp
 | 
				
			||||||
  ;; This git commit contains unreleased fixes for CVE-2020-8597.
 | 
					  (package
 | 
				
			||||||
  (let ((revision "1")
 | 
					    (name "ppp")
 | 
				
			||||||
        (commit "8d45443bb5c9372b4c6a362ba2f443d41c5636af"))
 | 
					    (version "2.4.9")
 | 
				
			||||||
    (package
 | 
					    (source (origin
 | 
				
			||||||
      (name "ppp")
 | 
					              (method git-fetch)
 | 
				
			||||||
      (version (git-version "2.4.8" revision commit))
 | 
					              (uri (git-reference
 | 
				
			||||||
      (source (origin
 | 
					                    (url "https://github.com/paulusmack/ppp")
 | 
				
			||||||
                (method git-fetch)
 | 
					                    (commit version)))
 | 
				
			||||||
                (uri (git-reference
 | 
					              (file-name (git-file-name name version))
 | 
				
			||||||
                      (url "https://github.com/paulusmack/ppp")
 | 
					              (sha256
 | 
				
			||||||
                      (commit commit)))
 | 
					               (base32
 | 
				
			||||||
                (file-name (git-file-name name version))
 | 
					                "1bhhksdclsnkw54a517ndrw55q5zljjbh9pcqz1z4a2z2flxpsgk"))))
 | 
				
			||||||
                (sha256
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
                 (base32
 | 
					    (arguments
 | 
				
			||||||
                  "06cf8fb84l3h2zy5da4j7k2j1qjv2gfqn986sf43xgj75605aks2"))))
 | 
					     '(#:tests? #f                    ; no check target
 | 
				
			||||||
      (build-system gnu-build-system)
 | 
					       #:make-flags '("CC=gcc")
 | 
				
			||||||
      (arguments
 | 
					       #:phases
 | 
				
			||||||
       '(#:tests? #f                    ; no check target
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         #:make-flags '("CC=gcc")
 | 
					         (add-before 'configure 'patch-Makefile
 | 
				
			||||||
         #:phases
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
         (modify-phases %standard-phases
 | 
					             (let ((libc    (assoc-ref inputs "libc"))
 | 
				
			||||||
           (add-before 'configure 'patch-Makefile
 | 
					                   (openssl (assoc-ref inputs "openssl"))
 | 
				
			||||||
             (lambda* (#:key inputs #:allow-other-keys)
 | 
					                   (libpcap (assoc-ref inputs "libpcap")))
 | 
				
			||||||
               (let ((libc    (assoc-ref inputs "libc"))
 | 
					               (substitute* "pppd/Makefile.linux"
 | 
				
			||||||
                     (openssl (assoc-ref inputs "openssl"))
 | 
					                 (("/usr/include/crypt\\.h")
 | 
				
			||||||
                     (libpcap (assoc-ref inputs "libpcap")))
 | 
					                  (string-append libc "/include/crypt.h"))
 | 
				
			||||||
                 (substitute* "pppd/Makefile.linux"
 | 
					                 (("/usr/include/openssl")
 | 
				
			||||||
                   (("/usr/include/crypt\\.h")
 | 
					                  (string-append openssl "/include/openssl"))
 | 
				
			||||||
                    (string-append libc "/include/crypt.h"))
 | 
					                 (("/usr/include/pcap-bpf.h")
 | 
				
			||||||
                   (("/usr/include/openssl")
 | 
					                  (string-append libpcap "/include/pcap-bpf.h")))
 | 
				
			||||||
                    (string-append openssl "/include/openssl"))
 | 
					               #t))))))
 | 
				
			||||||
                   (("/usr/include/pcap-bpf.h")
 | 
					    (inputs
 | 
				
			||||||
                    (string-append libpcap "/include/pcap-bpf.h")))
 | 
					     `(("libpcap" ,libpcap)
 | 
				
			||||||
                 #t))))))
 | 
					       ("openssl" ,(@ (gnu packages tls) openssl))))
 | 
				
			||||||
      (inputs
 | 
					    (synopsis "Implementation of the Point-to-Point Protocol")
 | 
				
			||||||
       `(("libpcap" ,libpcap)
 | 
					    (home-page "https://ppp.samba.org/")
 | 
				
			||||||
         ("openssl" ,(@ (gnu packages tls) openssl))))
 | 
					    (description
 | 
				
			||||||
      (synopsis "Implementation of the Point-to-Point Protocol")
 | 
					     "The Point-to-Point Protocol (PPP) provides a standard way to establish
 | 
				
			||||||
      (home-page "https://ppp.samba.org/")
 | 
					 | 
				
			||||||
      (description
 | 
					 | 
				
			||||||
       "The Point-to-Point Protocol (PPP) provides a standard way to establish
 | 
					 | 
				
			||||||
a network connection over a serial link.  At present, this package supports IP
 | 
					a network connection over a serial link.  At present, this package supports IP
 | 
				
			||||||
and IPV6 and the protocols layered above them, such as TCP and UDP.")
 | 
					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 bsd-3 bsd-4 gpl2+ public-domain))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue