diff options
author | Patrick Lauer <patrick@gentoo.org> | 2011-09-08 19:22:26 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2011-09-08 19:22:26 +0000 |
commit | 1e9cdd4fd50f213db62810bbde1d97818bb4eebf (patch) | |
tree | 6c20d02293ef1ee5fa5feaf9e6bbc345fdd08d2e /net-irc | |
parent | Marked ~sparc-solaris (diff) | |
download | historical-1e9cdd4fd50f213db62810bbde1d97818bb4eebf.tar.gz historical-1e9cdd4fd50f213db62810bbde1d97818bb4eebf.tar.bz2 historical-1e9cdd4fd50f213db62810bbde1d97818bb4eebf.zip |
Bump
Package-Manager: portage-2.2.0_alpha54/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.7.3.ebuild | 166 |
3 files changed, 175 insertions, 2 deletions
diff --git a/net-irc/quassel/ChangeLog b/net-irc/quassel/ChangeLog index 03fcd0cc7bdf..aaee22049fb4 100644 --- a/net-irc/quassel/ChangeLog +++ b/net-irc/quassel/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-irc/quassel # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.131 2011/08/19 11:43:49 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.132 2011/09/08 19:22:26 patrick Exp $ + +*quassel-0.7.3 (08 Sep 2011) + + 08 Sep 2011; Patrick Lauer <patrick@gentoo.org> +quassel-0.7.3.ebuild: + Bump 19 Aug 2011; Tomáš Chvátal <scarabeus@gentoo.org> files/quasselcore.init: Fix initscript wrt ipv6. Patch by Diego (flameeyes). Fixes bug #379861. diff --git a/net-irc/quassel/Manifest b/net-irc/quassel/Manifest index 968300ce3eec..af75e715d19f 100644 --- a/net-irc/quassel/Manifest +++ b/net-irc/quassel/Manifest @@ -2,7 +2,9 @@ AUX quassel.logrotate 105 RMD160 42bde4a3d8a899971037b1e2d0ddfb5b136f065e SHA1 c AUX quasselcore.conf 714 RMD160 96e0d621deb67f4901840f89aa483f42504ed675 SHA1 b75f8e5967aec6457cf20f8481c518eeeee16a35 SHA256 16cfaf919268ee3c3281fc4ad0dfc128b1c98f5edfc5cc522addd512f36d293c AUX quasselcore.init 1857 RMD160 ab3a730bfba0b92522ddf52b1efabcd58a2cff86 SHA1 d8452aa6e2663a1926e5e864e7d65bf0d1a2e685 SHA256 af041a6c800ffb443d008b861c639bf32580b3655f7db3bc00db833374af6b2e DIST quassel-0.7.2.tar.bz2 2714322 RMD160 02e779a4cf0bab683691ff30767bd9625909d195 SHA1 dbbd8ebfde5aa12fb6b6841558049220d88bb9dc SHA256 b9e4a094c46715dd68152cd98a4e0778e308a0ec653eb8b5476ec429d128d55c +DIST quassel-0.7.3.tar.bz2 2714969 RMD160 60bb7ae75403a5aeb7616e15f7d9d505b244292c SHA1 5cb44cadd1520aa26675555aa5c967f2a28fb86e SHA256 9e78dbc28bfeda2ed66fa3082392951cbd002f851ef1a7f1228988bb18c7c98d EBUILD quassel-0.7.2.ebuild 4765 RMD160 c2ffeb60ae4b4e8ee75c1d3961998c04f51fd8fd SHA1 f28fc0215bb6fe3f98b6a4285a4ff869e3e5042e SHA256 f67fb4dc65c8eb4562e190b2b2fe7b2f5d9fcf89691a64cb8580f31d6897c926 +EBUILD quassel-0.7.3.ebuild 4766 RMD160 292e90735437ed0c64e3a2ec5bb651f6d5b44823 SHA1 5545338d05f9a1f0b6c8807dae864deb07372461 SHA256 7f4768a7ea5320bfa1f8a0e3cf8577ded47261aa70e6c48243dc8b1ff9036b9f EBUILD quassel-9999.ebuild 4729 RMD160 842b407a2e770c8ace2b0d03c0c792957a593f8c SHA1 402d07867fd5d2886a40e82aebe831f258dc8b6f SHA256 7c1c9fc71f0df8d490b1fa4bcb3f5384641c3a1f49a27e482515cf909699d074 -MISC ChangeLog 21885 RMD160 e36e890334cfa7f3202ac52e33d3d683191e5b74 SHA1 49816dad80ab4a62c23f5447637be5a20ca4d41f SHA256 3f0136289272ecb87c1fd7d4b7738561f309f7435d44e5cbb5f10fa8a8827ee1 +MISC ChangeLog 21994 RMD160 aa7c97d04dfb618085536219697a9b2431641adf SHA1 b485a256b72f5051d07a5c3edd88534d56e1e622 SHA256 1b82aa913caad85762181acbf6671b1c2f190075c413236f1d509867d7686935 MISC metadata.xml 1777 RMD160 a7056cd2fbca953cdbe5462aac48697a98ef628b SHA1 7bea6bda0bafaff84bf2c931d65133ce07a3c6e1 SHA256 0e1dedf188fb5600f39cea0b61809b73362cd0d42068ed42cd2da5591dbb731c diff --git a/net-irc/quassel/quassel-0.7.3.ebuild b/net-irc/quassel/quassel-0.7.3.ebuild new file mode 100644 index 000000000000..115b2a49984a --- /dev/null +++ b/net-irc/quassel/quassel-0.7.3.ebuild @@ -0,0 +1,166 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.7.3.ebuild,v 1.1 2011/09/08 19:22:26 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 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 + # 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 +} |