summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2011-06-07 17:11:16 +0000
committerDaniel Pielmeier <billie@gentoo.org>2011-06-07 17:11:16 +0000
commit274673fb668982cff3cd21cd590da1378cebc4b4 (patch)
treed85c4016de8a485b1d72d0fdda2425828f902bb4 /www-misc
parentFix underlink. Bug #367675 (diff)
downloadhistorical-274673fb668982cff3cd21cd590da1378cebc4b4.tar.gz
historical-274673fb668982cff3cd21cd590da1378cebc4b4.tar.bz2
historical-274673fb668982cff3cd21cd590da1378cebc4b4.zip
Version bump. Remove old.
Package-Manager: portage-2.1.9.42/cvs/Linux i686
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/vdradmin-am/ChangeLog8
-rw-r--r--www-misc/vdradmin-am/Manifest15
-rw-r--r--www-misc/vdradmin-am/files/vdradmin-3.6.6.init58
-rw-r--r--www-misc/vdradmin-am/vdradmin-am-3.6.8.ebuild (renamed from www-misc/vdradmin-am/vdradmin-am-3.6.7.ebuild)75
4 files changed, 50 insertions, 106 deletions
diff --git a/www-misc/vdradmin-am/ChangeLog b/www-misc/vdradmin-am/ChangeLog
index f7be3a27e368..c5da7be9c3c2 100644
--- a/www-misc/vdradmin-am/ChangeLog
+++ b/www-misc/vdradmin-am/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-misc/vdradmin-am
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/vdradmin-am/ChangeLog,v 1.19 2011/02/27 11:21:45 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-misc/vdradmin-am/ChangeLog,v 1.20 2011/06/07 17:11:15 billie Exp $
+
+*vdradmin-am-3.6.8 (07 Jun 2011)
+
+ 07 Jun 2011; Daniel Pielmeier <billie@gentoo.org> -files/vdradmin-3.6.6.init,
+ -vdradmin-am-3.6.7.ebuild, +vdradmin-am-3.6.8.ebuild:
+ Version bump. Remove old.
27 Feb 2011; Joerg Bornkessel <hd_brummy@gentoo.org>
vdradmin-am-3.6.7-r1.ebuild:
diff --git a/www-misc/vdradmin-am/Manifest b/www-misc/vdradmin-am/Manifest
index a6f9a0683cce..d863d8e68107 100644
--- a/www-misc/vdradmin-am/Manifest
+++ b/www-misc/vdradmin-am/Manifest
@@ -2,19 +2,18 @@
Hash: SHA1
AUX vdradmin-3.6.6.conf 512 RMD160 a293a685c79a3f0fd7eb8c82662d789a3089d2bf SHA1 38ad0d0a7c7c5eefb1b063d2f881720df4462bb8 SHA256 7621749f8bc17b44c036a8f7b592be8fef18e21ce44c4ca2719cf7fb28258df4
-AUX vdradmin-3.6.6.init 1959 RMD160 2a4266e43687d785789494dda40503d3744693d3 SHA1 f6e045cf76484c1385dc2bf71999506780f16a60 SHA256 ff747908e4bbd93502b17c5547d5436363d9d799c48eb7257de7897a5e7e9688
AUX vdradmin-3.6.6.logrotate 116 RMD160 bf4e29e03b515306521a9e5c8e20445622ff4ea0 SHA1 99d26a22124c7d3821b4871fc3aa5914b90b97c0 SHA256 2eb705ff7ab186d2a0287d3e91afe7d59be39f896fd9a62d875d8f13db1312af
AUX vdradmin-3.6.7.init 1988 RMD160 d85dc39535f09b92962c7355e5b5a9e38be17db7 SHA1 b7abe4fe58888de341230a2c126482850db78608 SHA256 d903fb0ee336a9bd8c27054c89c5493465d38fd7f9089eb4759ef8b7fd862bc5
DIST vdradmin-am-3.6.7.tar.bz2 545850 RMD160 d48dea7caf30716d2dac4132612160d1c35fa596 SHA1 68c380ed038a36968c72fb5462eaebb2f97eb61d SHA256 48fb4edb16f65e7f340bd57b4d205c1718e37f40d22bf3a76515812f3f45b39b
+DIST vdradmin-am-3.6.8.tar.bz2 556528 RMD160 1bd3b49518f3d6b8127b4b1c678c632fc3ef4689 SHA1 ec050f8561854644e34f3e347ce43fa7a6debb6f SHA256 71f365019741c3e7192f3342d30e550e0f52c77fa687691b0c239ce5859b3aaf
EBUILD vdradmin-am-3.6.7-r1.ebuild 4612 RMD160 cccd8d14b5ccf99e12b594984c3b68fd01b94731 SHA1 9927d0a015e91e99c04730ae02f6d38b43334324 SHA256 4a075f7a43bc84e55fbb84e9833d0356b5471052eaa3d8fa0fc37061a2c89204
-EBUILD vdradmin-am-3.6.7.ebuild 4449 RMD160 3b74b7578ba56bbd4bf030c840c70741052db9d1 SHA1 d3c019f5925c2feb2c8a10b18ac5b5bae49bf72f SHA256 f218f1969f32d9b3c3c6f7cebe8e767798167bdf03f52bd7202ba8b9b4f427dd
-MISC ChangeLog 9821 RMD160 0d7bad31d68b567f975c1f3dca925a06acdf6568 SHA1 c99f20660b461c343d99048fea701744479489b4 SHA256 2179e21126498b5a646da4bfc2ac8a4107d2e34258aa3e802cd6ce108efc6a0d
+EBUILD vdradmin-am-3.6.8.ebuild 4538 RMD160 bbef253560a71dd1313a0dcf718fb60d1bddd196 SHA1 b6f5cbddbc9405b6f6b28ce22a29ea23cfbcab70 SHA256 5fc49b102eaa11bf91115e4bcec41c3235e04e9cbfbcc1349167db039db6ec1e
+MISC ChangeLog 10017 RMD160 fe46afbd733ad44826a2b230e699dc95b99f7b72 SHA1 bf5b7624812d8aedf9eaa957ef6e6ee27daaf015 SHA256 2678e6b5610b3cb28b2a351dfd80d78bf83d2c1b98ce0feb2a6265e3cf0139aa
MISC metadata.xml 748 RMD160 ce0254901737f368bfeb829b70d30c271c25bf14 SHA1 0ba36d4140d383486008e64ac7b9c84ce4c73cc6 SHA256 eb1d48cf2b7dfb0b9810fb1ce3c76fdd25c00fd1e4a93dfdf4b89b04f8024470
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-Comment: added by hd_brummy@gentoo.org
+Version: GnuPG v2.0.17 (GNU/Linux)
-iD8DBQFNajQRdn07HTTCgIoRAuIbAJ4tNeqfwBlfNodLnFSqhy0hEe2E1QCguwA5
-GBKTRzvKJBQ6kpJys57vZm0=
-=0NQD
+iEYEARECAAYFAk3uW9cACgkQlcuUeyFa0U3+yQCeJZBQCjGA0DiIEK0Pppcgg+qB
+lvsAoNQDZiOnXZ0vknI38EmllYSp5m2p
+=GRs8
-----END PGP SIGNATURE-----
diff --git a/www-misc/vdradmin-am/files/vdradmin-3.6.6.init b/www-misc/vdradmin-am/files/vdradmin-3.6.6.init
deleted file mode 100644
index 8082613f6bdb..000000000000
--- a/www-misc/vdradmin-am/files/vdradmin-3.6.6.init
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/www-misc/vdradmin-am/files/vdradmin-3.6.6.init,v 1.2 2010/04/22 17:11:25 billie Exp $
-
-depend() {
- use vdr
-}
-
-start() {
- ebegin "Starting vdradmin"
-
- : ${VDRADMIN_USER:=vdradmin}
-
- local vdradmin_opts
- if [ "${SSL}" = "yes" ]; then vdradmin_opts="${vdradmin_opts} --ssl"; fi
- if [ "${IPV6}" = "yes" ]; then vdradmin_opts="${vdradmin_opts} --ipv6"; fi
- vdradmin_opts="${vdradmin_opts} --log ${LOGLEVEL:=4}"
-
- if [ "${LOGGING}" = "syslog" ]; then
- sed -i -e "/LOGGING/s-LOGGING.*-LOGGING = 1-" /etc/vdradmin/vdradmind.conf
- sed -i -e "/LOGFILE/s-LOGFILE.*-LOGFILE = syslog-" /etc/vdradmin/vdradmind.conf
- elif [ "${LOGGING}" = "file" ]; then
- local logfile=/var/log/vdradmin/vdradmind.log
- sed -i -e "/LOGGING/s-LOGGING.*-LOGGING = 1-" /etc/vdradmin/vdradmind.conf
- sed -i -e "/LOGFILE/s-LOGFILE.*-LOGFILE = vdradmind.log-" /etc/vdradmin/vdradmind.conf
- if [ ! -e ${logfile} ] ; then touch ${logfile}; fi
- else
- sed -i -e "/LOGGING/s-LOGGING.*-LOGGING = 0-" /etc/vdradmin/vdradmind.conf
- fi
-
- # Prepare directories
- local folder
- chown -R "${VDRADMIN_USER}:vdradmin" /etc/vdradmin
- for folder in cache log run; do
- if [ ! -d /var/${folder}/vdradmin ]; then
- mkdir /var/${folder}/vdradmin
- fi
- chown -R "${VDRADMIN_USER}:vdradmin" /var/${folder}/vdradmin
- done
-
- if [ -x /etc/init.d/root ]; then
- # running on baselayout-2/openrc
- start-stop-daemon --start --background --user "${VDRADMIN_USER}" \
- --pidfile /var/run/vdradmin/vdradmind.pid \
- --exec /usr/bin/perl /usr/bin/vdradmind -- ${vdradmin_opts}
- else
- start-stop-daemon --start --background --chuid "${VDRADMIN_USER}" \
- --exec /usr/bin/vdradmind -- ${vdradmin_opts}
- fi
- eend $?
-}
-
-stop() {
- ebegin "Stopping vdradmin"
- start-stop-daemon --stop --quiet --pidfile /var/run/vdradmin/vdradmind.pid
- eend $?
-}
diff --git a/www-misc/vdradmin-am/vdradmin-am-3.6.7.ebuild b/www-misc/vdradmin-am/vdradmin-am-3.6.8.ebuild
index 3c15ffefb39e..8a9a1ecc5979 100644
--- a/www-misc/vdradmin-am/vdradmin-am-3.6.7.ebuild
+++ b/www-misc/vdradmin-am/vdradmin-am-3.6.8.ebuild
@@ -1,18 +1,18 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/vdradmin-am/vdradmin-am-3.6.7.ebuild,v 1.3 2010/10/26 21:54:14 billie Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-misc/vdradmin-am/vdradmin-am-3.6.8.ebuild,v 1.1 2011/06/07 17:11:15 billie Exp $
-EAPI=2
+EAPI=4
inherit eutils ssl-cert
DESCRIPTION="WWW Admin for the Video Disk Recorder"
HOMEPAGE="http://andreas.vdr-developer.org/vdradmin-am/index.html"
-SRC_URI="http://andreas.vdr-developer.org/download/${P}.tar.bz2"
+SRC_URI="http://andreas.vdr-developer.org/vdradmin-am/download/${P}.tar.bz2"
-KEYWORDS="~amd64 x86"
-SLOT="0"
LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
IUSE="ipv6 ssl +vdr"
DEPEND="dev-lang/perl
@@ -32,8 +32,6 @@ RDEPEND="${DEPEND}"
ETC_DIR=/etc/vdradmin
CERTS_DIR=/etc/vdradmin/certs
LIB_DIR=/usr/share/vdradmin
-LOG_DIR=/var/log/vdradmin
-PID_DIR=/var/run/vdradmin
CACHE_DIR=/var/cache/vdradmin
VDRADMIN_USER=vdradmin
VDRADMIN_GROUP=vdradmin
@@ -56,23 +54,18 @@ pkg_setup() {
if ! use vdr; then
elog
- elog "You can run vdradmin-am outside a vdr install. For minimal"
+ elog "You can run ${PN} outside a vdr install. For minimal"
elog "functionality you need access to the epg.data file of your VDR."
fi
}
src_prepare() {
sed -i vdradmind.pl \
- -e "/COMPILE_DIR/s-/tmp-${CACHE_DIR}-" \
- -e "s-FILES_IN_SYSTEM = 0;-FILES_IN_SYSTEM = 1;-g"
+ -e "s-FILES_IN_SYSTEM = 0;-FILES_IN_SYSTEM = 1;-g" || die
}
-src_configure() { : ; }
-
-src_compile() { : ; }
-
src_install() {
- newinitd "${FILESDIR}"/vdradmin-3.6.6.init vdradmin
+ newinitd "${FILESDIR}"/vdradmin-3.6.7.init vdradmin
newconfd "${FILESDIR}"/vdradmin-3.6.6.conf vdradmin
insinto /etc/logrotate.d
@@ -91,31 +84,32 @@ src_install() {
newman vdradmind.pl.1 vdradmind.8
- dodoc CREDITS HISTORY INSTALL README* REQUIREMENTS FAQ ChangeLog
+ dodoc CREDITS ChangeLog FAQ HISTORY INSTALL README* REQUIREMENTS
docinto contrib
dodoc "${S}"/contrib/*
diropts "-m755 -o ${VDRADMIN_USER} -g ${VDRADMIN_GROUP}"
- keepdir "${ETC_DIR}"
- keepdir "${CACHE_DIR}"
- keepdir "${LOG_DIR}"
- keepdir "${PID_DIR}"
- use ssl && keepdir "${CERTS_DIR}"
+ keepdir ${ETC_DIR}
+ use ssl && keepdir ${CERTS_DIR}
}
pkg_preinst() {
- if [[ -f ${ROOT}${ETC_DIR}/vdradmind.conf ]]; then
- cp "${ROOT}"${ETC_DIR}/vdradmind.conf "${D}"${ETC_DIR}/vdradmind.conf
+ install -m 0644 -o ${VDRADMIN_USER} -g ${VDRADMIN_GROUP} /dev/null \
+ "${D}"${ETC_DIR}/vdradmind.conf || die
+
+ if [[ -f "${ROOT}"${ETC_DIR}/vdradmind.conf ]]; then
+ cp "${ROOT}"${ETC_DIR}/vdradmind.conf \
+ "${D}"${ETC_DIR}/vdradmind.conf || die
else
elog
elog "Creating a new config-file."
echo
cat <<-EOF > "${D}"${ETC_DIR}/vdradmind.conf
- VDRCONFDIR = /etc/vdr
- VIDEODIR = /var/vdr/video
- EPG_FILENAME = /var/vdr/video/epg.data
- EPGIMAGES = /var/vdr/video/epgimages
+ VDRCONFDIR = "${ROOT%/}"/etc/vdr
+ VIDEODIR = "${ROOT%/}"/var/vdr/video
+ EPG_FILENAME = "${ROOT%/}"/var/vdr/video/epg.data
+ EPGIMAGES = "${ROOT%/}"/var/vdr/video/epgimages
PASSWORD = gentoo-vdr
USERNAME = gentoo-vdr
EOF
@@ -124,12 +118,13 @@ pkg_preinst() {
| "${D}"/usr/bin/vdradmind --cfgdir "${D}"${ETC_DIR} --config \
|sed -e 's/: /: \n/g'
- [[ ${PIPESTATUS[1]} == "0" ]] || die "Failed to create initial configuration."
+ [[ ${PIPESTATUS[1]} == "0" ]] \
+ || die "Failed to create initial configuration."
elog
elog "Created default user/password: gentoo-vdr/gentoo-vdr"
elog
- elog "You can run \"emerge --config vdradmin-am\" if the default-values"
+ elog "You can run \"emerge --config ${PN}\" if the default-values"
elog "do not match your installation or change them in the Setup-Menu"
elog "of the Web-Interface."
fi
@@ -147,23 +142,25 @@ pkg_postinst() {
elog "To use ssl connection to your vdr"
elog "you need to enable it in ${ROOT%/}/etc/conf.d/vdradmin"
- if [[ ! -f "${ROOT}${CERTS_DIR}/server-cert.pem" && \
- ! -f "${ROOT}${CERTS_DIR}/server-key.pem" ]]; then
+ if [[ ! -f "${ROOT}"${CERTS_DIR}/server-cert.pem || \
+ ! -f "${ROOT}"${CERTS_DIR}/server-key.pem ]]; then
create_ssl_cert
local base=$(get_base 1)
- install -m0400 "${base}.key" "${ROOT}${CERTS_DIR}/server-key.pem"
- install -m0444 "${base}.crt" "${ROOT}${CERTS_DIR}/server-cert.pem"
+ install -D -m 0400 -o ${VDRADMIN_USER} -g ${VDRADMIN_GROUP} \
+ "${base}".key "${ROOT}"${CERTS_DIR}/server-key.pem || die
+ install -D -m 0444 -o ${VDRADMIN_USER} -g ${VDRADMIN_GROUP} \
+ "${base}".crt "${ROOT}"${CERTS_DIR}/server-cert.pem || die
fi
fi
elog
- elog "To extend vdradmin-am you can emerge"
- elog ">=media-plugins/vdr-epgsearch-0.9.25 to search the EPG"
- elog "media-plugins/vdr-streamdev for livetv streaming"
+ elog "To extend ${PN} you can emerge"
+ elog ">=media-plugins/vdr-epgsearch-0.9.25 to search the EPG,"
+ elog "media-plugins/vdr-streamdev for livetv streaming and/or"
elog "media-video/vdr with USE=\"liemikuutio\" to rename recordings"
- elog "on the machine running the VDR you connect to with vdradmin-am."
+ elog "on the machine running the VDR you connect to with ${PN}."
}
pkg_config() {
- /usr/bin/vdradmind -c
+ "${ROOT}"/usr/bin/vdradmind -c
}