diff options
-rw-r--r-- | net-irc/quassel/ChangeLog | 7 | ||||
-rw-r--r-- | net-irc/quassel/Manifest | 14 | ||||
-rw-r--r-- | net-irc/quassel/quassel-0.9.0.ebuild | 177 |
3 files changed, 186 insertions, 12 deletions
diff --git a/net-irc/quassel/ChangeLog b/net-irc/quassel/ChangeLog index fabce7cdd55e..3b23a6b86f35 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.148 2013/04/07 21:28:23 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.149 2013/04/17 04:13:32 patrick Exp $ + +*quassel-0.9.0 (17 Apr 2013) + + 17 Apr 2013; Patrick Lauer <patrick@gentoo.org> +quassel-0.9.0.ebuild: + Bump 07 Apr 2013; Mike Gilbert <floppym@gentoo.org> quassel-0.8.0.ebuild, quassel-9999.ebuild: diff --git a/net-irc/quassel/Manifest b/net-irc/quassel/Manifest index 0e1cb1b88e0f..2acac4dd213a 100644 --- a/net-irc/quassel/Manifest +++ b/net-irc/quassel/Manifest @@ -1,18 +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.8.0.tar.bz2 2663465 SHA256 a3515bd18e2b100eb9a72480e76b1faefaa5e84cdb236b6af1f05b477a1e9071 SHA512 36a9395d7706f771d5477c233aec49fdd94b9b3c3bf723025b77ce299d05c36fa672ab178863aef5c1b8e5ca9500dd73094af3754c9f14d4b4b5274cd7ee909c WHIRLPOOL 99f44cd09f5913834f6558f144083b77d0bd2636e1ea3c09edd0434b664d16e54859ba1da7b14bbb5bc33aa14364a479de2db7ed7a6d75fa8d154ae6e5b9f45e +DIST quassel-0.9.0.tar.bz2 2751143 SHA256 2e3fe06ae3731c829aa3c2f6bb5320619bad264c831f322985c3aa3fe58b6027 SHA512 5f0b54c7c0e839d30ec5cc1c76f115f60aef35c53b2ed1cc69cb856413e0b381bfa3b56d6a9b60d8a118d216930adb52856d39b1bbd4c96e8c0f3809756f6f21 WHIRLPOOL 1dbcdb6e2e2e9055e8b6dcccae3fb5e781ca619f90be3565d350e86637dc9f52a25b6e6d5b4b94e2cc1727e8337ba73f93b21bcf82305d651111866831be9396 EBUILD quassel-0.8.0.ebuild 5072 SHA256 2bb6fd7fa52dbc235442bcae4f8c0385a71dd1e892d5fcb7d81e482e39df0495 SHA512 f179ec8ffce87e494db8793ee13faa16b3c0b8771462038d0387699dc0acefea19095955c605d8d19877a839191c30e81493262293774516afa1ee7edf3b2afc WHIRLPOOL 1efe3af41667405431097343854beeace2a895c446a800fd20ea07dd93d6cc5c495b9e4ab3d63484430dbdb65fab19c2998b6b3fa79426bc9f34ed56ae6b1171 +EBUILD quassel-0.9.0.ebuild 5074 SHA256 9fb5e2cc0e472e6bd5de39743c937c5b5c5417539e7729cfa1f946c6a4911979 SHA512 21379e0245aa6d21e6fe47aa28e3ca3ffa2138e5b00020ea024212e809c09d85f20c1463a7b1e72257dc9eb1fd0068dd9677c210980588f6216a8847c0a374a5 WHIRLPOOL a58a30d15adb9d49548fd5c9ed14d7f3f4da8cbe772a00ac50449ad515b02cae7095e1c5e52bca5d35d1159e3e2e5c8a854cd83a522dbd383ad2294e4e49cf8d EBUILD quassel-9999.ebuild 5098 SHA256 83997217a9cd013981dfcc9017fc5bfda534c5054fdaf3e970e16f6fec170603 SHA512 d2b69d3da56435ec854d62b2a44bd3962f3b9b0d18b265b83ffdcdc72c23df2787719678427b5cbe930a4794bf346a83dbc6702ab9ac11a4776099a34d15a224 WHIRLPOOL 7716e66faed0c7da4d21339d767c96463670bb878c04dce8a051c75210f23dcf24730293bb8c4bfef191eec4577e768e9bab420626900285029f49d7ac820c24 -MISC ChangeLog 24265 SHA256 30efb216d20e994ea245b1f82e43378890db4fb5bfa2946caac981f1bfd447a6 SHA512 ec1377e835a82207125e6cc0a2e2e49f3a90ef565c4f8e7caed5797bc83ef3c52b89d538b834621f0774f40637f8b26e45c0401fd1d540a686971c57219ec6b1 WHIRLPOOL 70b43172dd9fb59bd3c551dc0392cc7bcb9a3bbd13618b9d8e9919d475653342bd263a78dfac2cf9ae3f26919f46e4c53def094d7d5d547069d5274e8e62f74c +MISC ChangeLog 24376 SHA256 4c13ef860f8363e4bcecf9f4319dcadba6f911f9b63ed2c0a9054e06a842323f SHA512 7840831f043da2df1380a38f1910bf986f9d4f3bd486899c099f548dbb1c583c01876176a4fe98152071576bc20239095fa62e42f97eaea4de8a81fcd61141f2 WHIRLPOOL bb40231777bd5176c8a8023b96ae38393ca55cd202e7816a2959113b08cf542bd7ed17d1316698f3980fdb02c64628f3e1bff519968da2fd08d1e5a6817ed194 MISC metadata.xml 1595 SHA256 57553131f53d0e797e4eaece5861a6a3e367c62b5f0b3b81f0a92a040fbd37b7 SHA512 a917e0badcabfa0ebde851a6abbbcab2fdf8ef4803c3527381b6161b1ece72f4f0282494948b0fc380be76495b520fb02e1bda36da48a4f80c3914e20800cb28 WHIRLPOOL 1bd4951fdaf8ae1f244f83a2d93b464f1bf22778fbd67af26048070b3ff5b6f2e964c55dc451f350faaabf1722889cfaa5db582e44932119dfe0229a1ef4cb9c ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iF4EAREIAAYFAlFh5PsACgkQC77qH+pIQ6Ti8QEAqm8+3DS22VjRiLZkGrZ2eOx/ -P+L4Uf1xcVMjfarfgKYBAILZzgrvZITYr7a1N6soOXEWZI+okJ7M4AQ9WQohbARD -=4NoZ ------END PGP SIGNATURE----- diff --git a/net-irc/quassel/quassel-0.9.0.ebuild b/net-irc/quassel/quassel-0.9.0.ebuild new file mode 100644 index 000000000000..93fd1206ccf0 --- /dev/null +++ b/net-irc/quassel/quassel-0.9.0.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.0.ebuild,v 1.1 2013/04/17 04:13:32 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 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 ~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 +} |