diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-03-21 03:04:07 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-03-21 03:04:07 +0000 |
commit | f86e4d839e5a64684b3487d71e07464a4119a1f4 (patch) | |
tree | 2164e85aecc61b2230578d8831eaa29fb80bc4d8 /net-irc | |
parent | Removing as-needed patch from 1.8.11 as it already includes the autoconf chan... (diff) | |
download | historical-f86e4d839e5a64684b3487d71e07464a4119a1f4.tar.gz historical-f86e4d839e5a64684b3487d71e07464a4119a1f4.tar.bz2 historical-f86e4d839e5a64684b3487d71e07464a4119a1f4.zip |
Bump for #403721
Package-Manager: portage-2.2.0_alpha93/cvs/Linux x86_64
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/quassel/ChangeLog | 7 | ||||
-rw-r--r-- | net-irc/quassel/Manifest | 24 | ||||
-rw-r--r-- | net-irc/quassel/quassel-0.8.0.ebuild | 170 |
3 files changed, 179 insertions, 22 deletions
diff --git a/net-irc/quassel/ChangeLog b/net-irc/quassel/ChangeLog index 438a6c9d009f..bdc2f74e23f0 100644 --- a/net-irc/quassel/ChangeLog +++ b/net-irc/quassel/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-irc/quassel # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.136 2012/02/14 19:33:33 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.137 2012/03/21 03:04:07 patrick Exp $ + +*quassel-0.8.0 (21 Mar 2012) + + 21 Mar 2012; Patrick Lauer <patrick@gentoo.org> +quassel-0.8.0.ebuild: + Bump for #403721 14 Feb 2012; Markos Chandras <hwoarang@gentoo.org> metadata.xml: ayatana is now global per http://archives.gentoo.org/gentoo- diff --git a/net-irc/quassel/Manifest b/net-irc/quassel/Manifest index dbc4a6338c92..46a4d9ef03d6 100644 --- a/net-irc/quassel/Manifest +++ b/net-irc/quassel/Manifest @@ -1,28 +1,10 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 - AUX quassel.logrotate 105 RMD160 42bde4a3d8a899971037b1e2d0ddfb5b136f065e SHA1 c4ddd2cebd364c213ed4443e5bf8bd2ae3b17ad9 SHA256 00c32e857d7a4346d09ac057768565692da9cacf41ed37cc7e357b395e033a45 AUX quasselcore.conf 714 RMD160 96e0d621deb67f4901840f89aa483f42504ed675 SHA1 b75f8e5967aec6457cf20f8481c518eeeee16a35 SHA256 16cfaf919268ee3c3281fc4ad0dfc128b1c98f5edfc5cc522addd512f36d293c AUX quasselcore.init 1857 RMD160 ab3a730bfba0b92522ddf52b1efabcd58a2cff86 SHA1 d8452aa6e2663a1926e5e864e7d65bf0d1a2e685 SHA256 af041a6c800ffb443d008b861c639bf32580b3655f7db3bc00db833374af6b2e DIST quassel-0.7.3.tar.bz2 2714969 RMD160 60bb7ae75403a5aeb7616e15f7d9d505b244292c SHA1 5cb44cadd1520aa26675555aa5c967f2a28fb86e SHA256 9e78dbc28bfeda2ed66fa3082392951cbd002f851ef1a7f1228988bb18c7c98d +DIST quassel-0.8.0.tar.bz2 2663465 RMD160 413e77a3359aac44f75f0952094fef561f47033d SHA1 b74967fa9f19b5d7c708279075cc0ef3a3dbbe8b SHA256 a3515bd18e2b100eb9a72480e76b1faefaa5e84cdb236b6af1f05b477a1e9071 EBUILD quassel-0.7.3.ebuild 4838 RMD160 eb8207e5ac7ff0c86c537b72bb60838cbfd992c4 SHA1 5942f8a70747fbb6f7349416eb00f8db28bb06e9 SHA256 db3e9597301cd7499604e7d24d56ad05cc247b9370497935251452e54242bc5c +EBUILD quassel-0.8.0.ebuild 4841 RMD160 c0920a400ab18b7be17058778161c64815fbf1d4 SHA1 f0b0fc59e6d67c16e871c587521d453785e995aa SHA256 040b32d3522a76ae8531b9942fbb68c888241015a52b22f7798f551f1d3aa62f EBUILD quassel-9999.ebuild 4729 RMD160 842b407a2e770c8ace2b0d03c0c792957a593f8c SHA1 402d07867fd5d2886a40e82aebe831f258dc8b6f SHA256 7c1c9fc71f0df8d490b1fa4bcb3f5384641c3a1f49a27e482515cf909699d074 -MISC ChangeLog 22603 RMD160 e887e3bc7872a5e1adfb844dda32ede8f0df5e4a SHA1 9ba8eb21b865f0192e87e4926311fe39b8d7005f SHA256 284330c0a7301b8aa3da5c8cc4ef87fe477ba6aee16cc6fb3ea6becf837b0578 +MISC ChangeLog 22725 RMD160 95b805e06d0950cd051753bfb2bc562062c266e2 SHA1 b68ccd349f739308991559cc427730d67a28aba2 SHA256 0f2ed286345db6fad669174f23913182e43b6b4b41975bc425fa879c4bdfb36c MISC metadata.xml 1563 RMD160 d1a4b4ba8cec5e07f905c9311e8481f55bead08f SHA1 07839ebfcf9ab040c7a5d50954c1412b23561b1b SHA256 0393d840834ca7d171a276dd40beee2a8bd17b25f876f1ea05bbd2ced9ea9a22 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) - -iQIcBAEBCgAGBQJPOrcNAAoJEPqDWhW0r/LCW8kQAKGTulCQrbm3Vko5gljHfCfr -EN9NpvCnhEFoSnaqD8tMU1Lw4MrhCc7ZECBs+VzlY8V4Fo05E9q3gbRP0Fw4YEwb -jgosn+4OF0gzSGY03RFHCe1ErfcfjleLVLPYmhNWc9TdLmiG5KkEHGcbqAySwMfr -NwDScsdMABHQGqEEWB965409HdGSEamD5xbufW5PeHs0FPBsRF5IhkM5mXMgks/N -SK52xMS4/7v68NE7PdY0RXyIdIUyBj6+ZwY4wnAu5rT27XpI4cWDRGyb90VQ0yeE -wTxAiA3vGiVm7Q1SMXH5x8HqltX+isffcfdFxIj/Z/+Gpjja+qTB8rc8mlPtHNfD -Qw1kyntgW9vruEx4Vv0vxj4vXntm1KMUMPl7TEql+6OTac0AAnkig2m/PnHVNfyb -lGfdU08nvQUJjAb3S4C3sodI8y+Dt867v0dJPaAT7yHkDIFBXzaO91rGGdaJUy33 -P6I9yJPghIBpbWogOB4BRvMw+ebBo3Wb/DOsrfhlTyr14/F8AC8drss6ckq26MF1 -q506WbFtNzWR6m7Sh0f3ittys7/Fem7+18x8ZNKy43rjUlTMU6T+OgtlX/2FFIP4 -wOKDx6OeYZ4GsHRvew1X4oveznc6MFrg6CQ+E6pa2K5lox5iF1XW3r4G+L0qzVbt -d0R2c3NlXoRy43698Jxb -=ujfW ------END PGP SIGNATURE----- diff --git a/net-irc/quassel/quassel-0.8.0.ebuild b/net-irc/quassel/quassel-0.8.0.ebuild new file mode 100644 index 000000000000..c9858463f2fe --- /dev/null +++ b/net-irc/quassel/quassel-0.8.0.ebuild @@ -0,0 +1,170 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.8.0.ebuild,v 1.1 2012/03/21 03:04:07 patrick Exp $ + +EAPI=4 + +EGIT_REPO_URI="git://git.quassel-irc.org/quassel.git" +EGIT_BRANCH="master" +[[ "${PV}" == "9999" ]] && GIT_ECLASS="git-2" + +QT_MINIMAL="4.6.0" +KDE_MINIMAL="4.4" + +inherit cmake-utils eutils pax-utils versionator ${GIT_ECLASS} + +DESCRIPTION="Qt4/KDE4 IRC client suppporting 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 ~x86 ~amd64-linux ~sparc-solaris" +SLOT="0" +IUSE="ayatana crypt dbus debug kde monolithic phonon postgres +server +ssl webkit X" + +SERVER_RDEPEND=" + crypt? ( + app-crypt/qca:2 + app-crypt/qca-ossl + ) + !postgres? ( >=x11-libs/qt-sql-${QT_MINIMAL}:4[sqlite] dev-db/sqlite[threadsafe,-secure-delete] ) + postgres? ( >=x11-libs/qt-sql-${QT_MINIMAL}:4[postgres] ) + >=x11-libs/qt-script-${QT_MINIMAL}:4 +" + +GUI_RDEPEND=" + >=x11-libs/qt-gui-${QT_MINIMAL}:4 + ayatana? ( dev-libs/libindicate-qt ) + dbus? ( + >=x11-libs/qt-dbus-${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 >=x11-libs/qt-phonon-${QT_MINIMAL} ) ) + webkit? ( >=x11-libs/qt-webkit-${QT_MINIMAL}:4 ) +" + +RDEPEND=" + >=x11-libs/qt-core-${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 ) ) + 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 !kde OXYGEN) + $(cmake-utils_use_with crypt) + "-DEMBED_DATA=OFF" + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if use server ; then + # bug 346255 + pax-mark m "${ED}/usr/bin/quasselcore" || die + + # prepare folders in /var/ + keepdir "${QUASSEL_DIR}" + fowners "${QUASSEL_USER}":"${QUASSEL_USER}" "${QUASSEL_DIR}" + + # init scripts + newinitd "${FILESDIR}"/quasselcore.init quasselcore || die "newinitd failed" + newconfd "${FILESDIR}"/quasselcore.conf quasselcore || die "newconfd failed" + + # logrotate + insinto /etc/logrotate.d + newins "${FILESDIR}/quassel.logrotate" quassel || die "newins failed" + 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 + + # 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 + +} |