diff options
author | Igor Zabelin <igorz@yandex.ru> | 2021-12-20 12:09:46 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2021-12-20 12:11:09 +0000 |
commit | 354d8e21d542d8310df6fdfc361ce23def8f5ee0 (patch) | |
tree | 5ce6f3400c623f8020fbe05fcd52e60e2957b4bd /mail | |
parent | 33162626a711837608f3802c90430489c989dadf (diff) | |
download | ports-354d8e21d542d8310df6fdfc361ce23def8f5ee0.tar.gz ports-354d8e21d542d8310df6fdfc361ce23def8f5ee0.zip |
mail/phplist: Update phplist.in to actual version
PR: 248142
Approved by: Krzysztof <ports@bsdserwis.com> (maintainer)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/phplist/Makefile | 2 | ||||
-rw-r--r-- | 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 <path to config file> 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 $* |