1 |
commit: 939e6c3abebeaa2a89b4a5b521b821c853156c16 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Mar 27 06:07:45 2019 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 28 23:12:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=939e6c3a |
7 |
|
8 |
net-mail/cyrus-imapd: remove unused patches. |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
11 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
12 |
|
13 |
net-mail/cyrus-imapd/files/cyrus-imapd-db.patch | 81 ---------------------- |
14 |
.../cyrus-imapd/files/cyrus-imapd-sieve-libs.patch | 43 ------------ |
15 |
net-mail/cyrus-imapd/files/cyrus.rc6 | 22 ------ |
16 |
3 files changed, 146 deletions(-) |
17 |
|
18 |
diff --git a/net-mail/cyrus-imapd/files/cyrus-imapd-db.patch b/net-mail/cyrus-imapd/files/cyrus-imapd-db.patch |
19 |
deleted file mode 100644 |
20 |
index f720cf2cb12..00000000000 |
21 |
--- a/net-mail/cyrus-imapd/files/cyrus-imapd-db.patch |
22 |
+++ /dev/null |
23 |
@@ -1,81 +0,0 @@ |
24 |
---- configure.ac 2015-07-06 01:22:19.000000000 +0000 |
25 |
-+++ configure.ac 2015-07-22 11:18:33.000000000 +0000 |
26 |
-@@ -236,50 +236,29 @@ |
27 |
- dnl Berkeley DB Detection |
28 |
- |
29 |
- AC_ARG_WITH(bdb, |
30 |
-- [AS_HELP_STRING([--with-bdb=DIR], [use Berkeley DB (in DIR) [yes]])], |
31 |
-- with_bdb=$withval, with_bdb="yes") |
32 |
-- |
33 |
--dnl support old-style |
34 |
--AC_ARG_WITH(dbdir,, with_bdb=$withval) |
35 |
-+ [AS_HELP_STRING([--with-bdb], [use Berkeley DB [yes]])], |
36 |
-+ [], |
37 |
-+ [with_bdb="yes"]) |
38 |
- |
39 |
-+# On a properly installed system, we build |
40 |
-+# by including <db.h> and by linking with -ldb |
41 |
- case "$with_bdb" in |
42 |
-- no) |
43 |
-- use_berkeley="no" |
44 |
-- ;; |
45 |
-- yes) |
46 |
-- use_berkeley="yes" |
47 |
-- with_bdb_lib=none |
48 |
-- with_bdb_inc=none |
49 |
-- ;; |
50 |
-- *) |
51 |
-- use_berkeley="yes" |
52 |
-- with_bdb_lib="$with_bdb/lib" |
53 |
-- with_bdb_inc="$with_bdb/include" |
54 |
-+ no) ;; |
55 |
-+ *) AC_CHECK_FILE([/usr/include/db.h], |
56 |
-+ [], |
57 |
-+ AC_CHECK_FILE([/usr/include/db/db.h]), |
58 |
-+ [BDB_INC="-I/usr/include/db"], |
59 |
-+ AC_MSG_ERROR([No <db.h> include file is found. Install the |
60 |
-+ appropriate db*-devel package first.])) |
61 |
-+ BDB_LIB="-ldb" |
62 |
-+ AC_SUBST(BDB_INC) |
63 |
-+ AC_SUBST(BDB_LIB) |
64 |
-+ LIBS="${LIBS} ${BDB_LIB}" |
65 |
-+ CPPFLAGS="${CPPFLAGS} ${BDB_INC}" |
66 |
-+ AC_DEFINE(HAVE_BDB,[],[Build in Berkeley DB support?]) |
67 |
- ;; |
68 |
- esac |
69 |
-- |
70 |
--if test "$use_berkeley" != "no"; then |
71 |
-- CYRUS_BERKELEY_DB_CHK() |
72 |
-- |
73 |
-- if test "$dblib" = "no"; then |
74 |
-- AC_MSG_ERROR([Berkeley DB 3.x or later was not found. You may need to |
75 |
-- supply the --with-bdb-libdir or --with-bdb-incdir configure options.]) |
76 |
-- fi |
77 |
-- |
78 |
-- if test "$with_bdb_lib" != "none"; then |
79 |
-- CMU_ADD_LIBPATH($with_bdb_lib) |
80 |
-- fi |
81 |
-- |
82 |
-- BDB_INC=${BDB_INCADD} |
83 |
-- BDB_LIB=${BDB_LIBADD} |
84 |
-- AC_SUBST(BDB_INC) |
85 |
-- AC_SUBST(BDB_LIB) |
86 |
-- |
87 |
-- LIBS="${LIBS} ${BDB_LIBADD}" |
88 |
-- CPPFLAGS="${BDB_INCADD} ${CPPFLAGS}" |
89 |
-- AC_DEFINE(HAVE_BDB,[],[Build in Berkeley DB support?]) |
90 |
--fi |
91 |
--AM_CONDITIONAL([USE_BERKELEY], [test "$use_berkeley" != "no"]) |
92 |
-+AM_CONDITIONAL([USE_BERKELEY], [test "$with_bdb" != "no"]) |
93 |
- |
94 |
- dnl End Berkeley DB Detection |
95 |
- |
96 |
-@@ -1800,7 +1779,7 @@ |
97 |
- pcre: $cyrus_cv_pcre_utf8 |
98 |
- |
99 |
- Database support: |
100 |
-- bdb: $use_berkeley |
101 |
-+ bdb: $with_bdb |
102 |
- mysql: $with_mysql |
103 |
- postgresql: $use_pgsql |
104 |
- sqlite: $use_sqlite |
105 |
|
106 |
diff --git a/net-mail/cyrus-imapd/files/cyrus-imapd-sieve-libs.patch b/net-mail/cyrus-imapd/files/cyrus-imapd-sieve-libs.patch |
107 |
deleted file mode 100644 |
108 |
index 0bfdc1d3155..00000000000 |
109 |
--- a/net-mail/cyrus-imapd/files/cyrus-imapd-sieve-libs.patch |
110 |
+++ /dev/null |
111 |
@@ -1,43 +0,0 @@ |
112 |
---- a/configure.ac 2016-10-17 23:01:04.000000000 +0200 |
113 |
-+++ b/configure.ac 2016-12-28 02:42:37.936610002 +0100 |
114 |
-@@ -400,6 +379,7 @@ |
115 |
- fi |
116 |
- |
117 |
- LIBS="${LIBS} ${SQLITE_LIBADD}" |
118 |
-+ AC_SUBST(SQLITE_LIBADD) |
119 |
- CPPFLAGS="${SQLITE_INCADD} ${CPPFLAGS}" |
120 |
- |
121 |
- AC_DEFINE(HAVE_SQLITE,[],[Build in SQLite support?]) |
122 |
-@@ -437,7 +416,9 @@ |
123 |
- fi |
124 |
- |
125 |
- if test "$cyrus_cv_pcre_utf8" = "yes"; then |
126 |
-- LIBS="$LIBS -lpcre -lpcreposix"; |
127 |
-+ PCRE_LIBS="-lpcre -lpcreposix" |
128 |
-+ AC_SUBST(PCRE_LIBS) |
129 |
-+ LIBS="$LIBS $PCRE_LIBS" |
130 |
- AC_DEFINE(ENABLE_REGEX, [], [Do we have a regex library?]) |
131 |
- AC_DEFINE(HAVE_PCREPOSIX_H, [], [Do we have usable pcre library?]) |
132 |
- else |
133 |
---- a/perl/imap/Makefile.PL.in 2016-10-17 23:01:04.000000000 +0200 |
134 |
-+++ b/perl/imap/Makefile.PL.in 2016-12-28 02:42:04.559449967 +0100 |
135 |
-@@ -69,7 +69,7 @@ |
136 |
- 'clean' => {'FILES' => 'libcyrperl.a cyradm'}, |
137 |
- 'OBJECT' => 'IMAP.o', |
138 |
- 'MYEXTLIB' => '@top_builddir@/perl/.libs/libcyrus.a @top_builddir@/perl/.libs/libcyrus_min.a', |
139 |
-- 'LIBS' => [ "@BDB_LIB@ $LIB_SASL @SSL_LIBS@ @LIB_RT@ @LIB_UUID@ @ZLIB@"], |
140 |
-+ 'LIBS' => [ "@BDB_LIB@ $LIB_SASL @SSL_LIBS@ @LIB_RT@ @LIB_UUID@ @ZLIB@ @PCRE_LIBS@ @SQLITE_LIBADD@"], |
141 |
- 'DEFINE' => '-DPERL_POLLUTE', # e.g., '-DHAVE_SOMETHING' |
142 |
- 'INC' => "@BDB_INC@ -I@top_srcdir@ -I@top_srcdir@/com_err/et @SASLFLAGS@ @SSL_CPPFLAGS@ -I@top_srcdir@/perl/imap", |
143 |
- 'EXE_FILES' => [cyradm], |
144 |
---- a/perl/sieve/managesieve/Makefile.PL.in 2016-10-17 23:01:04.000000000 +0200 |
145 |
-+++ b/perl/sieve/managesieve/Makefile.PL.in 2016-12-28 02:42:34.496490437 +0100 |
146 |
-@@ -52,7 +52,7 @@ |
147 |
- 'ABSTRACT' => 'Cyrus Sieve management interface', |
148 |
- 'VERSION_FROM' => "@top_srcdir@/perl/sieve/managesieve/managesieve.pm", # finds $VERSION |
149 |
- 'MYEXTLIB' => '../lib/libisieve.a @top_builddir@/perl/.libs/libcyrus.a @top_builddir@/perl/.libs/libcyrus_min.a', |
150 |
-- 'LIBS' => ["@BDB_LIB@ $LIB_SASL @SSL_LIBS@ @LIB_RT@ @LIB_UUID@ @ZLIB@"], |
151 |
-+ 'LIBS' => ["@BDB_LIB@ $LIB_SASL @SSL_LIBS@ @LIB_RT@ @LIB_UUID@ @ZLIB@ @PCRE_LIBS@ @SQLITE_LIBADD@"], |
152 |
- 'CCFLAGS' => '@COV_CFLAGS@', |
153 |
- 'DEFINE' => '-DPERL_POLLUTE', # e.g., '-DHAVE_SOMETHING' |
154 |
- 'INC' => "@BDB_INC@ -I@top_srcdir@/lib -I@top_srcdir@/perl/sieve/lib @SASLFLAGS@ @SSL_CPPFLAGS@", |
155 |
|
156 |
diff --git a/net-mail/cyrus-imapd/files/cyrus.rc6 b/net-mail/cyrus-imapd/files/cyrus.rc6 |
157 |
deleted file mode 100644 |
158 |
index 119de24c188..00000000000 |
159 |
--- a/net-mail/cyrus-imapd/files/cyrus.rc6 |
160 |
+++ /dev/null |
161 |
@@ -1,22 +0,0 @@ |
162 |
-#!/sbin/openrc-run |
163 |
-# Copyright 1999-2007 Gentoo Foundation |
164 |
-# Distributed under the terms of the GNU General Public License v2 |
165 |
- |
166 |
-depend() { |
167 |
- use net |
168 |
- use dns logger |
169 |
- after drac saslauthd |
170 |
-} |
171 |
- |
172 |
-start() { |
173 |
- ebegin "Starting cyrus imapd" |
174 |
- start-stop-daemon --start --quiet --background \ |
175 |
- --exec /usr/lib/cyrus/master -- ${CYRUS_OPTS} |
176 |
- eend $? |
177 |
-} |
178 |
- |
179 |
-stop() { |
180 |
- ebegin "Stopping cyrus imapd" |
181 |
- start-stop-daemon --stop --quiet --pidfile /var/run/cyrus-master.pid |
182 |
- eend $? |
183 |
-} |