summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--virtual/miller-base/Manifest6
-rw-r--r--virtual/miller-base/files/lvmroot/rebuild-initrd5
-rw-r--r--virtual/miller-base/miller-base-8.ebuild110
3 files changed, 121 insertions, 0 deletions
diff --git a/virtual/miller-base/Manifest b/virtual/miller-base/Manifest
index 8d20a7a..75c456b 100644
--- a/virtual/miller-base/Manifest
+++ b/virtual/miller-base/Manifest
@@ -3,6 +3,11 @@ AUX auto-restart-services 247 RMD160 8dabc50278db05a7ec2d1dc85d6ede0e92534303 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 lvmroot/init 403 RMD160 146e3a99db8fdf8aeedbb67ce7087905c7ac1577 SHA1 17a6b6ac787188046e0768c63baa5589a6675e4b SHA256 9890397895b356be0134c6b0fcd21206ba9518077db94accffb8774992172b80
+AUX lvmroot/initrd.list 2205 RMD160 1d8b1458f53c018ebff371cdff1297df99723966 SHA1 4a25d22322974b4410f75896230952ce1baefc53 SHA256 334ff5dfa4e7bf366f34378bb11a869d4e43fda2dd077e443d368410d94ed353
+AUX lvmroot/makefile 596 RMD160 96d70fd0ff7da3ae20e816c8368f9eaf4f891fe4 SHA1 c541137a801302fb259491ca475ed1877e4b1e2c SHA256 8dc59305409dc77acb2f2f37954ca4d8a70223901dd49f2610febb70dcfaa90a
+AUX lvmroot/mtab 713 RMD160 0d20da9702f47582e0b26cb81da6912a3dd008a5 SHA1 cefc750a24a4b55114c2482310ce10bb93ce2c76 SHA256 0edc5d3656174c228b8a961305a26b4cd3481ae41dc4dc55918bed3c6f8a0b5a
+AUX lvmroot/rebuild-initrd 64 RMD160 1e552145402fa7e3da14a6b78a237f4bd32a222e SHA1 6b9be43f578cfb283735ce91318afbea024dcc6a SHA256 0c51117369e8b65d74d3a6a4c79164e2d359d727267d6e1ca831123a847a8011
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
@@ -45,3 +50,4 @@ AUX weekly-distclean-exec-eclean.cron 40 RMD160 3c0f801ebbb3e575590aa7764e5020a8
AUX weekly-distclean-exec.cron 664 RMD160 af55d070f6f442feedbfb7a324ccaa5ceff53037 SHA1 76f91d4eac90a44f3d9e636640279d1754f2739e SHA256 98808e9a3402beea0f023db32cd09df6195d608256672e01d7f05e21536af141
AUX write-new-updates 108 RMD160 1eccc342427d7c6523f23f8d7bd4bf2966638cb2 SHA1 8886bae7ac2c2f01c6cbd47ffcaa15ffcc210214 SHA256 b910f8d64a069e8038965c1c8af3bf05729f027e2da264cd6e0fa2ea627ec164
EBUILD miller-base-7-r2.ebuild 3018 RMD160 e25aff842a0bd512890914e2c56b038bb377e3ab SHA1 b9a9fef1092339035b546e5c8eefad9825fdae9d SHA256 6035d0bc20312ed8b941cea3a18f2917bc5144f9f822c944fcd8d0572b3d1d52
+EBUILD miller-base-8.ebuild 3396 RMD160 b61442258438854316e74d6aa2303f07d5c9ac39 SHA1 fcbb3800dbbf035e38602fa9e9cde91010b8cd55 SHA256 bd0205e6607afe6a7e5223e514d343fd7e7755c4496aa5d8aa6e59c6748c0aeb
diff --git a/virtual/miller-base/files/lvmroot/rebuild-initrd b/virtual/miller-base/files/lvmroot/rebuild-initrd
new file mode 100644
index 0000000..b2ea733
--- /dev/null
+++ b/virtual/miller-base/files/lvmroot/rebuild-initrd
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+cd /usr/share/lvmroot
+make /boot/initrd.cpio.lzma
+
diff --git a/virtual/miller-base/miller-base-8.ebuild b/virtual/miller-base/miller-base-8.ebuild
new file mode 100644
index 0000000..91826d4
--- /dev/null
+++ b/virtual/miller-base/miller-base-8.ebuild
@@ -0,0 +1,110 @@
+DESCRIPTION="Virtual for Miller servers"
+
+EAPI="2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ia64 mips ppc ppc-macos sparc sparc-fbsd x86 x86-fbsd"
+IUSE="cdr hardened nohourlyupdate fuse xfs bash-completion nomedia git
+minimal autoupdate autoshutdown autoservicerestart lvmroot"
+
+DEPEND="
+ !minimal? ( www-servers/apache )
+ sys-cluster/glusterfs
+ sys-apps/inotail
+ sys-apps/ethtool
+ cdr? ( app-cdr/k3b )
+ !nomedia? ( media-tv/mythtv media-plugins/mythvideo )
+ 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[cvs]
+ app-admin/syslog-ng
+ app-admin/logrotate
+ !minimal? ( app-antivirus/clamav )
+ !hardened? ( sys-kernel/tuxonice-sources )
+ hardened? ( sys-kernel/hardened-sources )
+ !minimal? ( ||
+ ( app-text/dos2unix <app-text/unix2dos-5 )
+ ( >=app-text/dos2unix-5 !app-text/unix2dos ) )
+ app-misc/screen
+ lvmroot? ( >=sys-boot/grub-1.98 )
+ sys-boot/grub
+ app-vim/gentoo-syntax
+ sys-apps/kexec-tools
+ sys-auth/pam_ldap
+ sys-auth/nss_ldap
+ app-editors/gvim
+ git? ( dev-vcs/git )
+ !minimal? ( dev-util/strace )
+ bash-completion? ( app-shells/bash-completion )
+ net-misc/wakeonlan
+ "
+
+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 60-portage-distclean-exec
+ use !autoupdate && newexe "${FILESDIR}"/auto-download-packages 70-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/75-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 80-auto-restart-services
+ fi
+ fi
+ fi
+ if use lvmroot ; then
+ exeinto /usr/share/lvmroot/
+ newexe ${FILESDIR}/lvmroot/init init
+ insinto /usr/share/lvmroot/
+ doins ${FILESDIR}/lvmroot/initrd.list
+ doins ${FILESDIR}/lvmroot/makefile
+ doins ${FILESDIR}/lvmroot/mtab
+ exeinto /etc/portage/postsync.d/
+ newexe "${FILESDIR}"/lvmroot/rebuild-initrd 80-rebuild-initrd
+ fi
+
+ exeinto /sbin
+ newexe "${FILESDIR}"/update-install2 update-install
+ newexe "${FILESDIR}"/update-kernel update-kernel
+}