diff options
author | randomdan <randomdan@localhost> | 2009-10-16 20:45:10 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2009-10-16 20:45:10 +0000 |
commit | 90da29ff637830ecf4453343e252f221f8fe4957 (patch) | |
tree | 8e4fba795236180100e1e02dcf4aaea12d83c924 | |
parent | dep changes (diff) | |
download | portage-90da29ff637830ecf4453343e252f221f8fe4957.tar.bz2 portage-90da29ff637830ecf4453343e252f221f8fe4957.tar.xz portage-90da29ff637830ecf4453343e252f221f8fe4957.zip |
new update-install
-rw-r--r-- | virtual/miller-base/Manifest | 2 | ||||
-rwxr-xr-x | virtual/miller-base/files/update-install2 | 16 | ||||
-rw-r--r-- | virtual/miller-base/miller-base-6-r27.ebuild | 80 |
3 files changed, 98 insertions, 0 deletions
diff --git a/virtual/miller-base/Manifest b/virtual/miller-base/Manifest index 9015438..4d902f6 100644 --- a/virtual/miller-base/Manifest +++ b/virtual/miller-base/Manifest @@ -4,6 +4,7 @@ AUX daily-av-update.cron 31 RMD160 17399a1386d96221b51960ec38c7059af01c609e SHA1 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-install2 384 RMD160 ddc0dea5faae70019d9fd5eb004e40abcc3298aa SHA1 60cf63a4e98506a5375ba1c8227dc25a265a3075 SHA256 8add558a0a07e610bcb6f471ba5877ad896a7de61aba62a4df3771844d643f16 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 @@ -17,3 +18,4 @@ EBUILD miller-base-6-r23.ebuild 1994 RMD160 b6c73b60515bd886919722caff44b5293d04 EBUILD miller-base-6-r24.ebuild 2208 RMD160 0513c248fd999884013960cab53dc57f6233fd95 SHA1 b94f615027a2e47171e3a339e6dd4918d1afba60 SHA256 7dbad9aad6f33982df79519009b60b4ea833f38550b1b10aa21f20a6310cb8fb EBUILD miller-base-6-r25.ebuild 2230 RMD160 08f056b00edda07d4470d2b799b4e18f25f9d640 SHA1 55dd626296968b263b8ee20efca5f49f52f3b7bb SHA256 a79d674c28bb15745006dcf3b3949102206a109229c678d28b68a16d63b7a8b4 EBUILD miller-base-6-r26.ebuild 2415 RMD160 4e9a889c29a9e9b51af60bd69dc2b5a32526eb0f SHA1 6f3578efd7084b691c7bc68d37be96a66b35c320 SHA256 8837172d4db8b67bcb8eb248bdd6f589522f9f20f11d09ee2b0a8bbc03fb8b91 +EBUILD miller-base-6-r27.ebuild 2416 RMD160 bfd50d37b7c6bbed99d0bc29f8e2bdc8b60f76c2 SHA1 a22cddd8d00ac9941095d51bfa773a40bebdf12e SHA256 ea734afc023abc933d82e206721abd71d1673e7679f379d7d63dac8291d87713 diff --git a/virtual/miller-base/files/update-install2 b/virtual/miller-base/files/update-install2 new file mode 100755 index 0000000..05143c3 --- /dev/null +++ b/virtual/miller-base/files/update-install2 @@ -0,0 +1,16 @@ +#!/bin/bash + +file="/var/www/files/localhost/`hostname`_updates.txt" +dpfile="/var/www/files/localhost/`hostname`_depclean.txt" + +( \ + ( \ + ( \ + emerge -uqDN -j2 @world @system --keep-going && \ + rm -f $file ) || \ + /etc/portage/postsync.d/50-write-new-updates ) && \ + emerge --depclean -q 2>&1 | tee $dpfile && \ + emerge -q @preserved-rebuild \ +) +revdep-rebuild -q -i +etc-update diff --git a/virtual/miller-base/miller-base-6-r27.ebuild b/virtual/miller-base/miller-base-6-r27.ebuild new file mode 100644 index 0000000..ef57c25 --- /dev/null +++ b/virtual/miller-base/miller-base-6-r27.ebuild @@ -0,0 +1,80 @@ +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 git minimal" + +DEPEND=" + !minimal? ( www-servers/apache ) + sys-cluster/glusterfs + sys-apps/inotail + cdr? ( app-cdr/k3b ) + !nomedia? ( media-tv/mythtv ) + 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 + app-admin/syslog-ng + app-admin/logrotate + !minimal? ( app-admin/gkrellm ) + !minimal? ( app-antivirus/clamav ) + nohardenedkernel? ( sys-kernel/gentoo-sources ) + !nohardenedkernel? ( sys-kernel/hardened-sources ) + !minimal? ( app-text/unix2dos ) + app-misc/screen + sys-boot/grub + app-vim/gentoo-syntax + sys-apps/kexec-tools + !minimal? ( app-text/dos2unix ) + sys-auth/pam_ldap + sys-auth/nss_ldap + app-editors/gvim + git? ( dev-util/git ) + !minimal? ( 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 88-portage-distclean-exec || die + newexe "${FILESDIR}"/auto-download-packages 89-auto-download-package || die + newexe "${FILESDIR}"/auto-update-overlays 10-auto-update-overlays || die + newexe "${FILESDIR}"/write-new-updates 50-write-new-updates || die + + exeinto /sbin + newexe "${FILESDIR}"/update-install2 update-install || die + newexe "${FILESDIR}"/update-kernel update-kernel || die +} |