Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/postfixadmin/
Date: Sun, 13 Jun 2021 06:39:43
Message-Id: 1623566366.07ab30506fa04acb3be96ea44eeaa5bed50eb032.fordfrog@gentoo
1 commit: 07ab30506fa04acb3be96ea44eeaa5bed50eb032
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 13 06:39:26 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 13 06:39:26 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07ab3050
7
8 www-apps/postfixadmin: removed obsolete 3.3.8-r1
9
10 Package-Manager: Portage-3.0.19, Repoman-3.0.3
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 www-apps/postfixadmin/Manifest | 1 -
14 www-apps/postfixadmin/postfixadmin-3.3.8-r1.ebuild | 106 ---------------------
15 2 files changed, 107 deletions(-)
16
17 diff --git a/www-apps/postfixadmin/Manifest b/www-apps/postfixadmin/Manifest
18 index 8cc4e8135a4..f0a30a675da 100644
19 --- a/www-apps/postfixadmin/Manifest
20 +++ b/www-apps/postfixadmin/Manifest
21 @@ -1,2 +1 @@
22 -DIST postfixadmin-3.3.8.tar.gz 1865581 BLAKE2B f8b29248e839d973fd72647747e0bba7452676543f44310f12203d5e64e83222a3992e282a3898fa077dc54100b3446e4d1cded56cd464d72b2997ce34f064db SHA512 bfe5d874083568f1e8b1830394338d2aa29e39e30834d4c8c728836495f12f6d49c65b83b1fae1fce20e7456afaef0058320033866b720a5858911ceec22a022
23 DIST postfixadmin-3.3.9.tar.gz 1866167 BLAKE2B 28546631dce340d3c1128b525de1c33e9e3aa23cd557e6c8f7e9b26f97aedba67f2e5f3ea351e0db2d79e068e16cfa1672cbe3e6abbffd19e5009e2a9df84523 SHA512 791b05df34a4f2eec01fe6f6b9038a6630cd60c42e1f2e725fe3d033a692b77d2d688858b947c53d1ce48258c7c87a2e3fb31356e553632b88149d5a29bfa70e
24
25 diff --git a/www-apps/postfixadmin/postfixadmin-3.3.8-r1.ebuild b/www-apps/postfixadmin/postfixadmin-3.3.8-r1.ebuild
26 deleted file mode 100644
27 index 317c3a95673..00000000000
28 --- a/www-apps/postfixadmin/postfixadmin-3.3.8-r1.ebuild
29 +++ /dev/null
30 @@ -1,106 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit user webapp
37 -
38 -DESCRIPTION="Web Based Management tool for Postfix style virtual domains and users"
39 -HOMEPAGE="http://postfixadmin.sourceforge.net"
40 -SRC_URI="https://github.com/postfixadmin/postfixadmin/archive/${P}.tar.gz"
41 -
42 -LICENSE="GPL-2"
43 -KEYWORDS="amd64 ~ppc x86"
44 -IUSE="+mysql postgres +vacation"
45 -REQUIRED_USE="|| ( mysql postgres )"
46 -
47 -DEPEND="
48 - dev-lang/php:*[unicode,imap,postgres?]
49 - vacation? (
50 - dev-perl/DBI
51 - dev-perl/Email-Sender
52 - dev-perl/Email-Valid
53 - dev-perl/Log-Dispatch
54 - dev-perl/Log-Log4perl
55 - dev-perl/MIME-Charset
56 - dev-perl/MIME-EncWords
57 - mysql? ( dev-perl/DBD-mysql )
58 - postgres? ( dev-perl/DBD-Pg )
59 - )
60 -"
61 -RDEPEND="${DEPEND}
62 - virtual/httpd-php
63 - mysql? ( || ( dev-lang/php[mysqli] dev-lang/php[mysql] ) )"
64 -
65 -S="${WORKDIR}/${PN}-${P}"
66 -
67 -need_httpd_cgi
68 -
69 -pkg_setup() {
70 - webapp_pkg_setup
71 -
72 - if use vacation; then
73 - enewgroup vacation
74 - enewuser vacation -1 -1 -1 vacation
75 - fi
76 -}
77 -
78 -src_install() {
79 - webapp_src_preinst
80 -
81 - if use vacation; then
82 - insinto /var/spool/vacation
83 - newins VIRTUAL_VACATION/vacation.pl vacation.pl-${SLOT}
84 - fowners vacation:vacation /var/spool/vacation/vacation.pl-${SLOT}
85 - fperms 770 /var/spool/vacation/vacation.pl-${SLOT}
86 - dodoc VIRTUAL_VACATION/FILTER_README
87 - newdoc VIRTUAL_VACATION/INSTALL.md VIRTUAL_VACATION_INSTALL.md
88 - rm -r VIRTUAL_VACATION/{vacation.pl,INSTALL.md,tests,FILTER_README} || die
89 - fi
90 -
91 - dodoc -r ADDITIONS
92 -
93 - local docs="DOCUMENTS/*.txt INSTALL.TXT CHANGELOG.TXT"
94 - dodoc ${docs}
95 -
96 - rm -rf ${docs} DOCUMENTS/ GPL-LICENSE.TXT LICENSE.TXT debian/ tests/ ADDITIONS/
97 -
98 - insinto "${MY_HTDOCSDIR}"
99 - doins -r .
100 -
101 - webapp_configfile "${MY_HTDOCSDIR}"/config.inc.php
102 -
103 - webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.3.txt
104 - webapp_src_install
105 -}
106 -
107 -pkg_postinst() {
108 - webapp_pkg_postinst
109 -
110 - einfo "Please note that if upgrading from version prior to 3.3.0,"
111 - einfo "existing setup_password will no longer work and you will"
112 - einfo "need to generate new one. See instructions in setup.php."
113 -
114 - if use vacation; then
115 - # portage does not update owners of directories (feature :)
116 - chown vacation:vacation "${ROOT}"/var/spool/vacation/
117 - einfo
118 - einfo "/var/spool/vacation/vacation.pl symlink was updated to:"
119 - einfo "/var/spool/vacation/vacation.pl-${SLOT}"
120 - ln -sf "${ROOT}"/var/spool/vacation/vacation.pl{-${SLOT},} || die
121 - fi
122 -}
123 -
124 -pkg_postrm() {
125 - # Make sure we don't leave broken vacation.pl symlink
126 - find -L "${ROOT}"/var/spool/vacation/ -type l -delete
127 - local shopt_save=$(shopt -p nullglob)
128 - shopt -s nullglob
129 - local vacation=( "${ROOT}"/var/spool/vacation/vacation.pl-* )
130 - ${shopt_save}
131 - if [[ ! -e "${ROOT}"/var/spool/vacation/vacation.pl && -n ${vacation[@]} ]]; then
132 - ln -s "${vacation[-1]}" "${ROOT}"/var/spool/vacation/vacation.pl || die
133 - ewarn "/var/spool/vacation/vacation.pl was updated to point on most"
134 - ewarn "recent verion, but please, do your own checks"
135 - fi
136 -}