diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-06-13 20:45:01 +0200 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2018-07-11 12:47:15 +0100 |
commit | fa46fe2f58574645be386fcb24bc791db80e9fdf (patch) | |
tree | 3e15adbef4866992d0e128fb96340204a2b24a7d /media-plugins/vdr-vdrmanager | |
parent | media-plugins/vdr-lcdproc: EAPI6, use HTTPs (diff) | |
download | gentoo-fa46fe2f58574645be386fcb24bc791db80e9fdf.tar.gz gentoo-fa46fe2f58574645be386fcb24bc791db80e9fdf.tar.bz2 gentoo-fa46fe2f58574645be386fcb24bc791db80e9fdf.zip |
media-plugins/vdr-vdrmanager: use HTTPs, remove old
Diffstat (limited to 'media-plugins/vdr-vdrmanager')
-rw-r--r-- | media-plugins/vdr-vdrmanager/Manifest | 1 | ||||
-rw-r--r-- | media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.12.ebuild | 78 | ||||
-rw-r--r-- | media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild | 4 |
3 files changed, 2 insertions, 81 deletions
diff --git a/media-plugins/vdr-vdrmanager/Manifest b/media-plugins/vdr-vdrmanager/Manifest index a7e9cbad0079..0911aad1ec6d 100644 --- a/media-plugins/vdr-vdrmanager/Manifest +++ b/media-plugins/vdr-vdrmanager/Manifest @@ -1,2 +1 @@ -DIST vdr-vdrmanager-0.12.tar.gz 34404 BLAKE2B 7148a9b40a558220f9e236ca7c8c5ba110fa9d5a59ae4e80231acea0b8c14526fceafd1077716654f5a2d89667de00bf7ae6412bcb2253884f9b8d9fe85797f9 SHA512 a5b962c53c636c899f2ce62a4f20bc123fb5d4603d506c51b6450fde86348bc5192697876e03bf22952197846f7cf828d743727de0c9903420a05c0c07172265 DIST vdr-vdrmanager-0.14.tgz 30543 BLAKE2B d2ccfbd13b811681daa67d9df841d5add7d0068a1a3f49d901c75d35c7462b50d86faeb8c710069249dd6ae2104508b5be7860bfef56162359c340b052933b1c SHA512 6b8604a5311b64fad82e3934f38524cc0f122968c707989606a5e06755a9c817ab3e7144afa4f561d8aaef8b239b758fe886ee3265410de25491243a8ef18fc3 diff --git a/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.12.ebuild b/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.12.ebuild deleted file mode 100644 index 0427b6c21a46..000000000000 --- a/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.12.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit vdr-plugin-2 ssl-cert - -VERSION="1747" # every bump, new version - -DESCRIPTION="VDR Plugin: remote programming VDR using VDR-Manager running on Android devices" -HOMEPAGE="http://projects.vdr-developer.org/projects/vdr-manager/wiki" -SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tar.gz" - -KEYWORDS="~x86 ~amd64" -SLOT="0" -LICENSE="GPL-2" -IUSE="gzip +ssl -stream zlib" - -DEPEND=">=media-video/vdr-2 - ssl? ( dev-libs/openssl )" -RDEPEND="stream? ( media-plugins/vdr-streamdev[server] ) - zlib? ( sys-libs/zlib )" - -S="${WORKDIR}/${P}" - -VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.12.sh" -VDR_CONFD_FILE="${FILESDIR}/confd-0.12" - -VDRMANAGER_SSL_KEY_DIR="/etc/vdr/plugins/vdrmanager" -VDRMANAGER_SSL_KEY_FILE="${VDRMANAGER_SSL_KEY_DIR}/vdrmanager" - -make_vdrmanager_cert() { - SSL_COUNTRY="${SSL_COUNTRY:-}" - SSL_STATE="${SSL_STATE:-Unknown}" - SSL_LOCALITY="${VDRMANAGER_SSL_LOCALITY:-Unkown}" - SSL_ORGANIZATION="${VDRMNAGER_SSL_ORGANIZATION:-VDR-Manager Plugin}" - SSL_UNIT="${VDRMANAGER_SSL_UNIT:-VDR Server}" - SSL_COMMONNAME="${VDRMANAGER_SSL_COMMONNAME:-`hostname -f`}" - SSL_EMAIL="${VDRMANAGER_SSL_EMAIL:-Unknown}" - SSL_BITS="${VDRMANAGER_SSL_BITS:-1024}" - SSL_DAYS="${VDRMANAGER_SSL_DAYS:-720}" - - rm -f "${ROOT}"${VDRMANAGER_SSL_KEY_FILE}.* - - install_cert ${VDRMANAGER_SSL_KEY_FILE} - - rm -f "${ROOT}"${VDRMANAGER_SSL_KEY_FILE}.{crt,csr,key} - chown vdr:vdr "${ROOT}"${VDRMANAGER_SSL_KEY_FILE}.pem - chmod 0400 "${ROOT}"${VDRMANAGER_SSL_KEY_FILE}.pem -} - -src_prepare() { - vdr-plugin-2_src_prepare - - BUILD_PARAMS+=" VDRMANAGER_USE_GZIP=$(usex gzip 1 0)" - BUILD_PARAMS+=" VDRMANAGER_USE_SSL=$(usex ssl 1 0)" - BUILD_PARAMS+=" VDRMANAGER_USE_ZLIB=$(usex zlib 1 0)" -} - -pkg_postinst() { - vdr-plugin-2_pkg_postinst - - einfo "Add a password to /etc/conf.d/vdr.vdrmanager" - - if use ssl ; then - if path_exists -a "${ROOT}${VDRMANAGER_SSL_KEY_FILE}.pem"; then - einfo "found an existing SSL cert, to create a new SSL cert, run:\n" - einfo "emerge --config ${PN}" - else - einfo "No SSL cert found, creating a default one now" - make_vdrmanager_cert - fi - fi -} - -pkg_config() { - make_vdrmanager_cert -} diff --git a/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild b/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild index 80757050530c..8639a6df48d1 100644 --- a/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild +++ b/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -8,7 +8,7 @@ inherit vdr-plugin-2 ssl-cert VERSION="1971" # every bump, new version DESCRIPTION="VDR Plugin: remote programming VDR using VDR-Manager running on Android devices" -HOMEPAGE="http://projects.vdr-developer.org/projects/vdr-manager/wiki" +HOMEPAGE="https://projects.vdr-developer.org/projects/vdr-manager/wiki" SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" KEYWORDS="~x86 ~amd64" |