From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WEfsDwFQg1/RGQAA0tVLHw (envelope-from ) for ; Sun, 11 Oct 2020 18:33:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +D2gCwFQg18QMwAAbx9fmQ (envelope-from ) for ; Sun, 11 Oct 2020 18:33:37 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DA3019401BC for ; Sun, 11 Oct 2020 18:33:36 +0000 (UTC) Received: from localhost ([::1]:35154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRgA3-00089Z-SP for larch@yhetil.org; Sun, 11 Oct 2020 14:33:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRg7b-00061Q-5R for guix-patches@gnu.org; Sun, 11 Oct 2020 14:31:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57722) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kRg7a-0008M3-Q9 for guix-patches@gnu.org; Sun, 11 Oct 2020 14:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kRg7a-0007Sz-Mo for guix-patches@gnu.org; Sun, 11 Oct 2020 14:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43933] [PATCH 3/8] gnu: Add lua-resty-signal. Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Oct 2020 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43933 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43933@debbugs.gnu.org Cc: Oleg Pykhalov Received: via spool by 43933-submit@debbugs.gnu.org id=B43933.160244104828619 (code B ref 43933); Sun, 11 Oct 2020 18:31:02 +0000 Received: (at 43933) by debbugs.gnu.org; 11 Oct 2020 18:30:48 +0000 Received: from localhost ([127.0.0.1]:41020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRg7M-0007RQ-Dd for submit@debbugs.gnu.org; Sun, 11 Oct 2020 14:30:48 -0400 Received: from mail-lj1-f179.google.com ([209.85.208.179]:37958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRg7J-0007Qe-R1 for 43933@debbugs.gnu.org; Sun, 11 Oct 2020 14:30:46 -0400 Received: by mail-lj1-f179.google.com with SMTP id a23so13906184ljp.5 for <43933@debbugs.gnu.org>; Sun, 11 Oct 2020 11:30:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Xpsj/4aHwuqk2ttwh7hdH+xsKGLjtcX3yW8DcVez/5M=; b=mPrrjCfmmlgdi/imG+aYCHUBkPNrefpjBW9AY+AyCbMOk74vgKRkQ5seir9GSmjLyr lmEZAnWkJM6X8gOJ3sqrED1RvJPpVShfe3TS2kgXs57PNZcgtNY4RQPFBKtTKLhfVTel USxDQfUv5uYkkHr7hitSOJX8Y8+eacCKzzCExvpCWryEDB6FPs3e3kWLax62ToV6Nw17 Yk8IJA8G/Kr59EHT3HW+owuq546jThLOhB8L26Z4vO8+Y1FSL77cKKTZyFEMvBLd9tCI VLM7KRDO3dvJSSMY+FDunupq0DfGpIF9UkrciA6zHNMl1qUr5LeQu596gxklSjJJ77iv HfFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Xpsj/4aHwuqk2ttwh7hdH+xsKGLjtcX3yW8DcVez/5M=; b=t1eunYQ3Yr3f9uGeI78YZDI1Toi/gAvtLni8bmFX2MWfhyu3qBK1pMrOH4JK0vOV/d qm13Eb9fEzh6prL2c9KgP2GoRrToI6Y2EUpZWETdYY5PHwMgxMZGRzAT5FcUMMH3i3tn vWKGbLrNnwTEc9h15JxE+9MBOhEvn+lvb/4nxIW7MetMYxOhhiWleFRsKIpcDNuP/Aba kh++wJjZEcbZh2ZW+orNocqSN3vxJSxECBsdgYyJNMfqtZJF/tCCSH6WGWLBb2a2Hrfk 5DXDJUqhX+vhUQ3DkcQUguqcLTdvLBJOSa4lZSTAPR4RtD3+r91PR3+ihG2sldocu+aJ YTtA== X-Gm-Message-State: AOAM532+6mBsy944bDSdCex30h557LCxIP/wYkfzzHrA6CnxyMnyp38O 3N6Z08QyU3d0nKb8jmT/8H2/NPqC1AI= X-Google-Smtp-Source: ABdhPJxvH0PnLxMe3KyznhqUAJtS9YrH2+DOyLkw74VZpQnqDJi8ZvRO8tsgD55nl023FS0vyFooGg== X-Received: by 2002:a2e:9c88:: with SMTP id x8mr8427208lji.251.1602441039636; Sun, 11 Oct 2020 11:30:39 -0700 (PDT) Received: from localhost.localdomain (95-55-4-176.dynamic.avangarddsl.ru. [95.55.4.176]) by smtp.gmail.com with ESMTPSA id l188sm2669151lfd.127.2020.10.11.11.30.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Oct 2020 11:30:38 -0700 (PDT) From: Oleg Pykhalov Date: Sun, 11 Oct 2020 21:30:07 +0300 Message-Id: <20201011183012.15932-3-go.wigust@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201011183012.15932-1-go.wigust@gmail.com> References: <20201011183012.15932-1-go.wigust@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=mPrrjCfm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.59 X-TUID: q0hGU6lIq/HL * gnu/packages/lua.scm (lua-resty-signal): New variable. --- gnu/packages/lua.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 59d449dfe5..60f88c1536 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -952,3 +952,43 @@ on numbers.") (description "This package provides Lua LRU cache based on the LuaJIT FFI.") (license license:bsd-2))) + +(define-public lua-resty-signal + (package + (name "lua-resty-signal") + (version "0.02") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/openresty/lua-resty-signal") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13y1pqn45y49mhqwywasfdsid46d0c33yi6mrnracbnmvyxz1cif")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;TODO: Run the test suite. + #:make-flags (list "CC=gcc" + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-after 'install 'install-lua + (lambda* (#:key inputs outputs #:allow-other-keys) + (use-modules (guix build utils)) + (let* ((luajit-major+minor ,(version-major+minor (package-version lua))) + (package-lua-resty (lambda (input output) + (mkdir-p (string-append output "/lib/lua/" luajit-major+minor)) + (copy-recursively (string-append input "/lib/resty") + (string-append output "/lib/lua/" luajit-major+minor "/resty")) + (symlink (string-append output "/lib/lua/" luajit-major+minor "/resty") + (string-append output "/lib/resty"))))) + (package-lua-resty (assoc-ref inputs "source") + (assoc-ref outputs "out"))) + #t))))) + (home-page "https://github.com/openresty/lua-resty-signal") + (synopsis "Lua library for killing or sending signals to Linux processes") + (description "This package provides Lua library for killing or sending +signals to Linux processes.") + (license license:bsd-3))) -- 2.28.0