diff options
author | Patrick Lauer <patrick@gentoo.org> | 2015-04-22 03:54:40 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2015-04-22 03:54:40 +0000 |
commit | 63f214067e8e676a01d4808a0958c1960c2dd6f0 (patch) | |
tree | b2b81609e783d00ac80d3b40a25e66e6acf30948 /net-irc | |
parent | Stable for PPC64 (bug #546722). (diff) | |
download | historical-63f214067e8e676a01d4808a0958c1960c2dd6f0.tar.gz historical-63f214067e8e676a01d4808a0958c1960c2dd6f0.tar.bz2 historical-63f214067e8e676a01d4808a0958c1960c2dd6f0.zip |
Bump
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/quassel/ChangeLog | 7 | ||||
-rw-r--r-- | net-irc/quassel/Manifest | 4 | ||||
-rw-r--r-- | net-irc/quassel/quassel-0.12.1.ebuild | 212 |
3 files changed, 221 insertions, 2 deletions
diff --git a/net-irc/quassel/ChangeLog b/net-irc/quassel/ChangeLog index 89e40c8878e1..e1465f1dd30e 100644 --- a/net-irc/quassel/ChangeLog +++ b/net-irc/quassel/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-irc/quassel # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.201 2015/04/20 03:05:38 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.202 2015/04/22 03:54:11 patrick Exp $ + +*quassel-0.12.1 (22 Apr 2015) + + 22 Apr 2015; Patrick Lauer <patrick@gentoo.org> +quassel-0.12.1.ebuild: + Bump 20 Apr 2015; Patrick Lauer <patrick@gentoo.org> -quassel-0.12_rc1.ebuild: Remove old diff --git a/net-irc/quassel/Manifest b/net-irc/quassel/Manifest index 2a6b031e75c5..50baf62a7f55 100644 --- a/net-irc/quassel/Manifest +++ b/net-irc/quassel/Manifest @@ -6,9 +6,11 @@ AUX quasselcore.service 189 SHA256 33c71f621f69f2eb6a5c613b979238c085a1e1aef3ee1 DIST quassel-0.10.0.tar.bz2 2873233 SHA256 68228ce23aa3a992add3d00cb1e8b4863d8ca64bea99c881edf6d16ff9ec7c23 SHA512 e194d4f9bbcecedfebd72c48d5f1e2a4185ff9d69134629b79e532af8f3fa9841e3cb99a6aae30e9bd79440c08487eeb23d6d6914690b90d1ae0952bb6168693 WHIRLPOOL bedd3de56e7625219a2970842ff0b073abbdc3488c8efece112c92f277386d5a3b63bde100a6e3daf2d5c0011e515e9fef81b888feec58d2a6571b4f898e8578 DIST quassel-0.11.0.tar.bz2 2875387 SHA256 99a191b8bc2a410f7020b890ec57e0be49313f539da9f4843675bb108b0f4504 SHA512 51450559df2c0fee9a54b76a9342edb9a3b834f1f58edc556e0c1bf1f9366c846d95e7953e1b48c6ecf67ea4255b3574ed3ce537962eec222c5c03ab02852c1d WHIRLPOOL c2ffb7e052a5d412aec5d1b8bacc8cdb8144c20d62d699ca1d8972fd5e8fe6ce89da49251a02c22008061b344d9408b3f018b3b39623703b4d980c289cd5613a DIST quassel-0.12.0.tar.bz2 3682159 SHA256 1429929c3fdea860131e13c4e185f747e86cddb99d6e714940c1f8100020e127 SHA512 dc334fb80f6b58517bf379b1ac34f91c8b3350f7c38f748fa43c4b660d286ffc1d0e1e046bb54cefdda75b33481f557820c383af40d5b28e00780f42b115a0a8 WHIRLPOOL f8b7be270d0a92a668d06b8192389f680c0bbb606d8d3567147c576831d8d15225219f0765c7db18e3a60843e8a091e8fde9b495c55551e3aa46615e7ccf9b90 +DIST quassel-0.12.1.tar.bz2 3682223 SHA256 28da5fbe10cd303e95703f0c2498e5da9ace896cc954ddd709776614d855c8f9 SHA512 ecf39f3666ca55770be53b1a43c5a2ecbb6db3b581e121bbb13088cc2f9dc85cdf8ab1c27011bc394b9d81ac37c0da1f2fabea102c85118f1107ae5471375b53 WHIRLPOOL eb7604337596701f666adf0495dd9b8df2c89a02ab3f9a17336bf8aa03572afd9c49f94824dedba71c176c1285904dd1efde1d85780b31e41f75343677b9189c EBUILD quassel-0.10.0-r1.ebuild 4993 SHA256 61e6419c63aacf38855e4f89125b2b31e642227bfc8e337796f93b73aa8b672f SHA512 7bcee9ab879e2b9545743dcf91f7b6e70101791b34e40021fd0161c2c3a2fd0223934aaa48e11eb865662215fd95928f70478cfb189b1f2607caecf8415320c2 WHIRLPOOL 1c884fc4354a533da41d18d8bb26834d0828e62d0514eb5ffc9e8ae52c4d049861c53979e5a0c546ecd84e0cf189fd50b3877c561518c6e3ec6cead478fac0bb EBUILD quassel-0.11.0-r1.ebuild 5666 SHA256 16d4a6ad5c8c5e2600b28a31e8febb73d94077594d19c3d54773c0a4d3236b50 SHA512 868b6f4f40dabe0cfdddf900ddac6ef3736af2e0ed0eeffe7dbaaf991fb44b1af8cb07ff551afd617930c58046bbd4e9675d3f4efc0747dc7552920bbc5d6808 WHIRLPOOL db202c837e9dbd36bd5427976c1e32efde329bbb94f90a373030caf19ea190548d3f9d6cdfafd6e4eb174e6f117352bc10eaa9fc819309f860ba4cd37a86ce79 EBUILD quassel-0.12.0.ebuild 5977 SHA256 659054de68b896561ca19eadf8c312279108ac82b3f16929249af9d983a97c9a SHA512 95655280e5b2b30ca0bb800b8b36c370aac13883aae6a6431e0a761eaf3c3460b8b8f675964e526441517d0290c993dc3e9ac161ccda00f9d8d8c714ffaed94f WHIRLPOOL 730778a7799fb178ced62009e2a547a1e6e69033cc5b21d2a9dbfba25c4817d3f9c9915099d070febd827f5d9d50dcb7e061232460440e9d11b9f414008884ef +EBUILD quassel-0.12.1.ebuild 5977 SHA256 10b2baa7630e15caff612bfa5d6089da2964e545215ed5d73a255720cc079e5c SHA512 ffef71da58575e479cbba848cb4b0b3f5488f3c7158b7ca4708ff252df2ee02ca764bf37b0fc292c1f3c3982bd70717cd0e31c2757a8d8542bc14560b22dfd4d WHIRLPOOL 673d7dccfdb7dd4d5a0813c0db36e4ec5ae2f468689b526c80e9cbfc4caa2f35bd2095437ff1e3c22e300b6d4ad9bbd26d1b58483d550e9b8ae257b65505426d EBUILD quassel-9999.ebuild 5959 SHA256 1ade564e0cf61267c9b9bdab97cdc3d1c0e2f690f14668c68913c233e16ed66e SHA512 e1c10cbc5be6ea9b6013e056b3599192947325fee02d4a56ecec42abcaafd8961e7399da067470944f380823b558e4aeb847e0f1c42923f3439cab8d614e443b WHIRLPOOL 3b0497ff296513e184230223830bf0072f2b46d0a818b84d3b54398056331786180c3af09f075c13486c067df9eaf1decf06cf5a53f38ea126a36edf74222861 -MISC ChangeLog 31350 SHA256 f694dcfc5d2d893960d47ca7bd05b471b1c87b267c602fd295058d64de425df3 SHA512 0c1d79921c220cdb2f83da84e4c5522b75de86a3cc68071f2e0884f3d1f44ab47eada6e5c1dff8d98aeec37db9b9d2205c560101e171c40213c650221497a413 WHIRLPOOL b54890402461388142ef46f0f3b99c1aa2cf859ad6c99a802565580875efc0aa75bf774e9efe1d8df52a05fd5a031c389bedcb44de131fe75e46cfa45e4ed38d +MISC ChangeLog 31463 SHA256 c85f5cebd2462e9f6036d871d0a5074669c2aebca38b1dd576ebcd6892c9e089 SHA512 6ebc5df531b0a759c19bb1930d34b72d884b3d13b61beff9b897c4703074f54679b13c79780fbda98be378182e4f4da02308c2db8355d6d8d6c86e94e5967a0f WHIRLPOOL e8ffa081744da0a6de308a60af6a16c16417020f8013727be1aa64feab7039d3063ac2f260d38c8baf24d119d502c87b1f05e017282e472c71871e9a0495785f MISC metadata.xml 1687 SHA256 20a821b954973d1f6c42184c6ca474b972896e6649ab37a44f093a7b3964e3c5 SHA512 7586fd9fa8552ae40e9294819bd56365e8e97eda8c5669519b57e8712e801c3513937effb716bd3e2cb75f47c3d180947b5a7a20107a8292f92d7c4c2837684a WHIRLPOOL 165eb876fc157171ac2d25ead567fce5ecd4d8ccab275591c0d9d18b8cb4e2f104a6a1b63c3bde76c0afdeee5651f13668ee30fe98a9bdc1b28e6f6fa2dcbc33 diff --git a/net-irc/quassel/quassel-0.12.1.ebuild b/net-irc/quassel/quassel-0.12.1.ebuild new file mode 100644 index 000000000000..ba642dc8e5f5 --- /dev/null +++ b/net-irc/quassel/quassel-0.12.1.ebuild @@ -0,0 +1,212 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.12.1.ebuild,v 1.1 2015/04/22 03:54:11 patrick Exp $ + +EAPI=5 + +inherit cmake-utils eutils pax-utils systemd user versionator + +EGIT_REPO_URI="git://git.quassel-irc.org/quassel" +[[ "${PV}" == "9999" ]] && inherit git-r3 + +DESCRIPTION="Qt/KDE 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 qt5 +server +ssl syslog webkit X" + +SERVER_RDEPEND=" + qt5? ( + dev-qt/qtscript:5 + crypt? ( app-crypt/qca:2[openssl,qt5] ) + postgres? ( dev-qt/qtsql:5[postgres] ) + !postgres? ( dev-qt/qtsql:5[sqlite] dev-db/sqlite:3[threadsafe(+),-secure-delete] ) + ) + !qt5? ( + dev-qt/qtscript:4 + crypt? ( app-crypt/qca:2[openssl,qt4(+)] ) + postgres? ( dev-qt/qtsql:4[postgres] ) + !postgres? ( dev-qt/qtsql:4[sqlite] dev-db/sqlite:3[threadsafe(+),-secure-delete] ) + ) + syslog? ( virtual/logger ) +" + +GUI_RDEPEND=" + qt5? ( + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dbus? ( + dev-libs/libdbusmenu-qt[qt5] + dev-qt/qtdbus:5 + ) + kde? ( + kde-frameworks/kconfigwidgets:5 + kde-frameworks/kcoreaddons:5 + kde-frameworks/knotifications:5 + kde-frameworks/knotifyconfig:5 + kde-frameworks/ktextwidgets:5 + kde-frameworks/kwidgetsaddons:5 + kde-frameworks/kxmlgui:5 + kde-frameworks/sonnet:5 + ) + phonon? ( media-libs/phonon[qt5] ) + webkit? ( dev-qt/qtwebkit:5 ) + ) + !qt5? ( + dev-qt/qtgui:4 + ayatana? ( dev-libs/libindicate-qt ) + dbus? ( + dev-libs/libdbusmenu-qt[qt4(+)] + dev-qt/qtdbus:4 + kde? ( + kde-base/kdelibs:4 + || ( kde-apps/oxygen-icons kde-base/oxygen-icons:4 ) + ayatana? ( kde-misc/plasma-widget-message-indicator ) + ) + ) + phonon? ( || ( media-libs/phonon[qt4] dev-qt/qtphonon:4 ) ) + webkit? ( dev-qt/qtwebkit:4 ) + ) +" + +RDEPEND=" + sys-libs/zlib + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtnetwork:5[ssl?] + ) + !qt5? ( dev-qt/qtcore:4[ssl?] ) + monolithic? ( + ${SERVER_RDEPEND} + ${GUI_RDEPEND} + ) + !monolithic? ( + server? ( ${SERVER_RDEPEND} ) + X? ( ${GUI_RDEPEND} ) + ) +" +DEPEND="${RDEPEND} + qt5? ( + dev-qt/linguist-tools:5 + kde-frameworks/extra-cmake-modules + ) +" + +DOCS=( AUTHORS ChangeLog README ) + +REQUIRED_USE=" + || ( X server monolithic ) + ayatana? ( || ( X monolithic ) ) + crypt? ( || ( server monolithic ) ) + dbus? ( || ( X monolithic ) ) + kde? ( || ( X monolithic ) ) + phonon? ( || ( X monolithic ) ) + postgres? ( || ( server monolithic ) ) + qt5? ( !ayatana phonon ) + syslog? ( || ( server 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_find_package ayatana IndicateQt) + $(cmake-utils_use_find_package crypt QCA2) + $(cmake-utils_use_find_package crypt QCA2-QT5) + $(cmake-utils_use_find_package dbus dbusmenu-qt) + $(cmake-utils_use_find_package dbus dbusmenu-qt5) + $(cmake-utils_use_with kde) + $(cmake-utils_use_with !kde OXYGEN) + $(cmake-utils_use_want monolithic MONO) + $(cmake-utils_use_find_package phonon) + $(cmake-utils_use_find_package phonon Phonon4Qt5) + $(cmake-utils_use_use qt5) + $(cmake-utils_use_want server CORE) + $(cmake-utils_use_with webkit) + $(cmake-utils_use_want X QTCLIENT) + "-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 & systemd unit + newinitd "${FILESDIR}"/quasselcore.init quasselcore + newconfd "${FILESDIR}"/quasselcore.conf quasselcore + systemd_dounit "${FILESDIR}"/quasselcore.service + + # 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 +} |