Subject: [PATCH] gnu: Add savane.
From: Adam Faiz <[email-masked]>
To: [email-masked]
Date: Mon, 6 Mar 2023 20:50:14 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

From b688f58591a3dfb3b240b2e7a4914c38ebb220f3 Mon Sep 17 00:00:00 2001
Message-Id: <b[email-masked]>
From: AwesomeAdam54321 <[email-masked]>
Date: Mon, 6 Mar 2023 18:45:56 +0800
Subject: [PATCH] gnu: Add savane.

* gnu/packages/version-control.scm (savane): New variable.
---
  gnu/packages/version-control.scm | 45 ++++++++++++++++++++++++++++++++
  1 file changed, 45 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 5de344e549..5ffdf8cd78 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -89,6 +89,7 @@ (define-module (gnu packages version-control)
    #:use-module (gnu packages check)
    #:use-module (gnu packages cook)
    #:use-module (gnu packages curl)
+  #:use-module (gnu packages databases)
    #:use-module (gnu packages docbook)
    #:use-module (gnu packages ed)
    #:use-module (gnu packages file)
@@ -104,6 +105,7 @@ (define-module (gnu packages version-control)
    #:use-module (gnu packages guile)
    #:use-module (gnu packages guile-xyz)
    #:use-module (gnu packages image)
+  #:use-module (gnu packages imagemagick)
    #:use-module (gnu packages linux)
    #:use-module (gnu packages mail)
    #:use-module (gnu packages man)
@@ -116,6 +118,7 @@ (define-module (gnu packages version-control)
    #:use-module (gnu packages pcre)
    #:use-module (gnu packages perl)
    #:use-module (gnu packages perl-check)
+  #:use-module (gnu packages php)
    #:use-module (gnu packages pkg-config)
    #:use-module (gnu packages python)
    #:use-module (gnu packages python-build)
@@ -1279,6 +1282,48 @@ (define-public python-gitpython
  @command{git} command implementation.")
      (license license:bsd-3)))
  
+(define-public savane
+  (package
+    (name "savane")
+    (version "3.10")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://git.savannah.gnu.org/git/administration/savane")
+                     (commit (string-append "release-" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "10jg264wqmkc87nz0d8d2pq4hvradwqrvrpvgpz3h409y6c6v78z"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list autoconf
+           automake
+           gettext-minimal
+           imagemagick))
+    (inputs
+     (list exim
+           gnupg
+           httpd
+           mariadb
+           php))
+    (propagated-inputs
+     (list perl
+           perl-dbd-mysql
+           perl-dbi
+           perl-date-calc
+           perl-digest-md5
+           perl-mailtools
+           perl-file-find-rule
+           perl-xml-writer))
+    (synopsis "Web-based software hosting system")
+    (description
+     "Savane is a Web-based software hosting system.
+  It includes issue tracking (bugs, tasks, support, news and documentation),
+project member management by roles and individual account maintenance.")
+    (home-page "https://savannah.nongnu.org/p/administration")
+    (license license:agpl3+)))
+
  (define-public shflags
    (package
      (name "shflags")

base-commit: 08edbd2535ae622d319a51e6f877d23d75dc24f3
prerequisite-patch-id: 66a677452cec5da7e4db37327b344d02556968f6
prerequisite-patch-id: e13c3b4b4ed06ce521ff679ec64e3cd816183388
prerequisite-patch-id: 1eb4d567a14802495169b3e400e02de0b4941729
prerequisite-patch-id: e13bc65a7972f45eb4c027a4d7237dc8471b96cf
prerequisite-patch-id: 69f19053d3985e098bb6d699cdfa05218138074b
prerequisite-patch-id: d4209c17bead7f64f158eb6ba087a0a1fe908567
prerequisite-patch-id: 8fbe5d4c1fd9af1303e5172d9c0a91d02d8b90e7
prerequisite-patch-id: 3ef7533cf54ffe315b9c4528009da4e91acb49f4
prerequisite-patch-id: 1bc01cc50326348aeabda41775163a97be17eeba
prerequisite-patch-id: c2e3363a8e02acd85dd4b8babd06d7579466590b
prerequisite-patch-id: 483daa6fd11f6572fc79805bb5d9c4c9e38100e5
prerequisite-patch-id: 248013cb0d64f016895351673618028815571013
prerequisite-patch-id: ebfbba0bb5120b5a19e8cc16cbf76e9553bd5840
prerequisite-patch-id: d8efacb63f67f23ea485ce455cde9eb0d1500fa8
-- 
2.39.1