diff options
Diffstat (limited to 'virtual')
34 files changed, 193 insertions, 0 deletions
diff --git a/virtual/miller-base/Manifest b/virtual/miller-base/Manifest index 385c9ea..5be0c96 100644 --- a/virtual/miller-base/Manifest +++ b/virtual/miller-base/Manifest @@ -1,7 +1,39 @@ AUX auto-download-packages 81 RMD160 05c97eeabe538cdc52dc55259dc77a75cdb1f65b SHA1 6990f34aaf209d5ad2504ed92ea8496125f0378f SHA256 0ec31222dc2d7b7dac658faffed8b971d9ee6710811c6eefe0145e4ed4c95792 +AUX auto-restart-services 247 RMD160 8dabc50278db05a7ec2d1dc85d6ede0e92534303 SHA1 eb96f48bc21cddb46200f95a5df1c5409ba5b5de SHA256 6bdaf5ff740577bb7a94b1f1320000c557234bffd60fa92dac2b625c895b9626 AUX auto-update-overlays 25 RMD160 7c8c5594cfd401e8b38b4ae4df07f17f4c4415a4 SHA1 89423a378ba04e2615ea8bdf04e201d730392e74 SHA256 98ce8786c0fb1612bb1778a2ee0aea88728b7d74929650a5b249bc0e05d3abdd AUX daily-av-update.cron 31 RMD160 17399a1386d96221b51960ec38c7059af01c609e SHA1 e4ef1c8f4d2195229da18b4d23b8a42e9b61afe8 SHA256 1b83ac59e56ffbc3ec1c0f42c3c43de2b0cf9485690292a7dcb3440d529d0f78 AUX hourly-distclean-updatedb.cron 940 RMD160 f6f420a2da2588be0f5ba47c3c887a403002fce0 SHA1 f5626fcddd829d6bfa75bb132e2644162548f9d2 SHA256 ce2ec02cd3a9b1af3df6f7eba15dedb1b4ca8b224fc68431a9afc1a76702c0c6 +AUX restart/acpid 26 RMD160 8cfc0166085c906033ec644ca539717b393e5a72 SHA1 2dc489949373231ca3c5e68e3a3bde4d63d34c00 SHA256 50abc8abc84d1837795a7db062baa2d0e5fea2160993c4f9cb442f3edc8c41e7 +AUX restart/agetty 15 RMD160 dce086e1ef894636631642afe6bef686dd0a858f SHA1 65c4a6a150290746a29a7075084a80b7463e63d4 SHA256 8675258e8737595bb21f187df27b59b078cb8365dc1c531971989a00b005314c +AUX restart/apache2 28 RMD160 c715f4652679c600023d72783f391c36aad01d17 SHA1 a05e133a65fac699a6ecac6f95bdf499792892d0 SHA256 66e79369c792724ee744ecf6fe91d73800041fd3bf58a06850390b1b2a9e921a +AUX restart/authdaemond 37 RMD160 19715d01f4ba77efc4e3a6b6d3249592bacb2d39 SHA1 98dc2035c16ebaecb2820491c4cc80640fbc110a SHA256 cc62abec53e1bf9c39e0f524ba6b7cb2eaf68f5de192ae5a7faa6f3436e00d2e +AUX restart/clamd 26 RMD160 2a2d5f6daf2cbd812c5645b2881badc18a9268c1 SHA1 ef025c0c1e956fe14256be782ab1e97b4e8cf904 SHA256 a0e925214aed147b82240943b2f3cdbf38f9a6a069645cf7e62c4234253d59af +AUX restart/console-kit-dae 32 RMD160 f13782b6f93101c9d02b5aab97f13a04bf4301d6 SHA1 bf193cde16295a3c212d3b5503efc454ecaa3b7a SHA256 6abf0b5fa0c764d3e025816968b11dc3408ea9a808a2b499ee1aed88bfc844a8 +AUX restart/couriertcpd 35 RMD160 1e99bf108be00e308a0323dade375d642f62eb6a SHA1 0e7aafb0d7c6639b8e8f536d82fb47b4c84417fa SHA256 992381db69bccdfe358975397af48e3a1bf30029a0737ddb32cc750ac4486ee3 +AUX restart/dbus-daemon 26 RMD160 5b07be08d13a90e2dc9bfaf0df0e69960b9cb3d1 SHA1 fac364460ef3d577f923970509b6bb11dee4924b SHA256 fd1fdf3e734cebead4787817dde12a714e7624bae5a0d6da1b177513fb8674f9 +AUX restart/ddclient 30 RMD160 984b62a4b26547cdf2bf528b975986109f82dd79 SHA1 897a274945bdadf8a40391a1595b3990c0045642 SHA256 f687a395fbf513b03366e8804d777f290f1cb1a5c2c009fcd9e3ea4f674f7709 +AUX restart/dhcpd 27 RMD160 486cef33ae8554bf725bbdc5867c1ae72a8c5a63 SHA1 a2d5b7f8691d1247e6f90db6e1005468a72f07c3 SHA256 663a9703c4569a2eee95faff7eb71af776570449291094bfc4b08b7034dbe347 +AUX restart/dmeventd 30 RMD160 82aa0d5b884a5bf0e72afcd5cf26b3240ffd7b63 SHA1 9d31920235f8d0b1ce9a88e0e5de59a60f852164 SHA256 927d6064ab763eb95891ecd9be57d8fd152d2b59cf0134185fe38d1cd44be9e5 +AUX restart/exim 26 RMD160 42cc04408998b5ef037ae3744d96b8f7143e4923 SHA1 86971e71d92cd233ae511725409c72399bafa5b4 SHA256 f98670e0d7cac6c702f35bee2bf2771828d2c9cc8fcc7707a763c5fb130252d2 +AUX restart/glusterfsd 32 RMD160 a3a0bbcd30013e4a078a37a9b610c9950e9d2208 SHA1 ba19be6d1b2531f9bcaa8ee1dfb5fe99c91dfe15 SHA256 70dfc70717d584489de5b1e8f93cb1ec7c32e87f263afee7166ba46444026fef +AUX restart/mdadm 27 RMD160 cef0826c5aadfc8c93bf1376721f57f48b31758a SHA1 a9676f9c03425dd62753ec2469af74fbe5f82ee6 SHA256 556a27408c5ea42c5aed99564a19cf19f5ea0299dc310e37df0ee29e3d07a9a9 +AUX restart/mediatomb 30 RMD160 8f2dea3d39250f911b09a139fde70124f41d8e56 SHA1 a62ff690e3ea27967d01999cf731ffc4be63ebc5 SHA256 85461eece1e2313d58949c9d1a0c5a2e62049b7cb7497724038ebc950d22cbda +AUX restart/named 56 RMD160 36a29f2178a6fa458543e912f73f445e2fdbd1b1 SHA1 43e9f393202478c1b33be44bbe90fcb4cceaac36 SHA256 4c67abcd6d73bcee43c6d568f399c905a6d52b5c85d0a309a8b988d3f5eac8c5 +AUX restart/nmbd 26 RMD160 e23bff2e5ad962701dc356577ea1115a0fce8199 SHA1 728ac757ae5acec3c683fd8936f22e638ea1a7cb SHA256 227cfd2545106c9dd01330e01e1d6687b7e4f77cb9540fd324b210a27cdd235e +AUX restart/ntpd 26 RMD160 85f81aab256b446fa0ba92095187f36a23603dc4 SHA1 0d38f3012387333e55004356b6e37101ffb7614a SHA256 e08eb0b751a986ad1232d8d918131ca9d7e6b4765a7af482aa66572a1011fac6 +AUX restart/postgres 34 RMD160 0712de07bdf58c0c186f7a3b3b4f905269877266 SHA1 9f69bd8ac32221d0f202e080d17e38b95f13783e SHA256 b6f0c604b750223b2d0f375f10b4f9e141ee39a2a82ff9be3dd7ba479f52a616 +AUX restart/pptpd 60 RMD160 c2f28cb7d244d5131ee35910f3979908803b6e5b SHA1 668f6dd7f96ad25fd5a7d985d962cb24ece2fc86 SHA256 f6f408d13368e93157c846eb24e52c3637012241c56664a7819f3cfa8fe65848 +AUX restart/privoxy 28 RMD160 b365d96c62a3edbae77c2399aea5c8eb827106c9 SHA1 ed6bab75e4c37aec037e5422357d534e0e8be398 SHA256 92cc2c53a9325d3dd4b8869505d5612b9ec3b4cdaafbd1624c05796109220bf3 +AUX restart/slapd 27 RMD160 9d9b528c678e96937d213ab18c898a8fb24a92e4 SHA1 c3db89eed0dbf7c9ba61d3603761d246deab861d SHA256 7eae907ddef4a9a4caf57d812faaabffb37e8a7a87c4b11b7e4d16c209bf1998 +AUX restart/smbd 26 RMD160 e23bff2e5ad962701dc356577ea1115a0fce8199 SHA1 728ac757ae5acec3c683fd8936f22e638ea1a7cb SHA256 227cfd2545106c9dd01330e01e1d6687b7e4f77cb9540fd324b210a27cdd235e +AUX restart/spamd 26 RMD160 c63068fc149f32e614c9c91a20d001a31846c0ae SHA1 2c532c4ec61c3381248afd7f7956c24f48b612c4 SHA256 c054aed2386e3fd7c7d3e52d966bce8f1bfda70cc94353a29cc99f3b10ead1fc +AUX restart/squid 26 RMD160 a5ed6fe364e89417b8772dff6712169fd94a247d SHA1 8f2efeac0f9d894d1726072e41c2c7e5d470712e SHA256 f950d7c0aef2e4f0776c035d5404c456f49ded813985112e06919df248478553 +AUX restart/sshd 26 RMD160 29871a7b867187b37791d6c778e8ec209f743963 SHA1 9db3276e2a2fcbe3d1fb21717a6b8bfaf959c141 SHA256 7da9c59ba087c472b51a9064912d2d5e2c06c0f40a731716ad78bac2606c7822 +AUX restart/syslog-ng 31 RMD160 7655bd07042c9b9194245adf724563dc96bde2aa SHA1 96c056b75e7144eedeb3875fa6ef3961e24559a4 SHA256 a800bd38befa0d0d6db9eaa929ee5ed6571e6552958c7f8f4830c41b0a6b45c7 +AUX restart/transmission-da 40 RMD160 bc68f5f07b9e2cdadd10e34376be46d3959257b3 SHA1 6c5f04d1799e652fa27ceabdaca1189d08e1734d SHA256 2652482139888e7d3dc4b9f82298fb109fcfc25503437b6d40029affe6dbc83d +AUX restart/udevd 26 RMD160 25c67137d8e564010bd5c92d4c1570ff9bbac345 SHA1 889e783a2744ee5abb0ba83c2d74fed2e3feb490 SHA256 e5fc5c61f9134b2adf91952b77f493e864d9200768de99437e040d3f3d4d2c81 +AUX restart/unscd 27 RMD160 73e53d26fabc6f096716611fb49079eec087d5de SHA1 d66cf309641551187da932e3df93d197984451f9 SHA256 22c7ff7dba9a28bfa917e6d0728247023ecd17bcd9b4d74dccb20e493d48d376 +AUX restart/vsftpd 27 RMD160 91be22938c872d12b96c8c695f9cba1c2767ed45 SHA1 016b411d34273ae75962ac4023b1c9e6c632a19a SHA256 75ecac8ca02bf650883aecdc5e8d7d4c233ad1d96d4497f99135703930c38932 AUX sync-distclean-exec.cron 48 RMD160 06f9d602ab5c35a524e1605aa2296975fbf93fef SHA1 fda026a86c93267d3e29aae42e39cc10be150428 SHA256 48d786065199b15d7e9ec719fa5f519ff11b546022057245c08a27a722544eb6 AUX update-autoshutdown 88 RMD160 f029249c1e727d4feaa06bbdc8bac1a9e84ba178 SHA1 2f55e2283efae01ae9fa30d5ae136989257563c2 SHA256 e90d95d158222c493d4fbf8ebcd9c2927535048d97ee743fe658d47e50aa6fb6 AUX update-install 294 RMD160 8089dd8aa514b6600117d72dd1a4c89d45745c39 SHA1 6e89192c6cb5e41b0b24fa187d08657c74e0706c SHA256 f9501bfe63a9691e46ff4822ab3e81f120632c8d8d235172ac05714208035f42 @@ -23,3 +55,4 @@ EBUILD miller-base-6-r29.ebuild 2588 RMD160 864e73ac0af8d960bf0838a4c3c58622492b EBUILD miller-base-6-r30.ebuild 2484 RMD160 5a7d0122b70e29fd0547895d5e7c18952c8b800a SHA1 031d80178d865a7bc0e999eeeba2054e95a99489 SHA256 e7d3e2294f3f33808f0625ee41ce989ef303a74d84e7ef390581876569fc72b5 EBUILD miller-base-6-r31.ebuild 2503 RMD160 636ee7ce618ce4b67af27c03803fb71318d4c879 SHA1 6714bad8e34ff1ad1ef0d2e1fe89c4a6872e4063 SHA256 e19b62b18056211c398fb31c559977a166d1188fd44ddaeaf08782df04ac8676 EBUILD miller-base-6-r33.ebuild 2613 RMD160 8100f5c6662a49c5722245600f6df5a533380e6e SHA1 7df04f894578f8888767030cb4e585c1b50bae9f SHA256 8f2dcb85eb861642237d5c63db402ccc3635f830a92df50109b955bdfb95906b +EBUILD miller-base-7.ebuild 2956 RMD160 c558507f87620f2a12381c4fd06d5e0fc28c48f6 SHA1 0194798d1889f868de6430be29599f0c2465982e SHA256 744bd723ab047750d66bad401d8576af1fec94c2061d0cd56f43671086db2f5b diff --git a/virtual/miller-base/files/auto-restart-services b/virtual/miller-base/files/auto-restart-services new file mode 100755 index 0000000..5c9c65f --- /dev/null +++ b/virtual/miller-base/files/auto-restart-services @@ -0,0 +1,11 @@ +#!/bin/bash + +for f in `lsof -n +c0 | grep '\(DEL\|deleted\)' | grep -v /dev/zero | grep -v /SYS | cut -d ' ' -f 1 | sort -u`; do + echo $f + sc=/usr/libexec/scripts/auto-restart/$f + if [ -x $sc ] ; then + echo restart $f with $sc + . $sc + fi +done + diff --git a/virtual/miller-base/files/restart/acpid b/virtual/miller-base/files/restart/acpid new file mode 100755 index 0000000..854cfe1 --- /dev/null +++ b/virtual/miller-base/files/restart/acpid @@ -0,0 +1 @@ +/etc/init.d/acpid restart diff --git a/virtual/miller-base/files/restart/agetty b/virtual/miller-base/files/restart/agetty new file mode 100755 index 0000000..e10f532 --- /dev/null +++ b/virtual/miller-base/files/restart/agetty @@ -0,0 +1 @@ +killall agetty diff --git a/virtual/miller-base/files/restart/apache2 b/virtual/miller-base/files/restart/apache2 new file mode 100755 index 0000000..6455b6f --- /dev/null +++ b/virtual/miller-base/files/restart/apache2 @@ -0,0 +1 @@ +/etc/init.d/apache2 restart diff --git a/virtual/miller-base/files/restart/authdaemond b/virtual/miller-base/files/restart/authdaemond new file mode 100755 index 0000000..b6636a8 --- /dev/null +++ b/virtual/miller-base/files/restart/authdaemond @@ -0,0 +1,2 @@ +/etc/init.d/courier-authlib restart + diff --git a/virtual/miller-base/files/restart/clamd b/virtual/miller-base/files/restart/clamd new file mode 100755 index 0000000..b1f67a8 --- /dev/null +++ b/virtual/miller-base/files/restart/clamd @@ -0,0 +1 @@ +/etc/init.d/clamd restart diff --git a/virtual/miller-base/files/restart/console-kit-dae b/virtual/miller-base/files/restart/console-kit-dae new file mode 100755 index 0000000..ff13001 --- /dev/null +++ b/virtual/miller-base/files/restart/console-kit-dae @@ -0,0 +1,2 @@ +/etc/init.d/consolekit restart + diff --git a/virtual/miller-base/files/restart/couriertcpd b/virtual/miller-base/files/restart/couriertcpd new file mode 100755 index 0000000..a6b8546 --- /dev/null +++ b/virtual/miller-base/files/restart/couriertcpd @@ -0,0 +1,2 @@ +/etc/init.d/courier-imapd restart + diff --git a/virtual/miller-base/files/restart/dbus-daemon b/virtual/miller-base/files/restart/dbus-daemon new file mode 100755 index 0000000..a145b23 --- /dev/null +++ b/virtual/miller-base/files/restart/dbus-daemon @@ -0,0 +1,2 @@ +/etc/init.d/dbus restart + diff --git a/virtual/miller-base/files/restart/ddclient b/virtual/miller-base/files/restart/ddclient new file mode 100755 index 0000000..e7d01aa --- /dev/null +++ b/virtual/miller-base/files/restart/ddclient @@ -0,0 +1,2 @@ +/etc/init.d/ddclient restart + diff --git a/virtual/miller-base/files/restart/dhcpd b/virtual/miller-base/files/restart/dhcpd new file mode 100755 index 0000000..360a4e7 --- /dev/null +++ b/virtual/miller-base/files/restart/dhcpd @@ -0,0 +1,2 @@ +/etc/init.d/dhcpd restart + diff --git a/virtual/miller-base/files/restart/dmeventd b/virtual/miller-base/files/restart/dmeventd new file mode 100755 index 0000000..c263272 --- /dev/null +++ b/virtual/miller-base/files/restart/dmeventd @@ -0,0 +1,2 @@ +/etc/init.d/dmeventd restart + diff --git a/virtual/miller-base/files/restart/exim b/virtual/miller-base/files/restart/exim new file mode 100755 index 0000000..3b3b9d7 --- /dev/null +++ b/virtual/miller-base/files/restart/exim @@ -0,0 +1,2 @@ +/etc/init.d/exim restart + diff --git a/virtual/miller-base/files/restart/glusterfsd b/virtual/miller-base/files/restart/glusterfsd new file mode 100755 index 0000000..32133a5 --- /dev/null +++ b/virtual/miller-base/files/restart/glusterfsd @@ -0,0 +1,2 @@ +/etc/init.d/glusterfsd restart + diff --git a/virtual/miller-base/files/restart/mdadm b/virtual/miller-base/files/restart/mdadm new file mode 100755 index 0000000..96ff637 --- /dev/null +++ b/virtual/miller-base/files/restart/mdadm @@ -0,0 +1,2 @@ +/etc/init.d/mdadm restart + diff --git a/virtual/miller-base/files/restart/mediatomb b/virtual/miller-base/files/restart/mediatomb new file mode 100755 index 0000000..e7e9ac1 --- /dev/null +++ b/virtual/miller-base/files/restart/mediatomb @@ -0,0 +1 @@ +/etc/init.d/mediatomb restart diff --git a/virtual/miller-base/files/restart/named b/virtual/miller-base/files/restart/named new file mode 100755 index 0000000..904b73a --- /dev/null +++ b/virtual/miller-base/files/restart/named @@ -0,0 +1,4 @@ +/etc/init.d/named stop +sleep 5 +/etc/init.d/named start + diff --git a/virtual/miller-base/files/restart/nmbd b/virtual/miller-base/files/restart/nmbd new file mode 100755 index 0000000..fe5c15a --- /dev/null +++ b/virtual/miller-base/files/restart/nmbd @@ -0,0 +1 @@ +/etc/init.d/samba restart diff --git a/virtual/miller-base/files/restart/ntpd b/virtual/miller-base/files/restart/ntpd new file mode 100755 index 0000000..bc64de8 --- /dev/null +++ b/virtual/miller-base/files/restart/ntpd @@ -0,0 +1,2 @@ +/etc/init.d/ntpd restart + diff --git a/virtual/miller-base/files/restart/postgres b/virtual/miller-base/files/restart/postgres new file mode 100755 index 0000000..7c0cdfc --- /dev/null +++ b/virtual/miller-base/files/restart/postgres @@ -0,0 +1,2 @@ +/etc/init.d/postgresql-* restart + diff --git a/virtual/miller-base/files/restart/pptpd b/virtual/miller-base/files/restart/pptpd new file mode 100755 index 0000000..a402f31 --- /dev/null +++ b/virtual/miller-base/files/restart/pptpd @@ -0,0 +1,3 @@ +killall pptpd +/etc/init.d/pptpd zap +/etc/init.d/pptpd start diff --git a/virtual/miller-base/files/restart/privoxy b/virtual/miller-base/files/restart/privoxy new file mode 100755 index 0000000..094c306 --- /dev/null +++ b/virtual/miller-base/files/restart/privoxy @@ -0,0 +1 @@ +/etc/init.d/privoxy restart diff --git a/virtual/miller-base/files/restart/slapd b/virtual/miller-base/files/restart/slapd new file mode 100755 index 0000000..1c88e6f --- /dev/null +++ b/virtual/miller-base/files/restart/slapd @@ -0,0 +1,2 @@ +/etc/init.d/slapd restart + diff --git a/virtual/miller-base/files/restart/smbd b/virtual/miller-base/files/restart/smbd new file mode 100755 index 0000000..fe5c15a --- /dev/null +++ b/virtual/miller-base/files/restart/smbd @@ -0,0 +1 @@ +/etc/init.d/samba restart diff --git a/virtual/miller-base/files/restart/spamd b/virtual/miller-base/files/restart/spamd new file mode 100755 index 0000000..ded11fa --- /dev/null +++ b/virtual/miller-base/files/restart/spamd @@ -0,0 +1 @@ +/etc/init.d/spamd restart diff --git a/virtual/miller-base/files/restart/squid b/virtual/miller-base/files/restart/squid new file mode 100755 index 0000000..acf69ae --- /dev/null +++ b/virtual/miller-base/files/restart/squid @@ -0,0 +1 @@ +/etc/init.d/squid restart diff --git a/virtual/miller-base/files/restart/sshd b/virtual/miller-base/files/restart/sshd new file mode 100755 index 0000000..8dcf358 --- /dev/null +++ b/virtual/miller-base/files/restart/sshd @@ -0,0 +1,2 @@ +/etc/init.d/sshd restart + diff --git a/virtual/miller-base/files/restart/syslog-ng b/virtual/miller-base/files/restart/syslog-ng new file mode 100755 index 0000000..68aa329 --- /dev/null +++ b/virtual/miller-base/files/restart/syslog-ng @@ -0,0 +1,2 @@ +/etc/init.d/syslog-ng restart + diff --git a/virtual/miller-base/files/restart/transmission-da b/virtual/miller-base/files/restart/transmission-da new file mode 100755 index 0000000..cbee951 --- /dev/null +++ b/virtual/miller-base/files/restart/transmission-da @@ -0,0 +1 @@ +/etc/init.d/transmission-daemon restart diff --git a/virtual/miller-base/files/restart/udevd b/virtual/miller-base/files/restart/udevd new file mode 100755 index 0000000..664b8d6 --- /dev/null +++ b/virtual/miller-base/files/restart/udevd @@ -0,0 +1,2 @@ +/etc/init.d/udev restart + diff --git a/virtual/miller-base/files/restart/unscd b/virtual/miller-base/files/restart/unscd new file mode 100755 index 0000000..761d29c --- /dev/null +++ b/virtual/miller-base/files/restart/unscd @@ -0,0 +1,2 @@ +/etc/init.d/unscd restart + diff --git a/virtual/miller-base/files/restart/vsftpd b/virtual/miller-base/files/restart/vsftpd new file mode 100755 index 0000000..bff30e9 --- /dev/null +++ b/virtual/miller-base/files/restart/vsftpd @@ -0,0 +1 @@ +/etc/init.d/vsftpd restart diff --git a/virtual/miller-base/miller-base-7.ebuild b/virtual/miller-base/miller-base-7.ebuild new file mode 100644 index 0000000..d193f57 --- /dev/null +++ b/virtual/miller-base/miller-base-7.ebuild @@ -0,0 +1,96 @@ +DESCRIPTION="Virtual for Miller servers" + +SLOT="0" +KEYWORDS="alpha amd64 arm ia64 mips ppc ppc-macos sparc sparc-fbsd x86 x86-fbsd" +IUSE="cdr nohardenedkernel nohourlyupdate fuse xfs bash-completion nomedia git +minimal autoupdate autoshutdown autoservicerestart" + +DEPEND=" + !minimal? ( www-servers/apache ) + sys-cluster/glusterfs + sys-apps/inotail + cdr? ( app-cdr/k3b ) + !nomedia? ( media-tv/mythtv ) + sys-apps/hdparm + sys-apps/unscd + !minimal? ( net-dns/bind-tools ) + fuse? ( sys-fs/sshfs-fuse ) + !minimal? ( || ( net-fs/mount-cifs net-fs/samba-client ) ) + xfs? ( sys-fs/xfsdump ) + sys-fs/lvm2 + >=app-portage/gentoolkit-0.2.1 + sys-process/vixie-cron + !minimal? ( sys-apps/eject ) + app-admin/sudo + mail-client/mailx + sys-apps/pciutils + !minimal? ( app-dicts/myspell-en ) + net-misc/ntp + !minimal? ( net-analyzer/netcat ) + !minimal? ( net-ftp/ncftp ) + dev-util/cvs + !minimal? ( x11-apps/xauth ) + sys-process/lsof + app-portage/layman + app-admin/syslog-ng + app-admin/logrotate + !minimal? ( app-admin/gkrellm ) + !minimal? ( app-antivirus/clamav ) + nohardenedkernel? ( sys-kernel/gentoo-sources ) + !nohardenedkernel? ( sys-kernel/hardened-sources ) + !minimal? ( app-text/unix2dos ) + app-misc/screen + sys-boot/grub + app-vim/gentoo-syntax + sys-apps/kexec-tools + !minimal? ( app-text/dos2unix ) + sys-auth/pam_ldap + sys-auth/nss_ldap + app-editors/gvim + git? ( dev-util/git ) + !minimal? ( dev-util/strace ) + bash-completion? ( app-shells/bash-completion ) + " + +src_install() { + exeinto /etc/cron.weekly + use !minimal && newexe "${FILESDIR}"/weekly-av-scan.cron av-scan + + exeinto /etc/cron.daily + use !minimal && newexe "${FILESDIR}"/daily-av-update.cron av-update + + if [ -n "${UPDATETIME}" ]; then + mkdir -p ${D}/etc/cron.d + echo "${UPDATETIME} root /sbin/gentoo-portage-update" > ${D}/etc/cron.d/gentoo-portage-update + exeinto /sbin + else + use nohourlyupdate && exeinto /etc/cron.daily + use !nohourlyupdate && exeinto /etc/cron.hourly + fi + newexe "${FILESDIR}"/update.portage.cron-2 gentoo-portage-update + + exeinto /etc/portage/postsync.d/ + newexe "${FILESDIR}"/sync-distclean-exec.cron 88-portage-distclean-exec + use !autoupdate && newexe "${FILESDIR}"/auto-download-packages 89-auto-download-package + newexe "${FILESDIR}"/auto-update-overlays 10-auto-update-overlays + newexe "${FILESDIR}"/write-new-updates 50-write-new-updates + if use autoupdate ; then + dosym /sbin/update-install /etc/portage/postsync.d/98-update-install + if use autoshutdown ; then + newexe "${FILESDIR}"/update-autoshutdown 99-auto-shutdown + else + if use autoservicerestart ; then + exeinto /usr/libexec/scripts/auto-restart + for f in ${FILESDIR}/restart/* ; do + newexe ${FILESDIR}/restart/`basename $f` `basename $f` + done + exeinto /etc/portage/postsync.d/ + newexe "${FILESDIR}"/auto-restart-services 99-auto-restart-services + fi + fi + fi + + exeinto /sbin + newexe "${FILESDIR}"/update-install2 update-install + newexe "${FILESDIR}"/update-kernel update-kernel +} |