summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--virtual/miller-base/Manifest3
-rwxr-xr-xvirtual/miller-base/files/update-install8
-rwxr-xr-xvirtual/miller-base/files/update-kernel13
-rw-r--r--virtual/miller-base/miller-base-6-r23.ebuild75
4 files changed, 99 insertions, 0 deletions
diff --git a/virtual/miller-base/Manifest b/virtual/miller-base/Manifest
index 161504c..d83b04e 100644
--- a/virtual/miller-base/Manifest
+++ b/virtual/miller-base/Manifest
@@ -2,6 +2,8 @@ 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 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
AUX update.portage.cron-2 159 RMD160 eada35db78d363502c4d0486cfcbc8493514562f SHA1 4be58a5f236829928865c800585cc9c811a6aad3 SHA256 a910ae7e18b6e759380f1d9e30bffa100912b3a6f1c60c69f33b9cd186d0e92c
AUX weekly-av-scan.cron 125 RMD160 f899ac0fd639b9f498877a518b7658a9d0d67c88 SHA1 76e0acd80e769bc7a3ff7095c274033021cabdda SHA256 c36075a5d6061813cf3c2ca0944a7c7365a3dfb313a7077f6a70ec3de0541532
@@ -10,3 +12,4 @@ AUX weekly-distclean-exec.cron 664 RMD160 af55d070f6f442feedbfb7a324ccaa5ceff530
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
+EBUILD miller-base-6-r23.ebuild 1994 RMD160 b6c73b60515bd886919722caff44b5293d0412ad SHA1 cc769f32c57fde9069cc47b82823636e769bcf82 SHA256 3111792c081e5d12893d07dc46fabe8a1b7d014bf77fa1cdb1724f9d60f8ca96
diff --git a/virtual/miller-base/files/update-install b/virtual/miller-base/files/update-install
new file mode 100755
index 0000000..f5fd9e0
--- /dev/null
+++ b/virtual/miller-base/files/update-install
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+file="/var/www/files/localhost/`hostname`_updates.txt"
+dpfile="/var/www/files/localhost/`hostname`_depclean.txt"
+
+( emerge -uqDN @world @system --keep-going && rm -f $file && emerge --depclean -q 2>&1 | tee $dpfile && emerge -q @preserved-rebuild)
+revdep-rebuild -q -i
+etc-update
diff --git a/virtual/miller-base/files/update-kernel b/virtual/miller-base/files/update-kernel
new file mode 100755
index 0000000..43057d3
--- /dev/null
+++ b/virtual/miller-base/files/update-kernel
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+file="/tmp/packagedModules"
+
+cd /usr/src/linux || ( echo "No kernel directory"; exit 1 )
+make -j2 || ( echo "Make failed" ; exit 1 )
+make modules -j2 || ( echo "Make modules failed" ; exit 1 )
+make modules_install -j2 || ( echo "Make modules install failed" ; exit 1 )
+qfile -q -C /lib/modules > $file
+if [ -s $file ] ; then
+ emerge -q1 `cat $file` || exit 1
+fi
+make install -j2 || ( echo "Make install failed" ; exit 1 )
diff --git a/virtual/miller-base/miller-base-6-r23.ebuild b/virtual/miller-base/miller-base-6-r23.ebuild
new file mode 100644
index 0000000..3e414aa
--- /dev/null
+++ b/virtual/miller-base/miller-base-6-r23.ebuild
@@ -0,0 +1,75 @@
+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
+
+ exeinto /sbin
+ newexe "${FILESDIR}"/update-install update-install || die
+ newexe "${FILESDIR}"/update-kernel update-kernel || die
+}