summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--www-misc/pglogd/Manifest26
-rw-r--r--www-misc/pglogd/files/digest-pglogd-2.33
-rw-r--r--www-misc/pglogd/files/pglogd.init2
-rw-r--r--www-misc/pglogd/pglogd-2.3-r1.ebuild (renamed from www-misc/pglogd/pglogd-2.3.ebuild)1
4 files changed, 17 insertions, 15 deletions
diff --git a/www-misc/pglogd/Manifest b/www-misc/pglogd/Manifest
index cad52cf..7a6dc49 100644
--- a/www-misc/pglogd/Manifest
+++ b/www-misc/pglogd/Manifest
@@ -1,16 +1,20 @@
+AUX pglogd-2.3-foreground.patch 1825 RMD160 3921038257aa814f5fc9f99774a69ceb90e1c134 SHA1 190bac5a2c53d6456f5bc42d4e635208515f712b SHA256 0c9178b3bba3d322e9edee427f055ff1078cf80c314be92415d04120c1edc536
+MD5 073ee64356ed1189bd57df8a51084d72 files/pglogd-2.3-foreground.patch 1825
+RMD160 3921038257aa814f5fc9f99774a69ceb90e1c134 files/pglogd-2.3-foreground.patch 1825
+SHA256 0c9178b3bba3d322e9edee427f055ff1078cf80c314be92415d04120c1edc536 files/pglogd-2.3-foreground.patch 1825
AUX pglogd-2.3-path.patch 525 RMD160 8d851d213fc6fb63948764c2c16f5fb622641116 SHA1 ee6071e44aad6646af1ddbc6e21fd69701fb648a SHA256 d558053cff27f73f01e6e377aeb81ac210a4d6d94dcdc62aefb40e6551a750ff
MD5 dbda5e5f91ca13caf6d53247ad0cfb42 files/pglogd-2.3-path.patch 525
RMD160 8d851d213fc6fb63948764c2c16f5fb622641116 files/pglogd-2.3-path.patch 525
SHA256 d558053cff27f73f01e6e377aeb81ac210a4d6d94dcdc62aefb40e6551a750ff files/pglogd-2.3-path.patch 525
-AUX pglogd.init 556 RMD160 14bfef8724dff6f8d9700da96f1cebea9e0194d2 SHA1 e15563f24f8faa88fa213fbf3ba61ef71594fd27 SHA256 bb344e9fc2eb9396b356fdc8df859ec498832fe7ec500942c74a5d5cb75ef349
-MD5 0c77083bcb07ead78c786540e9d7a386 files/pglogd.init 556
-RMD160 14bfef8724dff6f8d9700da96f1cebea9e0194d2 files/pglogd.init 556
-SHA256 bb344e9fc2eb9396b356fdc8df859ec498832fe7ec500942c74a5d5cb75ef349 files/pglogd.init 556
+AUX pglogd.init 572 RMD160 a8373ab7e59ff98e2a92fe3a6f5cf887fe1d8fc2 SHA1 8650cbd2b550a74a6a5e3ea1f4e98ca7cdd9443d SHA256 57e2a9b2e0ea54605bc03ff2a32185d0a4f514f2b628b7fe036c0b8cc8fcfbba
+MD5 a52d6bc21dbf6abee1552518927901f4 files/pglogd.init 572
+RMD160 a8373ab7e59ff98e2a92fe3a6f5cf887fe1d8fc2 files/pglogd.init 572
+SHA256 57e2a9b2e0ea54605bc03ff2a32185d0a4f514f2b628b7fe036c0b8cc8fcfbba files/pglogd.init 572
DIST pglogd-2.3.tar.gz 22796 RMD160 7e9264af8130b3fb5bd3dc89718fb4dfa28e1ec6 SHA1 0c792026eed7ba683f737f38b6c95e8eeb01a706 SHA256 2a0e81cc0e0ab3132a48f11834908fdc6b8e4d70c0e6c12dff8815bc93582e78
-EBUILD pglogd-2.3.ebuild 1585 RMD160 66924aec3750adfda25fc4cf0b97bc29995906e6 SHA1 2fd2118b11126cc68ca8e814d5e31189c52826cc SHA256 ce4baea7918865bd4a73d4513f6bb602f5c0efd2b26b93f3774a73934bea1ea7
-MD5 52a075b317cadd66386388144c3bab09 pglogd-2.3.ebuild 1585
-RMD160 66924aec3750adfda25fc4cf0b97bc29995906e6 pglogd-2.3.ebuild 1585
-SHA256 ce4baea7918865bd4a73d4513f6bb602f5c0efd2b26b93f3774a73934bea1ea7 pglogd-2.3.ebuild 1585
-MD5 57dd081bef39489a3abd164e2fdcaafc files/digest-pglogd-2.3 229
-RMD160 97992217a4d902e335465f98f88cbd99d976b48b files/digest-pglogd-2.3 229
-SHA256 9285caadb485172af13e97753da56c563269e1afba752a505e70a330a8efd400 files/digest-pglogd-2.3 229
+EBUILD pglogd-2.3-r1.ebuild 1627 RMD160 601001a0e43e809720373bc0390ecd10ed22b1a7 SHA1 7ef77c59a6497472d4225b04325a4da8d56c6f5f SHA256 51b23bd80195d4b5eeca322ebab56a6fe59760b7306145df12d79ddfe283a821
+MD5 85c3318590df7393ba4b23ab74baae97 pglogd-2.3-r1.ebuild 1627
+RMD160 601001a0e43e809720373bc0390ecd10ed22b1a7 pglogd-2.3-r1.ebuild 1627
+SHA256 51b23bd80195d4b5eeca322ebab56a6fe59760b7306145df12d79ddfe283a821 pglogd-2.3-r1.ebuild 1627
+MD5 57dd081bef39489a3abd164e2fdcaafc files/digest-pglogd-2.3-r1 229
+RMD160 97992217a4d902e335465f98f88cbd99d976b48b files/digest-pglogd-2.3-r1 229
+SHA256 9285caadb485172af13e97753da56c563269e1afba752a505e70a330a8efd400 files/digest-pglogd-2.3-r1 229
diff --git a/www-misc/pglogd/files/digest-pglogd-2.3 b/www-misc/pglogd/files/digest-pglogd-2.3
deleted file mode 100644
index 1d5af03..0000000
--- a/www-misc/pglogd/files/digest-pglogd-2.3
+++ b/dev/null
@@ -1,3 +0,0 @@
-MD5 49e494598d1502cf2a20356146fab654 pglogd-2.3.tar.gz 22796
-RMD160 7e9264af8130b3fb5bd3dc89718fb4dfa28e1ec6 pglogd-2.3.tar.gz 22796
-SHA256 2a0e81cc0e0ab3132a48f11834908fdc6b8e4d70c0e6c12dff8815bc93582e78 pglogd-2.3.tar.gz 22796
diff --git a/www-misc/pglogd/files/pglogd.init b/www-misc/pglogd/files/pglogd.init
index ce7108f..2fdc872 100644
--- a/www-misc/pglogd/files/pglogd.init
+++ b/www-misc/pglogd/files/pglogd.init
@@ -1,20 +1,20 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-misc/pglogd/files/pglogd.init,v 1.1 2005/05/10 05:07:57 nakano Exp $
depend() {
before apache apache2
}
start() {
ebegin "Starting pglogd"
- start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/pglogd.pid --exec /usr/sbin/pglogd -- -c /etc/pglogd.conf
+ start-stop-daemon --background --start --quiet --make-pidfile --pidfile /var/run/pglogd.pid --exec /usr/sbin/pglogd -- -c /etc/pglogd.conf -f
eend $?
}
stop() {
ebegin "Stopping pglogd"
start-stop-daemon --stop --quiet --pidfile /var/run/pglogd.pid
eend $?
}
diff --git a/www-misc/pglogd/pglogd-2.3.ebuild b/www-misc/pglogd/pglogd-2.3-r1.ebuild
index c0fa0b1..7af6198 100644
--- a/www-misc/pglogd/pglogd-2.3.ebuild
+++ b/www-misc/pglogd/pglogd-2.3-r1.ebuild
@@ -1,61 +1,62 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils postgresql
DESCRIPTION="pgLOGd writes web server log entries to a PostgreSQL database"
HOMEPAGE="http://www.digitalstratum.com/pglogd/"
SRC_URI="http://www.digitalstratum.com/download/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="dev-db/postgresql-libs"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-path.patch
+ epatch ${FILESDIR}/${P}-foreground.patch
}
src_compile() {
local pgconfig=$(postgresql_get_pgconfig)
emake COPTS= \
CFLAGS="${CFLAGS} -I$(${pgconfig} --includedir)" \
LDFLAGS="${LDFLAGS} -L$(${pgconfig} --libdir)" \
|| die "emake failed"
}
src_install() {
dobin pglogctl
dosbin pglogd
dodoc CHANGELOG README pglogd_tables.sql weblog_daily.sql queries.txt pglogd.conf
insinto /etc
doins pglogd.conf
exeinto /etc/init.d
newexe ${FILESDIR}/pglogd.init pglogd
}
pkg_postinst() {
echo
einfo "Create a database on PostgreSQL server,"
einfo "default name pglogd, but call it what you want,"
einfo "and create the required tables within the database. An SQL script is"
einfo "included with the source /usr/share/doc/${PF}/pglogd_tables.sql.gz"
einfo "to accomplish this:"
einfo
einfo " # su - postgres"
einfo " $ createdb pglogd"
einfo " $ zcat /usr/share/doc/${PF}/pglogd_tables.sql.gz | psql pglogd"
einfo " $ exit"
einfo
einfo "Then, you need to edit /etc/pglogd.conf against your enviroment."
einfo "Finally, start up pglogd."
einfo " # /etc/init.d/pglogd start before apache server."
echo
}