summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-02-28 17:29:05 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-02-28 17:29:05 +0000
commit8a19ff86d44d71f2cc2c21697d854ebfd09ff987 (patch)
tree325e478acdddb6b68fe8ebe6626a158062f567fb /dev-db/pgpool2/files
parentwave-encoder is only used with USE=network (diff)
downloadgentoo-2-8a19ff86d44d71f2cc2c21697d854ebfd09ff987.tar.gz
gentoo-2-8a19ff86d44d71f2cc2c21697d854ebfd09ff987.tar.bz2
gentoo-2-8a19ff86d44d71f2cc2c21697d854ebfd09ff987.zip
Version bump. Drop older.
(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/pgpool2/files')
-rw-r--r--dev-db/pgpool2/files/3.0.1-fix_md5_malloc.patch12
-rw-r--r--dev-db/pgpool2/files/pgpool2-tmpdir.patch56
2 files changed, 0 insertions, 68 deletions
diff --git a/dev-db/pgpool2/files/3.0.1-fix_md5_malloc.patch b/dev-db/pgpool2/files/3.0.1-fix_md5_malloc.patch
deleted file mode 100644
index 818b2323294c..000000000000
--- a/dev-db/pgpool2/files/3.0.1-fix_md5_malloc.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -burN pgpool-II-3.0.1/pool_auth.c pgpool-II-3.0.1.new/pool_auth.c
---- pgpool-II-3.0.1/pool_auth.c 2010-09-28 10:00:48.000000000 +0200
-+++ pgpool-II-3.0.1.new/pool_auth.c 2011-01-24 14:12:00.646197002 +0100
-@@ -987,7 +987,7 @@
-
- backend->auth_kind = 5;
- backend->pwd_size = ntohl(size) - 4;
-- memcpy(backend->password, password, backend->pwd_size);
-+ memcpy(backend->password, password, sizeof(password));
- memcpy(backend->salt, salt, sizeof(salt));
- }
- return kind; \ No newline at end of file
diff --git a/dev-db/pgpool2/files/pgpool2-tmpdir.patch b/dev-db/pgpool2/files/pgpool2-tmpdir.patch
deleted file mode 100644
index 8a6232765c29..000000000000
--- a/dev-db/pgpool2/files/pgpool2-tmpdir.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-diff -Nur pgpool-II-1.0.2/pgpool.conf.sample pgpool-II-1.0.2.new/pgpool.conf.sample
---- pgpool-II-1.0.2/pgpool.conf.sample 2006-11-29 22:54:26.000000000 +0100
-+++ pgpool-II-1.0.2.new/pgpool.conf.sample 2007-02-28 15:38:36.000000000 +0100
-@@ -7,21 +7,21 @@
- listen_addresses = 'localhost'
-
- # Port number for pgpool
--port = 9999
-+port = 5433
-
- # Port number for pgpool communication manager
- pcp_port = 9898
-
- # Unix domain socket path. (The Debian package defaults to
- # /var/run/postgresql.)
--socket_dir = '/tmp'
-+socket_dir = '/var/run/postgresql'
-
- # Unix domain socket path for pgpool communication manager.
- # (Debian package defaults to /var/run/postgresql)
--pcp_socket_dir = '/tmp'
-+pcp_socket_dir = '/var/run/postgresql'
-
- # Unix domain socket path for the backend. Debian package defaults to /var/run/postgresql!
--backend_socket_dir = '/tmp'
-+backend_socket_dir = '/var/run/postgresql'
-
- # pgpool communication manager timeout. 0 means no timeout, but strongly not recommended!
- pcp_timeout = 10
-@@ -43,8 +43,8 @@
- # 0 means no exit.
- child_max_connections = 0
-
--# Logging directory
--logdir = '/tmp'
-+# Logging directory (more accurately, the directory for the PID file)
-+logdir = '/var/run/postgresql'
-
- # Replication mode
- replication_mode = false
-diff -Nur pgpool-II-1.0.2/pool.h pgpool-II-1.0.2.new/pool.h
---- pgpool-II-1.0.2/pool.h 2007-02-13 04:19:04.000000000 +0100
-+++ pgpool-II-1.0.2.new/pool.h 2007-02-28 15:39:07.000000000 +0100
-@@ -46,10 +46,10 @@
- #define PCP_PASSWD_FILE_NAME "pcp.conf"
-
- /* pid file directory */
--#define DEFAULT_LOGDIR "/tmp"
-+#define DEFAULT_LOGDIR "/var/run/postgresql"
-
- /* Unix domain socket directory */
--#define DEFAULT_SOCKET_DIR "/tmp"
-+#define DEFAULT_SOCKET_DIR "/var/run/postgresql"
-
- /* pid file name */
- #define PID_FILE_NAME "pgpool.pid"