From nobody Mon Dec 20 12:11:18 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8660018E8781; Mon, 20 Dec 2021 12:11:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JHdjL1v7jz4kdZ; Mon, 20 Dec 2021 12:11:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 21807162A9; Mon, 20 Dec 2021 12:11:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BKCBIST091829; Mon, 20 Dec 2021 12:11:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BKCBIiE091828; Mon, 20 Dec 2021 12:11:18 GMT (envelope-from git) Date: Mon, 20 Dec 2021 12:11:18 GMT Message-Id: <202112201211.1BKCBIiE091828@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: 354d8e21d542 - main - mail/phplist: Update phplist.in to actual version List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 354d8e21d542d8310df6fdfc361ce23def8f5ee0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640002278; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=59CLDljyKeBFJ3ok8NcPhwTNlAnpX3HQSljLbRHcm3k=; b=kzspMYb5HWxY4dpla3lBU6lRUgLpJ94O5/fihnvlTpWHCa8n3s/ocxwRbShx9UZkoZrOpr ybRc6tWXNkhE8ofKx0IzAIgxBf8DIiiobXMjX0jmJOg75HY4L+HvmNTXpROKcVk99oYFxo 72NPts0W3Qt1B0vA/ENOLJQ+UxzQuzNgnDQQoL7rABI9gpBc0ChzoE2Y1mggYbOEP+5wYe 2e+WJ9hYxh4yPhYjJzSgNURzFBhiuqFHb+auPAg4CTuhV7yn+/E/22eaJWJC4bTkexS3/6 yk1BATVdlailbrum0sQZFm3QkDNY0RxsKeEHk+R2nJMuwJYdNrG/kdp7LIEL4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640002278; a=rsa-sha256; cv=none; b=d5zR3vz9eGdZsSoKsHMlnebSg0mF+LKX0ywj9O09Dbyi50Lx3aW8QbhYxrMFjJVTUrtY20 /ED9jbogZO1zhBokLfrCF6UFtXl+CYMfKyfnKpjYAbnjsijVbk0YsWOLZwQDaLJpHl6piJ FMV0QwX//lV4SSqWlMpdr/eYGV1RjfLmZfEJ6AzfrUnSCqIb9AqfaIam6DNSwrTb7VsVhe PljX9b02EWSJpLtWnwjdvcLp+6YrK7XnbeJC02wIn2ziaQTjVoTfJmEDBH+Ls7QMGwOfD+ miioKWk11qbOD1nLHoYvf7eW1k7cATU8nrq7P6O5s1QI9OWTff8hflNUBhjWEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=354d8e21d542d8310df6fdfc361ce23def8f5ee0 commit 354d8e21d542d8310df6fdfc361ce23def8f5ee0 Author: Igor Zabelin AuthorDate: 2021-12-20 12:09:46 +0000 Commit: Li-Wen Hsu CommitDate: 2021-12-20 12:11:09 +0000 mail/phplist: Update phplist.in to actual version PR: 248142 Approved by: Krzysztof (maintainer) --- mail/phplist/Makefile | 2 +- mail/phplist/files/phplist.in | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/mail/phplist/Makefile b/mail/phplist/Makefile index bf8d7316715e..188d8eef1ea6 100644 --- a/mail/phplist/Makefile +++ b/mail/phplist/Makefile @@ -2,7 +2,7 @@ PORTNAME= phplist DISTVERSION= 3.6.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail www MASTER_SITES= SF PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} diff --git a/mail/phplist/files/phplist.in b/mail/phplist/files/phplist.in index b2f231283646..e9f7ded67746 100644 --- a/mail/phplist/files/phplist.in +++ b/mail/phplist/files/phplist.in @@ -1,18 +1,18 @@ #!/bin/sh -# script to run PHPlist from commandline. You may need to edit this to make it work -# with your shell environment. The following should work for Bash on Fedora Linux +# script to run phpList from commandline. You may need to edit this to make it work +# with your shell environment. The following should work for Bash on Linux # but this may vary strongly in other situations. You will need to dig into the # code to make sure it works for you. # in commandline mode, access is restricted to users who are listed in the config file # check README.commandline for more info +# +# when you set this file up, and place it in your PATH, you can do eg +# $ phplist -pprocessqueue +# to run the queue -# identify the config file for your installation -CONFIG=%%WWWDIR%%/lists/config/config.php -export CONFIG - -# alternatively you can use -c on the commandline - -# run the PHPlist index file with all parameters passed to this script -exec %%LOCALBASE%%/bin/php %%WWWDIR%%/lists/admin/index.php $* +# run the phpList index file with all parameters passed to this script +# make sure the php binary is "cli" +# +%%LOCALBASE%%/bin/php %%WWWDIR%%/lists/admin/index.php -c %%WWWDIR%%/lists/config/config.php $*