author | Michael Krelin <hacker@klever.net> | 2007-07-25 22:05:16 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-25 22:05:16 (UTC) |
commit | 88f05c619e0e57f335725fc28f61556da231535b (patch) (unidiff) | |
tree | 644a1e4ba0172d3d7d67d08a1e7de56f6d11103c | |
parent | dbfc21ba1d43aa380988062b21b4fec566dad0bd (diff) | |
download | asylum-88f05c619e0e57f335725fc28f61556da231535b.zip asylum-88f05c619e0e57f335725fc28f61556da231535b.tar.gz asylum-88f05c619e0e57f335725fc28f61556da231535b.tar.bz2 |
www-misc/pglogd: add a foreground patch and fix initscript
-rw-r--r-- | www-misc/pglogd/Manifest | 26 | ||||
-rw-r--r-- | www-misc/pglogd/files/digest-pglogd-2.3 | 3 | ||||
-rw-r--r-- | www-misc/pglogd/files/pglogd.init | 2 | ||||
-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 @@ | |||
1 | AUX pglogd-2.3-foreground.patch 1825 RMD160 3921038257aa814f5fc9f99774a69ceb90e1c134 SHA1 190bac5a2c53d6456f5bc42d4e635208515f712b SHA256 0c9178b3bba3d322e9edee427f055ff1078cf80c314be92415d04120c1edc536 | ||
2 | MD5 073ee64356ed1189bd57df8a51084d72 files/pglogd-2.3-foreground.patch 1825 | ||
3 | RMD160 3921038257aa814f5fc9f99774a69ceb90e1c134 files/pglogd-2.3-foreground.patch 1825 | ||
4 | SHA256 0c9178b3bba3d322e9edee427f055ff1078cf80c314be92415d04120c1edc536 files/pglogd-2.3-foreground.patch 1825 | ||
1 | AUX pglogd-2.3-path.patch 525 RMD160 8d851d213fc6fb63948764c2c16f5fb622641116 SHA1 ee6071e44aad6646af1ddbc6e21fd69701fb648a SHA256 d558053cff27f73f01e6e377aeb81ac210a4d6d94dcdc62aefb40e6551a750ff | 5 | AUX pglogd-2.3-path.patch 525 RMD160 8d851d213fc6fb63948764c2c16f5fb622641116 SHA1 ee6071e44aad6646af1ddbc6e21fd69701fb648a SHA256 d558053cff27f73f01e6e377aeb81ac210a4d6d94dcdc62aefb40e6551a750ff |
2 | MD5 dbda5e5f91ca13caf6d53247ad0cfb42 files/pglogd-2.3-path.patch 525 | 6 | MD5 dbda5e5f91ca13caf6d53247ad0cfb42 files/pglogd-2.3-path.patch 525 |
3 | RMD160 8d851d213fc6fb63948764c2c16f5fb622641116 files/pglogd-2.3-path.patch 525 | 7 | RMD160 8d851d213fc6fb63948764c2c16f5fb622641116 files/pglogd-2.3-path.patch 525 |
4 | SHA256 d558053cff27f73f01e6e377aeb81ac210a4d6d94dcdc62aefb40e6551a750ff files/pglogd-2.3-path.patch 525 | 8 | SHA256 d558053cff27f73f01e6e377aeb81ac210a4d6d94dcdc62aefb40e6551a750ff files/pglogd-2.3-path.patch 525 |
5 | AUX pglogd.init 556 RMD160 14bfef8724dff6f8d9700da96f1cebea9e0194d2 SHA1 e15563f24f8faa88fa213fbf3ba61ef71594fd27 SHA256 bb344e9fc2eb9396b356fdc8df859ec498832fe7ec500942c74a5d5cb75ef349 | 9 | AUX pglogd.init 572 RMD160 a8373ab7e59ff98e2a92fe3a6f5cf887fe1d8fc2 SHA1 8650cbd2b550a74a6a5e3ea1f4e98ca7cdd9443d SHA256 57e2a9b2e0ea54605bc03ff2a32185d0a4f514f2b628b7fe036c0b8cc8fcfbba |
6 | MD5 0c77083bcb07ead78c786540e9d7a386 files/pglogd.init 556 | 10 | MD5 a52d6bc21dbf6abee1552518927901f4 files/pglogd.init 572 |
7 | RMD160 14bfef8724dff6f8d9700da96f1cebea9e0194d2 files/pglogd.init 556 | 11 | RMD160 a8373ab7e59ff98e2a92fe3a6f5cf887fe1d8fc2 files/pglogd.init 572 |
8 | SHA256 bb344e9fc2eb9396b356fdc8df859ec498832fe7ec500942c74a5d5cb75ef349 files/pglogd.init 556 | 12 | SHA256 57e2a9b2e0ea54605bc03ff2a32185d0a4f514f2b628b7fe036c0b8cc8fcfbba files/pglogd.init 572 |
9 | DIST pglogd-2.3.tar.gz 22796 RMD160 7e9264af8130b3fb5bd3dc89718fb4dfa28e1ec6 SHA1 0c792026eed7ba683f737f38b6c95e8eeb01a706 SHA256 2a0e81cc0e0ab3132a48f11834908fdc6b8e4d70c0e6c12dff8815bc93582e78 | 13 | DIST pglogd-2.3.tar.gz 22796 RMD160 7e9264af8130b3fb5bd3dc89718fb4dfa28e1ec6 SHA1 0c792026eed7ba683f737f38b6c95e8eeb01a706 SHA256 2a0e81cc0e0ab3132a48f11834908fdc6b8e4d70c0e6c12dff8815bc93582e78 |
10 | EBUILD pglogd-2.3.ebuild 1585 RMD160 66924aec3750adfda25fc4cf0b97bc29995906e6 SHA1 2fd2118b11126cc68ca8e814d5e31189c52826cc SHA256 ce4baea7918865bd4a73d4513f6bb602f5c0efd2b26b93f3774a73934bea1ea7 | 14 | EBUILD pglogd-2.3-r1.ebuild 1627 RMD160 601001a0e43e809720373bc0390ecd10ed22b1a7 SHA1 7ef77c59a6497472d4225b04325a4da8d56c6f5f SHA256 51b23bd80195d4b5eeca322ebab56a6fe59760b7306145df12d79ddfe283a821 |
11 | MD5 52a075b317cadd66386388144c3bab09 pglogd-2.3.ebuild 1585 | 15 | MD5 85c3318590df7393ba4b23ab74baae97 pglogd-2.3-r1.ebuild 1627 |
12 | RMD160 66924aec3750adfda25fc4cf0b97bc29995906e6 pglogd-2.3.ebuild 1585 | 16 | RMD160 601001a0e43e809720373bc0390ecd10ed22b1a7 pglogd-2.3-r1.ebuild 1627 |
13 | SHA256 ce4baea7918865bd4a73d4513f6bb602f5c0efd2b26b93f3774a73934bea1ea7 pglogd-2.3.ebuild 1585 | 17 | SHA256 51b23bd80195d4b5eeca322ebab56a6fe59760b7306145df12d79ddfe283a821 pglogd-2.3-r1.ebuild 1627 |
14 | MD5 57dd081bef39489a3abd164e2fdcaafc files/digest-pglogd-2.3 229 | 18 | MD5 57dd081bef39489a3abd164e2fdcaafc files/digest-pglogd-2.3-r1 229 |
15 | RMD160 97992217a4d902e335465f98f88cbd99d976b48b files/digest-pglogd-2.3 229 | 19 | RMD160 97992217a4d902e335465f98f88cbd99d976b48b files/digest-pglogd-2.3-r1 229 |
16 | SHA256 9285caadb485172af13e97753da56c563269e1afba752a505e70a330a8efd400 files/digest-pglogd-2.3 229 | 20 | 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 @@ | |||
1 | MD5 49e494598d1502cf2a20356146fab654 pglogd-2.3.tar.gz 22796 | ||
2 | RMD160 7e9264af8130b3fb5bd3dc89718fb4dfa28e1ec6 pglogd-2.3.tar.gz 22796 | ||
3 | 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 | |||
@@ -6,13 +6,13 @@ | |||
6 | depend() { | 6 | depend() { |
7 | before apache apache2 | 7 | before apache apache2 |
8 | } | 8 | } |
9 | 9 | ||
10 | start() { | 10 | start() { |
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 | ||
16 | stop() { | 16 | stop() { |
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 |
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 | |||
@@ -16,12 +16,13 @@ IUSE="" | |||
16 | DEPEND="dev-db/postgresql-libs" | 16 | DEPEND="dev-db/postgresql-libs" |
17 | 17 | ||
18 | src_unpack() { | 18 | src_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 | ||
24 | src_compile() { | 25 | src_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)" \ |