diff options
author | Chris Reffett <creffett@gentoo.org> | 2013-10-23 23:44:24 +0000 |
---|---|---|
committer | Chris Reffett <creffett@gentoo.org> | 2013-10-23 23:44:24 +0000 |
commit | c04e063a118601d8db14ac213151fa63a29ce43e (patch) | |
tree | 06a20285a46d913507cbd09154f357cbacd9d846 | |
parent | Drop affected versions wrt bug 488432 (diff) | |
download | historical-c04e063a118601d8db14ac213151fa63a29ce43e.tar.gz historical-c04e063a118601d8db14ac213151fa63a29ce43e.tar.bz2 historical-c04e063a118601d8db14ac213151fa63a29ce43e.zip |
Drop affected wrt sec bug 487632
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x42618354
-rw-r--r-- | net-irc/quassel/ChangeLog | 6 | ||||
-rw-r--r-- | net-irc/quassel/Manifest | 18 | ||||
-rw-r--r-- | net-irc/quassel/quassel-0.8.0.ebuild | 177 | ||||
-rw-r--r-- | net-irc/quassel/quassel-0.9.0.ebuild | 177 |
4 files changed, 12 insertions, 366 deletions
diff --git a/net-irc/quassel/ChangeLog b/net-irc/quassel/ChangeLog index d224cd45c5bb..ff8384c5e3ea 100644 --- a/net-irc/quassel/ChangeLog +++ b/net-irc/quassel/ChangeLog @@ -1,6 +1,10 @@ # 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.156 2013/10/14 16:57:38 zlogene Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.157 2013/10/23 23:44:23 creffett Exp $ + + 23 Oct 2013; Chris Reffett <creffett@gentoo.org> -quassel-0.8.0.ebuild, + -quassel-0.9.0.ebuild: + Drop affected wrt sec bug 487632 14 Oct 2013; Mikle Kolyada <zlogene@gentoo.org> quassel-0.9.1.ebuild: x86 stable wrt bug #487632 diff --git a/net-irc/quassel/Manifest b/net-irc/quassel/Manifest index 231079637d64..fdb1fb949cc4 100644 --- a/net-irc/quassel/Manifest +++ b/net-irc/quassel/Manifest @@ -4,21 +4,17 @@ 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 DIST quassel-0.9.1.tar.bz2 2777104 SHA256 39e97bd67160d6575a57d4f71c4b1be5c13461ca238baef462ab43164419864e SHA512 c14a709872e40071a655f5c59fa8eb544f5f2097d3edecfa51d4b59e59936b8c5f0f4b1d6cd26414d94c5c88003662ed03347dc763415b66b8278e354d549977 WHIRLPOOL 94a90f0f711911d4187b68d7cb3e6e7f8e623825d351f2f1d0279376d2932fa91b7a4b39cdd260dd0303e7fb14b57803c2bb6030e57bfe353c3b1fd636832aad -EBUILD quassel-0.8.0.ebuild 5072 SHA256 2bb6fd7fa52dbc235442bcae4f8c0385a71dd1e892d5fcb7d81e482e39df0495 SHA512 f179ec8ffce87e494db8793ee13faa16b3c0b8771462038d0387699dc0acefea19095955c605d8d19877a839191c30e81493262293774516afa1ee7edf3b2afc WHIRLPOOL 1efe3af41667405431097343854beeace2a895c446a800fd20ea07dd93d6cc5c495b9e4ab3d63484430dbdb65fab19c2998b6b3fa79426bc9f34ed56ae6b1171 -EBUILD quassel-0.9.0.ebuild 5067 SHA256 71b74f12f49e8a29f9e25426dfffa60d16d9975a60049566e3197e22910b5e24 SHA512 c32411bcd8a227404c3143414de55fbe9aac20ff97377886f4b5d9461962d030ef8f5373efaab43cfbc2371ce2daae2e10583cfef7decc01d7bf0b6a73714291 WHIRLPOOL e820275f48ea414b7cfdfa724a3437b223e6aaa46ef11fd0ac2c9539312e63050277e06998264b0eb5cd62d9989aee0f7a0d08de718abb7b3e707d4354f46097 EBUILD quassel-0.9.1.ebuild 5071 SHA256 21c3eed1916eb38b70db86b7d32c2b7048ec1a99b46dad65127eab212484f9ca SHA512 2e0c05887ca802b99d587111d40d52b8e45fa1d9416df2d7a4c6efba1fc90d17632937fa0a01ab0e2041984250b30251d3085619bd28ed59f9f3521e093a22fb WHIRLPOOL a98d753dafe1dd97c011b0a4e6d6abfc5e2b5068902bd67a4c3a0fb47c4579d4b212e10498b40d344133d0cabe4484550072567dd93f2d901104067c1ef8d648 EBUILD quassel-9999.ebuild 5098 SHA256 83997217a9cd013981dfcc9017fc5bfda534c5054fdaf3e970e16f6fec170603 SHA512 d2b69d3da56435ec854d62b2a44bd3962f3b9b0d18b265b83ffdcdc72c23df2787719678427b5cbe930a4794bf346a83dbc6702ab9ac11a4776099a34d15a224 WHIRLPOOL 7716e66faed0c7da4d21339d767c96463670bb878c04dce8a051c75210f23dcf24730293bb8c4bfef191eec4577e768e9bab420626900285029f49d7ac820c24 -MISC ChangeLog 25123 SHA256 8f63c79a7318d1afefe973a081e203bc72d5cbd6d6707f3c00dcd7ef3d9f318b SHA512 f7787e69092540b867126b4689efd5dbd087c41330b42f1ecb24bee6f1d8244fd961758eeb5c74c91828b2569fb530a2fccd326a3f2577325ee76205eb0f50f8 WHIRLPOOL 3d45996b47e64a824c06ae3792c4345930b8add985b571a98188c56443ea8ecf4b091558e682743d5c8e778915dea904822871a47acbff937621f8e62a632ee7 +MISC ChangeLog 25259 SHA256 cea7f867554596fc2cebf0648e5bea77e2d457866523496d893ccee6c274dd68 SHA512 6a4fc88ca4d2d55fddd815d1c4e951b60b59d446d3f7d09297093ef132b148f44431391bc59b56f5646942d1b87d2ba617c5e226cef57dd57b761aa1460433bf WHIRLPOOL 3916f7818bfc43bda842a6339f191c06dae95aff8a7aa0a909e8719838985243d2625b4590e1787b57f3487785d062a1197a74ac7e34c7d0b649053624d7db7d MISC metadata.xml 1595 SHA256 57553131f53d0e797e4eaece5861a6a3e367c62b5f0b3b81f0a92a040fbd37b7 SHA512 a917e0badcabfa0ebde851a6abbbcab2fdf8ef4803c3527381b6161b1ece72f4f0282494948b0fc380be76495b520fb02e1bda36da48a4f80c3914e20800cb28 WHIRLPOOL 1bd4951fdaf8ae1f244f83a2d93b464f1bf22778fbd67af26048070b3ff5b6f2e964c55dc451f350faaabf1722889cfaa5db582e44932119dfe0229a1ef4cb9c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) +Version: GnuPG v2.0.20 (GNU/Linux) -iJwEAQEIAAYFAlJcI1UACgkQG9wOWsQutdbgwQP/ZCFbn5v0s2ciTNHrdwWAmPys -PP2+FjKM33DZxtZbOWMj0npPdlGJg2xk/Q1IQN+XPN6utJQ6QcR0Xai60zMSyx/7 -nmyE5cQ/7slA2TnK16LBsxMhJgUZ48hUHMREd9/KWwe6X6rnBnTm/FUEBLwSc6x8 -1pBnETlNKK4V0usgRGM= -=8GDa +iKYEAREIAGYFAlJoX1JfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl +bnBncC5maWZ0aGhvcnNlbWFuLm5ldEM2NzU5RjUyMDczREJDQkVDQTBDRkE1NERC +Nzk1QThBNDI2MTgzNTQACgkQ23laikJhg1RmowCfQPl85f3rJmsqiyoHDgB11+rf +BzIAoIWtEVBS8XRGva5fOguRKyNTHWIq +=X4Ic -----END PGP SIGNATURE----- diff --git a/net-irc/quassel/quassel-0.8.0.ebuild b/net-irc/quassel/quassel-0.8.0.ebuild deleted file mode 100644 index e186fed35b6a..000000000000 --- a/net-irc/quassel/quassel-0.8.0.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# 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.8.0.ebuild,v 1.11 2013/04/07 21:28:23 floppym 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 -} diff --git a/net-irc/quassel/quassel-0.9.0.ebuild b/net-irc/quassel/quassel-0.9.0.ebuild deleted file mode 100644 index 8813f4731e98..000000000000 --- a/net-irc/quassel/quassel-0.9.0.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# 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.4 2013/08/18 13:44:01 ago 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 -} |