depuración de ebuilds viejos

This commit is contained in:
Sandino Araico Sanchez 2017-03-31 17:01:35 -06:00
parent 8f3b8401eb
commit fa748cfb5b
3 changed files with 1 additions and 331 deletions

View file

@ -11,10 +11,7 @@ AUX dbmail-pop3d.initd 730 SHA256 2b1ee1f7491e6fb94f0d9a6a1424ff3cba66b2880d6bc1
AUX dbmail-pop3d.rc 540 SHA256 943bac2beedb76903efaf3c990b09a44eaf89cf5f937ef997406439e2992520c SHA512 ed184a60ee72f1c6503ee14d00d2c2dbb5098895be1a5b87574418f20a68ea5e3843fef7fd77f2ac771fee8bd1ea564b804f916e23821304c8dcc5887d039045 WHIRLPOOL 599c11333e1919bae98f21a4c48889b9a73d4fee6047d57274de866d5a6d869db15d56d52aaef0158495aaedd009763865b8ae46bf7c9a559502f11e303f6dd3
AUX dbmail-startup-gentoo.patch 10704 SHA256 533756d346fbe32999f4fee6c6cdc3a00c7a639d43450447320f48a7a30ce4f3 SHA512 34f2544fb6f9b1e33dff1733c7bcb718117145da5ba037508e851f25f27df4f954158fbbae677d0240fbb3a43f2d48144566a6cddd821fcbfd6b40f369b71021 WHIRLPOOL d6b1d94728e8c518314b7ba89d80456ae2f51f2ef384e354a66715f4445c9198aa68d4d56a7d778e703eb32b4c1ab7a68eb0b2cd6904b2fa4d51d51eeff32d18
AUX dbmail-timsieved.initd 716 SHA256 c92cd221b37391703ec7aaff2eb3b33ed2b9b699a281f318f54ba6efd6e69224 SHA512 04f66443573fde84d220a0d808f98295a8931990a0d7bad13c0c86bfe7b2d95c3311f7fdbc6b4068223601286c34e97cb17b0f5fbc28ca05991d0cdc13d250f5 WHIRLPOOL 8f3c2a53f084861f63db8056b4b2ac82fb9e2ef6e0cf519073368c6bf59b8e2026872af0c847011bd6ac237e94dc7ac280805a3200ec738a96c8dfc50e0bc238
DIST dbmail-3.0.2.tar.gz 867560 SHA256 139558f4fa3e0f460d688f6d29318366cc3f40dd570a1a29484bb580d0190c3e SHA512 ca1d30a114c1b2b8968227ed678e3857c6d5cb98eb9e7086d45c32b4e957396971bd76cfe2e278fe904fbe8a8ded53199ded76da300d9835b324839e42532834 WHIRLPOOL a79d8b344361bd032446e99bbbb865e798db54e60a730cb7191112e4320ca130d194d8a1ad2d676673b2bb06e50e9cc1ccc78a8a1fc7edcb2a9b3eeeb7841500
DIST dbmail-3.2.2.tar.gz 2444241 SHA256 77d2fcf343cc1312fca565a9eeef3927b257b55910be2b198562516334a2c62a SHA512 a2125ea3b9d0ec387135d87854510f36ef0fe87b70f33d54f8af89f22a83802e5838979ba94d6ba66ef986f6f67b08aa6d5e2bfc2f1f2bc44edf03a9f51afb37 WHIRLPOOL 8fa60754e55b56e293a187cd10922586e1c38c0079e8f6eb98b8aaba503705046cf7b6954f677bb295ea799f9261ef62c8589433657a0ad2775dd2cfa1d1ee15
DIST dbmail-3.2.3.tar.gz 2444227 SHA256 fd4d90e3e5ddb0c3fbdaa766d19d2464b5027a8c8d0b0df614418a3aac811832 SHA512 29cc89830278f2ff28a4221fc81d4ff13cc371fbca7fb51d5376e9243234220b552cb4b6ec035c150e6cfa178435c4f36b9ce132fc02334bc6cdeb1a41c8ed85 WHIRLPOOL 05284ae622078584e35583ba5a6b340d9500c46dcf820b851810a2bbf6ac39ee57080d9e23ee82c6b64af3f76de6ef6eb0ec925a9615d4a4dc2e19e5f06e9a5d
EBUILD dbmail-3.0.2-r1.ebuild 4972 SHA256 047c7fa1897990dfadea8a18098df3f361b5aa4ad9ddccc78ceab5b9c7074953 SHA512 1f01fde119e6b449a25c65099a40eadc585b58b43db814c2fc109052b8fed567f761e3962a42cfd4af76a3b2abec060a869ec6ec1896ced2a065902cd953699b WHIRLPOOL ba1edb9d92f4d5aa25e9e1a3e48f50159e49a5f2fc694da2c8f0cd5c531e816cf991960102069bd8af7cc76922c6f550e2ff9a007708a863d5b123181f8cc363
EBUILD dbmail-3.0.2-r2.ebuild 5020 SHA256 84531e11e4dd8625f5c1958dffff536c3b07a428dc7657e18678657c92c52a05 SHA512 ac33994e480cba4a3af03938061e0cdf3b07c9de45c9edd41110a92daed7789d063648d72e3036ef9e896cd4d58ff248229d54f584a2a230f112ce99d9c11bd5 WHIRLPOOL c59ebd9068de1edbcfdbc3809787700961e89a27d25eda0876eae955e6e07d626dc27a4dc5c0c7764de02a25d2bdd363e222b224c1f4d131de7f278e112b3ba5
EBUILD dbmail-3.2.2-r1.ebuild 5027 SHA256 75af29fc719c1d5d4865b8b668a93bc68609ba178c2e62c96610a53950cb8aa7 SHA512 3a127188c4f5841e08e535e7da2c526423bb2fdb309b9a351f9bceff930f7826ea345fb94a57f7265da67c2aa98d872fe9d98847d39dde52f88c054dfae918c1 WHIRLPOOL 73072e18d5dac22fb6ced066e15ab28b7882e7078d242deb080b1cb9251b3bbc066afba5d173773b3ce3bba5b5e10d97a3d3bc2a2583acf08e21a306dc859513
EBUILD dbmail-3.2.3-r1.ebuild 4925 SHA256 5dbd2c1528f1e4cc75ddc6764e73065e5c75b31bd31519c128392a4d0730337d SHA512 a38f260f74ff36416fa78289a8b7d65b925b93da710ac91b0d1bd0979518363ba1f927a36122c16ff43563178fa47b96f9aacd22003e8bd3f3a8c050b63e2997 WHIRLPOOL 61c8aeff48ed2dff44aa68674bbef10e25ea7a109fb709d89ae7af52c773c79e3a0e5432f61d39c8c7fd6bcb30ea9e0d8c51df4674ff12523e13130807bc0a97
EBUILD dbmail-3.2.3-r1.ebuild 4927 SHA256 2ee584ebe477e42e148d6e97b2f3af6fbcb9bc0948e20a01314d57d0f5b5269c SHA512 fb3052f63f4f556fe41a116c37647a0e58788612b8a86f0494342c0b093780cf16140652cf4db7f9709f21a51f76cfcd8fef6539f8afc9bd14c5cc937759368d WHIRLPOOL 60015aa601f1c5a3c5de3d7e5f7c2ef642bfc7672195824460ea139f6b6d7c13bf10bafe6f658133732e982ac5252de2556aaf0d66511dc5003901ccc5cb03e7

View file

@ -1,163 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-3.0.2.ebuild,v 1.3 2012/12/04 11:10:35 ago Exp $
EAPI="4"
inherit eutils multilib python versionator
DESCRIPTION="DBMail is an open-source project that enables storage of mail messages in a relational database."
HOMEPAGE="http://www.dbmail.org/"
SRC_URI="http://www.dbmail.org/download/$(get_version_component_range 1-2)/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="ldap sieve +sqlite ssl static python"
DEPEND="dev-db/libzdb
sieve? ( >=mail-filter/libsieve-2.2.1 )
ldap? ( >=net-nds/openldap-2.3.33 )
python? ( net-zope/zope-interface )
app-text/asciidoc
app-text/xmlto
app-crypt/mhash
sys-libs/zlib
>=dev-libs/gmime-2.4.6:2.4
>=dev-libs/glib-2.16
dev-libs/libevent
ssl? ( dev-libs/openssl )"
#asciidoc and xmlto needed?
RDEPEND="${DEPEND}"
pkg_setup() {
python_pkg_setup
enewgroup dbmail
enewuser dbmail -1 -1 /var/lib/dbmail dbmail
}
src_prepare() {
epatch "${FILESDIR}/3.0-header_cache_perf.patch"
}
src_configure() {
local myconf=""
use ldap && myconf=${myconf}" --with-auth-ldap"
econf \
--sysconfdir=/etc/dbmail \
$(use_enable static) \
$(use_with sieve) \
${myconf}
}
src_compile() {
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS BUGS ChangeLog README* INSTALL NEWS THANKS UPGRADING
# docinto sql/mysql
# dodoc sql/mysql/*
# docinto sql/postgresql
# dodoc sql/postgresql/*
# docinto sql/sqlite
# dodoc sql/sqlite/*
# docinto test-scripts
# dodoc test-scripts/*
# docinto contrib/sql2sql
# dodoc contrib/sql2sql/*
# docinto contrib/mailbox2dbmail
# dodoc contrib/mailbox2dbmail/README
# docinto contrib
# dodoc contrib/dbmailclient.php
dodoc -r sql
dodoc -r test-scripts
dodoc -r contrib
## TODO: install other contrib stuff
sed -i -e "s:nobody:dbmail:" dbmail.conf
sed -i -e "s:nogroup:dbmail:" dbmail.conf
sed -i -e "s:/var/run:/var/run/dbmail:" dbmail.conf
#sed -i -e "s:#library_directory:library_directory:" dbmail.conf
insinto /etc/dbmail
newins dbmail.conf dbmail.conf.dist
# change config path to our default and use the conf.d and init.d files from the contrib dir
sed -i -e "s:/etc/dbmail.conf:/etc/dbmail/dbmail.conf:" contrib/startup-scripts/gentoo/init.d-dbmail
sed -i -e "s:exit 0:return 1:" contrib/startup-scripts/gentoo/init.d-dbmail
sed -i -e "s:/var/run:/var/run/dbmail:" contrib/startup-scripts/gentoo/init.d-dbmail
newconfd contrib/startup-scripts/gentoo/conf.d-dbmail dbmail
newinitd contrib/startup-scripts/gentoo/init.d-dbmail dbmail
dobin contrib/mailbox2dbmail/mailbox2dbmail
doman contrib/mailbox2dbmail/mailbox2dbmail.1
#doman man/*.{1,5,8}
# ldap schema
if use ldap; then
insinto /etc/openldap/schema
doins "${S}/dbmail.schema"
fi
if use python; then
insinto $(python_get_sitedir)/dbmail
doins python/*.py
insinto $(python_get_sitedir)/dbmail/app
doins python/app/*.py
insinto $(python_get_sitedir)/dbmail/bin
doins python/bin/*.py
insinto $(python_get_sitedir)/dbmail/lib
doins python/lib/*.py
insinto $(python_get_sitedir)/dbmail/tests
doins python/tests/*.py
fi
keepdir /var/lib/dbmail
fperms 750 /var/lib/dbmail
fowners dbmail:dbmail /var/lib/dbmail
keepdir /var/run/dbmail
fowners dbmail:dbmail /var/run/dbmail
}
pkg_postinst() {
if use python; then
python_mod_optimize dbmail
fi
elog "Please read the INSTALL file in /usr/share/doc/${PF}/"
elog "for remaining instructions on setting up dbmail users and "
elog "for finishing configuration to connect to your MTA and "
elog "to connect to your db."
echo
elog "DBMail requires either SQLite, PostgreSQL or MySQL."
elog "Database schemes can be found in /usr/share/doc/${PF}/"
elog "You will also want to follow the installation instructions"
elog "on setting up the maintenance program to delete old messages."
elog "Don't forget to edit /etc/dbmail/dbmail.conf as well."
echo
elog "For regular maintenance, add this to crontab:"
elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1"
echo
elog "Please make sure to run etc-update."
elog "If you get an error message about plugins not found"
elog "please add the library_directory configuration switch to"
elog "dbmail.conf and set it to the correct path"
elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)"
elog "A sample can be found in dbmail.conf.dist after etc-update."
echo
elog "We are now using the init script from upstream."
elog "Please edit /etc/conf.d/dbmail to set which services to start"
elog "and delete /etc/init.d/dbmail-* when you are done. (don't"
elog "forget to rc-update del dbmail-* first)"
echo
elog "Changed pid directory to /var/run/dbmail (see"
elog "http://www.dbmail.org/mantis/view.php?id=949 for details)"
echo
}
pkg_postrm() {
python_mod_cleanup dbmail
}

View file

@ -1,164 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-3.0.2.ebuild,v 1.3 2012/12/04 11:10:35 ago Exp $
EAPI="4"
inherit eutils multilib python versionator
DESCRIPTION="DBMail is an open-source project that enables storage of mail messages in a relational database."
HOMEPAGE="http://www.dbmail.org/"
SRC_URI="http://www.dbmail.org/download/$(get_version_component_range 1-2)/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="ldap sieve +sqlite ssl static python"
DEPEND="dev-db/libzdb
sieve? ( >=mail-filter/libsieve-2.2.1 )
ldap? ( >=net-nds/openldap-2.3.33 )
python? ( net-zope/zope-interface )
app-text/asciidoc
app-text/xmlto
app-crypt/mhash
sys-libs/zlib
>=dev-libs/gmime-2.4.6:2.4
>=dev-libs/glib-2.16
dev-libs/libevent
ssl? ( dev-libs/openssl )"
#asciidoc and xmlto needed?
RDEPEND="${DEPEND}"
pkg_setup() {
python_pkg_setup
enewgroup dbmail
enewuser dbmail -1 -1 /var/lib/dbmail dbmail
}
src_prepare() {
epatch "${FILESDIR}/3.0-header_cache_perf.patch"
epatch "${FILESDIR}/3.0-pgsql-RETURNING.patch"
}
src_configure() {
local myconf=""
use ldap && myconf=${myconf}" --with-auth-ldap"
econf \
--sysconfdir=/etc/dbmail \
$(use_enable static) \
$(use_with sieve) \
${myconf}
}
src_compile() {
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS BUGS ChangeLog README* INSTALL NEWS THANKS UPGRADING
# docinto sql/mysql
# dodoc sql/mysql/*
# docinto sql/postgresql
# dodoc sql/postgresql/*
# docinto sql/sqlite
# dodoc sql/sqlite/*
# docinto test-scripts
# dodoc test-scripts/*
# docinto contrib/sql2sql
# dodoc contrib/sql2sql/*
# docinto contrib/mailbox2dbmail
# dodoc contrib/mailbox2dbmail/README
# docinto contrib
# dodoc contrib/dbmailclient.php
dodoc -r sql
dodoc -r test-scripts
dodoc -r contrib
## TODO: install other contrib stuff
sed -i -e "s:nobody:dbmail:" dbmail.conf
sed -i -e "s:nogroup:dbmail:" dbmail.conf
sed -i -e "s:/var/run:/var/run/dbmail:" dbmail.conf
#sed -i -e "s:#library_directory:library_directory:" dbmail.conf
insinto /etc/dbmail
newins dbmail.conf dbmail.conf.dist
# change config path to our default and use the conf.d and init.d files from the contrib dir
sed -i -e "s:/etc/dbmail.conf:/etc/dbmail/dbmail.conf:" contrib/startup-scripts/gentoo/init.d-dbmail
sed -i -e "s:exit 0:return 1:" contrib/startup-scripts/gentoo/init.d-dbmail
sed -i -e "s:/var/run:/var/run/dbmail:" contrib/startup-scripts/gentoo/init.d-dbmail
newconfd contrib/startup-scripts/gentoo/conf.d-dbmail dbmail
newinitd contrib/startup-scripts/gentoo/init.d-dbmail dbmail
dobin contrib/mailbox2dbmail/mailbox2dbmail
doman contrib/mailbox2dbmail/mailbox2dbmail.1
#doman man/*.{1,5,8}
# ldap schema
if use ldap; then
insinto /etc/openldap/schema
doins "${S}/dbmail.schema"
fi
if use python; then
insinto $(python_get_sitedir)/dbmail
doins python/*.py
insinto $(python_get_sitedir)/dbmail/app
doins python/app/*.py
insinto $(python_get_sitedir)/dbmail/bin
doins python/bin/*.py
insinto $(python_get_sitedir)/dbmail/lib
doins python/lib/*.py
insinto $(python_get_sitedir)/dbmail/tests
doins python/tests/*.py
fi
keepdir /var/lib/dbmail
fperms 750 /var/lib/dbmail
fowners dbmail:dbmail /var/lib/dbmail
keepdir /var/run/dbmail
fowners dbmail:dbmail /var/run/dbmail
}
pkg_postinst() {
if use python; then
python_mod_optimize dbmail
fi
elog "Please read the INSTALL file in /usr/share/doc/${PF}/"
elog "for remaining instructions on setting up dbmail users and "
elog "for finishing configuration to connect to your MTA and "
elog "to connect to your db."
echo
elog "DBMail requires either SQLite, PostgreSQL or MySQL."
elog "Database schemes can be found in /usr/share/doc/${PF}/"
elog "You will also want to follow the installation instructions"
elog "on setting up the maintenance program to delete old messages."
elog "Don't forget to edit /etc/dbmail/dbmail.conf as well."
echo
elog "For regular maintenance, add this to crontab:"
elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1"
echo
elog "Please make sure to run etc-update."
elog "If you get an error message about plugins not found"
elog "please add the library_directory configuration switch to"
elog "dbmail.conf and set it to the correct path"
elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)"
elog "A sample can be found in dbmail.conf.dist after etc-update."
echo
elog "We are now using the init script from upstream."
elog "Please edit /etc/conf.d/dbmail to set which services to start"
elog "and delete /etc/init.d/dbmail-* when you are done. (don't"
elog "forget to rc-update del dbmail-* first)"
echo
elog "Changed pid directory to /var/run/dbmail (see"
elog "http://www.dbmail.org/mantis/view.php?id=949 for details)"
echo
}
pkg_postrm() {
python_mod_cleanup dbmail
}