diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2010-08-27 10:26:29 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2010-08-27 10:26:29 +0000 |
commit | cb2c4b70df943bfceca10f778a3899ab362c08db (patch) | |
tree | 9006a35376ce2d94195c278f4233284d299f634e /net-irc | |
parent | Forgot to specify the src_uri too. (diff) | |
download | historical-cb2c4b70df943bfceca10f778a3899ab362c08db.tar.gz historical-cb2c4b70df943bfceca10f778a3899ab362c08db.tar.bz2 historical-cb2c4b70df943bfceca10f778a3899ab362c08db.zip |
Version bump to latest rc.
Package-Manager: portage-2.2_rc68/cvs/Linux x86_64
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/quassel/ChangeLog | 8 | ||||
-rw-r--r-- | net-irc/quassel/Manifest | 4 | ||||
-rw-r--r-- | net-irc/quassel/quassel-0.7_rc1.ebuild | 168 |
3 files changed, 178 insertions, 2 deletions
diff --git a/net-irc/quassel/ChangeLog b/net-irc/quassel/ChangeLog index cbd799284125..a4798ff441c1 100644 --- a/net-irc/quassel/ChangeLog +++ b/net-irc/quassel/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-irc/quassel # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.102 2010/08/27 10:20:48 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.103 2010/08/27 10:26:29 scarabeus Exp $ + +*quassel-0.7_rc1 (27 Aug 2010) + + 27 Aug 2010; Tomáš Chvátal <scarabeus@gentoo.org> + +quassel-0.7_rc1.ebuild: + Version bump to latest rc. 27 Aug 2010; Tomáš Chvátal <scarabeus@gentoo.org> quassel-9999.ebuild: Forgot to specify the src_uri too. diff --git a/net-irc/quassel/Manifest b/net-irc/quassel/Manifest index 52be6728bdf9..228ec6866aae 100644 --- a/net-irc/quassel/Manifest +++ b/net-irc/quassel/Manifest @@ -7,9 +7,11 @@ AUX quasselcore.init 1802 RMD160 c170596dd415d32d3147b6cf1a263a48f4b12268 SHA1 8 DIST quassel-0.5.1.tar.bz2 3339773 RMD160 411f70ed4b4162f8523bf5498cd22aca43171b5c SHA1 448c2712176d5c0328b439b60ee27e06645339ba SHA256 c2aa0694b775b33380cb5bb452512433fa9f0bf4820778e8ec98f621e5458f62 DIST quassel-0.5.2.tar.bz2 3307109 RMD160 bac05710c6126150c1546713325f319bef2640c8 SHA1 68abd45cd506303090b54e4aa21eb0273d3e4217 SHA256 9c98dcefa4b1655ae92b0204ef30594c9043701fb66350c5e69beafa86b88c8a DIST quassel-0.6.1.tar.bz2 2531035 RMD160 39e08319488062e02545055c91554ee1ea025912 SHA1 92017692712ed54d678211bb8d4dc4a992601d2d SHA256 e01b5a91359ca37b3db2849b3b1db32f768c865f698d0a4f3ef679f722edb5ec +DIST quassel-0.7-rc1.tar.bz2 2680737 RMD160 567ab0093327c6165c241dc3b61ccb271365cf3d SHA1 b66d41d9d26ddc6c226624c97a22240632df7332 SHA256 19543eaaa6cb8b37c54726a7dec161b2a6980aaaf9ec1eb9748e290beee39238 EBUILD quassel-0.5.1.ebuild 3218 RMD160 39c25156b7ed5c938be60b9b189d7c52a18af088 SHA1 5b9b23f3c6a99ce9494ba4c6d0ceef131c0d7d2a SHA256 d7e361d29f8ab6caf2303600e1832caab14165eda7201557ec3cc0a2e3055cdf EBUILD quassel-0.5.2.ebuild 3282 RMD160 2c191d65f757c83445da768cd83966c912682bc6 SHA1 00129b070abdd35dfafc8e12bcd286897b29697f SHA256 e7c9433470ad9a1a0e2b2d74f2e90dc15008fc86a484cf066ceb38f185832fba EBUILD quassel-0.6.1.ebuild 2901 RMD160 bffc3302e8829a4e4d3ffbe3d449f95b06cbd6d7 SHA1 7c5f1c1bb8c0bf5d1d9b2da962f1319e3ff44ec7 SHA256 ce206222ccec46dfdd8602d87a1cdfc71db626d2546863f9b2de95590013ebcd +EBUILD quassel-0.7_rc1.ebuild 4781 RMD160 e40aaf1a36da12cdd518fca6317d4363e510de11 SHA1 7ca7c0affcd986c48a3e114cb2f91bf4c35acee4 SHA256 ecd92c0d96b886a3115f23a5dac5909131169e407127aec37d59f4edfd145e93 EBUILD quassel-9999.ebuild 4755 RMD160 c7b0b2cdf9bda7e53fba029973959cc7ec017445 SHA1 3faafb1e6e605621f8d5b8a444d06c5ca15765e2 SHA256 b1b014dbd94359c12d3aa31d244894829ef78609ffff330b09985e8dfcb8bcc1 -MISC ChangeLog 17485 RMD160 4f38c0986fe5c11efa5d0b863bc6c8afa7b2ba6b SHA1 78a77c8c015c58ac26947c6295616646cbacb709 SHA256 51bcb7d607f92624bf563b59ab0cc1aaf690ff5ae2118e818ceb9c47571704b4 +MISC ChangeLog 17629 RMD160 a7dd923b580124652d2584be90efcc2da7787ff0 SHA1 b28585888550c04fc208fd7ffd1811e4efe73b70 SHA256 888edb450e96022af8db02b6dd1d6f8e46c7d2ca9d8f06d4330bd32ad0c88df6 MISC metadata.xml 1807 RMD160 4f33edc434ec5a41fc4beffc37648ceda4117d91 SHA1 3a1d4fee34a947daf4ed51d405ea616d61ff671c SHA256 973cc0263875a0ba9bdde43b5e3d2daa51ff81ce716e5f4a1087aa33064b8f07 diff --git a/net-irc/quassel/quassel-0.7_rc1.ebuild b/net-irc/quassel/quassel-0.7_rc1.ebuild new file mode 100644 index 000000000000..de8e232ec3b1 --- /dev/null +++ b/net-irc/quassel/quassel-0.7_rc1.ebuild @@ -0,0 +1,168 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.7_rc1.ebuild,v 1.1 2010/08/27 10:26:29 scarabeus Exp $ + +EAPI=3 + +EGIT_REPO_URI="git://git.quassel-irc.org/quassel.git" +EGIT_BRANCH="master" +[[ "${PV}" == "9999" ]] && GIT_ECLASS="git" + +QT_MINIMAL="4.6.0" +KDE_MINIMAL="4.4" + +inherit cmake-utils eutils ${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" +SLOT="0" +IUSE="ayatana crypt dbus debug kde monolithic phonon postgres +server +ssl webkit X" + +SERVER_RDEPEND=" + crypt? ( app-crypt/qca:2 ) + !postgres? ( >=x11-libs/qt-sql-${QT_MINIMAL}:4[sqlite] dev-db/sqlite[threadsafe] ) + postgres? ( >=x11-libs/qt-sql-${QT_MINIMAL}:4[postgres] ) + x11-libs/qt-script: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-sound/phonon >=x11-libs/qt-phonon-${QT_MINIMAL} ) ) + webkit? ( >=x11-libs/qt-webkit-${QT_MINIMAL}:4 ) +" + +RDEPEND=" + monolithic? ( + ${SERVER_RDEPEND} + ${GUI_RDEPEND} + ) + !monolithic? ( + server? ( ${SERVER_RDEPEND} ) + X? ( ${GUI_RDEPEND} ) + ) + ssl? ( x11-libs/qt-core:4[ssl] ) + !monolithic? ( + !server? ( + !X? ( + ${SERVER_RDEPEND} + ${GUI_RDEPEND} + ) + ) + ) + " +DEPEND="${RDEPEND}" + +DOCS="AUTHORS ChangeLog README" + +pkg_setup() { + if ! use monolithic && ! use server && ! use X ; then + ewarn "You have to build at least one of the monolithic client (USE=monolithic)," + ewarn "the quasselclient (USE=X) or the quasselcore (USE=server)." + echo + ewarn "Enabling monolithic by default." + FORCED_MONO="yes" + fi + + 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" + ) + + [[ ${FORCED_MONO} == "yes" ]] && mycmakeargs+=( '-DWANT_MONO=ON' ) + + 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 || [[ "${FORCED_MONO}" == "yes" ]] ) && 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; 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 +} |