summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore 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 @@
1AUX pglogd-2.3-foreground.patch 1825 RMD160 3921038257aa814f5fc9f99774a69ceb90e1c134 SHA1 190bac5a2c53d6456f5bc42d4e635208515f712b SHA256 0c9178b3bba3d322e9edee427f055ff1078cf80c314be92415d04120c1edc536
2MD5 073ee64356ed1189bd57df8a51084d72 files/pglogd-2.3-foreground.patch 1825
3RMD160 3921038257aa814f5fc9f99774a69ceb90e1c134 files/pglogd-2.3-foreground.patch 1825
4SHA256 0c9178b3bba3d322e9edee427f055ff1078cf80c314be92415d04120c1edc536 files/pglogd-2.3-foreground.patch 1825
1AUX pglogd-2.3-path.patch 525 RMD160 8d851d213fc6fb63948764c2c16f5fb622641116 SHA1 ee6071e44aad6646af1ddbc6e21fd69701fb648a SHA256 d558053cff27f73f01e6e377aeb81ac210a4d6d94dcdc62aefb40e6551a750ff 5AUX pglogd-2.3-path.patch 525 RMD160 8d851d213fc6fb63948764c2c16f5fb622641116 SHA1 ee6071e44aad6646af1ddbc6e21fd69701fb648a SHA256 d558053cff27f73f01e6e377aeb81ac210a4d6d94dcdc62aefb40e6551a750ff
2MD5 dbda5e5f91ca13caf6d53247ad0cfb42 files/pglogd-2.3-path.patch 525 6MD5 dbda5e5f91ca13caf6d53247ad0cfb42 files/pglogd-2.3-path.patch 525
3RMD160 8d851d213fc6fb63948764c2c16f5fb622641116 files/pglogd-2.3-path.patch 525 7RMD160 8d851d213fc6fb63948764c2c16f5fb622641116 files/pglogd-2.3-path.patch 525
4SHA256 d558053cff27f73f01e6e377aeb81ac210a4d6d94dcdc62aefb40e6551a750ff files/pglogd-2.3-path.patch 525 8SHA256 d558053cff27f73f01e6e377aeb81ac210a4d6d94dcdc62aefb40e6551a750ff files/pglogd-2.3-path.patch 525
5AUX pglogd.init 556 RMD160 14bfef8724dff6f8d9700da96f1cebea9e0194d2 SHA1 e15563f24f8faa88fa213fbf3ba61ef71594fd27 SHA256 bb344e9fc2eb9396b356fdc8df859ec498832fe7ec500942c74a5d5cb75ef349 9AUX pglogd.init 572 RMD160 a8373ab7e59ff98e2a92fe3a6f5cf887fe1d8fc2 SHA1 8650cbd2b550a74a6a5e3ea1f4e98ca7cdd9443d SHA256 57e2a9b2e0ea54605bc03ff2a32185d0a4f514f2b628b7fe036c0b8cc8fcfbba
6MD5 0c77083bcb07ead78c786540e9d7a386 files/pglogd.init 556 10MD5 a52d6bc21dbf6abee1552518927901f4 files/pglogd.init 572
7RMD160 14bfef8724dff6f8d9700da96f1cebea9e0194d2 files/pglogd.init 556 11RMD160 a8373ab7e59ff98e2a92fe3a6f5cf887fe1d8fc2 files/pglogd.init 572
8SHA256 bb344e9fc2eb9396b356fdc8df859ec498832fe7ec500942c74a5d5cb75ef349 files/pglogd.init 556 12SHA256 57e2a9b2e0ea54605bc03ff2a32185d0a4f514f2b628b7fe036c0b8cc8fcfbba files/pglogd.init 572
9DIST pglogd-2.3.tar.gz 22796 RMD160 7e9264af8130b3fb5bd3dc89718fb4dfa28e1ec6 SHA1 0c792026eed7ba683f737f38b6c95e8eeb01a706 SHA256 2a0e81cc0e0ab3132a48f11834908fdc6b8e4d70c0e6c12dff8815bc93582e78 13DIST pglogd-2.3.tar.gz 22796 RMD160 7e9264af8130b3fb5bd3dc89718fb4dfa28e1ec6 SHA1 0c792026eed7ba683f737f38b6c95e8eeb01a706 SHA256 2a0e81cc0e0ab3132a48f11834908fdc6b8e4d70c0e6c12dff8815bc93582e78
10EBUILD pglogd-2.3.ebuild 1585 RMD160 66924aec3750adfda25fc4cf0b97bc29995906e6 SHA1 2fd2118b11126cc68ca8e814d5e31189c52826cc SHA256 ce4baea7918865bd4a73d4513f6bb602f5c0efd2b26b93f3774a73934bea1ea7 14EBUILD pglogd-2.3-r1.ebuild 1627 RMD160 601001a0e43e809720373bc0390ecd10ed22b1a7 SHA1 7ef77c59a6497472d4225b04325a4da8d56c6f5f SHA256 51b23bd80195d4b5eeca322ebab56a6fe59760b7306145df12d79ddfe283a821
11MD5 52a075b317cadd66386388144c3bab09 pglogd-2.3.ebuild 1585 15MD5 85c3318590df7393ba4b23ab74baae97 pglogd-2.3-r1.ebuild 1627
12RMD160 66924aec3750adfda25fc4cf0b97bc29995906e6 pglogd-2.3.ebuild 1585 16RMD160 601001a0e43e809720373bc0390ecd10ed22b1a7 pglogd-2.3-r1.ebuild 1627
13SHA256 ce4baea7918865bd4a73d4513f6bb602f5c0efd2b26b93f3774a73934bea1ea7 pglogd-2.3.ebuild 1585 17SHA256 51b23bd80195d4b5eeca322ebab56a6fe59760b7306145df12d79ddfe283a821 pglogd-2.3-r1.ebuild 1627
14MD5 57dd081bef39489a3abd164e2fdcaafc files/digest-pglogd-2.3 229 18MD5 57dd081bef39489a3abd164e2fdcaafc files/digest-pglogd-2.3-r1 229
15RMD160 97992217a4d902e335465f98f88cbd99d976b48b files/digest-pglogd-2.3 229 19RMD160 97992217a4d902e335465f98f88cbd99d976b48b files/digest-pglogd-2.3-r1 229
16SHA256 9285caadb485172af13e97753da56c563269e1afba752a505e70a330a8efd400 files/digest-pglogd-2.3 229 20SHA256 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 @@
1MD5 49e494598d1502cf2a20356146fab654 pglogd-2.3.tar.gz 22796
2RMD160 7e9264af8130b3fb5bd3dc89718fb4dfa28e1ec6 pglogd-2.3.tar.gz 22796
3SHA256 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 @@
1#!/sbin/runscript 1#!/sbin/runscript
2# Copyright 1999-2005 Gentoo Foundation 2# Copyright 1999-2005 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2 3# Distributed under the terms of the GNU General Public License v2
4# $Header: /var/cvsroot/gentoo-x86/www-misc/pglogd/files/pglogd.init,v 1.1 2005/05/10 05:07:57 nakano Exp $ 4# $Header: /var/cvsroot/gentoo-x86/www-misc/pglogd/files/pglogd.init,v 1.1 2005/05/10 05:07:57 nakano Exp $
5 5
6depend() { 6depend() {
7 before apache apache2 7 before apache apache2
8} 8}
9 9
10start() { 10start() {
11 ebegin "Starting pglogd" 11 ebegin "Starting pglogd"
12 start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/pglogd.pid --exec /usr/sbin/pglogd -- -c /etc/pglogd.conf 12 start-stop-daemon --background --start --quiet --make-pidfile --pidfile /var/run/pglogd.pid --exec /usr/sbin/pglogd -- -c /etc/pglogd.conf -f
13 eend $? 13 eend $?
14} 14}
15 15
16stop() { 16stop() {
17 ebegin "Stopping pglogd" 17 ebegin "Stopping pglogd"
18 start-stop-daemon --stop --quiet --pidfile /var/run/pglogd.pid 18 start-stop-daemon --stop --quiet --pidfile /var/run/pglogd.pid
19 eend $? 19 eend $?
20} 20}
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 @@
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: $ 3# $Header: $
4 4
5inherit eutils postgresql 5inherit eutils postgresql
6 6
7DESCRIPTION="pgLOGd writes web server log entries to a PostgreSQL database" 7DESCRIPTION="pgLOGd writes web server log entries to a PostgreSQL database"
8HOMEPAGE="http://www.digitalstratum.com/pglogd/" 8HOMEPAGE="http://www.digitalstratum.com/pglogd/"
9SRC_URI="http://www.digitalstratum.com/download/${P}.tar.gz" 9SRC_URI="http://www.digitalstratum.com/download/${P}.tar.gz"
10 10
11LICENSE="BSD" 11LICENSE="BSD"
12SLOT="0" 12SLOT="0"
13KEYWORDS="~x86 ~amd64" 13KEYWORDS="~x86 ~amd64"
14IUSE="" 14IUSE=""
15 15
16DEPEND="dev-db/postgresql-libs" 16DEPEND="dev-db/postgresql-libs"
17 17
18src_unpack() { 18src_unpack() {
19 unpack ${A} 19 unpack ${A}
20 cd ${S} 20 cd ${S}
21 epatch ${FILESDIR}/${P}-path.patch 21 epatch ${FILESDIR}/${P}-path.patch
22 epatch ${FILESDIR}/${P}-foreground.patch
22} 23}
23 24
24src_compile() { 25src_compile() {
25 local pgconfig=$(postgresql_get_pgconfig) 26 local pgconfig=$(postgresql_get_pgconfig)
26 emake COPTS= \ 27 emake COPTS= \
27 CFLAGS="${CFLAGS} -I$(${pgconfig} --includedir)" \ 28 CFLAGS="${CFLAGS} -I$(${pgconfig} --includedir)" \
28 LDFLAGS="${LDFLAGS} -L$(${pgconfig} --libdir)" \ 29 LDFLAGS="${LDFLAGS} -L$(${pgconfig} --libdir)" \
29 || die "emake failed" 30 || die "emake failed"
30} 31}
31 32
32src_install() { 33src_install() {
33 dobin pglogctl 34 dobin pglogctl
34 dosbin pglogd 35 dosbin pglogd
35 dodoc CHANGELOG README pglogd_tables.sql weblog_daily.sql queries.txt pglogd.conf 36 dodoc CHANGELOG README pglogd_tables.sql weblog_daily.sql queries.txt pglogd.conf
36 37
37 insinto /etc 38 insinto /etc
38 doins pglogd.conf 39 doins pglogd.conf
39 40
40 exeinto /etc/init.d 41 exeinto /etc/init.d
41 newexe ${FILESDIR}/pglogd.init pglogd 42 newexe ${FILESDIR}/pglogd.init pglogd
42} 43}
43 44
44pkg_postinst() { 45pkg_postinst() {
45 echo 46 echo
46 einfo "Create a database on PostgreSQL server," 47 einfo "Create a database on PostgreSQL server,"
47 einfo "default name pglogd, but call it what you want," 48 einfo "default name pglogd, but call it what you want,"
48 einfo "and create the required tables within the database. An SQL script is" 49 einfo "and create the required tables within the database. An SQL script is"
49 einfo "included with the source /usr/share/doc/${PF}/pglogd_tables.sql.gz" 50 einfo "included with the source /usr/share/doc/${PF}/pglogd_tables.sql.gz"
50 einfo "to accomplish this:" 51 einfo "to accomplish this:"
51 einfo 52 einfo
52 einfo " # su - postgres" 53 einfo " # su - postgres"
53 einfo " $ createdb pglogd" 54 einfo " $ createdb pglogd"
54 einfo " $ zcat /usr/share/doc/${PF}/pglogd_tables.sql.gz | psql pglogd" 55 einfo " $ zcat /usr/share/doc/${PF}/pglogd_tables.sql.gz | psql pglogd"
55 einfo " $ exit" 56 einfo " $ exit"
56 einfo 57 einfo
57 einfo "Then, you need to edit /etc/pglogd.conf against your enviroment." 58 einfo "Then, you need to edit /etc/pglogd.conf against your enviroment."
58 einfo "Finally, start up pglogd." 59 einfo "Finally, start up pglogd."
59 einfo " # /etc/init.d/pglogd start before apache server." 60 einfo " # /etc/init.d/pglogd start before apache server."
60 echo 61 echo
61} 62}