1 |
commit: c5c06dcc360db2cbf865400be7731b43e6b63383 |
2 |
Author: Thomas Raschbacher <lordvan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 30 12:04:14 2013 +0000 |
4 |
Commit: Thomas Raschbacher <lordvan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 30 12:04:14 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/lordvan.git;a=commit;h=c5c06dcc |
7 |
|
8 |
dbmail 3.1 live git ebuild |
9 |
|
10 |
--- |
11 |
net-mail/dbmail/ChangeLog | 8 ++- |
12 |
net-mail/dbmail/Manifest | 5 +- |
13 |
...{dbmail-3.0.2.ebuild => dbmail-3.1.9999.ebuild} | 60 +++++++--------------- |
14 |
3 files changed, 27 insertions(+), 46 deletions(-) |
15 |
|
16 |
diff --git a/net-mail/dbmail/ChangeLog b/net-mail/dbmail/ChangeLog |
17 |
index 186deeb..54499ac 100644 |
18 |
--- a/net-mail/dbmail/ChangeLog |
19 |
+++ b/net-mail/dbmail/ChangeLog |
20 |
@@ -1,7 +1,13 @@ |
21 |
# ChangeLog for net-mail/dbmail |
22 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
23 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
24 |
# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.43 2011/07/15 21:08:51 maekke Exp $ |
25 |
|
26 |
+*dbmail-3.1.9999 (30 Sep 2013) |
27 |
+ |
28 |
+ 30 Sep 2013; <lordvan@g.o> -dbmail-3.0.2.ebuild, |
29 |
+ +dbmail-3.1.9999.ebuild: |
30 |
+ removed old ebuild added 3.1 branch live git ebuild |
31 |
+ |
32 |
13 Aug 2012; <lordvan@g.o> dbmail-3.0.2.ebuild: |
33 |
change pid_directory to /var/run/dbmail by default and fix config and init |
34 |
files |
35 |
|
36 |
diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest |
37 |
index 3e29e1e..5e30fa0 100644 |
38 |
--- a/net-mail/dbmail/Manifest |
39 |
+++ b/net-mail/dbmail/Manifest |
40 |
@@ -1,4 +1,3 @@ |
41 |
-DIST dbmail-3.0.2.tar.gz 867560 SHA256 139558f4fa3e0f460d688f6d29318366cc3f40dd570a1a29484bb580d0190c3e SHA512 ca1d30a114c1b2b8968227ed678e3857c6d5cb98eb9e7086d45c32b4e957396971bd76cfe2e278fe904fbe8a8ded53199ded76da300d9835b324839e42532834 WHIRLPOOL a79d8b344361bd032446e99bbbb865e798db54e60a730cb7191112e4320ca130d194d8a1ad2d676673b2bb06e50e9cc1ccc78a8a1fc7edcb2a9b3eeeb7841500 |
42 |
-EBUILD dbmail-3.0.2.ebuild 4806 SHA256 b79fbba89f71a53c389d0a6b25dc07463de117ba85be0b86fd503ba22f039bcf SHA512 63f44d36a4abc61e0583428885f6432970cb8987185c2cd69a8fd9adeb0d97bc0dba7608f024e77682d825c1ac01d79ed445c809170abedb86ab4969d5edc593 WHIRLPOOL b75c931956e95f448f32ca73b1340755d572b784eedec96af2e8116a0ef8058da3396d7bf931fb8b3631e44e1a97d6183c443fcd71d562ba1fdb4ad9ecfa110c |
43 |
-MISC ChangeLog 9081 SHA256 ae664f68c7b9e1c2d51e7d4ca4a6cc49b400c0a16a067ef1cf15b5367bbb2028 SHA512 d198a00702420a5751f46ebacc760b48f2ed3b88a1a893f713b78c51cc916a4f1300c30f1d8937a1572fb99d32a54aa41c723d2cada2f6b21a275c2cf7e7fbea WHIRLPOOL 0eaeda6a5caa3bab81bfdf9c5889944d073a8ff8ee18dae79da03c2db8d9ebeac6eec095c2f507d15f6c15de5825a5fd72a48867ce354582a82e3a87ac6319f2 |
44 |
+EBUILD dbmail-3.1.9999.ebuild 4311 SHA256 62d1f612ad5b8e4885d5108e56bb53105832972d288885c4595bb31483b62f89 SHA512 750fd9da5f9a90ee6eebdac2284798a1b59aa95be7622946fdb668c4aee531c538c26923e9c076632755f2ea00d21da11bbb5e0d11551ea30ae4ea29fad87ad2 WHIRLPOOL 089d25a0e0b70c38bffcf001720eaac7ade3cfa4095defe9ad95d4e4794bcc3f045b0c388eb3e6501afe51081e23f42b32e8989786c3d26e693edb4b7ef751d7 |
45 |
+MISC ChangeLog 9253 SHA256 5dcf45fd350bceacea05e923def94b2a488f8c43a679ef9b2ecec19304b7d353 SHA512 c0f9423affaecca345d214c4e65d3b21cf666df9da2ab8c3b7507b3b3069200358ee3bccf8467b1640fcd1b9048dc90621950280fc4afad1c63cb1bd839505ff WHIRLPOOL 915b29177ef4a7b82a81400b32f4a5dbd5b3f6401e500444326f5d0c571470cd201ed84b77e2399185d73ad3d1e827155583d2c55db03aa0a27ab41e82ae19f7 |
46 |
MISC metadata.xml 548 SHA256 44a8967070c748d01cf091dc9102c31a4b49c1de45387a244991fa8e1bf09056 SHA512 04e5ffe784421938f9211f9fa1b3b5952f00b1009503d22bf7c4e23e7717305bb6217d7480a31e98bf362f36d76d38effcbd09e08ed4f5292d9e1b1dd0fcb1d0 WHIRLPOOL 969132b4480ce852454416410164b21c5c182b240a47f8007c82c2c76e6dcb9d46d8a9728e5be8e598062e327f5df812dc9325d357a7821b343073948fbb579e |
47 |
|
48 |
diff --git a/net-mail/dbmail/dbmail-3.0.2.ebuild b/net-mail/dbmail/dbmail-3.1.9999.ebuild |
49 |
similarity index 74% |
50 |
rename from net-mail/dbmail/dbmail-3.0.2.ebuild |
51 |
rename to net-mail/dbmail/dbmail-3.1.9999.ebuild |
52 |
index eecc1af..dafacb2 100644 |
53 |
--- a/net-mail/dbmail/dbmail-3.0.2.ebuild |
54 |
+++ b/net-mail/dbmail/dbmail-3.1.9999.ebuild |
55 |
@@ -1,23 +1,25 @@ |
56 |
-# Copyright 1999-2012 Gentoo Foundation |
57 |
+# Copyright 1999-2013 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.2.17.ebuild,v 1.3 2011/07/15 21:08:51 maekke Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-3.1.7.ebuild,v 1.1 2013/09/25 17:53:43 lordvan Exp $ |
61 |
|
62 |
EAPI="4" |
63 |
-inherit eutils multilib python versionator |
64 |
+inherit eutils multilib versionator git-2 |
65 |
|
66 |
DESCRIPTION="DBMail is an open-source project that enables storage of mail messages in a relational database." |
67 |
HOMEPAGE="http://www.dbmail.org/" |
68 |
-SRC_URI="http://www.dbmail.org/download/$(get_version_component_range 1-2)/${P}.tar.gz" |
69 |
+#SRC_URI="http://www.dbmail.org/download/$(get_version_component_range 1-2)/${P}.tar.gz" |
70 |
+ |
71 |
+EGIT_REPO_URI="http://git.dbmail.eu/paul/dbmail" |
72 |
+EGIT_BRANCH="dbmail_3_1" |
73 |
|
74 |
LICENSE="GPL-2" |
75 |
SLOT="0" |
76 |
-KEYWORDS="~amd64 ~x86" |
77 |
-IUSE="ldap sieve +sqlite ssl static python" |
78 |
+KEYWORDS="" |
79 |
+IUSE="ldap sieve +sqlite ssl static" |
80 |
|
81 |
DEPEND="dev-db/libzdb |
82 |
sieve? ( >=mail-filter/libsieve-2.2.1 ) |
83 |
ldap? ( >=net-nds/openldap-2.3.33 ) |
84 |
- python? ( net-zope/zope-interface ) |
85 |
app-text/asciidoc |
86 |
app-text/xmlto |
87 |
app-crypt/mhash |
88 |
@@ -30,7 +32,6 @@ DEPEND="dev-db/libzdb |
89 |
RDEPEND="${DEPEND}" |
90 |
|
91 |
pkg_setup() { |
92 |
- python_pkg_setup |
93 |
enewgroup dbmail |
94 |
enewuser dbmail -1 -1 /var/lib/dbmail dbmail |
95 |
} |
96 |
@@ -55,20 +56,6 @@ src_install() { |
97 |
|
98 |
dodoc AUTHORS BUGS ChangeLog README* INSTALL NEWS THANKS UPGRADING |
99 |
|
100 |
-# docinto sql/mysql |
101 |
-# dodoc sql/mysql/* |
102 |
-# docinto sql/postgresql |
103 |
-# dodoc sql/postgresql/* |
104 |
-# docinto sql/sqlite |
105 |
-# dodoc sql/sqlite/* |
106 |
-# docinto test-scripts |
107 |
-# dodoc test-scripts/* |
108 |
-# docinto contrib/sql2sql |
109 |
-# dodoc contrib/sql2sql/* |
110 |
-# docinto contrib/mailbox2dbmail |
111 |
-# dodoc contrib/mailbox2dbmail/README |
112 |
-# docinto contrib |
113 |
-# dodoc contrib/dbmailclient.php |
114 |
dodoc -r sql |
115 |
dodoc -r test-scripts |
116 |
dodoc -r contrib |
117 |
@@ -99,27 +86,14 @@ src_install() { |
118 |
doins "${S}/dbmail.schema" |
119 |
fi |
120 |
|
121 |
- if use python; then |
122 |
- insinto $(python_get_sitedir)/dbmail |
123 |
- doins python/*.py |
124 |
- insinto $(python_get_sitedir)/dbmail/app |
125 |
- doins python/app/*.py |
126 |
- insinto $(python_get_sitedir)/dbmail/bin |
127 |
- doins python/bin/*.py |
128 |
- insinto $(python_get_sitedir)/dbmail/lib |
129 |
- doins python/lib/*.py |
130 |
- insinto $(python_get_sitedir)/dbmail/tests |
131 |
- doins python/tests/*.py |
132 |
- fi |
133 |
- |
134 |
keepdir /var/lib/dbmail |
135 |
fperms 750 /var/lib/dbmail |
136 |
+ fowners dbmail:dbmail /var/lib/dbmail |
137 |
+ keepdir /var/run/dbmail |
138 |
+ fowners dbmail:dbmail /var/run/dbmail |
139 |
} |
140 |
|
141 |
pkg_postinst() { |
142 |
- if use python; then |
143 |
- python_mod_optimize dbmail |
144 |
- fi |
145 |
elog "Please read the INSTALL file in /usr/share/doc/${PF}/" |
146 |
elog "for remaining instructions on setting up dbmail users and " |
147 |
elog "for finishing configuration to connect to your MTA and " |
148 |
@@ -149,8 +123,10 @@ pkg_postinst() { |
149 |
elog "Changed pid directory to /var/run/dbmail (see" |
150 |
elog "http://www.dbmail.org/mantis/view.php?id=949 for details)" |
151 |
echo |
152 |
-} |
153 |
- |
154 |
-pkg_postrm() { |
155 |
- python_mod_cleanup dbmail |
156 |
+ ewarn "The database config has changed to support libzdb db URI" |
157 |
+ ewarn "Please check the documentation (or Bug #479664)" |
158 |
+ echo |
159 |
+ ewarn "The database schema has changed since 3.0.x make sure" |
160 |
+ ewarn "to run the migration script" |
161 |
+ echo |
162 |
} |