From 8ba00a41303c015c084aa7a62e9b9e19e9dda55e Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Wed, 19 Aug 2015 21:27:35 +0200 Subject: Bump schedule --- sys-apps/schedule/ChangeLog | 5 ++ sys-apps/schedule/Manifest | 2 +- sys-apps/schedule/schedule-7.1.0.ebuild | 87 --------------------------------- sys-apps/schedule/schedule-7.1.1.ebuild | 87 +++++++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+), 88 deletions(-) delete mode 100644 sys-apps/schedule/schedule-7.1.0.ebuild create mode 100644 sys-apps/schedule/schedule-7.1.1.ebuild diff --git a/sys-apps/schedule/ChangeLog b/sys-apps/schedule/ChangeLog index a2e2f617..48a0e4c6 100644 --- a/sys-apps/schedule/ChangeLog +++ b/sys-apps/schedule/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*starter-7.1.1 (19 Aug 2015) + + 19 Aug 2015; Martin Väth : + Version bump, remove old ebuild + *starter-7.1.0 (07 Aug 2015) 07 Aug 2015; Martin Väth : diff --git a/sys-apps/schedule/Manifest b/sys-apps/schedule/Manifest index f6413a6b..3e2fb6fd 100644 --- a/sys-apps/schedule/Manifest +++ b/sys-apps/schedule/Manifest @@ -1 +1 @@ -DIST schedule-7.1.0.tar.gz 46331 SHA256 401ec6f7519b065ee1b73d5ee5dc3993bdaca5f8ea327531ae3d6b35f493ea26 SHA512 0a3a3e9fe13906f8bc02dc2ef2fb84e8b03379778f1b65526554c38e3834f6188955b76590f0b1d8491c6d83c4743aa26668e3889956d11ce5ad8a1fe8ce78dd WHIRLPOOL 3cb5a7c3e502d59786470abe1ac6edb0a56e64d5d731ecdcdc3d2d06577e2644fa0cde4de8cd41cae04599716259a006c2b69190fbd82efc5bf7545720479e0a +DIST schedule-7.1.1.tar.gz 46373 SHA256 20ffa5a4f6970fa21449b4b984d9a57456d4a7b3b5b6b418865319a644b799f6 SHA512 e21a8aeebd4dc2a560973400bc22d5dcdb8f1df5808a5488b38c77bbec6ed41d04605ff16492b5209230ebbad3205b9a60c2f41fd3f0609805103df76119f62c WHIRLPOOL 45e2e7f384c31f2c50b23e27e110513f260d7ccaa8bfa829890d4ec3dc72a0e4d38938c5f20bdb953424b5cd2fa552d19ba0ac850a528b422ed6c1926137b3cc diff --git a/sys-apps/schedule/schedule-7.1.0.ebuild b/sys-apps/schedule/schedule-7.1.0.ebuild deleted file mode 100644 index d9b50ed7..00000000 --- a/sys-apps/schedule/schedule-7.1.0.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -RESTRICT="mirror" -inherit eutils readme.gentoo user systemd - -DESCRIPTION="script to schedule jobs in a multiuser multitasking environment" -HOMEPAGE="https://github.com/vaeth/schedule/" -SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -RDEPEND="!=dev-lang/perl-5.12" -# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-version-0.77 ) -# || ( >=dev-lang/perl-5.1 virtual/perl-File-Path ) -# || ( >=dev-lang/perl-5.9.4 virtual/perl-File-Spec-3.0 ) -# || ( >=dev-lang/perl-5.6.1 >=virtual/perl-Getopt-Long-2.24 ) -# || ( >=dev-lang/perl-5.6.0 >=virtual/perl-IO-1.190.0 ) -# || ( >=dev-lang/perl-5.9.4 virtual/perl-Digest-SHA) # for encryption -DEPEND="" - -DISABLE_AUTOFORMATTING="true" -DOC_CONTENTS="It is recommended to put a lengthy passphrase into the first line -of /etc/schedule.password and to change permission so that only users allowed -to access the system schedule-server can read it. - -You might want to adapt /etc/conf.d/schedule to your needs. -If you use systemd, you might want to override schedule.service locally in -/etc/systemd/system to adapt it to your needs." - -src_prepare() { - use prefix || sed -i \ - -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \ - -e '1s"^#!/usr/bin/env perl$"#!'"${EPREFIX}/usr/bin/perl"'"' \ - -e 's"^/usr/share/schedule"${EPREFIX}/usr/share/${PN}"' \ - -e '/^use FindBin;/,/^\}$/d' \ - -- bin/* || die - epatch_user -} - -src_install() { - dobin bin/* - dodoc README ChangeLog - insinto "/usr/share/${PN}" - doins -r lib/* - doinitd openrc/init.d/* - doconfd openrc/conf.d/* - systemd_dounit systemd/system/* - doenvd env.d/* - insinto /usr/share/zsh/site-functions - doins zsh/* - insinto /etc - ( - umask 027 - : >"${ED}/etc/schedule.password" - ) -} - -generate_password() ( - umask 027 - for i in {1..50} - do printf "%s" "${RANDOM}" - done >"${EPREFIX}/etc/schedule.password" -) - -pkg_postinst() { - optfeature "colored output" '>=dev-lang/perl-5.14' 'virtual/perl-Term-ANSIColor' - optfeature "encryption support" 'dev-perl/Crypt-Rijndael' - if ! use prefix - then enewgroup schedule - enewuser schedule -1 -1 -1 schedule - fi - if ! test -s "${EPREFIX}/etc/schedule.password" - then if generate_password - then ewarn "You should fill ${EPREFIX}/etc/schedule.password with a random password:" - ewarn "the current random value is not necessarily cryptographically strong." - chown 'schedule:schedule' -- "${EPREFIX}/etc/schedule.password" || \ - ewarn "failed to set permissions for ${EPREFIX}/etc/schedule.password" - else ewarn "failed to generate ${EPREFIX}/etc/schedule.password" - fi - fi -} diff --git a/sys-apps/schedule/schedule-7.1.1.ebuild b/sys-apps/schedule/schedule-7.1.1.ebuild new file mode 100644 index 00000000..d9b50ed7 --- /dev/null +++ b/sys-apps/schedule/schedule-7.1.1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +RESTRICT="mirror" +inherit eutils readme.gentoo user systemd + +DESCRIPTION="script to schedule jobs in a multiuser multitasking environment" +HOMEPAGE="https://github.com/vaeth/schedule/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="!=dev-lang/perl-5.12" +# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-version-0.77 ) +# || ( >=dev-lang/perl-5.1 virtual/perl-File-Path ) +# || ( >=dev-lang/perl-5.9.4 virtual/perl-File-Spec-3.0 ) +# || ( >=dev-lang/perl-5.6.1 >=virtual/perl-Getopt-Long-2.24 ) +# || ( >=dev-lang/perl-5.6.0 >=virtual/perl-IO-1.190.0 ) +# || ( >=dev-lang/perl-5.9.4 virtual/perl-Digest-SHA) # for encryption +DEPEND="" + +DISABLE_AUTOFORMATTING="true" +DOC_CONTENTS="It is recommended to put a lengthy passphrase into the first line +of /etc/schedule.password and to change permission so that only users allowed +to access the system schedule-server can read it. + +You might want to adapt /etc/conf.d/schedule to your needs. +If you use systemd, you might want to override schedule.service locally in +/etc/systemd/system to adapt it to your needs." + +src_prepare() { + use prefix || sed -i \ + -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \ + -e '1s"^#!/usr/bin/env perl$"#!'"${EPREFIX}/usr/bin/perl"'"' \ + -e 's"^/usr/share/schedule"${EPREFIX}/usr/share/${PN}"' \ + -e '/^use FindBin;/,/^\}$/d' \ + -- bin/* || die + epatch_user +} + +src_install() { + dobin bin/* + dodoc README ChangeLog + insinto "/usr/share/${PN}" + doins -r lib/* + doinitd openrc/init.d/* + doconfd openrc/conf.d/* + systemd_dounit systemd/system/* + doenvd env.d/* + insinto /usr/share/zsh/site-functions + doins zsh/* + insinto /etc + ( + umask 027 + : >"${ED}/etc/schedule.password" + ) +} + +generate_password() ( + umask 027 + for i in {1..50} + do printf "%s" "${RANDOM}" + done >"${EPREFIX}/etc/schedule.password" +) + +pkg_postinst() { + optfeature "colored output" '>=dev-lang/perl-5.14' 'virtual/perl-Term-ANSIColor' + optfeature "encryption support" 'dev-perl/Crypt-Rijndael' + if ! use prefix + then enewgroup schedule + enewuser schedule -1 -1 -1 schedule + fi + if ! test -s "${EPREFIX}/etc/schedule.password" + then if generate_password + then ewarn "You should fill ${EPREFIX}/etc/schedule.password with a random password:" + ewarn "the current random value is not necessarily cryptographically strong." + chown 'schedule:schedule' -- "${EPREFIX}/etc/schedule.password" || \ + ewarn "failed to set permissions for ${EPREFIX}/etc/schedule.password" + else ewarn "failed to generate ${EPREFIX}/etc/schedule.password" + fi + fi +} -- cgit v1.2.3-65-gdbad