From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH 1/2] gnu: Add perl-net-psyc. [pcre] Date: Thu, 29 Sep 2016 08:58:29 +0000 Message-ID: <87twczrsju.fsf@we.make.ritual.n0.is> References: <20160913113237.17434-1-ng0@we.make.ritual.n0.is> <20160913191644.GC5986@jasmine> <87twdjmw4y.fsf@we.make.ritual.n0.is> <87twdj8qqg.fsf@we.make.ritual.n0.is> <878tulr4qk.fsf@we.make.ritual.n0.is> <8737ktr17c.fsf@we.make.ritual.n0.is> <87shstccqg.fsf@we.make.ritual.n0.is> <20160927165640.GB2497@jasmine> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpXB3-0006GU-L9 for guix-devel@gnu.org; Thu, 29 Sep 2016 04:58:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpXAx-0005h2-5l for guix-devel@gnu.org; Thu, 29 Sep 2016 04:58:49 -0400 Received: from aibo.runbox.com ([91.220.196.211]:57008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpXAw-0005gs-UY for guix-devel@gnu.org; Thu, 29 Sep 2016 04:58:43 -0400 In-Reply-To: <20160927165640.GB2497@jasmine> 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" To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari writes: > [ Unknown signature status ] > On Wed, Sep 21, 2016 at 06:46:31PM +0000, ng0 wrote: >> From 74a6c1e552a6ae8f438e91cbe318882401b440f8 Mon Sep 17 00:00:00 2001 >> From: ng0 >> Date: Wed, 21 Sep 2016 18:08:42 +0000 >> Subject: [PATCH 1/2] gnu: Add psyclpc. >> >> * gnu/packages/psyc.scm (psyclpc): New variable. > >> + (source (origin >> + (method url-fetch) >> + (uri (list (string-append "http://www.psyced.org/files/" >> + name "-" version ".tar.xz") >> + (string-append "http://krosos.sdf.org/static/unix/" >> + "perlpsyc-" version ".zip"))) >> + (sha256 >> + (base32 >> + "0c2afcj8b2yr2vmy9sy0528iqs9sw01j6q35lvxicm42gs7vnik2")))) > > Do both of those URLs provide a file with the same hash? > >> + (arguments >> + `(#:tests? #f ; There are no tests/checks. >> + #:configure-flags (list >> + "--enable-use-tls=yes" >> + "--enable-use-mccp" > > The "Mud Client Compression Protocol"? > >> + (string-append "--with-openssl=" >> + (assoc-ref %build-inputs "openssl")) >> + (string-append "--prefix=" >> + (assoc-ref %outputs "out")) >> + (string-append "--libdir=" ; "-DMUD_LIB=" > > What does this commented text mean? > >> + (assoc-ref %outputs "out") >> + "/opt/psyced/world") >> + (string-append "--bindir=" >> + (assoc-ref %outputs "out") >> + "/opt/psyced/bin") >> + (string-append "--libexecdir=" ; "-DERQ_DIR=" > > Same question here. > >> + (inputs >> + `(("zlib" ,zlib) >> + ("openssl" ,openssl))) >> + ;; pcre is bundled to ensure the version is compatible. XXX: look into >> + ;; unbundling it. Upstream should update from pcre 4.5 to 8.38. For >> + ;; functionality reasons we can not unbundle it now. >> + ;; ("pcre" ,pcre))) > > That version of PCRE was released in 2003. We might want to add a > warning to the package description... > > https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=pcre Update on this: the pcre bundling was inherited from ldmud, current ldmud has unbundled pcre, so we will be able to unbundle pcre. I'd still like to have the patches in their current form and update psyclpc when the next version without pcre is out. -- ng0