diff options
Diffstat (limited to 'virtual/miller-base')
-rw-r--r-- | virtual/miller-base/miller-base-6-r25.ebuild | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/virtual/miller-base/miller-base-6-r25.ebuild b/virtual/miller-base/miller-base-6-r25.ebuild new file mode 100644 index 0000000..9353b47 --- /dev/null +++ b/virtual/miller-base/miller-base-6-r25.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 nomedia" + +DEPEND=" + www-servers/apache + net-fs/glusterfs + sys-apps/inotail + cdr? ( app-cdr/k3b ) + !nomedia ( media-tv/mythtv ) + sys-apps/hdparm + sys-libs/unscd + net-dns/bind-tools + fuse? ( sys-fs/sshfs-fuse ) + || ( 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 + 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} 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 || die + + exeinto /etc/portage/postsync.d/ + newexe "${FILESDIR}"/sync-distclean-exec.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 +} |