SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,20 @@
--- MySQL.pm.orig Wed Jul 24 08:49:56 2002
+++ MySQL.pm Fri Aug 9 12:28:33 2002
@@ -31,7 +31,7 @@ use constant COMMAND_CONNECT_OUT => "
use constant DEFAULT_PORT_NUMBER => 3306;
use constant BUFFER_LENGTH => 1460;
-use constant DEFAULT_UNIX_SOCKET => '/tmp/mysql.sock';
+use constant DEFAULT_UNIX_SOCKET => '/var/run/mysql/mysql.sock';
sub new {
@@ -785,7 +785,7 @@ The constructor of Net::MySQL. Connectio
=item unixsocket
-Path of the UNIX socket where MySQL daemon. default is F</tmp/mysql.sock>.
+Path of the UNIX socket where MySQL daemon. default is F</var/run/mysql/mysql.sock>.
Supposing I<hostname> is omitted, it will connect by I<UNIX Socket>.
=item hostname

View file

@ -0,0 +1,15 @@
--- script/mysql.pl.orig Mon Jul 22 05:12:53 2002
+++ script/mysql.pl Fri Aug 9 12:28:27 2002
@@ -70,10 +70,10 @@ exit;
sub show_usage
{
die <<__USAGE__;
-Usage: mysq.pl [-?v] [-s /tmp/mysql.sock] [-h HOSTNAME] [-P PORT] [-u USER] DATABASE
+Usage: mysq.pl [-?v] [-s /var/run/mysql/mysql.sock] [-h HOSTNAME] [-P PORT] [-u USER] DATABASE
-? Display this help and exit.
- -s Path to Unix socket. (default /tmp/mysql.sock)
+ -s Path to Unix socket. (default /var/run/mysql/mysql.sock)
-h Connect to host.
-P Port number to user for connection.(default 3306)
-u User for login if not current user.