diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-11-27 03:40:51 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-11-27 03:40:51 +0000 |
commit | 022a38067ac287384ea42e873cc44ca7020ceabb (patch) | |
tree | dfc3a571e81fe01df7812a6a7724b36677e81a57 /net-irc | |
parent | new patchset (diff) | |
download | historical-022a38067ac287384ea42e873cc44ca7020ceabb.tar.gz historical-022a38067ac287384ea42e873cc44ca7020ceabb.tar.bz2 historical-022a38067ac287384ea42e873cc44ca7020ceabb.zip |
Bump
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/quassel/ChangeLog | 7 | ||||
-rw-r--r-- | net-irc/quassel/Manifest | 16 | ||||
-rw-r--r-- | net-irc/quassel/quassel-0.9.2.ebuild | 177 |
3 files changed, 186 insertions, 14 deletions
diff --git a/net-irc/quassel/ChangeLog b/net-irc/quassel/ChangeLog index afefb8d3a79a..2a09d3d79812 100644 --- a/net-irc/quassel/ChangeLog +++ b/net-irc/quassel/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-irc/quassel # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.158 2013/10/23 23:58:13 creffett Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.159 2013/11/27 03:40:41 patrick Exp $ + +*quassel-0.9.2 (27 Nov 2013) + + 27 Nov 2013; Patrick Lauer <patrick@gentoo.org> +quassel-0.9.2.ebuild: + Bump 23 Oct 2013; Chris Reffett <creffett@gentoo.org> quassel-0.9.1.ebuild, quassel-9999.ebuild: diff --git a/net-irc/quassel/Manifest b/net-irc/quassel/Manifest index fb7d2aaf1df1..c5bed47215b3 100644 --- a/net-irc/quassel/Manifest +++ b/net-irc/quassel/Manifest @@ -1,20 +1,10 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX quassel.logrotate 105 SHA256 00c32e857d7a4346d09ac057768565692da9cacf41ed37cc7e357b395e033a45 SHA512 60371b4046c3c20c06d01f9cbf3f8465b40c9a989f392ed3e5a4724deff71960015eeb1707817af256618be8085b2aa5809377fec8cfae59e6b8fc958317e780 WHIRLPOOL 5b5185a6a68c12ce08ec5b41bb10644e487308f81b3e5d554524b05f70573410e31b299ac5fcec8806390deb37d0529ac69c435d0fcbaac005e59aec5a4095c5 AUX quasselcore.conf 714 SHA256 16cfaf919268ee3c3281fc4ad0dfc128b1c98f5edfc5cc522addd512f36d293c SHA512 e03df342f47945f948106883a7757262ab7a8a7d21f0b4dd01cfcc95e836c2e00f2e0177a353b4f7a4b6f80ffa970be06d49aa9a42cad1f3834382267e5a0d7f WHIRLPOOL d1054f5ee635579b0a41fbbf025ba5202d57288a236afb62230da165b91499598f88b7fbbbe46560843338fb2a0fa30b38eb0205b71e8f0e8894a6c53e5b92ec AUX quasselcore.init 1857 SHA256 af041a6c800ffb443d008b861c639bf32580b3655f7db3bc00db833374af6b2e SHA512 0405af90fe65589e163d6b2470ea4d4d3b8dad49ee3b89caba9bcffd7186bd92f204da4f8404e5ed489a949fc89b898f0b94c94c8382f90f89ccda5e2b8e2382 WHIRLPOOL 7fefa3e977f5edce047c8f928e52b3dfc702a151930a92365be7d9eb0e88adffa924164e080bf8170dfb4a95c357cb9b059394d3854464f93d58f577ecea41de DIST quassel-0.9.1.tar.bz2 2777104 SHA256 39e97bd67160d6575a57d4f71c4b1be5c13461ca238baef462ab43164419864e SHA512 c14a709872e40071a655f5c59fa8eb544f5f2097d3edecfa51d4b59e59936b8c5f0f4b1d6cd26414d94c5c88003662ed03347dc763415b66b8278e354d549977 WHIRLPOOL 94a90f0f711911d4187b68d7cb3e6e7f8e623825d351f2f1d0279376d2932fa91b7a4b39cdd260dd0303e7fb14b57803c2bb6030e57bfe353c3b1fd636832aad +DIST quassel-0.9.2.tar.bz2 2782855 SHA256 f04d01602509c1d950602502e5f51aba47d99c73a9c70e77c563bb7749fc53c0 SHA512 81e343b9b7df7473c9d899df9ad8c4baa779545ac4fe15c3b7d47f3e9473d24aa78c8cfc1833b79ec5b4b3173e8d83e22394a50b7184f348b3f1155bb3724f3d WHIRLPOOL 0b5b45c1bb400f5e2728d5e74f35bc5ef010c029c242940b83c4e6ec3a0c0d16d0c9d9848278d075a548e4e15736f142cc99d4741b8e4901d6589b7f7e05996f EBUILD quassel-0.9.1.ebuild 5071 SHA256 35bc529f45599dd0f148a1fc5518bd638dc9729401e7345ba88f1f5974494176 SHA512 59644c42538d7c85d5bfe7bb77b3a360b8b434d66594f803f40e8cc25a12924efc0d66a7ca8ece196ceab76c99f63717d619bff70525651965c8ee2485673218 WHIRLPOOL 1f231bebaa60d7861587d2deea5995fadfb59562028726a51361177265e8f0df80548d30dee0715d21a47715aa707d5ed79875b40fd9c749a5dec668f2666b4d +EBUILD quassel-0.9.2.ebuild 5073 SHA256 c9c62b701e09c3eb3c7e5c0a470469d2053124d833003f2f3620db8051006833 SHA512 8980542c599db833c1111ec6d61f8ed99fe761dc2956f478cf3227764b9bfbecf6aaf866dff0ad6e6bb8ada05a9bd226e972e2b32bffb550922e5adad216b053 WHIRLPOOL 6f9de7631194c0e9508cee3c24ebcc0a74d14e3f366a0d5a2fa07e27a1fde4bef4a0bfe0376e79964beefcae4cdba81466efbe63be1144f5c3dd0c2dc486cce1 EBUILD quassel-9999.ebuild 5098 SHA256 c884ead2b2829aad4bc6a01d7474f86eb6bab0bc7b982f3c1891f73ac93400ef SHA512 67aeb021bbabb182bd3da677406d3d2bd1d46ba0bb0c8e68f1952f8522722d2a08b09a94fe002b63efd0231712237bdd47c6097e43c0038c51d6d8dd08cc87b9 WHIRLPOOL 35a5184b549672b12c5543df3b83231740571b5ca7e227b4bc730d83626938799969971f96dcdaa3e425f5a9408a68ad61d5b733b5f3a25fcd786dfbdb01bfb8 -MISC ChangeLog 25407 SHA256 d2e3a52e055c4cc295868a39c18d6349683b4d61367e5c7c1fa67464972fabc6 SHA512 5b26ebc053ffedaace0402aef38ab6f66901315f497957e0fb8e18007a0786e2e34bc0c1fec2ac1c3524a2f92eca49a67f11c0df5f1676d90f6473e4ea06a60c WHIRLPOOL 5cfb83876731830edf9be596499c51d333afe5c8b7eec3a68e5c0663ffa8717e27a22058416306be33c052206ee3ff64606245078b1312921c4ab09a868e642c +MISC ChangeLog 25517 SHA256 b742ae5f4d851de8376e609dae05f63d92126e7a63ed586d829570d2e08f15da SHA512 2a4406a4a21dd91209c3fe5209c8cee712193f804dbadb91347fbe2b9ca8df8cb06a15503f149b90ec9740a1dfec88b9f1b1c6f450c5dc1b49fdd6f20add5581 WHIRLPOOL c6a86f13ed5c7891f75ccaea461a965dacc9e0cf1062fee03ba7594122561bf4be8a26510c5551715e380ec899e04159da6093f561fb7de72d4ab6fbe3c249eb MISC metadata.xml 1595 SHA256 57553131f53d0e797e4eaece5861a6a3e367c62b5f0b3b81f0a92a040fbd37b7 SHA512 a917e0badcabfa0ebde851a6abbbcab2fdf8ef4803c3527381b6161b1ece72f4f0282494948b0fc380be76495b520fb02e1bda36da48a4f80c3914e20800cb28 WHIRLPOOL 1bd4951fdaf8ae1f244f83a2d93b464f1bf22778fbd67af26048070b3ff5b6f2e964c55dc451f350faaabf1722889cfaa5db582e44932119dfe0229a1ef4cb9c ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) - -iKYEAREIAGYFAlJoYpBfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl -bnBncC5maWZ0aGhvcnNlbWFuLm5ldEM2NzU5RjUyMDczREJDQkVDQTBDRkE1NERC -Nzk1QThBNDI2MTgzNTQACgkQ23laikJhg1RIiwCePTZrhgfmU+ZcptyPIOdnqdy7 -VZcAn2HWoKkBSObiuLkonM8t1LqrNlaB -=A7QW ------END PGP SIGNATURE----- diff --git a/net-irc/quassel/quassel-0.9.2.ebuild b/net-irc/quassel/quassel-0.9.2.ebuild new file mode 100644 index 000000000000..15901dc1521b --- /dev/null +++ b/net-irc/quassel/quassel-0.9.2.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.9.2.ebuild,v 1.1 2013/11/27 03:40:41 patrick Exp $ + +EAPI=4 + +inherit cmake-utils eutils pax-utils user versionator + +EGIT_REPO_URI="git://git.quassel-irc.org/quassel.git" +EGIT_BRANCH="master" +[[ "${PV}" == "9999" ]] && inherit git-2 + +QT_MINIMAL="4.6.0" +KDE_MINIMAL="4.4" + +DESCRIPTION="Qt4/KDE4 IRC client supporting a remote daemon for 24/7 connectivity." +HOMEPAGE="http://quassel-irc.org/" +[[ "${PV}" == "9999" ]] || SRC_URI="http://quassel-irc.org/pub/${P/_/-}.tar.bz2" + +LICENSE="GPL-3" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~sparc-solaris" +SLOT="0" +IUSE="ayatana crypt dbus debug kde monolithic phonon postgres +server +ssl syslog webkit X" + +SERVER_RDEPEND=" + >=dev-qt/qtscript-${QT_MINIMAL}:4 + crypt? ( + app-crypt/qca:2 + app-crypt/qca-ossl + ) + !postgres? ( >=dev-qt/qtsql-${QT_MINIMAL}:4[sqlite] dev-db/sqlite:3[threadsafe(+),-secure-delete] ) + postgres? ( >=dev-qt/qtsql-${QT_MINIMAL}:4[postgres] ) + syslog? ( virtual/logger ) +" + +GUI_RDEPEND=" + >=dev-qt/qtgui-${QT_MINIMAL}:4 + ayatana? ( dev-libs/libindicate-qt ) + dbus? ( + >=dev-qt/qtdbus-${QT_MINIMAL}:4 + dev-libs/libdbusmenu-qt + ) + kde? ( + >=kde-base/kdelibs-${KDE_MINIMAL} + >=kde-base/oxygen-icons-${KDE_MINIMAL} + ayatana? ( kde-misc/plasma-widget-message-indicator ) + ) + phonon? ( || ( media-libs/phonon >=dev-qt/qtphonon-${QT_MINIMAL}:4 ) ) + webkit? ( >=dev-qt/qtwebkit-${QT_MINIMAL}:4 ) +" + +RDEPEND=" + >=dev-qt/qtcore-${QT_MINIMAL}:4[ssl?] + monolithic? ( + ${SERVER_RDEPEND} + ${GUI_RDEPEND} + ) + !monolithic? ( + server? ( ${SERVER_RDEPEND} ) + X? ( ${GUI_RDEPEND} ) + ) + " +DEPEND="${RDEPEND}" + +DOCS="AUTHORS ChangeLog README" + +S="${WORKDIR}/${P/_/-}" + +REQUIRED_USE=" + || ( X server monolithic ) + crypt? ( || ( server monolithic ) ) + postgres? ( || ( server monolithic ) ) + syslog? ( || ( server monolithic ) ) + kde? ( || ( X monolithic ) ) + phonon? ( || ( X monolithic ) ) + dbus? ( || ( X monolithic ) ) + ayatana? ( || ( X monolithic ) ) + webkit? ( || ( X monolithic ) ) +" + +pkg_setup() { + if use server; then + QUASSEL_DIR=/var/lib/${PN} + QUASSEL_USER=${PN} + # create quassel:quassel user + enewgroup "${QUASSEL_USER}" + enewuser "${QUASSEL_USER}" -1 -1 "${QUASSEL_DIR}" "${QUASSEL_USER}" + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_with ayatana LIBINDICATE) + $(cmake-utils_use_want X QTCLIENT) + $(cmake-utils_use_want server CORE) + $(cmake-utils_use_want monolithic MONO) + $(cmake-utils_use_with webkit) + $(cmake-utils_use_with phonon) + $(cmake-utils_use_with kde) + $(cmake-utils_use_with dbus) + $(cmake-utils_use_with ssl OPENSSL) + $(cmake-utils_use_with syslog) + $(cmake-utils_use_with !kde OXYGEN) + $(cmake-utils_use_with crypt) + "-DEMBED_DATA=OFF" + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if use server ; then + # needs PAX marking wrt bug#346255 + pax-mark m "${ED}/usr/bin/quasselcore" + + # prepare folders in /var/ + keepdir "${QUASSEL_DIR}" + fowners "${QUASSEL_USER}":"${QUASSEL_USER}" "${QUASSEL_DIR}" + + # init scripts + newinitd "${FILESDIR}"/quasselcore.init quasselcore + newconfd "${FILESDIR}"/quasselcore.conf quasselcore + + # logrotate + insinto /etc/logrotate.d + newins "${FILESDIR}/quassel.logrotate" quassel + fi +} + +pkg_postinst() { + if use monolithic && use ssl ; then + elog "Information on how to enable SSL support for client/core connections" + elog "is available at http://bugs.quassel-irc.org/wiki/quassel-irc." + fi + + if use server; then + einfo "If you want to generate SSL certificate remember to run:" + einfo " emerge --config =${CATEGORY}/${PF}" + fi + + if use server || use monolithic ; then + einfo "Quassel can use net-misc/oidentd package if installed on your system." + einfo "Consider installing it if you want to run quassel within identd daemon." + fi + + # temporary info mesage + if use server && [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 7 ]]; then + echo + ewarn "Please note that all configuration moved from" + ewarn "/home/\${QUASSEL_USER}/.config/quassel-irc.org/" + ewarn "to: ${QUASSEL_DIR}." + echo + ewarn "For migration, stop the core, move quasselcore files (pretty much" + ewarn "everything apart from quasselclient.conf and settings.qss) into" + ewarn "new location and then start server again." + fi +} + +pkg_config() { + if use server && use ssl; then + # generate the pem file only when it does not already exist + if [ ! -f "${QUASSEL_DIR}/quasselCert.pem" ]; then + einfo "Generating QUASSEL SSL certificate to: \"${QUASSEL_DIR}/quasselCert.pem\"" + openssl req -x509 -nodes -days 365 -newkey rsa:2048 \ + -keyout "${QUASSEL_DIR}/quasselCert.pem" \ + -out "${QUASSEL_DIR}/quasselCert.pem" + # permissions for the key + chown ${QUASSEL_USER}:${QUASSEL_USER} "${QUASSEL_DIR}/quasselCert.pem" + chmod 400 "${QUASSEL_DIR}/quasselCert.pem" + else + einfo "Certificate \"${QUASSEL_DIR}/quasselCert.pem\" already exists." + einfo "Remove it if you want to create new one." + fi + fi +} |