Skip to content

Commit

Permalink
Rename sympa.pl to sympa
Browse files Browse the repository at this point in the history
  • Loading branch information
ikedas committed Dec 8, 2021
1 parent 4f98bb3 commit 3fa3a86
Show file tree
Hide file tree
Showing 46 changed files with 116 additions and 112 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ nextstep:
@echo "#"
@echo "# UPGRADING"
@echo "# * Run this script to upgrade your data structures:"
@echo "# $(sbindir)/sympa.pl --upgrade"
@echo "# $(sbindir)/sympa upgrade"
@echo "#######################################################"

uninstall-hook:
Expand Down
20 changes: 0 additions & 20 deletions doc/README.postfix

This file was deleted.

3 changes: 2 additions & 1 deletion doc/samples/trusted_applications.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ trusted_application
name foo_proxy
#
md5password acbd18db4cc2f85cedef654fccc4a4d8
# the md5 digest of the application pasword. You can get it with sympa.pl --md5_digest=<the password>
# The md5 digest of the application pasword.
# You can get it with 'sympa md5_digest <the password>'.
#
proxy_for_variables USER_EMAIL,remote_host
# the comma separated list of vars the trusted application can set.
2 changes: 1 addition & 1 deletion src/bin/mod2html.pl.in
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ mod2html, mod2html.pl - Generates HTML view of messages to be moderated
Until Sympa release 3.4.3.1, HTML view of moderated messages was created by
wwsympa.fcgi, when needed.
It is now created by sympa.pl when the message is received.
It is now created by sympa_msg.pl daemon when the message is received.
This script will create all missing HTML files.
Expand Down
1 change: 0 additions & 1 deletion src/bin/upgrade_shared_repository.pl.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!--PERL--
# -*- indent-tabs-mode: nil; -*-
# vim:ft=perl:et:sw=4
# $Id: sympa.pl.in 12913 2016-08-07 03:27:03Z sikeda $

# Sympa - SYsteme de Multi-Postage Automatique
#
Expand Down
4 changes: 2 additions & 2 deletions src/cgi/wwsympa.fcgi.in
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ my $maintenance_mode;
unless (Conf::data_structure_uptodate()) {
$maintenance_mode = 1;
$log->syslog('err',
'WWSympa set to maintenance mode; you should run sympa.pl --upgrade');
'WWSympa set to maintenance mode; you should run \'sympa upgrade\'');
}

our %in;
Expand Down Expand Up @@ -13363,7 +13363,7 @@ sub do_d_set_owner {
####################################################
# do_remind
####################################################
# Sends a remind command to sympa.pl.
# Store a remind command into incoming spool.
#
# IN : -
#
Expand Down
4 changes: 2 additions & 2 deletions src/etc/script/sympa.in
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ sympa_status() {
sympa_check() {
echo $echo_opt "Checking environment: "
if [ ${use_functions} ]; then
$sympadir/sympa.pl --health_check && success || failure
$sympadir/sympa check && success || failure
return $?
else
if $sympadir/sympa.pl --health_check; then
if $sympadir/sympa check; then
echo "success"
return 0
else
Expand Down
2 changes: 1 addition & 1 deletion src/etc/script/sympa.servicein
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Type=forking
PIDFile=--piddir--/sympa_msg.pid
ExecStartPre=/bin/mkdir -p --piddir--
ExecStartPre=/bin/chown --USER--:--GROUP-- --piddir--
ExecStartPre=--sbindir--/sympa.pl --health_check
ExecStartPre=--sbindir--/sympa check
ExecStart=--sbindir--/sympa_msg.pl

[Install]
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Conf.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1806,7 +1806,7 @@ sub _load_server_specific_secondary_config_files {
if (-f get_wwsympa_conf()) {
$log->syslog(
'notice',
'%s was found but it is no longer loaded. Please run sympa.pl --upgrade to migrate it',
'%s was found but it is no longer loaded. Please run \'sympa upgrade\' to migrate it',
get_wwsympa_conf()
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/add.pm
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ sympa-add - Add users to the list
=head1 SYNOPSIS
C<sympa.pl add> S<[ C<--force> ]> S<[ C<--notify> ]> S<[ C<--quiet> ]> S<[ C<role=>I<role> ]> I<list>C<@>I<domain>
C<sympa add> S<[ C<--force> ]> S<[ C<--notify> ]> S<[ C<--quiet> ]> S<[ C<role=>I<role> ]> I<list>C<@>I<domain>
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Sympa/CLI/check.pm
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ sub _run {
## Check that the data structure is uptodate
unless (Conf::data_structure_uptodate()) {
printf STDOUT
"Data structure was not updated; you should run sympa.pl --upgrade to run the upgrade process.\n";
"Data structure was not updated; you should run 'sympa upgrade' to run the upgrade process.\n";
}

exit 0;
Expand All @@ -134,7 +134,7 @@ sympa-check - Check environment
=head1 SYNOPSIS
C<sympa.pl check>
C<sympa check>
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Sympa/CLI/close.pm
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ sympa-close - Close a list or the lists belonging to a family
=head1 SYNOPSIS
C<sympa.pl close> [ C<--mode=purge> ] I<list>[C<@>I<domain>]
C<sympa close> [ C<--mode=purge> ] I<list>[C<@>I<domain>]
C<sympa.pl close> I<family>C<@@>I<domain>
C<sympa close> I<family>C<@@>I<domain>
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/conf_2_db.pm
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sympa-conf_2_db - Load config into the database
=head1 SYNOPSIS
C<sympa.pl conf_2_db>
C<sympa conf_2_db>
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Sympa/CLI/create.pm
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ sympa-create - Create a list
=head1 SYNOPSIS
C<sympa.pl create> C<--input_file=>I</path/to/file.xml> [ I<domain> ]
C<sympa create> C<--input_file=>I</path/to/file.xml> [ I<domain> ]
C<sympa.pl create> C<--input_file=>I</path/to/file.xml> I<family>C<@@>I<domain>
C<sympa create> C<--input_file=>I</path/to/file.xml> I<family>C<@@>I<domain>
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/del.pm
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ sympa-del - Delete users from the list
=head1 SYNOPSIS
C<sympa.pl del> S<[ C<--force> ]> S<[ C<--notify> ]> S<[ C<--quiet> ]> S<[ C<role=>I<role> ]> I<list>C<@>I<domain>
C<sympa del> S<[ C<--force> ]> S<[ C<--notify> ]> S<[ C<--quiet> ]> S<[ C<role=>I<role> ]> I<list>C<@>I<domain>
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Sympa/CLI/dump.pm
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ sympa-dump_ - Dump users of the lists
=head1 SYNOPSIS
C<sympa.pl dump> C<--roles=>I<role>[C<,>I<role>...] I<list>C<@>I<domain>|C<"*">
C<sympa dump> C<--roles=>I<role>[C<,>I<role>...] I<list>C<@>I<domain>|C<"*">
=head1 DESCRIPTION
Expand All @@ -103,6 +103,6 @@ Users are dumped in files I<role>C<.dump> in each list directory.
Note: On Sympa prior to 6.2.31b.1, subscribers were dumped in
F<subscribers.db.dump> file, and owners and moderators could not be dumped.
See also L<"sympa.pl restore_users"|sympa-restore_users>.
See also L<"sympa restore"|sympa-restore>.
=cut
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/export_list.pm
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ __END__
=head1 SYNOPSIS
C<sympa.pl export_list> I<domain>|C<"*">
C<sympa export_list> I<domain>|C<"*">
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/help.pm
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ sympa-help - Display help information about Sympa CLI
=head1 SYNOPSIS
C<sympa.pl help> [ C<--format=>I<format> ] [ I<command>... ]
C<sympa help> [ C<--format=>I<format> ] [ I<command>... ]
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/include.pm
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ sympa-include - Update inclusion
=head1 SYNOPSIS
C<sympa.pl include> [ C<--role=>I<role> ] I<list>C<@>I<domain>
C<sympa include> [ C<--role=>I<role> ] I<list>C<@>I<domain>
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/instantiate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ sympa-instantiate - Instantiate the lists in a family
=head1 SYNOPSIS
C<sympa.pl instantiate> C<--input_file=>I</path/to/file.xml> [ C<--close_unknown> ] [ C<--quiet> ] I<family>C<@@>I<domain>
C<sympa instantiate> C<--input_file=>I</path/to/file.xml> [ C<--close_unknown> ] [ C<--quiet> ] I<family>C<@@>I<domain>
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/lowercase.pm
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ sympa-lowercase - Lowercase email addresses in database
=head1 SYNOPSIS
C<sympa.pl lowercase>
C<sympa lowercase>
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/make_alias_file.pm
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ sympa-make_alias_file - Create aliases file
=head1 SYNOPSIS
C<sympa.pl make_alias_file> I<domain>|C<"*"> [ I<domain> ... ]
C<sympa make_alias_file> I<domain>|C<"*"> [ I<domain> ... ]
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/md5_digest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ sympa-md5_digest - Output a MD5 digest
=head1 SYNOPSIS
C<sympa.pl md5_digest> I<string>
C<sympa md5_digest> I<string>
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/move.pm
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ sympa-move - Move or copy the list
=head1 SYNOPSIS
C<sympa.pl move> [ C<--mode=copy> ] I<list>C<@>I<domain> I<new_list>[C<@>I<new_domain>]
C<sympa move> [ C<--mode=copy> ] I<list>C<@>I<domain> I<new_list>[C<@>I<new_domain>]
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/open.pm
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ sympa-open - Open the list
=head1 SYNOPSIS
C<sympa.pl open> [ C<--notify> ] I<list>[C<@>I<domain>]
C<sympa open> [ C<--notify> ] I<list>[C<@>I<domain>]
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/rebuildarc.pm
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ sympa-rebuildarc - Rebuild the archives of the list
=head1 SYNOPSIS
C<sympa.pl rebuildarc> I<list>[C<@>I<domain>]
C<sympa rebuildarc> I<list>[C<@>I<domain>]
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/reload_list_config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ sympa-reload_list_config - Recreate config cache of the lists
=head1 SYNOPSIS
C<sympa.pl reload_list_config> I<list>C<@>I<domain>|I<domain>
C<sympa reload_list_config> I<list>C<@>I<domain>|I<domain>
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/restore.pm
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ sympa-restore - Restore users of the lists
=head1 SYNOPSIS
C<sympa.pl restore> C<--roles=>I<role>[C<,>I<role>...] I<list>C<@>I<domain>|C<"*">
C<sympa restore> C<--roles=>I<role>[C<,>I<role>...] I<list>C<@>I<domain>|C<"*">
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/send_digest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ sympa-send_digest - Send digest
=head1 SYNOPSIS
C<sympa.pl send_digest> [ C<--keep_digest> ]
C<sympa send_digest> [ C<--keep_digest> ]
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/show_pending_lists.pm
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ sympa-show_pending_lists - Show pending lists
=head1 SYNOPSIS
C<sympa.pl show_pending_lists> I<domain>
C<sympa show_pending_lists> I<domain>
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/sync_list_db.pm
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sympa-sync_list_db - Synchronize database cache of the lists
=head1 SYNOPSIS
C<sympa.pl sync_list_db> [ I<list>C<@>I<domain> ]
C<sympa sync_list_db> [ I<list>C<@>I<domain> ]
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Sympa/CLI/upgrade.pm
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ sympa-upgrade - Upgrade Sympa
=head1 SYNOPSIS
C<sympa.pl upgrade> [ C<--from=>I<version_X> ] [ C<--to=>I<version_Y> ]
C<sympa upgrade> [ C<--from=>I<version_X> ] [ C<--to=>I<version_Y> ]
C<sympa.pl upgrade> I<sub-command> ...
C<sympa upgrade> I<sub-command> ...
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/upgrade_config_location.pm
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ sympa-upgrade_config_location - TBD
=head1 SYNOPSIS
C<sympa.pl upgrade_config_location>
C<sympa upgrade_config_location>
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Sympa/CLI/user.pm
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ sympa-user - Manipulate list users
=head1 SYNOPSIS
C<sympa.pl user> I<sub-command> ...
C<sympa user> I<sub-command> ...
=head1 DESCRIPTION
Expand All @@ -63,7 +63,7 @@ To see detail of each sub-command, run 'C<sympal.pl help user> I<sub-command>'.
=over
=item L<"sympa.pl user move ..."|sympa-user-move(1)>
=item L<"sympa user move ..."|sympa-user-move(1)>
Change a user email address
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/user/move.pm
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ sympa-user-move - Change a user email address
=head1 SYNOPSIS
C<sympa.pl user move> I<current_email> I<new_email>
C<sympa user move> I<current_email> I<new_email>
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/version.pm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ sympa-version - Print the version number of Sympa
=head1 SYNOPSIS
C<sympa.pl version>
C<sympa version>
=head1 DESCRIPTION
Expand Down
Loading

0 comments on commit 3fa3a86

Please sign in to comment.