diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2013-11-07 11:43:00 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2013-11-07 11:43:00 +0000 |
commit | a202a257f575119b715e933ce67258dac4ced2b2 (patch) | |
tree | a3be68a71d0dadbca2f576ed555d4c2723bb2ac3 /sys-process | |
parent | media-video/nvidia-settings: Version BUmp (diff) | |
download | historical-a202a257f575119b715e933ce67258dac4ced2b2.tar.gz historical-a202a257f575119b715e933ce67258dac4ced2b2.tar.bz2 historical-a202a257f575119b715e933ce67258dac4ced2b2.zip |
Really mark sparc stable this time (bug #308055). Removed vulnerable versions
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/vixie-cron/ChangeLog | 8 | ||||
-rw-r--r-- | sys-process/vixie-cron/Manifest | 35 | ||||
-rw-r--r-- | sys-process/vixie-cron/vixie-cron-4.1-r10.ebuild | 123 | ||||
-rw-r--r-- | sys-process/vixie-cron/vixie-cron-4.1-r12.ebuild | 123 | ||||
-rw-r--r-- | sys-process/vixie-cron/vixie-cron-4.1-r13.ebuild | 125 | ||||
-rw-r--r-- | sys-process/vixie-cron/vixie-cron-4.1-r14.ebuild | 4 |
6 files changed, 25 insertions, 393 deletions
diff --git a/sys-process/vixie-cron/ChangeLog b/sys-process/vixie-cron/ChangeLog index 3770dc85f6fb..f423ad60205e 100644 --- a/sys-process/vixie-cron/ChangeLog +++ b/sys-process/vixie-cron/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-process/vixie-cron # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/ChangeLog,v 1.79 2013/10/25 11:00:05 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/ChangeLog,v 1.80 2013/11/07 11:42:59 polynomial-c Exp $ + + 07 Nov 2013; Lars Wendler <polynomial-c@gentoo.org> + -vixie-cron-4.1-r10.ebuild, -vixie-cron-4.1-r12.ebuild, + -vixie-cron-4.1-r13.ebuild, vixie-cron-4.1-r14.ebuild: + Really mark sparc stable this time (bug #308055). Removed vulnerable + versions. 25 Oct 2013; Agostino Sarubbo <ago@gentoo.org> vixie-cron-4.1-r14.ebuild: arm stable wrt bug #308055 diff --git a/sys-process/vixie-cron/Manifest b/sys-process/vixie-cron/Manifest index 03f1bb407ad0..7de212ac57db 100644 --- a/sys-process/vixie-cron/Manifest +++ b/sys-process/vixie-cron/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX cron.pam.d 123 SHA256 dba1c0db92936b0a0528ac2d86610b3d46102f02c87f19a97a8af002a4132901 SHA512 56f174026ea8b7887f4acc7e2b3481aedab2adc67a6d67d8e71916b9eedc8c3f0f8ed1c74b3e868230cfd721851f34e2f1893c69c6a925cafe26067719a8a36b WHIRLPOOL c4bf7443e96b131055f10af82a60518c8ef0307c1f36281632a66d06adbe03adc2ee47f5bdb1b9c7dd058c6dd4ec2555c6be82a3bfc9819793b6ac793e605b76 AUX crontab 600 SHA256 4a9f79c61e1dbf99597fdccb5e77692fd27bddb47ea770ed54e9735ea01ef020 SHA512 c86417c938e786c63d88ff88a80d8e7de447000e80a1c0d5aea4d56321257bffff5b09bd7a6ad9e63be8e8d25a722d0e34aa2ba24b9c9a15cc0f10f5b3849f6c WHIRLPOOL 3f1ea2f41441e00fdf86810213552e6c2fd27bcecdd5738aa3b66c97aeadbdd01845b77a8ce838909f164899cdd553f2b6ac7d9a1ccf65211f73c5420b786068 @@ -20,26 +20,23 @@ AUX vixie-cron.rc7 355 SHA256 2e32dd98703f2ebe89894db5ba34f0c251c8fdbd80503e5343 AUX vixie-cron.service 158 SHA256 54c27aef74a98ad7a2c74456b4e8aa933ae13aa9ee7ac2dbffabc449a7c95b3d SHA512 ac4d0c243ff651708a7dd9131a82fd2379fdcecff929bc58c25e9ac3668ef94b65bcd385877ce129ae3bfa47dc542b597453028d54cd82100f28c7456841e7b6 WHIRLPOOL f6f04b84939d2fc3c8f9d96ce7e1afd77cf687c976473097ef45acedc9e3eeb74cc44f26d1a665385ac9d72b24e8f67092a9481fb19b1bc8abc2ea19338601d5 DIST vixie-cron-4.1-gentoo-r4.patch.bz2 4204 SHA256 8de14b11da567f7859df3dcf71802f32ac1b3650ae07c6cb6dbc259e1f6da7fc SHA512 eec8f89a97927a3557bd1350ed7e9baa0ec133e2c49f8f0fbf51adf62c377451dc48867ca6affcc7576833a5b6b749613c9b99641b1b658853f91d8071c3411b WHIRLPOOL 9951885d10f0f49cb0b66b1b592a870f24c04647688422c7fb396e266af0aeed7ae357bb571f13ee30aeec747ecfe78abb0335f80ea5bfd0084aee4321a581d4 DIST vixie-cron-4.1.tar.bz2 54246 SHA256 fd25119b301e0e8306ec27ee912298740c5c8ae879bac02381429cf355d1122d SHA512 1db9a246243dbd4934438ce70bf022215ccffed4b899a77b076d5a7679a7b98a23ef67344e329fc7a836df90685581e10b1c95709db40601c33d2052ce561e04 WHIRLPOOL e137a0e056103efc1bf0aa022bf0f9e2ca3ab8bb3ff97645de27c2e381a4aa5303d477cd1bc6220177aa503c2bce5bbe2331d311dfac4f5ab43cf6928dbe1ea7 -EBUILD vixie-cron-4.1-r10.ebuild 3493 SHA256 0a2bcab0d21d1c8bdf1882eb331aa239ed8c00b07a63e410ed795e4dd5e6432e SHA512 298fcaf5ed7a0ac022d658e25e671d342c6a5efeb1b101b864e487ae1221dfc253b3df0f10516a03fd1c7f8fb5f7224b9a22a237feebe2cf979ce0d930673151 WHIRLPOOL ef2c7431dc76e9062a1926db2c1c4107d7107fa4cf76bd870dc6b2e24f94c9cf5becf892cc091aeebd8596df94c1d492f28a94a179f245dcedfba0b342bf80f2 -EBUILD vixie-cron-4.1-r12.ebuild 3515 SHA256 b000683f0aadb7bd900a17744ea477545529b724ae9f6d84f01c42a0797f4dc8 SHA512 70c898e3b9f293ca26f9f9e6b8e2d4fb4eab8d49ba0143742aa190ff5267729dbfa010ba7537f1367f568a0e81221405eca5d857e98909554582d538134b75f5 WHIRLPOOL 7881c30ed8f72679438c43f0a19ca9cb1923f9167aedf9545e25dcec952d32365b62a1cd83c9973e3a895f8a5b18dbb66e9d64adcd7e4e84a59ba677fe31c1f8 -EBUILD vixie-cron-4.1-r13.ebuild 3568 SHA256 33ae62afbfed4ab619befa868dc0820728e20c3b397b962cf7b6cbb4dc23ca7b SHA512 91e6e941f9f494c1334b3dc31c1c4fc3a1483f115db3ff19ce6feb0f87956522054eee1c671db536600ed8cefa127ab54635111f4a7e6a077a0dcc27ce4a30c0 WHIRLPOOL f66b84b7b674f5babbbdcf0e78ab0b67ef2bdab9dec7e93231e3aa9037a294a6692b6598e4a9e31e52293c629491e9849680541e11122d68b1a8cf4a32bb93ef -EBUILD vixie-cron-4.1-r14.ebuild 3605 SHA256 fc13c52bfec30e0c12666a64eb57d5a90a5f3d2d2ecf9e3be5585bf35dbe8bb2 SHA512 979919d302f65bf22173767716fdcefce41aa8175061cef91f191b2880f8449a98158f506387b1727f0d25cb44b53d92b148154d64824d65574633997adc046c WHIRLPOOL 9325b246a1e9f87bc19364e921c40366fa74b84541aec10f7d48bdda60462207a11569e955c9ba473d6dccda03bf06687b19e22ee7693306a875ccbb601ba23b -MISC ChangeLog 23744 SHA256 4d32000ed4676728eb7efda38b0aa0aa7eb380518c90efda46c6aa9e537a4587 SHA512 5d63f92224361081c6c6d6a9574e48e45155abd707537ac1ce6fbd23b854e54e1f24202a31165cd324eb42edb83bc2ced204da278b6ecb461efa678bd32f7732 WHIRLPOOL 2a4d9c9bdeaf15f23e8345bec6677884f1c73ca539578da4542da76e437aca3a7854b880bf95a7d88f339012727f559f87994a4509e3939548aad19a1455e2a6 +EBUILD vixie-cron-4.1-r14.ebuild 3614 SHA256 53b619590f0ad06c1cd5246dab635b295cccd0c83e31a776aa383d0f225c2039 SHA512 8e073bf42a306b4aac4b2b6dd7028381616d977f48fa9550bc83f5eb518e33fac3c463f20faacdc0d8966860082f3df8046916376535a62872944c1e588e39f1 WHIRLPOOL 05319081bc7162fb073d3a4201c4823849d2be082dffc6793a6b14a6be92a1aa1856e29b23057abc853fa355ec3a5f4fa85211cb412e1609ab8f4a0f817404cf +MISC ChangeLog 24006 SHA256 610b6420b335e6939fd5c3f178cf18276a23f42ff5bb6abdf9d4c67ec6b9ba12 SHA512 d0a7197df75b7938c762427158430630d8e4fa47bef7106a829c64cdefd29e7a33fa36e5385718a98164436f513010f5187cdb0d41fef25def398dd45c047107 WHIRLPOOL 4ae3bc33e43890056d8a56752c79404e4e7a894a6f992d7401c1fade6bb8d8d09ce11985c0e7665a2b049c6dd8c9b901586565cdb8a11d91d9e14d155fdbee2b MISC metadata.xml 158 SHA256 a262a73b2049a89ab6a4bdf51df27bea44c7f0aa0ee33176c59a9c63eb45e764 SHA512 0848ecc6b5e718ad001952843f69815fd8c3f50d126d3a2bbc48b86a9bfa21eab50fdb2eb11188362b8ead9db4cefb3719b53e0b76e4412a7a9a377a091e60bc WHIRLPOOL 3034b4ecfc87a8678ffab15dfc07af401c1b53660f7369b80a63b5c20300a3701068e87d7f6ff28ac1fd1c373051ce895e0316ecf7d9e91ad4eb627702b1ba02 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCgAGBQJSak81AAoJELp701BxlEWf0YYQAIWEGsojaAF29lMzft2UWzge -lDWi4mX12bKz/mp49fLzcrgltMvh+M+9L8KXFezbJAQ99b5P+/z5sAdbkqiWfF/V -XGUVeh6l42B6ddIhEym7GGhfaeN5McOekKy1oU1zNEsDEi1x0MLHJKosHT2c3LSQ -tYrbg6xt/xcN8eELJpSPXIxqQKma9V0TRoxGe571wf5TpCZ24FwX461e9/Vh5xSM -yTYE2XBDEuddcGA5S5GpMbLiPaY7aRgR7W9Q479yO+K9zebRjmAhjwAhXHF0A0PS -A+XFbu4QrAoY/VmV5GpzDyIsLHhClqGUejevKcyXvpAlzOrY3hiAs6H4fEKAotjg -JQRmmZGjqv/geXmLtDRwYIRgZ1ibttHCPTVltYcwB9o4hIJg9IBBqmRgFRgxataX -lE7dzBCt9aGdrmLRake8PlmiDo1AlOdezqaQfuxzV8u62RpZnqmmL7QmiQtNgl3r -RK2b79P0J0HA1loFYEqIljFRxynFXONzXwkk9yh64dJhMYwxkH0ZseUy6gS8ZIum -Gn0I7RBTA9KH3kWmteMYqVmZv2SPJJInCJYx0Ksz5l36cXxqYRuyNmAAGfegLyCn -bdPEfFMhdV3vEGkAv012ueoW08p2dWeL/cVZ4Mz6mVGWSCOjSOYkTD4dlSIeDvzY -rOLxz1AtscxXcL0kIxiY -=sJGg +iQIcBAEBCAAGBQJSe3zEAAoJEPiazRVxLXTFUAMP/1vpRF2qOaAFSzHCsqB68Cqk +rYeCA3yGzPeOCcqvbbEgum2Somi56r8Vrish1LYRclwkNguudysybHF/poUXvNgR +lnECoL7qxXRgXOw7wF1s9KgMd/OQ1Cl07fmX6gphe51nt2ZoRad27bnocm8QGY2K +XfEjhGzL0iIXTdHvu4+co5x4fSWmC+bWFLKV/QEQ+2uc21r9X3Kw01y4bztYyx7n +/hpC907aN3RDrQol2dDZX5Q9hEI2x4UaK3UDNe9OxcRlxe7352Rl4dZyIcz/2pA6 +TRfZBwTrafv2ADhnDVuM2S+oLFYoXavGTLoDgNexnLHZ1Nfm5bfSy2IbJxlYjTFg +QIX5yuMXjD4SHnOF/2oBAndxOI9Z8a5gjeZUtsdrYgrTql5+RvvUCgb793kJtKS6 +BnWwWl7IBrqHJ+ykiMceflDi/MaLbmBC8BBsJrVVdLu1Q22pfZBsX7dJppTnEIci +2Nasms78W1n18dwTdXefjRaTqqCc+qrTQo196RH+BkQLWjA1okPZ7MNZ3Fvk/opW +mztChnp2bjqCOj4aaciHy9Du5NcJS680Tbm0KU09bf8Y4p8bCFCPWfPKJ9v0NJpq +n30cK+VDUJ/dfLxgE6zB/cMKf0gGq5jobgiDFY1gGSa8AfdMYjGWyCFGg0+Gmk6k +VC7l/NjkxGvCrFpa1QQM +=rzF0 -----END PGP SIGNATURE----- diff --git a/sys-process/vixie-cron/vixie-cron-4.1-r10.ebuild b/sys-process/vixie-cron/vixie-cron-4.1-r10.ebuild deleted file mode 100644 index d6812ff25cf1..000000000000 --- a/sys-process/vixie-cron/vixie-cron-4.1-r10.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-4.1-r10.ebuild,v 1.16 2012/05/24 05:46:25 vapier Exp $ - -inherit cron toolchain-funcs pam eutils flag-o-matic user - -# no useful homepage, bug #65898 -HOMEPAGE="ftp://ftp.isc.org/isc/cron/" -DESCRIPTION="Paul Vixie's cron daemon, a fully featured crond implementation" - -SELINUX_PATCH="${P}-selinux.diff" -GENTOO_PATCH_REV="r4" - -SRC_URI="mirror://gentoo/${P}.tar.bz2 - mirror://gentoo/${P}-gentoo-${GENTOO_PATCH_REV}.patch.bz2" - -LICENSE="ISC BSD-2 BSD" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="selinux pam debug" - -DEPEND="selinux? ( sys-libs/libselinux ) - pam? ( virtual/pam )" - -RDEPEND="selinux? ( sys-libs/libselinux ) - pam? ( virtual/pam )" - -#vixie-cron supports /etc/crontab -CRON_SYSTEM_CRONTAB="yes" - -pkg_setup() { - enewgroup crontab -} - -src_unpack() { - unpack ${A} - cd ${S} - - epatch "${WORKDIR}"/${P}-gentoo-${GENTOO_PATCH_REV}.patch - epatch "${FILESDIR}"/crontab.5.diff - epatch "${FILESDIR}"/${P}-commandline.patch - epatch "${FILESDIR}"/${P}-basename.diff - epatch "${FILESDIR}"/${P}-setuid_check.patch - epatch "${FILESDIR}"/${P}-hardlink.patch - - use pam && epatch "${FILESDIR}"/${P}-pam.patch - use selinux && epatch "${FILESDIR}"/${SELINUX_PATCH} -} - -src_compile() { - use debug && append-flags -DDEBUGGING - - sed -i -e "s:gcc \(-Wall.*\):$(tc-getCC) \1 ${CFLAGS}:" \ - -e "s:^\(LDFLAGS[ \t]\+=\).*:\1 ${LDFLAGS}:" Makefile \ - || die "sed Makefile failed" - - emake || die "emake failed" -} - -src_install() { - docrondir -m 1730 -o root -g crontab - docron - docrontab -m 2755 -o root -g crontab - - # /etc stuff - insinto /etc - newins "${FILESDIR}"/crontab-3.0.1-r4 crontab - newins "${FILESDIR}"/${P}-cron.deny cron.deny - - keepdir /etc/cron.d - newpamd "${FILESDIR}"/pamd.compatible cron - newinitd "${FILESDIR}"/vixie-cron.rc6 vixie-cron - - # doc stuff - doman crontab.1 crontab.5 cron.8 - dodoc "${FILESDIR}"/crontab - dodoc CHANGES CONVERSION FEATURES MAIL README THANKS -} - -pkg_preinst() { - has_version "<${CATEGORY}/${PN}-4.1-r10" - fix_spool_dir_perms=$? -} - -pkg_postinst() { - if [[ -f ${ROOT}/etc/init.d/vcron ]] - then - ewarn "Please run:" - ewarn "rc-update del vcron" - ewarn "rc-update add vixie-cron default" - fi - - # bug 71326 - if [[ -u ${ROOT}/etc/pam.d/cron ]] ; then - echo - ewarn "Warning: previous ebuilds didn't reset permissions prior" - ewarn "to installing crontab, resulting in /etc/pam.d/cron being" - ewarn "installed with the SUID and executable bits set." - ewarn - ewarn "Run the following as root to set the proper permissions:" - ewarn " chmod 0644 /etc/pam.d/cron" - echo - fi - - # bug 164466 - if [[ $fix_spool_dir_perms = 0 ]] ; then - echo - ewarn "Previous ebuilds didn't correctly set permissions on" - ewarn "the crontabs spool directory. Proper permissions are" - ewarn "now being set on ${ROOT}var/spool/cron/crontabs/" - ewarn "Look at this directory if you have a specific configuration" - ewarn "that needs special ownerships or permissions." - echo - chmod 1730 "${ROOT}/var/spool/cron/crontabs" || die "chmod failed" - chgrp -R crontab "${ROOT}/var/spool/cron/crontabs" || die "chgrp failed" - cd "${ROOT}/var/spool/cron/crontabs/" - for cronfile in * ; do - [[ ! -f $cronfile ]] || chown "$cronfile:crontab" "$cronfile" \ - || ewarn "chown failed on $cronfile, you probably have an orphan file." - done - fi - - cron_pkg_postinst -} diff --git a/sys-process/vixie-cron/vixie-cron-4.1-r12.ebuild b/sys-process/vixie-cron/vixie-cron-4.1-r12.ebuild deleted file mode 100644 index 0a7b258f95dc..000000000000 --- a/sys-process/vixie-cron/vixie-cron-4.1-r12.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-4.1-r12.ebuild,v 1.3 2012/05/24 05:46:25 vapier Exp $ - -inherit cron toolchain-funcs pam eutils flag-o-matic user - -# no useful homepage, bug #65898 -HOMEPAGE="ftp://ftp.isc.org/isc/cron/" -DESCRIPTION="Paul Vixie's cron daemon, a fully featured crond implementation" - -SELINUX_PATCH="${P}-selinux-1.diff" -GENTOO_PATCH_REV="r4" - -SRC_URI="mirror://gentoo/${P}.tar.bz2 - mirror://gentoo/${P}-gentoo-${GENTOO_PATCH_REV}.patch.bz2" - -LICENSE="ISC BSD-2 BSD" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" -IUSE="selinux pam debug" - -DEPEND="selinux? ( sys-libs/libselinux ) - pam? ( virtual/pam )" - -RDEPEND="selinux? ( sys-libs/libselinux ) - pam? ( virtual/pam )" - -#vixie-cron supports /etc/crontab -CRON_SYSTEM_CRONTAB="yes" - -pkg_setup() { - enewgroup crontab -} - -src_unpack() { - unpack ${A} - cd ${S} - - epatch "${WORKDIR}"/${P}-gentoo-${GENTOO_PATCH_REV}.patch - epatch "${FILESDIR}"/crontab.5.diff - epatch "${FILESDIR}"/${P}-commandline.patch - epatch "${FILESDIR}"/${P}-basename.diff - epatch "${FILESDIR}"/${P}-setuid_check.patch - epatch "${FILESDIR}"/${P}-hardlink.patch - - use pam && epatch "${FILESDIR}"/${P}-pam.patch - use selinux && epatch "${FILESDIR}"/${SELINUX_PATCH} -} - -src_compile() { - use debug && append-flags -DDEBUGGING - - sed -i -e "s:gcc \(-Wall.*\):$(tc-getCC) \1 ${CFLAGS}:" \ - -e "s:^\(LDFLAGS[ \t]\+=\).*:\1 ${LDFLAGS}:" Makefile \ - || die "sed Makefile failed" - - emake || die "emake failed" -} - -src_install() { - docrondir -m 1730 -o root -g crontab - docron - docrontab -m 2755 -o root -g crontab - - # /etc stuff - insinto /etc - newins "${FILESDIR}"/crontab-3.0.1-r4 crontab - newins "${FILESDIR}"/${P}-cron.deny cron.deny - - keepdir /etc/cron.d - newpamd "${FILESDIR}"/pamd.compatible cron - newinitd "${FILESDIR}"/vixie-cron.rc7 vixie-cron - - # doc stuff - doman crontab.1 crontab.5 cron.8 - dodoc "${FILESDIR}"/crontab - dodoc CHANGES CONVERSION FEATURES MAIL README THANKS -} - -pkg_preinst() { - has_version "<${CATEGORY}/${PN}-4.1-r10" - fix_spool_dir_perms=$? -} - -pkg_postinst() { - if [[ -f ${ROOT}/etc/init.d/vcron ]] - then - ewarn "Please run:" - ewarn "rc-update del vcron" - ewarn "rc-update add vixie-cron default" - fi - - # bug 71326 - if [[ -u ${ROOT}/etc/pam.d/cron ]] ; then - echo - ewarn "Warning: previous ebuilds didn't reset permissions prior" - ewarn "to installing crontab, resulting in /etc/pam.d/cron being" - ewarn "installed with the SUID and executable bits set." - ewarn - ewarn "Run the following as root to set the proper permissions:" - ewarn " chmod 0644 /etc/pam.d/cron" - echo - fi - - # bug 164466 - if [[ $fix_spool_dir_perms = 0 ]] ; then - echo - ewarn "Previous ebuilds didn't correctly set permissions on" - ewarn "the crontabs spool directory. Proper permissions are" - ewarn "now being set on ${ROOT}var/spool/cron/crontabs/" - ewarn "Look at this directory if you have a specific configuration" - ewarn "that needs special ownerships or permissions." - echo - chmod 1730 "${ROOT}/var/spool/cron/crontabs" || die "chmod failed" - chgrp -R crontab "${ROOT}/var/spool/cron/crontabs" || die "chgrp failed" - cd "${ROOT}/var/spool/cron/crontabs/" - for cronfile in * ; do - [[ ! -f $cronfile ]] || chown "$cronfile:crontab" "$cronfile" \ - || ewarn "chown failed on $cronfile, you probably have an orphan file." - done - fi - - cron_pkg_postinst -} diff --git a/sys-process/vixie-cron/vixie-cron-4.1-r13.ebuild b/sys-process/vixie-cron/vixie-cron-4.1-r13.ebuild deleted file mode 100644 index 7ad4686d98b2..000000000000 --- a/sys-process/vixie-cron/vixie-cron-4.1-r13.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-4.1-r13.ebuild,v 1.5 2013/10/11 08:21:17 pinkbyte Exp $ - -inherit cron toolchain-funcs pam eutils flag-o-matic user systemd - -# no useful homepage, bug #65898 -HOMEPAGE="ftp://ftp.isc.org/isc/cron/" -DESCRIPTION="Paul Vixie's cron daemon, a fully featured crond implementation" - -SELINUX_PATCH="${P}-selinux-1.diff" -GENTOO_PATCH_REV="r4" - -SRC_URI="mirror://gentoo/${P}.tar.bz2 - mirror://gentoo/${P}-gentoo-${GENTOO_PATCH_REV}.patch.bz2" - -LICENSE="ISC BSD-2 BSD" -KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" -IUSE="selinux pam debug" - -DEPEND="selinux? ( sys-libs/libselinux ) - pam? ( virtual/pam )" - -RDEPEND="selinux? ( sys-libs/libselinux ) - pam? ( virtual/pam )" - -#vixie-cron supports /etc/crontab -CRON_SYSTEM_CRONTAB="yes" - -pkg_setup() { - enewgroup crontab -} - -src_unpack() { - unpack ${A} - cd ${S} - - epatch "${WORKDIR}"/${P}-gentoo-${GENTOO_PATCH_REV}.patch - epatch "${FILESDIR}"/crontab.5.diff - epatch "${FILESDIR}"/${P}-commandline.patch - epatch "${FILESDIR}"/${P}-basename.diff - epatch "${FILESDIR}"/${P}-setuid_check.patch - epatch "${FILESDIR}"/${P}-hardlink.patch - - use pam && epatch "${FILESDIR}"/${P}-pam.patch - use selinux && epatch "${FILESDIR}"/${SELINUX_PATCH} -} - -src_compile() { - use debug && append-flags -DDEBUGGING - - sed -i -e "s:gcc \(-Wall.*\):$(tc-getCC) \1 ${CFLAGS}:" \ - -e "s:^\(LDFLAGS[ \t]\+=\).*:\1 ${LDFLAGS}:" Makefile \ - || die "sed Makefile failed" - - emake || die "emake failed" -} - -src_install() { - docrondir -m 1730 -o root -g crontab - docron - docrontab -m 2755 -o root -g crontab - - # /etc stuff - insinto /etc - newins "${FILESDIR}"/crontab-3.0.1-r4 crontab - newins "${FILESDIR}"/${P}-cron.deny cron.deny - - keepdir /etc/cron.d - newpamd "${FILESDIR}"/pamd.compatible cron - newinitd "${FILESDIR}"/vixie-cron.rc7 vixie-cron - - # doc stuff - doman crontab.1 crontab.5 cron.8 - dodoc "${FILESDIR}"/crontab - dodoc CHANGES CONVERSION FEATURES MAIL README THANKS - - systemd_dounit "${FILESDIR}/${PN}.service" -} - -pkg_preinst() { - has_version "<${CATEGORY}/${PN}-4.1-r10" - fix_spool_dir_perms=$? -} - -pkg_postinst() { - if [[ -f ${ROOT}/etc/init.d/vcron ]] - then - ewarn "Please run:" - ewarn "rc-update del vcron" - ewarn "rc-update add vixie-cron default" - fi - - # bug 71326 - if [[ -u ${ROOT}/etc/pam.d/cron ]] ; then - echo - ewarn "Warning: previous ebuilds didn't reset permissions prior" - ewarn "to installing crontab, resulting in /etc/pam.d/cron being" - ewarn "installed with the SUID and executable bits set." - ewarn - ewarn "Run the following as root to set the proper permissions:" - ewarn " chmod 0644 /etc/pam.d/cron" - echo - fi - - # bug 164466 - if [[ $fix_spool_dir_perms = 0 ]] ; then - echo - ewarn "Previous ebuilds didn't correctly set permissions on" - ewarn "the crontabs spool directory. Proper permissions are" - ewarn "now being set on ${ROOT}var/spool/cron/crontabs/" - ewarn "Look at this directory if you have a specific configuration" - ewarn "that needs special ownerships or permissions." - echo - chmod 1730 "${ROOT}/var/spool/cron/crontabs" || die "chmod failed" - chgrp -R crontab "${ROOT}/var/spool/cron/crontabs" || die "chgrp failed" - cd "${ROOT}/var/spool/cron/crontabs/" - for cronfile in * ; do - [[ ! -f $cronfile ]] || chown "$cronfile:crontab" "$cronfile" \ - || ewarn "chown failed on $cronfile, you probably have an orphan file." - done - fi - - cron_pkg_postinst -} diff --git a/sys-process/vixie-cron/vixie-cron-4.1-r14.ebuild b/sys-process/vixie-cron/vixie-cron-4.1-r14.ebuild index a87171c06a88..84f18c72873e 100644 --- a/sys-process/vixie-cron/vixie-cron-4.1-r14.ebuild +++ b/sys-process/vixie-cron/vixie-cron-4.1-r14.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-4.1-r14.ebuild,v 1.9 2013/10/25 11:00:05 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-4.1-r14.ebuild,v 1.10 2013/11/07 11:42:59 polynomial-c Exp $ inherit cron toolchain-funcs pam eutils flag-o-matic user systemd @@ -15,7 +15,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2 mirror://gentoo/${P}-gentoo-${GENTOO_PATCH_REV}.patch.bz2" LICENSE="ISC BSD-2 BSD" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" IUSE="selinux pam debug" DEPEND="selinux? ( sys-libs/libselinux ) |