diff options
-rw-r--r-- | virtual/miller-base/Manifest | 5 | ||||
-rw-r--r-- | virtual/miller-base/files/auto-update-overlays | 3 | ||||
-rwxr-xr-x | virtual/miller-base/files/update.portage.cron-2 | 5 | ||||
-rwxr-xr-x | virtual/miller-base/files/write-new-updates | 5 | ||||
-rw-r--r-- | virtual/miller-base/miller-base-6-r22.ebuild | 71 |
5 files changed, 83 insertions, 6 deletions
diff --git a/virtual/miller-base/Manifest b/virtual/miller-base/Manifest index bd67ad0..161504c 100644 --- a/virtual/miller-base/Manifest +++ b/virtual/miller-base/Manifest @@ -1,9 +1,12 @@ AUX auto-download-packages 81 RMD160 05c97eeabe538cdc52dc55259dc77a75cdb1f65b SHA1 6990f34aaf209d5ad2504ed92ea8496125f0378f SHA256 0ec31222dc2d7b7dac658faffed8b971d9ee6710811c6eefe0145e4ed4c95792 +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 update.portage.cron 171 RMD160 c388289e78342b65d48077868f4acbe9b3b00849 SHA1 d7430ff8e906ad8d66918750c29722bfa6030c73 SHA256 394b727e294166db136d5b5c46ab0ac180952d6f20cd93b4a356a2cfc9bedf03 -AUX update.portage.cron-2 291 RMD160 6c5d01317821ba01df42fd596541c0e6538dfbc3 SHA1 b086d0f7d7b08265c4ddd40ae5ee7d6a0d2bb9f5 SHA256 0eb9b3dc2a26482c1a7e30cd45131a30668cf21812f891b9c585c2498480f656 +AUX update.portage.cron-2 159 RMD160 eada35db78d363502c4d0486cfcbc8493514562f SHA1 4be58a5f236829928865c800585cc9c811a6aad3 SHA256 a910ae7e18b6e759380f1d9e30bffa100912b3a6f1c60c69f33b9cd186d0e92c AUX weekly-av-scan.cron 125 RMD160 f899ac0fd639b9f498877a518b7658a9d0d67c88 SHA1 76e0acd80e769bc7a3ff7095c274033021cabdda SHA256 c36075a5d6061813cf3c2ca0944a7c7365a3dfb313a7077f6a70ec3de0541532 AUX weekly-distclean-exec-eclean.cron 40 RMD160 3c0f801ebbb3e575590aa7764e5020a820e5f5fe SHA1 a077c7c5265c3d9817fa4846dbbab8bc9addfeb5 SHA256 dbb37593b994102324c5a24b5d5d21597c215924a29d065d84b8c64af3049b38 AUX weekly-distclean-exec.cron 664 RMD160 af55d070f6f442feedbfb7a324ccaa5ceff53037 SHA1 76f91d4eac90a44f3d9e636640279d1754f2739e SHA256 98808e9a3402beea0f023db32cd09df6195d608256672e01d7f05e21536af141 +AUX write-new-updates 128 RMD160 0f5452b7a9c4bacb98eff3863ab46509825cd0c1 SHA1 a1c595bb41cdaba7a4afd58c75801b34397a78cd SHA256 4f41e90666fe873bac92c4a53aea0664601da4540c0b61b75caf737362c87696 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 diff --git a/virtual/miller-base/files/auto-update-overlays b/virtual/miller-base/files/auto-update-overlays new file mode 100644 index 0000000..6fac2c8 --- /dev/null +++ b/virtual/miller-base/files/auto-update-overlays @@ -0,0 +1,3 @@ +#!/bin/bash + +layman -SQ0 diff --git a/virtual/miller-base/files/update.portage.cron-2 b/virtual/miller-base/files/update.portage.cron-2 index 2ceb59f..5fa9e29 100755 --- a/virtual/miller-base/files/update.portage.cron-2 +++ b/virtual/miller-base/files/update.portage.cron-2 @@ -3,12 +3,7 @@ source "/etc/make.globals" source "/etc/make.conf" -layman -SQ0 if df -l ${PORTDIR} 2> /dev/null > /dev/null ; then emerge --sync --quiet > /dev/null - log=${PORTDIR}/fetch-`hostname`.log - if [ ! -f ${log} ] ; then - emerge -uDNqf @world @system > ${log} - fi fi diff --git a/virtual/miller-base/files/write-new-updates b/virtual/miller-base/files/write-new-updates new file mode 100755 index 0000000..b45fe7d --- /dev/null +++ b/virtual/miller-base/files/write-new-updates @@ -0,0 +1,5 @@ +#!/bin/bash + +file="/var/www/files/localhost/`hostname`_updates.txt" +hostname > ${file} +emerge -uDNpvq @world @system >> ${file} diff --git a/virtual/miller-base/miller-base-6-r22.ebuild b/virtual/miller-base/miller-base-6-r22.ebuild new file mode 100644 index 0000000..a05dad6 --- /dev/null +++ b/virtual/miller-base/miller-base-6-r22.ebuild @@ -0,0 +1,71 @@ +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 + newexe "${FILESDIR}"/weekly-distclean-exec-eclean.cron portage-distclean-exec || die + + exeinto /etc/cron.daily + newexe "${FILESDIR}"/daily-av-update.cron av-update || die + + use nohourlyupdate && exeinto /etc/cron.daily + use !nohourlyupdate && exeinto /etc/cron.hourly + newexe "${FILESDIR}"/update.portage.cron-2 gentoo-portage-update || die + + exeinto /etc/portage/postsync.d/ + newexe "${FILESDIR}"/auto-download-packages auto-download-package || die + newexe "${FILESDIR}"/auto-update-overlays auto-update-overlays || die + newexe "${FILESDIR}"/write-new-updates write-new-updates || die +} |