diff options
author | Steve Dibb <beandog@gentoo.org> | 2007-01-13 15:00:15 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2007-01-13 15:00:15 +0000 |
commit | 180d42e68bf81ddd78a416e900d77a80023edfa3 (patch) | |
tree | ecb45a048d0137fed7cbfe4608d9a79f631d5c1d /sys-process | |
parent | Remove versions affected by GLSAs, bug 140503 (diff) | |
download | gentoo-2-180d42e68bf81ddd78a416e900d77a80023edfa3.tar.gz gentoo-2-180d42e68bf81ddd78a416e900d77a80023edfa3.tar.bz2 gentoo-2-180d42e68bf81ddd78a416e900d77a80023edfa3.zip |
Remove versions affected by GLSAs, bug 140503
(Portage version: 2.1.2_rc4-r9)
(Unsigned Manifest commit)
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/vixie-cron/Manifest | 60 | ||||
-rw-r--r-- | sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r4 | 6 | ||||
-rw-r--r-- | sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r5 | 6 | ||||
-rw-r--r-- | sys-process/vixie-cron/files/digest-vixie-cron-4.1-r7 | 6 | ||||
-rw-r--r-- | sys-process/vixie-cron/files/digest-vixie-cron-4.1-r8 | 6 | ||||
-rw-r--r-- | sys-process/vixie-cron/files/vixie-cron-3.0.1-close_stdin.diff | 37 | ||||
-rw-r--r-- | sys-process/vixie-cron/files/vixie-cron-3.0.1-pam.patch | 70 | ||||
-rw-r--r-- | sys-process/vixie-cron/files/vixie-cron-3.0.1-selinux.diff | 134 | ||||
-rw-r--r-- | sys-process/vixie-cron/vixie-cron-3.0.1-r4.ebuild | 96 | ||||
-rw-r--r-- | sys-process/vixie-cron/vixie-cron-3.0.1-r5.ebuild | 104 | ||||
-rw-r--r-- | sys-process/vixie-cron/vixie-cron-4.1-r7.ebuild | 101 | ||||
-rw-r--r-- | sys-process/vixie-cron/vixie-cron-4.1-r8.ebuild | 105 |
12 files changed, 4 insertions, 727 deletions
diff --git a/sys-process/vixie-cron/Manifest b/sys-process/vixie-cron/Manifest index 76d1c3065c9a..11f9e95a08d4 100644 --- a/sys-process/vixie-cron/Manifest +++ b/sys-process/vixie-cron/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX cron.pam.d 123 RMD160 38def0a49d4a1093cb9812300c7cfe51ee7b5110 SHA1 f467b316486d9b49df68663b763991286384611f SHA256 dba1c0db92936b0a0528ac2d86610b3d46102f02c87f19a97a8af002a4132901 MD5 5eab102dfecfc35810ab8cf50f95d0d3 files/cron.pam.d 123 RMD160 38def0a49d4a1093cb9812300c7cfe51ee7b5110 files/cron.pam.d 123 @@ -21,18 +18,6 @@ AUX pamd.compatible 123 RMD160 551a11437d524c32ffbbb424d55cef9974e67aa6 SHA1 b0a MD5 83144cbbd67c226a855da47c8a37f083 files/pamd.compatible 123 RMD160 551a11437d524c32ffbbb424d55cef9974e67aa6 files/pamd.compatible 123 SHA256 35940dd36bf0332b1a57d44d3f2f6cc7489c262119c69f8b1329f559a03177a2 files/pamd.compatible 123 -AUX vixie-cron-3.0.1-close_stdin.diff 810 RMD160 051d6da3d4773afbc282fc052fad5888f641ba68 SHA1 1209cdb45420fdafae24ab5edb3731a98cd564cc SHA256 9f9fd27b19c71714f9a800b8196495d96762f53ce390e7a274dd85f646033977 -MD5 9d66b761d15afae9471d33509b712fe9 files/vixie-cron-3.0.1-close_stdin.diff 810 -RMD160 051d6da3d4773afbc282fc052fad5888f641ba68 files/vixie-cron-3.0.1-close_stdin.diff 810 -SHA256 9f9fd27b19c71714f9a800b8196495d96762f53ce390e7a274dd85f646033977 files/vixie-cron-3.0.1-close_stdin.diff 810 -AUX vixie-cron-3.0.1-pam.patch 1854 RMD160 bb0a45052a62193cf9558025838f6685329e2864 SHA1 e281d9bd1f7653d056d4df5f8c290aff5bedcef5 SHA256 ab8d2da6e54e5c31c737f17b87f8a4467c00b120de928b9f90e97f2b578a2993 -MD5 cec7bf697ed66fa43aedb973b2ad5362 files/vixie-cron-3.0.1-pam.patch 1854 -RMD160 bb0a45052a62193cf9558025838f6685329e2864 files/vixie-cron-3.0.1-pam.patch 1854 -SHA256 ab8d2da6e54e5c31c737f17b87f8a4467c00b120de928b9f90e97f2b578a2993 files/vixie-cron-3.0.1-pam.patch 1854 -AUX vixie-cron-3.0.1-selinux.diff 4261 RMD160 7e56587732771cc15fbe7fc6aad403ad9e36911e SHA1 8db69fcb8054062d680f4d42da70bb2e6a972d4e SHA256 5b3bd1ec9f1b1b2132eec450cc400a51c44b55edbf56c0667063851a346b805f -MD5 512129021ee02ccf5f151dcf23f37a29 files/vixie-cron-3.0.1-selinux.diff 4261 -RMD160 7e56587732771cc15fbe7fc6aad403ad9e36911e files/vixie-cron-3.0.1-selinux.diff 4261 -SHA256 5b3bd1ec9f1b1b2132eec450cc400a51c44b55edbf56c0667063851a346b805f files/vixie-cron-3.0.1-selinux.diff 4261 AUX vixie-cron-4.1-basename.diff 479 RMD160 1ecf5abf92d4331ca22f8075a7a728b63d0eaacf SHA1 a53d8762d43dc71214da476b13d25a8a07da2a9a SHA256 a6ef26a9666fcbbed530195aa2f2f040778f8f5155e344e6f4979e5c152a6371 MD5 2e993fc2910f6f8d1453b3eb2dbe838c files/vixie-cron-4.1-basename.diff 479 RMD160 1ecf5abf92d4331ca22f8075a7a728b63d0eaacf files/vixie-cron-4.1-basename.diff 479 @@ -61,57 +46,20 @@ AUX vixie-cron.rc6 530 RMD160 d02cb06b6d90fb8dc2b8cd200b3a79e0921889dd SHA1 ce9d MD5 30251a1787c7ca9235041da74ac68dfe files/vixie-cron.rc6 530 RMD160 d02cb06b6d90fb8dc2b8cd200b3a79e0921889dd files/vixie-cron.rc6 530 SHA256 7bfb5a1461062cc1dd614940bf703fdfc4ab6a69bfae3ce83b6734a149771dc7 files/vixie-cron.rc6 530 -DIST vixie-cron-3.0.1-gentoo.patch.bz2 8901 RMD160 f8103ae33d8a24d4078d93b355c5e4a95449cd0f SHA1 0f60bc66f0a6ab6bebf70a404385a426eb323c4c SHA256 182edba96e218b1df11a628a4cb4a18e73b23ce42a15254ec66754c0fcfc7c1d -DIST vixie-cron-3.0.1.tar.bz2 50376 RMD160 46a4df5bc82a308f51b6e145c67ef6864dd88cbe SHA1 11a4772a4d66e75fdbfac3f8cad59822337f6aff SHA256 0eb113c0e36275806e3069cfd69846e3fae6929a796be3d850d534cdeed4cbf4 DIST vixie-cron-4.1-gentoo-r4.patch.bz2 4204 RMD160 1d439c0bb473e8307a5c33e2449efdd9ca6fc4f5 SHA1 074a770df7ff401f1442ae70039dd9023498e0d4 SHA256 8de14b11da567f7859df3dcf71802f32ac1b3650ae07c6cb6dbc259e1f6da7fc DIST vixie-cron-4.1.tar.bz2 54246 RMD160 a7f6aaa6deb9924d56da8dca3e2e323e0786f97e SHA1 d8b087c0e5f7a2a9c74e3400b660756ab6d800c9 SHA256 fd25119b301e0e8306ec27ee912298740c5c8ae879bac02381429cf355d1122d -EBUILD vixie-cron-3.0.1-r4.ebuild 2081 RMD160 15ec6274bc382c94418163eeb99cf666f0631df7 SHA1 28bc77158a6c68b7e347809df05ab62e75147ab2 SHA256 7ebdaa1dce12158b0c71e1895832abc53c880fe55d4d9c3629d8877da80ec74d -MD5 ddb9d7e120ab912af44576c94012549a vixie-cron-3.0.1-r4.ebuild 2081 -RMD160 15ec6274bc382c94418163eeb99cf666f0631df7 vixie-cron-3.0.1-r4.ebuild 2081 -SHA256 7ebdaa1dce12158b0c71e1895832abc53c880fe55d4d9c3629d8877da80ec74d vixie-cron-3.0.1-r4.ebuild 2081 -EBUILD vixie-cron-3.0.1-r5.ebuild 2265 RMD160 102f94484420501af18ad6fe05749b7cfae28548 SHA1 bf9847036157a38a5b937ad040e54e62793efbae SHA256 4715b45bf7d0afa4c1f6dd614c832bd870cee41def1f69d2fe2dea58dd0ffb69 -MD5 42d2d728251ba435329cadaaf36a9ecd vixie-cron-3.0.1-r5.ebuild 2265 -RMD160 102f94484420501af18ad6fe05749b7cfae28548 vixie-cron-3.0.1-r5.ebuild 2265 -SHA256 4715b45bf7d0afa4c1f6dd614c832bd870cee41def1f69d2fe2dea58dd0ffb69 vixie-cron-3.0.1-r5.ebuild 2265 -EBUILD vixie-cron-4.1-r7.ebuild 2725 RMD160 5be6d4d41f9849fa206da9bebbf6775ccaa58740 SHA1 b4bddfb34d791aeb5da5016cdae4c0696b0b3aa1 SHA256 760ddba13588b369d82a3705a14fe51df300cbe5c522fc5f12674ccd14cbb184 -MD5 55ff411f8598c99ef39e06cdd5e6db1a vixie-cron-4.1-r7.ebuild 2725 -RMD160 5be6d4d41f9849fa206da9bebbf6775ccaa58740 vixie-cron-4.1-r7.ebuild 2725 -SHA256 760ddba13588b369d82a3705a14fe51df300cbe5c522fc5f12674ccd14cbb184 vixie-cron-4.1-r7.ebuild 2725 -EBUILD vixie-cron-4.1-r8.ebuild 2780 RMD160 d2579601aa511d8413b3743fcc461b696b55b770 SHA1 303d4c72bcfcbf82317c12a93feac679b4b0f2cd SHA256 b68edbc86bed063e6fda373018069204687ea74fcc5998154e3265adf2ed155d -MD5 9f5fb4c3fd29ae8d28d0f32a8ea87f4c vixie-cron-4.1-r8.ebuild 2780 -RMD160 d2579601aa511d8413b3743fcc461b696b55b770 vixie-cron-4.1-r8.ebuild 2780 -SHA256 b68edbc86bed063e6fda373018069204687ea74fcc5998154e3265adf2ed155d vixie-cron-4.1-r8.ebuild 2780 EBUILD vixie-cron-4.1-r9.ebuild 2844 RMD160 4cb13a7207672bf8f7b716f212e43dd845861cf3 SHA1 0ad5657a15849bfae6aab4e2a54327a67c29e1aa SHA256 7f6a4b5f3844c7a0967b9c1e1b33e2d95ba8c23255c9803a23a67f43ff328380 MD5 d0d3b56a5bc8063260440212370337cc vixie-cron-4.1-r9.ebuild 2844 RMD160 4cb13a7207672bf8f7b716f212e43dd845861cf3 vixie-cron-4.1-r9.ebuild 2844 SHA256 7f6a4b5f3844c7a0967b9c1e1b33e2d95ba8c23255c9803a23a67f43ff328380 vixie-cron-4.1-r9.ebuild 2844 -MISC ChangeLog 18442 RMD160 ef6ba18c6419568c89e807dadb8df55be31d5063 SHA1 98357aef036e7c36dc9c1d887e1805e33ae41940 SHA256 3e72931ffab0d99af78a32aefce66324ad52247f70a302df6b0c60105a5e4d4c -MD5 1156159b9abe9d360afe19b34a745c20 ChangeLog 18442 -RMD160 ef6ba18c6419568c89e807dadb8df55be31d5063 ChangeLog 18442 -SHA256 3e72931ffab0d99af78a32aefce66324ad52247f70a302df6b0c60105a5e4d4c ChangeLog 18442 +MISC ChangeLog 18771 RMD160 55bda49340c7d4387ef63233d9baf828643269a5 SHA1 95d4630230cfd46dc038d500b923967dab5f1a74 SHA256 8e39a1daa4ba03d819344acb042b9296c09a04ffe1d440930fc86a0d7443082c +MD5 7db7e1c1ae996ff3a960db7732cd0987 ChangeLog 18771 +RMD160 55bda49340c7d4387ef63233d9baf828643269a5 ChangeLog 18771 +SHA256 8e39a1daa4ba03d819344acb042b9296c09a04ffe1d440930fc86a0d7443082c ChangeLog 18771 MISC metadata.xml 223 RMD160 2e7ef3dff46282c29e6308ab5e1d7fba4719bc8c SHA1 6efc54f49d44670d96c95bf04551ba8bbb8eab42 SHA256 8acf9cd967721caa638277d5f18b0d8fe59ff31fb1c5e86389a45d0e83d4772f MD5 b39814a1a51e83d8d3c6df396d7b43f5 metadata.xml 223 RMD160 2e7ef3dff46282c29e6308ab5e1d7fba4719bc8c metadata.xml 223 SHA256 8acf9cd967721caa638277d5f18b0d8fe59ff31fb1c5e86389a45d0e83d4772f metadata.xml 223 -MD5 32348b13db98c4e172cb66bcfec0eb79 files/digest-vixie-cron-3.0.1-r4 524 -RMD160 5afb0074c20064b8ba26c3b0d33926a3a9f35ce7 files/digest-vixie-cron-3.0.1-r4 524 -SHA256 5e91817554018b116fe9185b95dc27b0d590746cb7b94e315d298d13ca4650b1 files/digest-vixie-cron-3.0.1-r4 524 -MD5 32348b13db98c4e172cb66bcfec0eb79 files/digest-vixie-cron-3.0.1-r5 524 -RMD160 5afb0074c20064b8ba26c3b0d33926a3a9f35ce7 files/digest-vixie-cron-3.0.1-r5 524 -SHA256 5e91817554018b116fe9185b95dc27b0d590746cb7b94e315d298d13ca4650b1 files/digest-vixie-cron-3.0.1-r5 524 -MD5 1c8f8e72fe6c5a35fadbc4ecf238269a files/digest-vixie-cron-4.1-r7 521 -RMD160 5e31835b18a09572e230cac2b7b9c1278f85c204 files/digest-vixie-cron-4.1-r7 521 -SHA256 125a50e9903ec69134c1e415d2e3e342b69bc0c572c2bd9d6a7375a5575bad26 files/digest-vixie-cron-4.1-r7 521 -MD5 1c8f8e72fe6c5a35fadbc4ecf238269a files/digest-vixie-cron-4.1-r8 521 -RMD160 5e31835b18a09572e230cac2b7b9c1278f85c204 files/digest-vixie-cron-4.1-r8 521 -SHA256 125a50e9903ec69134c1e415d2e3e342b69bc0c572c2bd9d6a7375a5575bad26 files/digest-vixie-cron-4.1-r8 521 MD5 1c8f8e72fe6c5a35fadbc4ecf238269a files/digest-vixie-cron-4.1-r9 521 RMD160 5e31835b18a09572e230cac2b7b9c1278f85c204 files/digest-vixie-cron-4.1-r9 521 SHA256 125a50e9903ec69134c1e415d2e3e342b69bc0c572c2bd9d6a7375a5575bad26 files/digest-vixie-cron-4.1-r9 521 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.1 (GNU/Linux) - -iD8DBQFFnYWCAiZjviIA2XgRAvJdAKCVCcxRw6HJB22+5j5FGnvWaDa8KACgz+yX -l+irsuRKlMowfosctdss/dw= -=LZlW ------END PGP SIGNATURE----- diff --git a/sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r4 b/sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r4 deleted file mode 100644 index 51727020700f..000000000000 --- a/sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r4 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 b9e1488f6bad0b8b5bfc94561f79c8a6 vixie-cron-3.0.1-gentoo.patch.bz2 8901 -RMD160 f8103ae33d8a24d4078d93b355c5e4a95449cd0f vixie-cron-3.0.1-gentoo.patch.bz2 8901 -SHA256 182edba96e218b1df11a628a4cb4a18e73b23ce42a15254ec66754c0fcfc7c1d vixie-cron-3.0.1-gentoo.patch.bz2 8901 -MD5 369390355808fcf947cd2f9847f88859 vixie-cron-3.0.1.tar.bz2 50376 -RMD160 46a4df5bc82a308f51b6e145c67ef6864dd88cbe vixie-cron-3.0.1.tar.bz2 50376 -SHA256 0eb113c0e36275806e3069cfd69846e3fae6929a796be3d850d534cdeed4cbf4 vixie-cron-3.0.1.tar.bz2 50376 diff --git a/sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r5 b/sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r5 deleted file mode 100644 index 51727020700f..000000000000 --- a/sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r5 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 b9e1488f6bad0b8b5bfc94561f79c8a6 vixie-cron-3.0.1-gentoo.patch.bz2 8901 -RMD160 f8103ae33d8a24d4078d93b355c5e4a95449cd0f vixie-cron-3.0.1-gentoo.patch.bz2 8901 -SHA256 182edba96e218b1df11a628a4cb4a18e73b23ce42a15254ec66754c0fcfc7c1d vixie-cron-3.0.1-gentoo.patch.bz2 8901 -MD5 369390355808fcf947cd2f9847f88859 vixie-cron-3.0.1.tar.bz2 50376 -RMD160 46a4df5bc82a308f51b6e145c67ef6864dd88cbe vixie-cron-3.0.1.tar.bz2 50376 -SHA256 0eb113c0e36275806e3069cfd69846e3fae6929a796be3d850d534cdeed4cbf4 vixie-cron-3.0.1.tar.bz2 50376 diff --git a/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r7 b/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r7 deleted file mode 100644 index 4b0d91076cd4..000000000000 --- a/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r7 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 c674b03c6e76798b1c74f6070df167cc vixie-cron-4.1-gentoo-r4.patch.bz2 4204 -RMD160 1d439c0bb473e8307a5c33e2449efdd9ca6fc4f5 vixie-cron-4.1-gentoo-r4.patch.bz2 4204 -SHA256 8de14b11da567f7859df3dcf71802f32ac1b3650ae07c6cb6dbc259e1f6da7fc vixie-cron-4.1-gentoo-r4.patch.bz2 4204 -MD5 09dc04f9879684d27c64c910174a9536 vixie-cron-4.1.tar.bz2 54246 -RMD160 a7f6aaa6deb9924d56da8dca3e2e323e0786f97e vixie-cron-4.1.tar.bz2 54246 -SHA256 fd25119b301e0e8306ec27ee912298740c5c8ae879bac02381429cf355d1122d vixie-cron-4.1.tar.bz2 54246 diff --git a/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r8 b/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r8 deleted file mode 100644 index 4b0d91076cd4..000000000000 --- a/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r8 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 c674b03c6e76798b1c74f6070df167cc vixie-cron-4.1-gentoo-r4.patch.bz2 4204 -RMD160 1d439c0bb473e8307a5c33e2449efdd9ca6fc4f5 vixie-cron-4.1-gentoo-r4.patch.bz2 4204 -SHA256 8de14b11da567f7859df3dcf71802f32ac1b3650ae07c6cb6dbc259e1f6da7fc vixie-cron-4.1-gentoo-r4.patch.bz2 4204 -MD5 09dc04f9879684d27c64c910174a9536 vixie-cron-4.1.tar.bz2 54246 -RMD160 a7f6aaa6deb9924d56da8dca3e2e323e0786f97e vixie-cron-4.1.tar.bz2 54246 -SHA256 fd25119b301e0e8306ec27ee912298740c5c8ae879bac02381429cf355d1122d vixie-cron-4.1.tar.bz2 54246 diff --git a/sys-process/vixie-cron/files/vixie-cron-3.0.1-close_stdin.diff b/sys-process/vixie-cron/files/vixie-cron-3.0.1-close_stdin.diff deleted file mode 100644 index a365f0c3ce3c..000000000000 --- a/sys-process/vixie-cron/files/vixie-cron-3.0.1-close_stdin.diff +++ /dev/null @@ -1,37 +0,0 @@ -diff -urN vixie-cron-3.0.1.orig/cron.c vixie-cron-3.0.1/cron.c ---- vixie-cron-3.0.1.orig/cron.c 2003-11-07 11:33:38.000000000 -0600 -+++ vixie-cron-3.0.1/cron.c 2003-11-12 12:37:42.000000000 -0600 -@@ -25,6 +25,8 @@ - - #include "cron.h" - #include <sys/signal.h> -+#include <sys/stat.h> -+#include <fcntl.h> - #if SYS_TIME_H - # include <sys/time.h> - # include <time.h> -@@ -58,6 +60,7 @@ - char *argv[]; - { - cron_db database; -+ int i; - - ProgramName = argv[0]; - -@@ -108,6 +111,16 @@ - } - } - -+ /* close stdin, stdout, and stderr */ -+ if ( (i = open("/dev/null", O_RDWR)) < 0) { -+ log_it("CRON",getpid(),"DEATH","can't open /dev/null"); -+ exit(0); -+ } -+ close(0); dup2(i, 0); -+ close(1); dup2(i, 1); -+ close(2); dup2(i, 2); -+ close(i); -+ - acquire_daemonlock(0); - database.head = NULL; - database.tail = NULL; diff --git a/sys-process/vixie-cron/files/vixie-cron-3.0.1-pam.patch b/sys-process/vixie-cron/files/vixie-cron-3.0.1-pam.patch deleted file mode 100644 index 898f3ee652e2..000000000000 --- a/sys-process/vixie-cron/files/vixie-cron-3.0.1-pam.patch +++ /dev/null @@ -1,70 +0,0 @@ -diff -ur vixie-cron-3.0.1.orig/Makefile vixie-cron-3.0.1/Makefile ---- vixie-cron-3.0.1.orig/Makefile Thu May 30 19:47:00 2002 -+++ vixie-cron-3.0.1/Makefile Thu May 30 20:54:46 2002 -@@ -55,7 +55,7 @@ - INCLUDE = -I. - #INCLUDE = - #<<need getopt()>> --LIBS = -+LIBS = -lpam - #<<optimize or debug?>> - OPTIM = $(RPM_OPT_FLAGS) - #OPTIM = -g -diff -ur vixie-cron-3.0.1.orig/do_command.c vixie-cron-3.0.1/do_command.c ---- vixie-cron-3.0.1.orig/do_command.c Thu May 30 19:47:00 2002 -+++ vixie-cron-3.0.1/do_command.c Thu May 30 20:55:50 2002 -@@ -29,6 +29,18 @@ - # include <syslog.h> - #endif - -+#include <security/pam_appl.h> -+static pam_handle_t *pamh = NULL; -+static const struct pam_conv conv = { -+ NULL -+}; -+#define PAM_FAIL_CHECK if (retcode != PAM_SUCCESS) { \ -+ fprintf(stderr,"\n%s\n",pam_strerror(pamh, retcode)); \ -+ syslog(LOG_ERR,"%s",pam_strerror(pamh, retcode)); \ -+ pam_end(pamh, retcode); exit(1); \ -+ } -+ -+ - - static void child_process __P((entry *, user *)), - do_univ __P((user *)); -@@ -77,6 +89,7 @@ - register char *input_data; - char *usernm, *mailto; - int children = 0; -+ int retcode = 0; - - Debug(DPROC, ("[%d] child_process('%s')\n", getpid(), e->cmd)) - -@@ -159,6 +172,15 @@ - } - } - -+ retcode = pam_start("cron", usernm, &conv, &pamh); -+ PAM_FAIL_CHECK; -+ retcode = pam_acct_mgmt(pamh, PAM_SILENT); -+ PAM_FAIL_CHECK; -+ retcode = pam_open_session(pamh, PAM_SILENT); -+ PAM_FAIL_CHECK; -+ retcode = pam_setcred(pamh, PAM_ESTABLISH_CRED | PAM_SILENT); -+ PAM_FAIL_CHECK; -+ - /* fork again, this time so we can exec the user's command. - */ - switch (vfork()) { -@@ -483,7 +505,11 @@ - if (WIFSIGNALED(waiter) && WCOREDUMP(waiter)) - Debug(DPROC, (", dumped core")) - Debug(DPROC, ("\n")) -+ - } -+ pam_setcred(pamh, PAM_DELETE_CRED | PAM_SILENT); -+ retcode = pam_close_session(pamh, PAM_SILENT); -+ pam_end(pamh, retcode); - } - - diff --git a/sys-process/vixie-cron/files/vixie-cron-3.0.1-selinux.diff b/sys-process/vixie-cron/files/vixie-cron-3.0.1-selinux.diff deleted file mode 100644 index eb8111986bf9..000000000000 --- a/sys-process/vixie-cron/files/vixie-cron-3.0.1-selinux.diff +++ /dev/null @@ -1,134 +0,0 @@ ---- vixie-cron-3.0.1/Makefile.selinux 2003-05-20 14:52:06.000000000 -0400 -+++ vixie-cron-3.0.1/Makefile 2003-05-20 14:52:21.000000000 -0400 -@@ -71,7 +71,8 @@ LINTFLAGS = -hbxa $(INCLUDE) $(COMPAT) $ - #<<want to use a nonstandard CC?>> - #CC = vcc - #<<manifest defines>> --DEFS = -s -+DEFS = -s -DWITH_SELINUX -+LIBS += -lselinux - #(SGI IRIX systems need this) - #DEFS = -D_BSD_SIGNALS -Dconst= - #<<the name of the BSD-like install program>> ---- vixie-cron-3.0.1/database.c.selinux 2003-05-20 14:52:56.000000000 -0400 -+++ vixie-cron-3.0.1/database.c 2003-05-23 13:27:24.898020960 -0400 -@@ -28,6 +28,15 @@ static char rcsid[] = "$Id: database.c,v - #include <sys/stat.h> - #include <sys/file.h> - -+#ifdef WITH_SELINUX -+#include <selinux/selinux.h> -+#include <selinux/flask.h> -+#include <selinux/av_permissions.h> -+#define SYSUSERNAME "system_u" -+#else -+#define SYSUSERNAME "*system*" -+#endif -+ - - #define TMAX(a,b) ((a)>(b)?(a):(b)) - -@@ -94,7 +103,7 @@ load_database(old_db) - new_db.head = new_db.tail = NULL; - - if (syscron_stat.st_mtime) { -- process_crontab("root", "*system*", -+ process_crontab("root", SYSUSERNAME, - SYSCRONTAB, &syscron_stat, - &new_db, old_db); - } -@@ -136,7 +145,7 @@ load_database(old_db) - - snprintf(tabname, MAXNAMLEN+1, "/etc/cron.d/%s", fname); - -- process_crontab("root", "*system*", tabname, -+ process_crontab("root", SYSUSERNAME, tabname, - &crond_stat, &new_db, old_db); - } - closedir(dir); -@@ -253,7 +262,7 @@ process_crontab(uname, fname, tabname, s - int crontab_fd = OK - 1; - user *u; - -- if (strcmp(fname, "*system*") && !(pw = getpwnam(uname))) { -+ if (strcmp(fname, SYSUSERNAME) && !(pw = getpwnam(uname))) { - /* file doesn't have a user in passwd file. - */ - log_it(fname, getpid(), "ORPHAN", "no passwd entry"); -@@ -297,6 +306,43 @@ process_crontab(uname, fname, tabname, s - free_user(u); - log_it(fname, getpid(), "RELOAD", tabname); - } -+#ifdef WITH_SELINUX -+ if (is_selinux_enabled()) { -+ security_context_t file_context=NULL; -+ security_context_t user_context=NULL; -+ struct av_decision avd; -+ int retval=0; -+ -+ if (fgetfilecon(crontab_fd, &file_context) < OK) { -+ log_it(fname, getpid(), "getfilecon FAILED", tabname); -+ goto next_crontab; -+ } -+ -+ /* -+ * Since crontab files are not directly executed, -+ * crond must ensure that the crontab file has -+ * a context that is appropriate for the context of -+ * the user cron job. It performs an entrypoint -+ * permission check for this purpose. -+ */ -+ if (get_default_context(fname, NULL, &user_context)) { -+ log_it(fname, getpid(), "NO CONTEXT", tabname); -+ freecon(file_context); -+ goto next_crontab; -+ } -+ retval = security_compute_av(user_context, -+ file_context, -+ SECCLASS_FILE, -+ FILE__ENTRYPOINT, -+ &avd); -+ freecon(user_context); -+ freecon(file_context); -+ if (retval || ((FILE__ENTRYPOINT & avd.allowed) != FILE__ENTRYPOINT)) { -+ log_it(fname, getpid(), "ENTRYPOINT FAILED", tabname); -+ goto next_crontab; -+ } -+ } -+#endif - u = load_user(crontab_fd, pw, fname); - if (u != NULL) { - u->mtime = statbuf->st_mtime; ---- vixie-cron-3.0.1/do_command.c.selinux 2003-05-20 14:53:12.000000000 -0400 -+++ vixie-cron-3.0.1/do_command.c 2003-05-20 14:58:06.000000000 -0400 -@@ -29,6 +29,9 @@ static char rcsid[] = "$Id: do_command.c - # include <syslog.h> - #endif - -+#ifdef WITH_SELINUX -+#include <selinux/selinux.h> -+#endif - - static void child_process __P((entry *, user *)), - do_univ __P((user *)); -@@ -251,6 +254,20 @@ child_process(e, u) - */ - (void) signal(SIGCHLD, SIG_DFL); - #endif -+#ifdef WITH_SELINUX -+ if (is_selinux_enabled()) { -+ security_context_t scontext; -+ if (get_default_context(u->name, NULL, &scontext)) { -+ fprintf(stderr, "execle_secure: couldn't get security context for user %s\n", u->name); -+ _exit(ERROR_EXIT); -+ } -+ if (setexeccon(scontext) < 0) { -+ fprintf(stderr, "Could not set exec context to %s for user %s\n", scontext,u->name); -+ _exit(ERROR_EXIT); -+ } -+ freecon(scontext); -+ } -+#endif - execle(shell, shell, "-c", e->cmd, (char *)0, e->envp); - fprintf(stderr, "execl: couldn't exec `%s'\n", shell); - perror("execl"); diff --git a/sys-process/vixie-cron/vixie-cron-3.0.1-r4.ebuild b/sys-process/vixie-cron/vixie-cron-3.0.1-r4.ebuild deleted file mode 100644 index 10382caa4236..000000000000 --- a/sys-process/vixie-cron/vixie-cron-3.0.1-r4.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-3.0.1-r4.ebuild,v 1.3 2006/11/05 11:35:50 bangert Exp $ - -inherit eutils - -IUSE="selinux" - -SELINUX_PATCH="${P}-selinux.diff" - -DESCRIPTION="The Vixie cron daemon" -HOMEPAGE="http://www.vix.com/" -SRC_URI="mirror://gentoo/${P}.tar.bz2 - mirror://gentoo/${P}-gentoo.patch.bz2" - -SLOT="0" -LICENSE="as-is" -KEYWORDS="x86 ppc sparc alpha mips hppa ~ia64 amd64 ppc64" - -DEPEND=">=sys-apps/portage-2.0.47-r10 - >=sys-apps/sed-4.0.5 - selinux? ( sys-libs/libselinux )" - -RDEPEND="!virtual/cron - >=sys-process/cronbase-0.2.1-r3 - virtual/mta - selinux? ( sys-libs/libselinux )" - -PROVIDE="virtual/cron" - -#vixie-cron supports /etc/crontab -CRON_SYSTEM_CRONTAB="yes" - -src_unpack() { - unpack ${A} - - cd ${S} - - epatch ${WORKDIR}/${P}-gentoo.patch - epatch ${FILESDIR}/${P}-close_stdin.diff - epatch ${FILESDIR}/crontab.5.diff - - use selinux && epatch ${FILESDIR}/${SELINUX_PATCH} - - sed -i "s:-O2:${CFLAGS}:" Makefile -} - -src_compile() { - emake || die -} - -src_install() { - #this does not work if the directory exists already - diropts -m0750 -o root -g cron - dodir /var/spool/cron/crontabs - keepdir /var/spool/cron/crontabs/ - - doman crontab.1 crontab.5 cron.8 - - dodoc CHANGES CONVERSION FEATURES MAIL MANIFEST README THANKS - - diropts -m0755 ; dodir /etc/cron.d - keepdir /etc/cron.d/ - - exeinto /etc/init.d - newexe ${FILESDIR}/vixie-cron.rc6 vixie-cron - - insinto /etc - insopts -o root -g root -m 0644 - newins ${FILESDIR}/crontab-3.0.1-r4 crontab - - dodoc ${FILESDIR}/crontab - - insinto /usr/sbin - insopts -o root -g root -m 0750 ; doins cron - - insinto /usr/bin - insopts -o root -g cron -m 4750 ; doins crontab -} - -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 - - echo - einfo "You may wish to read the Gentoo Linux Cron Guide, which can be" - einfo "found online at:" - einfo " http://www.gentoo.org/doc/en/cron-guide.xml" - echo -} - diff --git a/sys-process/vixie-cron/vixie-cron-3.0.1-r5.ebuild b/sys-process/vixie-cron/vixie-cron-3.0.1-r5.ebuild deleted file mode 100644 index ac99ebc7bdaf..000000000000 --- a/sys-process/vixie-cron/vixie-cron-3.0.1-r5.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-3.0.1-r5.ebuild,v 1.3 2006/11/05 11:35:50 bangert Exp $ - -inherit eutils - -IUSE="selinux pam" - -SELINUX_PATCH="${P}-selinux.diff" - -DESCRIPTION="The Vixie cron daemon" -HOMEPAGE="http://www.vix.com/" -SRC_URI="mirror://gentoo/${P}.tar.bz2 - mirror://gentoo/${P}-gentoo.patch.bz2" - -SLOT="0" -LICENSE="as-is" -KEYWORDS="~x86 ppc ~sparc ~alpha ~mips ~hppa ~ia64 ~amd64 ~ppc64" - -DEPEND=">=sys-apps/portage-2.0.47-r10 - >=sys-apps/sed-4.0.5 - selinux? ( sys-libs/libselinux ) - pam? ( sys-libs/pam )" - -RDEPEND="!virtual/cron - >=sys-process/cronbase-0.2.1-r3 - virtual/mta - selinux? ( sys-libs/libselinux ) - pam? ( sys-libs/pam )" - -PROVIDE="virtual/cron" - -#vixie-cron supports /etc/crontab -CRON_SYSTEM_CRONTAB="yes" - -src_unpack() { - unpack ${A} - - cd ${S} - - epatch ${WORKDIR}/${P}-gentoo.patch - epatch ${FILESDIR}/${P}-close_stdin.diff - epatch ${FILESDIR}/crontab.5.diff - - use pam && epatch ${FILESDIR}/${P}-pam.patch - use selinux && epatch ${FILESDIR}/${SELINUX_PATCH} - - sed -i "s:-O2:${CFLAGS}:" Makefile -} - -src_compile() { - emake || die -} - -src_install() { - #this does not work if the directory exists already - diropts -m0750 -o root -g cron - dodir /var/spool/cron/crontabs - keepdir /var/spool/cron/crontabs/ - - doman crontab.1 crontab.5 cron.8 - - dodoc CHANGES CONVERSION FEATURES MAIL MANIFEST README THANKS - - diropts -m0755 ; dodir /etc/cron.d - keepdir /etc/cron.d/ - - exeinto /etc/init.d - newexe ${FILESDIR}/vixie-cron.rc6 vixie-cron - - insinto /etc - insopts -o root -g root -m 0644 - newins ${FILESDIR}/crontab-3.0.1-r4 crontab - - dodoc ${FILESDIR}/crontab - - insinto /usr/sbin - insopts -o root -g root -m 0750 ; doins cron - - insinto /usr/bin - insopts -o root -g cron -m 4750 ; doins crontab - - if use pam - then - insinto /etc/pam.d - newins ${FILESDIR}/cron.pam.d cron - fi -} - -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 - - echo - einfo "You may wish to read the Gentoo Linux Cron Guide, which can be" - einfo "found online at:" - einfo " http://www.gentoo.org/doc/en/cron-guide.xml" - echo -} diff --git a/sys-process/vixie-cron/vixie-cron-4.1-r7.ebuild b/sys-process/vixie-cron/vixie-cron-4.1-r7.ebuild deleted file mode 100644 index dce70c1336ec..000000000000 --- a/sys-process/vixie-cron/vixie-cron-4.1-r7.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2007 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-r7.ebuild,v 1.15 2007/01/04 22:53:42 flameeyes Exp $ - -inherit cron toolchain-funcs pam - -# 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="as-is" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86" -IUSE="selinux pam debug" - -DEPEND=">=sys-apps/portage-2.0.47-r10 - selinux? ( sys-libs/libselinux ) - pam? ( sys-libs/pam )" - -RDEPEND="selinux? ( sys-libs/libselinux ) - pam? ( sys-libs/pam )" - -#vixie-cron supports /etc/crontab -CRON_SYSTEM_CRONTAB="yes" - -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 - - use pam && epatch ${FILESDIR}/${P}-pam.patch - use selinux && epatch ${FILESDIR}/${SELINUX_PATCH} -} - -src_compile() { - # we need to tinker with ldflags since we're installing as setuid. see - # "[gentoo-core] Heads up changes in suid handing with portage >=51_pre21" - # for details. Note that we do the sed fixes here rather than in unpack so - # that our changes to LDFLAGS are picked up. - - append-ldflags -Wl,-z,now - 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 - docron - docrontab - - # /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}/cron.pam.d 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_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 - - cron_pkg_postinst -} diff --git a/sys-process/vixie-cron/vixie-cron-4.1-r8.ebuild b/sys-process/vixie-cron/vixie-cron-4.1-r8.ebuild deleted file mode 100644 index bbc40a66f6fe..000000000000 --- a/sys-process/vixie-cron/vixie-cron-4.1-r8.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2007 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-r8.ebuild,v 1.14 2007/01/04 22:53:42 flameeyes Exp $ - -inherit cron toolchain-funcs pam - -# 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="as-is" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="selinux pam debug" - -DEPEND=">=sys-apps/portage-2.0.47-r10 - 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 cron 16 -} - -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 - - use pam && epatch ${FILESDIR}/${P}-pam.patch - use selinux && epatch ${FILESDIR}/${SELINUX_PATCH} -} - -src_compile() { - # we need to tinker with ldflags since we're installing as setuid. see - # "[gentoo-core] Heads up changes in suid handing with portage >=51_pre21" - # for details. Note that we do the sed fixes here rather than in unpack so - # that our changes to LDFLAGS are picked up. - - append-ldflags $(bindnow-flags) - 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 - docron - docrontab - - # /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_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 - - cron_pkg_postinst -} |