From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com ("Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer=22?=) Subject: [PATCH] gnu: Add ngircd. Date: Sat, 31 Jan 2015 22:49:35 +0100 Message-ID: <87sieqr574.fsf@taylan.uni.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHfvA-0003zV-6G for guix-devel@gnu.org; Sat, 31 Jan 2015 16:49:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHfv8-00066s-T4 for guix-devel@gnu.org; Sat, 31 Jan 2015 16:49:40 -0500 Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]:39522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHfv8-00065c-L8 for guix-devel@gnu.org; Sat, 31 Jan 2015 16:49:38 -0500 Received: by mail-we0-f171.google.com with SMTP id k11so30411105wes.2 for ; Sat, 31 Jan 2015 13:49:37 -0800 (PST) Received: from taylan.uni.cx (p200300514A46341E0213E8FFFEED36FB.dip0.t-ipconnect.de. [2003:51:4a46:341e:213:e8ff:feed:36fb]) by mx.google.com with ESMTPSA id u7sm12801088wiy.18.2015.01.31.13.49.36 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 31 Jan 2015 13:49:37 -0800 (PST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org ===File /home/tub/media/src/guix/0001-gnu-Add-ngircd.patch=== >From 5b4569f28f675f7091484133ae430384db585f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= Date: Sat, 31 Jan 2015 22:03:25 +0100 Subject: [PATCH] gnu: Add ngircd. * gnu-system.am (GNU_SYSTEM_MODULES): Add ngircd.scm. * gnu/packages/ngircd.scm: New file. --- gnu-system.am | 1 + gnu/packages/ngircd.scm | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 gnu/packages/ngircd.scm diff --git a/gnu-system.am b/gnu-system.am index 706ad57..488e7a5 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -197,6 +197,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/ncurses.scm \ gnu/packages/netpbm.scm \ gnu/packages/nettle.scm \ + gnu/packages/ngircd.scm \ gnu/packages/ninja.scm \ gnu/packages/node.scm \ gnu/packages/noweb.scm \ diff --git a/gnu/packages/ngircd.scm b/gnu/packages/ngircd.scm new file mode 100644 index 0000000..b947076 --- /dev/null +++ b/gnu/packages/ngircd.scm @@ -0,0 +1,54 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014 Taylan Ulrich Bayırlı/Kammer +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages ngircd) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu)) + +(define-public ngircd + (package + (name "ngircd") + (version "22") + (source (origin + (method url-fetch) + (uri (string-append "http://arthur.barton.de/pub/ngircd/ngircd-" + version ".tar.xz")) + (sha256 + (base32 + "17k3g9qd9d010czk5846qxvzkmw4fihv8l6m2a2287crbxm3xhd4")))) + (build-system gnu-build-system) + (arguments + `(#:phases + ;; Necessary for the test suite, should it be enabled in the future. + (alist-cons-after + 'configure 'post-configure + (lambda _ + (substitute* "src/ngircd/Makefile" + (("#!/bin/sh") (which "sh")))) + %standard-phases) + ;; Test-suite inflates our dependencies with e.g. expect(1). + #:tests? #f)) + (home-page "http://ngircd.barton.de/") + (synopsis "Lightweight Internet Relay Chat server for small networks") + (description + "ngIRCd is a lightweight Internet Relay Chat server for small or private +networks. It is easy to configure, can cope with dynamic IP addresses, and +supports IPv6, SSL-protected connections as well as PAM for authentication.") + (license gpl2+))) -- 2.2.1 ============================================================