[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/12: gnu: ppp: Update to 2.5.0.
From: |
guix-commits |
Subject: |
10/12: gnu: ppp: Update to 2.5.0. |
Date: |
Thu, 19 Oct 2023 17:58:27 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit a112b43b2a8425915c764a2bc9e6cf0ea58cb512
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Sep 24 02:00:00 2023 +0200
gnu: ppp: Update to 2.5.0.
* gnu/packages/samba.scm (ppp): Update to 2.5.0.
[arguments]: Move CC from #:make-flags
to #:configure-flags where it belongs. Remind ./configure where openssl
lives.
Build verbosely. Remove obsolete 'patch-Makefile phase, and delete
autogen.sh.
[native-inputs]: Add autoconf, automake, and libtool.
---
gnu/packages/samba.scm | 34 +++++++++++++++-------------------
1 file changed, 15 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index c8b8d03521..89a79cee2d 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -467,34 +467,30 @@ key-value pair databases and a real LDAP database.")
(define-public ppp
(package
(name "ppp")
- (version "2.4.9")
+ (version "2.5.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ppp-project/ppp")
- (commit version)))
+ (commit (string-append "ppp-" version))))
(file-name (git-file-name name version))
(sha256
(base32
- "1bhhksdclsnkw54a517ndrw55q5zljjbh9pcqz1z4a2z2flxpsgk"))))
+ "1pkvaxi5318lvsadspj603wdkxah01vgjhywri7rv249p249vfr7"))))
(build-system gnu-build-system)
(arguments
- (list #:tests? #f ;; No "check" target
- #:make-flags #~(list (string-append "CC=" #$(cc-for-target)))
- #:phases
- #~(modify-phases %standard-phases
- (add-before 'configure 'patch-Makefile
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((openssl (assoc-ref inputs "openssl"))
- (libpcap (assoc-ref inputs "libpcap")))
- (substitute* "pppd/Makefile.linux"
- (("/usr/include/openssl")
- (string-append openssl "/include"))
- (("-DPPP_FILTER")
- (string-append "-DPPP_FILTER -I" libpcap "/include")))
- (substitute* "pppd/pppcrypt.h"
- (("des\\.h") "openssl/des.h")))
- #t)))))
+ (list #:tests? #f ; no tests
+ #:configure-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "--with-openssl="
+ (assoc-ref %build-inputs "openssl")))
+ #:make-flags #~(list "V=1") ; better build logs
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'bootstrap 'no-/bin/sh
+ (lambda _ (delete-file "autogen.sh"))))))
+ (native-inputs
+ (list autoconf automake libtool))
(inputs
(list libpcap openssl))
(synopsis "Implementation of the Point-to-Point Protocol")
- branch master updated (c065da01ff -> 47e265af75), guix-commits, 2023/10/19
- 04/12: gnu: mosh: Update package style., guix-commits, 2023/10/19
- 03/12: gnu: font-terminus: Install the README., guix-commits, 2023/10/19
- 01/12: gnu: iceauth: Fix source., guix-commits, 2023/10/19
- 05/12: gnu: mosh: Prepare for cross-building., guix-commits, 2023/10/19
- 06/12: gnu: Add psftools., guix-commits, 2023/10/19
- 02/12: gnu: ncdu: Use a less clever licence URL., guix-commits, 2023/10/19
- 07/12: gnu: isc-dhcp: Remove unused net-tools input., guix-commits, 2023/10/19
- 08/12: gnu: network-manager: Update to 1.44.0., guix-commits, 2023/10/19
- 10/12: gnu: ppp: Update to 2.5.0.,
guix-commits <=
- 09/12: gnu: network-manager: Use Meson option for modprobe., guix-commits, 2023/10/19
- 11/12: gnu: connman: Update to 1.42., guix-commits, 2023/10/19
- 12/12: linux-modules: Fix module dependency loading., guix-commits, 2023/10/19