guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: libnet: Update to 1.2.


From: guix-commits
Subject: 04/06: gnu: libnet: Update to 1.2.
Date: Sat, 13 Jun 2020 17:30:34 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 41cb238281886396f77e4cf0be8ddf5b4419d688
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Jun 13 18:58:28 2020 +0200

    gnu: libnet: Update to 1.2.
    
    * gnu/packages/networking.scm (libnet): Update to 1.2.
    [source]: Switch to URL-FETCH.
    [arguments]: Remove chdir phase.
    [native-inputs]: Remove AUTOCONF, AUTOMAKE, and LIBTOOL.  Add PERL.
---
 gnu/packages/networking.scm | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index feba708..bb4b35d 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2121,32 +2121,27 @@ interface and a programmable text output for 
scripting.")
 (define-public libnet
   (package
     (name "libnet")
-    (version "1.2-rc3")
+    (version "1.2")
     (source
      (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/sam-github/libnet";)
-             (commit (string-append "libnet-" version))))
-       (file-name (git-file-name name version))
+       (method url-fetch)
+       (uri (string-append "https://github.com/libnet/libnet/releases/download";
+                           "/v" version "/libnet-" version ".tar.gz"))
        (sha256
         (base32
-         "0cy8w4g5rv963v4p6iq3333kxgdddx2lywp70xf62553a25xhhs4"))))
+         "19ys9vxk6fg70yzzdxsphfr0rwzgxxhr9b3ykhpg7rfray0qd96a"))))
     (build-system gnu-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'chdir
-           (lambda _ (chdir "libnet") #t))
          (add-before 'build 'build-doc
            (lambda* (#:key make-flags #:allow-other-keys)
              (apply invoke "make" "-C" "doc" "doc"
                     make-flags))))))
     (native-inputs
-     `(("autoconf" ,autoconf)
-       ("automake" ,automake)
-       ("libtool" ,libtool)
-       ("doxygen" ,doxygen)))
+     `(;; To build the documentation, Doxygen and Perl is required.
+       ("doxygen" ,doxygen)
+       ("perl" ,perl)))
     (home-page "https://sourceforge.net/projects/libnet-dev/";)
     (synopsis "Framework for low-level network packet construction")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]