From c7b8dc3166f206b6d86208d330ac775954b95098 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Fri, 14 Nov 2014 23:19:16 +0100 Subject: Bump schedule, mv_perl --- dev-util/mv_perl/ChangeLog | 5 ++ dev-util/mv_perl/Manifest | 2 +- dev-util/mv_perl/mv_perl-2.44.ebuild | 37 -------------- dev-util/mv_perl/mv_perl-2.45.ebuild | 37 ++++++++++++++ sys-apps/schedule/ChangeLog | 5 ++ sys-apps/schedule/Manifest | 2 +- sys-apps/schedule/schedule-6.3.1.ebuild | 86 --------------------------------- sys-apps/schedule/schedule-7.0.0.ebuild | 86 +++++++++++++++++++++++++++++++++ 8 files changed, 135 insertions(+), 125 deletions(-) delete mode 100644 dev-util/mv_perl/mv_perl-2.44.ebuild create mode 100644 dev-util/mv_perl/mv_perl-2.45.ebuild delete mode 100644 sys-apps/schedule/schedule-6.3.1.ebuild create mode 100644 sys-apps/schedule/schedule-7.0.0.ebuild diff --git a/dev-util/mv_perl/ChangeLog b/dev-util/mv_perl/ChangeLog index 3c17ba57..fc4f3e4b 100644 --- a/dev-util/mv_perl/ChangeLog +++ b/dev-util/mv_perl/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*mv_perl-2.45 (14 Nov 2014) + + 14 Nov 2014; Martin Väth : + Version bump, remove old ebuild + *mv_perl-2.44 (11 Nov 2014) 11 Nov 2014; Martin Väth : diff --git a/dev-util/mv_perl/Manifest b/dev-util/mv_perl/Manifest index 57f4953d..6b74d980 100644 --- a/dev-util/mv_perl/Manifest +++ b/dev-util/mv_perl/Manifest @@ -1 +1 @@ -DIST mv_perl-v2.44.tar.gz 66935 SHA256 fc4bb0ed413fa9109c666fa8f39b85220fd65ca9b7c7af1df67bc89b2304a1bb SHA512 668b53634d2efef4a746752cb4aa49e85ec7ab14752caa18bdf9e805f0f623baac23d567778bc619a5738cf00edd4be6f295ef8e3643c5aba63609619b5fce59 WHIRLPOOL dcd899764ac769741c9f062e4836206b4d6e6399c928be2a7362a42038bd6a778a93f7c7edffd04e83716eee0ac75d3c0c8c527aec89cd6e1428055007e7f0c6 +DIST mv_perl-v2.45.tar.gz 66969 SHA256 cd5d1afe221e893e353542c602744a39326ff3c4e2b32bcc6801abd1af16fb9f SHA512 901d157ea3f5ffa4a4fa7334b480b5125043cd1b81518a3d1c702725ccdd2c945fbb7b4f1322770bbfb06a5817d29cd046bd3625ddf8a4cab214ee06d50fe090 WHIRLPOOL ab13ad61a3fe1e6e0bd8c32ab273d4981d8de263e44e3315e8445fc27488b4d412576fad12f85ed7ff4c0d73e2a2b149daa5f2f330795ffbea734f379dd92b69 diff --git a/dev-util/mv_perl/mv_perl-2.44.ebuild b/dev-util/mv_perl/mv_perl-2.44.ebuild deleted file mode 100644 index 6823664e..00000000 --- a/dev-util/mv_perl/mv_perl-2.44.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -RESTRICT="mirror" -inherit eutils - -DESCRIPTION="A collection of perl scripts (replacement in files, syncing dirs etc)" -HOMEPAGE="https://github.com/vaeth/mv_perl/" -SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${PN}-v${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=dev-lang/perl-5.12" -# || ( >=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.7.3 virtual/perl-Digest-MD5 ) -# || ( >=dev-lang/perl-5.7.3 virtual/perl-Time-HiRes ) - -src_prepare() { - epatch_user -} - -src_install() { - dobin bin/* - dodoc README - insinto /usr/share/zsh/site-functions - doins zsh/_* -} - -pkg_postinst() { - optfeature "support to set timestamps of symlinks" 'dev-perl/File-lchown' -} diff --git a/dev-util/mv_perl/mv_perl-2.45.ebuild b/dev-util/mv_perl/mv_perl-2.45.ebuild new file mode 100644 index 00000000..6823664e --- /dev/null +++ b/dev-util/mv_perl/mv_perl-2.45.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +RESTRICT="mirror" +inherit eutils + +DESCRIPTION="A collection of perl scripts (replacement in files, syncing dirs etc)" +HOMEPAGE="https://github.com/vaeth/mv_perl/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${PN}-v${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/perl-5.12" +# || ( >=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.7.3 virtual/perl-Digest-MD5 ) +# || ( >=dev-lang/perl-5.7.3 virtual/perl-Time-HiRes ) + +src_prepare() { + epatch_user +} + +src_install() { + dobin bin/* + dodoc README + insinto /usr/share/zsh/site-functions + doins zsh/_* +} + +pkg_postinst() { + optfeature "support to set timestamps of symlinks" 'dev-perl/File-lchown' +} diff --git a/sys-apps/schedule/ChangeLog b/sys-apps/schedule/ChangeLog index 2d2691be..acf12565 100644 --- a/sys-apps/schedule/ChangeLog +++ b/sys-apps/schedule/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*starter-7.0.0 (14 Nov 2014) + + 14 Nov 2014; Martin Väth : + Version bump, remove old ebuild + *starter-6.3.1 (11 Nov 2014) 11 Nov 2014; Martin Väth : diff --git a/sys-apps/schedule/Manifest b/sys-apps/schedule/Manifest index 9c4a05d6..259a00e3 100644 --- a/sys-apps/schedule/Manifest +++ b/sys-apps/schedule/Manifest @@ -1 +1 @@ -DIST schedule-v6.3.1.tar.gz 44694 SHA256 d8e1400cf29c0f6791601272d7fd8aea02e066c69abe6fbe2afc2670668f3ea6 SHA512 cf1e0cfca1b57823085753e1b3d1a6a906c022247a41283cae500cf184eb13e736c63f7b4f9eb5597e87e1fc220aacb7749e0d31c773eaf1ea4a8799aa681907 WHIRLPOOL c247647b312021818b40197b1200470afe7ab21235b2cdc17372d3e8242f77bdd5bc79e2894cc1909868e2106ef9ae2ea663f1b21f27a2db0eae974a37a2bc73 +DIST schedule-v7.0.0.tar.gz 46031 SHA256 3eb0fb1f80197e2a0cb81d9519f9e1c65fd099b84d87ee6c70213a2a1290644e SHA512 3c61dc7ca8c2ecf8b9a3e2d2e5f09dd4bc9d22d24277a453738d6e02d25f30c51cc7eccefc43625ea60728107433223453131cee537dd0b994693773aa65f72b WHIRLPOOL d384ccbe739391b5143c03b143e1529fb130ccff0aaa4979e1d24f08a8f8ec6a108e2ad9b409232647aa7e1b8fcc87345bdb928863bcc25108125a7d53b5303a diff --git a/sys-apps/schedule/schedule-6.3.1.ebuild b/sys-apps/schedule/schedule-6.3.1.ebuild deleted file mode 100644 index 13018cce..00000000 --- a/sys-apps/schedule/schedule-6.3.1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2014 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 -> ${PN}-v${PV}.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.0.0.ebuild b/sys-apps/schedule/schedule-7.0.0.ebuild new file mode 100644 index 00000000..13018cce --- /dev/null +++ b/sys-apps/schedule/schedule-7.0.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2014 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 -> ${PN}-v${PV}.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