From patchwork Wed May 8 14:24:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: swedebugia X-Patchwork-Id: 13931 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AD28016FD8; Wed, 8 May 2019 15:25:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id AB0E516FD6 for ; Wed, 8 May 2019 15:25:07 +0100 (BST) Received: from localhost ([127.0.0.1]:38116 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hONVL-0002b7-A3 for patchwork@mira.cbaines.net; Wed, 08 May 2019 10:25:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hONVI-0002ao-3d for guix-patches@gnu.org; Wed, 08 May 2019 10:25:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hONVG-00011Z-VW for guix-patches@gnu.org; Wed, 08 May 2019 10:25:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48381) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hONVG-00011Q-S4 for guix-patches@gnu.org; Wed, 08 May 2019 10:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hONVG-0006H2-I1 for guix-patches@gnu.org; Wed, 08 May 2019 10:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35634] [PATCH] gnu: Add wordpress. Resent-From: swedebugia Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 May 2019 14:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35634 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35634@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155732545924043 (code B ref -1); Wed, 08 May 2019 14:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 May 2019 14:24:19 +0000 Received: from localhost ([127.0.0.1]:33692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hONUZ-0006Fh-Gy for submit@debbugs.gnu.org; Wed, 08 May 2019 10:24:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hONUX-0006FV-19 for submit@debbugs.gnu.org; Wed, 08 May 2019 10:24:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:33795) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hONUR-0000b1-RU for submit@debbugs.gnu.org; Wed, 08 May 2019 10:24:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hONUQ-0002Rg-LJ for guix-patches@gnu.org; Wed, 08 May 2019 10:24:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hONUP-0000a6-Im for guix-patches@gnu.org; Wed, 08 May 2019 10:24:10 -0400 Received: from mx1.riseup.net ([198.252.153.129]:40806) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hONUO-0000ZN-Pp for guix-patches@gnu.org; Wed, 08 May 2019 10:24:09 -0400 Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 48AD31B93DC for ; Wed, 8 May 2019 07:24:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1557325447; bh=9ku7oelgMK4PxsyU1NlFsASIDlJbDhC4ilOizwkbJEs=; h=To:From:Subject:Date:From; b=tXaFGPot/p+XFxilaoaKKDTrxYRBDRYFsJMYFVnj1gwKM6tIFXEVlzpqRIRpbvxv0 FtdLikax7/TZClERcyU1KR7QK5N26JHzjXq4W4h/LEPAnWdoe+HWz+xFLUoYiiIcMN prsfwqau/uqtlmyqM6P3Q5F59344hBKUQaXBqHLM= X-Riseup-User-ID: 579CE3603E8CBEBC48F5C843AD178B12BE47C502B498B48420EA4F87252012D2 Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id 7344212040D for ; Wed, 8 May 2019 07:24:06 -0700 (PDT) From: swedebugia Message-ID: Date: Wed, 8 May 2019 16:24:02 +0200 MIME-Version: 1.0 Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From af9e41939c2f7354b6c40b4f06ef4595c10b876f Mon Sep 17 00:00:00 2001 From: swedebugia Date: Wed, 8 May 2019 16:19:51 +0200 Subject: [PATCH] gnu: Add wordpress. * gnu/packages/web.scm (wordpress): Add public variable. --- gnu/packages/web.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) galleries, +and online stores. Many plugins are available.") + (license license:gpl2+))) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 756b00237e..8f8e669c3d 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -32,6 +32,7 @@ ;;; Copyright © 2018 Alex Vong ;;; Copyright © 2019 Nicolas Goaziou ;;; Copyright © 2019 Brendan Tildesley +;;; Copyright © 2019 swedebugia ;;; ;;; This file is part of GNU Guix. ;;; @@ -6618,3 +6619,39 @@ Features enabled by modules: @item LDAP connectivity @end itemize") (license license:gpl3+))) + +(define-public wordpress + (package + (name "wordpress") + (version "5.2") + (source (origin + (method url-fetch) + (uri (string-append "https://wordpress.org/" name "-" version ".tar.gz")) + (sha256 + (base32 + "1bc6sg269bllq5w6p9dkqlbmqhmijgg61jcnq8vnkri10yj8jc31")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; No configure, build or tests + (delete 'configure) + (delete 'build) + (delete 'check) + (replace 'install + ;; There's no ‘install’ target. Install files manually. + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib/" ,name))) + (copy-recursively "." lib) + #t)))))) + (inputs + `(("php" ,php) + ("mariadb" ,mariadb))) + (home-page "https://wordpress.org/") + (synopsis "Content management system with a web interface") + (description "It features include a plugin architecture and a template +system. It is most associated with blogging but supports other types of web +content including more traditional mailing lists and forums, media