summaryrefslogtreecommitdiff
path: root/virtual
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2009-08-27 17:26:04 +0000
committerrandomdan <randomdan@localhost>2009-08-27 17:26:04 +0000
commite966a89ef2d1f96f963ba8057cf4ffeea768090a (patch)
tree02516d62d685738300a9382882a2eedfa0e63ab9 /virtual
parentMake old stuff optional (diff)
downloadportage-e966a89ef2d1f96f963ba8057cf4ffeea768090a.tar.bz2
portage-e966a89ef2d1f96f963ba8057cf4ffeea768090a.tar.xz
portage-e966a89ef2d1f96f963ba8057cf4ffeea768090a.zip
New clean up and scheduling
Diffstat (limited to 'virtual')
-rw-r--r--virtual/miller-base/Manifest2
-rwxr-xr-xvirtual/miller-base/files/sync-distclean-exec.cron4
-rw-r--r--virtual/miller-base/miller-base-6-r24.ebuild81
3 files changed, 87 insertions, 0 deletions
diff --git a/virtual/miller-base/Manifest b/virtual/miller-base/Manifest
index d83b04e..cf96653 100644
--- a/virtual/miller-base/Manifest
+++ b/virtual/miller-base/Manifest
@@ -2,6 +2,7 @@ AUX auto-download-packages 81 RMD160 05c97eeabe538cdc52dc55259dc77a75cdb1f65b SH
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 sync-distclean-exec.cron 48 RMD160 06f9d602ab5c35a524e1605aa2296975fbf93fef SHA1 fda026a86c93267d3e29aae42e39cc10be150428 SHA256 48d786065199b15d7e9ec719fa5f519ff11b546022057245c08a27a722544eb6
AUX update-install 294 RMD160 8089dd8aa514b6600117d72dd1a4c89d45745c39 SHA1 6e89192c6cb5e41b0b24fa187d08657c74e0706c SHA256 f9501bfe63a9691e46ff4822ab3e81f120632c8d8d235172ac05714208035f42
AUX update-kernel 435 RMD160 0b7becad4f9a43110cc7e9b0b8912c97cfafe4b7 SHA1 6634ec3b65d631a496bfaade36385b82cf8251ff SHA256 272a3ed8d5d2f863279ec77bc81578f0547c716cfa852ba3d32072d2600754fa
AUX update.portage.cron 171 RMD160 c388289e78342b65d48077868f4acbe9b3b00849 SHA1 d7430ff8e906ad8d66918750c29722bfa6030c73 SHA256 394b727e294166db136d5b5c46ab0ac180952d6f20cd93b4a356a2cfc9bedf03
@@ -13,3 +14,4 @@ AUX write-new-updates 128 RMD160 0f5452b7a9c4bacb98eff3863ab46509825cd0c1 SHA1 a
EBUILD miller-base-6-r21.ebuild 1610 RMD160 537d58e83b03efb0336093af8f598c14cc77382c SHA1 c14fe5fe5ba408839c9d46b51de499c9f229620d SHA256 82efd5a2cb7078ce8b1ea0543cc3ddc08cdf3b0a513f43fc32bd2796178a0041
EBUILD miller-base-6-r22.ebuild 1862 RMD160 afaf2e96c5041d17836f6f3cf71713e75a7c6c54 SHA1 cc23bd2da05c4ced712180902c4a98790bd0bcf3 SHA256 1c12cefe710ecfa737ad466d2ce8d88a447ca2ec73f7837fb1cda7b07ac4b778
EBUILD miller-base-6-r23.ebuild 1994 RMD160 b6c73b60515bd886919722caff44b5293d0412ad SHA1 cc769f32c57fde9069cc47b82823636e769bcf82 SHA256 3111792c081e5d12893d07dc46fabe8a1b7d014bf77fa1cdb1724f9d60f8ca96
+EBUILD miller-base-6-r24.ebuild 2183 RMD160 179ba6ac2e2533f266291aad9292ead0cba14ded SHA1 e588c5e99e0e6e77f6b42c41b69d08820cbdc8f2 SHA256 29f98b0c536ae8595c9112caa33db51cca04cfc99cb6aa4f9f510af2bd1b2f45
diff --git a/virtual/miller-base/files/sync-distclean-exec.cron b/virtual/miller-base/files/sync-distclean-exec.cron
new file mode 100755
index 0000000..d29a0ce
--- /dev/null
+++ b/virtual/miller-base/files/sync-distclean-exec.cron
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+eclean-dist -d -q
+eclean-pkg -d -q
diff --git a/virtual/miller-base/miller-base-6-r24.ebuild b/virtual/miller-base/miller-base-6-r24.ebuild
new file mode 100644
index 0000000..2230265
--- /dev/null
+++ b/virtual/miller-base/miller-base-6-r24.ebuild
@@ -0,0 +1,81 @@
+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"
+
+DEPEND="
+ www-servers/apache
+ net-fs/glusterfs
+ sys-apps/inotail
+ cdr? ( app-cdr/k3b )
+ media-tv/mythtv
+ sys-apps/hdparm
+ sys-libs/unscd
+ net-dns/bind-tools
+ fuse? ( sys-fs/sshfs-fuse )
+ net-fs/mount-cifs
+ xfs? ( sys-fs/xfsdump )
+ sys-fs/lvm2
+ >=app-portage/gentoolkit-0.2.1
+ sys-process/vixie-cron
+ sys-apps/eject
+ app-admin/sudo
+ mail-client/mailx
+ sys-apps/pciutils
+ app-dicts/myspell-en
+ net-misc/ntp
+ net-analyzer/netcat
+ net-ftp/ncftp
+ dev-util/cvs
+ x11-apps/xauth
+ sys-process/lsof
+ app-portage/layman
+ net-analyzer/net-snmp
+ app-admin/syslog-ng
+ app-admin/logrotate
+ app-admin/gkrellm
+ app-antivirus/clamav
+ nohardenedkernel? ( sys-kernel/gentoo-sources )
+ !nohardenedkernel? ( sys-kernel/hardened-sources )
+ app-text/unix2dos
+ app-misc/screen
+ sys-boot/grub
+ app-vim/gentoo-syntax
+ sys-apps/kexec-tools
+ app-text/dos2unix
+ sys-auth/pam_ldap
+ sys-auth/nss_ldap
+ app-editors/gvim
+ dev-util/git
+ dev-util/strace
+ bash-completion? ( app-shells/bash-completion )
+ "
+
+src_install() {
+ exeinto /etc/cron.weekly
+ newexe "${FILESDIR}"/weekly-av-scan.cron av-scan || die
+
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}"/daily-av-update.cron av-update || die
+
+ if [ -n "${UPDATETIME}" ]; then
+ mkdir -p ${D}/etc/cron.d
+ echo "${UPDATETIME} /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 || die
+
+ exeinto /etc/portage/postsync.d/
+ newexe "${FILESDIR}"/sync-distclean-exec-eclean.cron 98-portage-distclean-exec || die
+ newexe "${FILESDIR}"/auto-download-packages 99-auto-download-package || die
+ newexe "${FILESDIR}"/auto-update-overlays 01-auto-update-overlays || die
+ newexe "${FILESDIR}"/write-new-updates 50-write-new-updates || die
+
+ exeinto /sbin
+ newexe "${FILESDIR}"/update-install update-install || die
+ newexe "${FILESDIR}"/update-kernel update-kernel || die
+}