Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/perdition/files/, net-mail/perdition/
Date: Fri, 01 Apr 2016 03:04:58
Message-Id: 1459479848.f4eb7ab719dd1041628d72be14ff5571cb29b27b.bman@gentoo
1 commit: f4eb7ab719dd1041628d72be14ff5571cb29b27b
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 1 03:04:08 2016 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 1 03:04:08 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4eb7ab7
7
8 net-mail/perdition: remove last-rited package per security bug 491372
9
10 net-mail/perdition/Manifest | 1 -
11 net-mail/perdition/files/perdition.confd | 50 -------------------
12 net-mail/perdition/files/perdition.initd | 85 --------------------------------
13 net-mail/perdition/metadata.xml | 17 -------
14 net-mail/perdition/perdition-1.18.ebuild | 61 -----------------------
15 5 files changed, 214 deletions(-)
16
17 diff --git a/net-mail/perdition/Manifest b/net-mail/perdition/Manifest
18 deleted file mode 100644
19 index 5150cf2..0000000
20 --- a/net-mail/perdition/Manifest
21 +++ /dev/null
22 @@ -1 +0,0 @@
23 -DIST perdition-1.18.tar.gz 602933 SHA256 cad541ca1881de8eec74106851d10c2027588b96cf1f70e3cf395f2c24c4ecaa SHA512 f01ac9eefc69f0018b1d08a9db6a82f8119ec50faae971ca3b64947b9d2b4ca26bf447cab55a7cec6a6c89e8d0695def3649b60b4bceae6e44e480c4f3518a28 WHIRLPOOL cab5605b2bb1705f26096979a92e45451f3ac753a64edc35051eb5a72a56109b452a2a5d570518d052369c8d94a39bd11b6d4d885d57a87560754e4275433283
24
25 diff --git a/net-mail/perdition/files/perdition.confd b/net-mail/perdition/files/perdition.confd
26 deleted file mode 100644
27 index df99894..0000000
28 --- a/net-mail/perdition/files/perdition.confd
29 +++ /dev/null
30 @@ -1,50 +0,0 @@
31 -# Copyright 1999-2005 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -# $Id$
34 -
35 -# Run time configuration parameters for /etc/init.d/perdition
36 -
37 -# User to run perdition as
38 -# ( change it only if you know what you're doing )
39 -PERDITION_USER=perdition
40 -
41 -# Where pid files will be stored
42 -PIDDIR=/var/run/perdition
43 -
44 -# Command line parameters to pass to perdition when run in any mode.
45 -# This is in addition to any mode specific flags.
46 -# That is, it is in addtion to any command line options supplied
47 -# by POP3_FLAGS, POP3S_FLAGS, IMAP4_FLAGS or IMAP4S_FLAGS
48 -FLAGS="-f /etc/perdition/perdition.conf"
49 -
50 -# Run an instance of perdition in POP3 mode
51 -# Set to "yes" to run this instance of perdition
52 -# Set to any other valye to not run this instance of perdition
53 -POP3=yes
54 -
55 -#Command line parameters to pass to perdition when run in POP3 mode
56 -POP3_FLAGS=
57 -
58 -# Run an instance of perdition in POP3S mode
59 -# Set to "yes" to run this instance of perdition
60 -# Set to any other valye to not run this instance of perdition
61 -POP3S=no
62 -
63 -#Command line parameters to pass to perdition when run in POP3S mode
64 -POP3S_FLAGS=
65 -
66 -# Run an instance of perdition in IMAP4 mode
67 -# Set to "yes" to run this instance of perdition
68 -# Set to any other valye to not run this instance of perdition
69 -IMAP4=yes
70 -
71 -#Command line parameters to pass to perdition when run in IMAP4 mode
72 -IMAP4_FLAGS=
73 -
74 -# Run an instance of perdition in IMAP4S mode
75 -# Set to "yes" to run this instance of perdition
76 -# Set to any other valye to not run this instance of perdition
77 -IMAP4S=no
78 -
79 -#Command line parameters to pass to perdition when run in IMAP4S mode
80 -IMAP4S_FLAGS=
81
82 diff --git a/net-mail/perdition/files/perdition.initd b/net-mail/perdition/files/perdition.initd
83 deleted file mode 100644
84 index 4b75b7f..0000000
85 --- a/net-mail/perdition/files/perdition.initd
86 +++ /dev/null
87 @@ -1,85 +0,0 @@
88 -#!/sbin/runscript
89 -# Copyright 1999-2013 Gentoo Foundation
90 -# Distributed under the terms of the GNU General Public License v2
91 -# $Id$
92 -
93 -depend() {
94 - need net
95 -}
96 -
97 -
98 -check_key() {
99 - if [ ! -e /etc/perdition/perdition.crt.pem ] ; then
100 - einfo "No SSL keys; see man perdition to create them. Or run: "
101 - einfo "$ openssl req -new -x509 -nodes -out /etc/perdition/perdition.crt.pem -keyout /etc/perdition/perdition.key.pem -days 365"
102 - return 1
103 - fi
104 -}
105 -
106 -checkconfig() {
107 - # create PIDDIR (usually /var/run/perdition) if necessary
108 - if [ ! -d "${PIDDIR:-/var/run/perdition}" ] ; then
109 - checkpath -q -d -o ${PERDITION_USER:-perdition}:${PERDITION_USER:-perdition} \
110 - -m 0775 "${PIDDIR:-/var/run/perdition}" || return 1
111 - fi
112 -}
113 -
114 -start() {
115 - checkconfig || return 1
116 - if [ "${POP3}" = "yes" ]; then
117 - ebegin "Starting perdition services (POP3)"
118 - start-stop-daemon --quiet --start --startas /usr/sbin/perdition.pop3 -p ${PIDDIR}/pop3.pid \
119 - -- ${FLAGS} ${POP3_FLAGS} -u ${PERDITION_USER} --pid_file ${PIDDIR}/pop3.pid
120 - eend $?
121 - fi
122 -
123 - if [ "${POP3S}" = "yes" ]; then
124 - check_key || return 1
125 - ebegin "Starting perdition services (POP3S)"
126 - start-stop-daemon --quiet --start --startas /usr/sbin/perdition.pop3s -p ${PIDDIR}/pop3s.pid \
127 - -- ${FLAGS} ${POP3S_FLAGS} -u ${PERDITION_USER} --pid_file ${PIDDIR}/pop3s.pid
128 - eend $?
129 - fi
130 -
131 - if [ "${IMAP4}" = "yes" ]; then
132 - ebegin "Starting perdition services (IMAP4)"
133 - start-stop-daemon --quiet --start --startas /usr/sbin/perdition.imap4 -p ${PIDDIR}/imap4.pid \
134 - -- ${FLAGS} ${IMAP4_FLAGS} -u ${PERDITION_USER} --pid_file ${PIDDIR}/imap4.pid
135 - eend $?
136 - fi
137 -
138 - if [ "${IMAP4S}" = "yes" ]; then
139 - check_key || return 1
140 - ebegin "Starting perdition services (IMAP4S)"
141 - start-stop-daemon --quiet --start --startas /usr/sbin/perdition.imap4s -p ${PIDDIR}/imap4s.pid \
142 - -- ${FLAGS} ${IMAP4S_FLAGS} -u ${PERDITION_USER} --pid_file ${PIDDIR}/imap4s.pid
143 - eend $?
144 - fi
145 -}
146 -
147 -
148 -stop() {
149 - if [ "${POP3}" = "yes" ]; then
150 - ebegin "Shutting down perdition services (POP3)"
151 - start-stop-daemon -o --quiet --stop --pidfile ${PIDDIR}/pop3.pid
152 - eend $?
153 - fi
154 -
155 - if [ "${POP3S}" = "yes" ]; then
156 - ebegin "Shutting down perdition services (POP3S)"
157 - start-stop-daemon -o --quiet --stop --pidfile ${PIDDIR}/pop3s.pid
158 - eend $?
159 - fi
160 -
161 - if [ "${IMAP4}" = "yes" ]; then
162 - ebegin "Shutting down perdition services (IMAP4)"
163 - start-stop-daemon -o --quiet --stop --pidfile ${PIDDIR}/imap4.pid
164 - eend $?
165 - fi
166 -
167 - if [ "${IMAP4S}" = "yes" ]; then
168 - ebegin "Shutting down perdition services (IMAP4S)"
169 - start-stop-daemon -o --quiet --stop --pidfile ${PIDDIR}/imap4s.pid
170 - eend $?
171 - fi
172 -}
173
174 diff --git a/net-mail/perdition/metadata.xml b/net-mail/perdition/metadata.xml
175 deleted file mode 100644
176 index 9f03903..0000000
177 --- a/net-mail/perdition/metadata.xml
178 +++ /dev/null
179 @@ -1,17 +0,0 @@
180 -<?xml version="1.0" encoding="UTF-8"?>
181 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
182 -<pkgmetadata>
183 - <maintainer type="project">
184 - <email>net-mail@g.o</email>
185 - <name>Net-Mail</name>
186 - </maintainer>
187 - <longdescription>
188 - Perdition is a fully featured POP3 and IMAP4 proxy server.
189 - It is able to handle both SSL and non-SSL connections and redirect users
190 - to a real-server based on a database lookup. Perdition supports modular
191 - based database access. ODBC, MySQL, PostgreSQL, GDBM, POSIX Regular
192 - Expression and NIS modules ship with the distribution. The API for
193 - modules is open allowing abitary modules to be written to allow access
194 - to any data store.
195 - </longdescription>
196 -</pkgmetadata>
197
198 diff --git a/net-mail/perdition/perdition-1.18.ebuild b/net-mail/perdition/perdition-1.18.ebuild
199 deleted file mode 100644
200 index 6f84559..0000000
201 --- a/net-mail/perdition/perdition-1.18.ebuild
202 +++ /dev/null
203 @@ -1,61 +0,0 @@
204 -# Copyright 1999-2014 Gentoo Foundation
205 -# Distributed under the terms of the GNU General Public License v2
206 -# $Id$
207 -
208 -EAPI=4
209 -inherit eutils pam user
210 -
211 -DESCRIPTION="modular and fully featured POP3 and IMAP4 proxy"
212 -HOMEPAGE="http://www.vergenet.net/linux/perdition/"
213 -SRC_URI="http://www.vergenet.net/linux/${PN}/download/${PV}/${P}.tar.gz"
214 -
215 -LICENSE="GPL-2"
216 -SLOT="0"
217 -KEYWORDS="~amd64 ~x86"
218 -IUSE="berkdb cdb ssl mysql odbc postgres gdbm ldap"
219 -
220 -DEPEND="dev-scheme/guile
221 - >=dev-libs/vanessa-logger-0.0.8
222 - >=dev-libs/vanessa-adt-0.0.6
223 - >=net-libs/vanessa-socket-0.0.10
224 - dev-libs/libpcre
225 - virtual/pam
226 - berkdb? ( sys-libs/db )
227 - cdb? ( || ( >=dev-db/tinycdb-0.76 >=dev-db/cdb-0.75-r1 ) )
228 - ssl? ( dev-libs/openssl )
229 - odbc? ( dev-db/unixODBC )
230 - gdbm? ( sys-libs/gdbm )
231 - mysql? ( virtual/mysql )
232 - postgres? ( dev-db/postgresql[server] )
233 - ldap? ( net-nds/openldap )"
234 -RDEPEND="${DEPEND}"
235 -
236 -pkg_setup() {
237 - enewuser perdition
238 - enewgroup perdition
239 -}
240 -
241 -src_configure() {
242 - econf --with-user=perdition \
243 - --enable-posix-regex \
244 - $(use_enable ssl) \
245 - $(use_enable mysql) \
246 - $(use_enable odbc) \
247 - $(use_enable postgres pg) \
248 - $(use_enable gdbm) \
249 - $(use_enable ldap) \
250 - $(use_enable cdb) \
251 - $(use_enable berkdb bdb)
252 -}
253 -
254 -src_install() {
255 - emake DESTDIR="${D}" install
256 -
257 - dodoc README AUTHORS TODO INSTALL ChangeLog CODING_LOCATIONS
258 -
259 - newinitd "${FILESDIR}"/perdition.initd perdition
260 - newconfd "${FILESDIR}"/perdition.confd perdition
261 -
262 - rm -f "${D}"/etc/pam.d/perdition
263 - pamd_mimic sys-auth perdition auth account password session
264 -}