[67704] users/krischik/Utilities

krischik at macports.org krischik at macports.org
Sun May 16 09:33:55 PDT 2010


Revision: 67704
          http://trac.macports.org/changeset/67704
Author:   krischik at macports.org
Date:     2010-05-16 09:33:50 -0700 (Sun, 16 May 2010)
Log Message:
-----------
SpamAssassin installation.

Modified Paths:
--------------
    users/krischik/Utilities/Install_VIM.command

Added Paths:
-----------
    users/krischik/Utilities/.localized
    users/krischik/Utilities/Copy_To_New.command
    users/krischik/Utilities/F_Activate.command
    users/krischik/Utilities/Install.command
    users/krischik/Utilities/Install_GNOME.command
    users/krischik/Utilities/Install_KDE4.command
    users/krischik/Utilities/Install_Maintained.command
    users/krischik/Utilities/Install_Minimum.command
    users/krischik/Utilities/Install_SpamAssassin.command
    users/krischik/Utilities/Setup_GCC_4.2.command
    users/krischik/Utilities/Uninstall_KDE3.command
    users/krischik/Utilities/Uninstall_KDE4.command
    users/krischik/Utilities/Update.command


Property changes on: users/krischik/Utilities/.localized
___________________________________________________________________
Added: svn:executable
   + *

Added: users/krischik/Utilities/Copy_To_New.command
===================================================================
--- users/krischik/Utilities/Copy_To_New.command	                        (rev 0)
+++ users/krischik/Utilities/Copy_To_New.command	2010-05-16 16:33:50 UTC (rev 67704)
@@ -0,0 +1,46 @@
+#!/opt/local/bin/zsh
+
+setopt X_Trace;
+
+if test "${USER}" = "root"; then
+    pushd "/opt/local.10.5"
+	for I in					    \
+	    **/CVS(/)					    \
+	    bin/startkde				    \
+	    etc/LaunchDaemons/org.macports.fetchmail.plist  \
+	    etc/dbus-1/system.d/avahi-dbus.conf		    \
+	    etc/dovecot/dovecot.conf			    \
+	    etc/dovecot/mkcert.zsh			    \
+	    etc/dovecot/passwd.dovecot			    \
+	    etc/dovecot/renewcert.zsh			    \
+	    etc/dovecot/userdb.dovecot			    \
+	    etc/leafnode/config				    \
+	    etc/rsyncd.conf				    \
+	    etc/ssl					    \
+	    var/log					    \
+	    var/run/dovecot	    			    \
+	    var/run/fetchmail	    			    \
+	    var/spool/news	    			    ;
+	do
+	    gmv --verbose "${I}" "/opt/local/${I}";
+	done; unset I
+    popd;
+
+    pushd "/opt/local"
+	/bin/chmod +a "martin allow write"	    \
+	    Applications			    \
+	    Applications/Utilities		    \
+	    .					    \
+	    bin					    \
+	    etc					    \
+	    etc/LaunchDaemons			    \
+	    etc/dovecot				    \
+	    etc/macports			    ;
+    popd;
+else
+    setopt Multi_OS;
+    sudo ${0} 1>&1 2>&2 &>~/Library/Logs/${0:r:t}.out;
+fi;
+
+# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
+# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :


Property changes on: users/krischik/Utilities/Copy_To_New.command
___________________________________________________________________
Added: svn:executable
   + *

Added: users/krischik/Utilities/F_Activate.command
===================================================================
--- users/krischik/Utilities/F_Activate.command	                        (rev 0)
+++ users/krischik/Utilities/F_Activate.command	2010-05-16 16:33:50 UTC (rev 67704)
@@ -0,0 +1,23 @@
+#!/opt/local/bin/zsh
+
+source ${0:h}/Setup.command
+
+setopt X_Trace;
+setopt Err_Exit;
+
+if test "${USER}" = "root"; then
+    Unload "/Library/LaunchDaemons/org.freedesktop.dbus-system.plist";
+
+    Force_Activate;
+    
+    Load "/Library/LaunchDaemons/org.freedesktop.dbus-system.plist"
+else
+    launchctl unload /Library/LaunchAgents/org.freedesktop.dbus-session.plist
+    setopt Multi_OS;
+    sudo ${0:a} 1>&1 2>&2 &>~/Library/Logs/${0:r:t}.out;
+    launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
+    open /Applications/MacPorts/KDE4/kdeinit4.app
+fi;
+
+# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
+# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :


Property changes on: users/krischik/Utilities/F_Activate.command
___________________________________________________________________
Added: svn:executable
   + *

Added: users/krischik/Utilities/Install.command
===================================================================
--- users/krischik/Utilities/Install.command	                        (rev 0)
+++ users/krischik/Utilities/Install.command	2010-05-16 16:33:50 UTC (rev 67704)
@@ -0,0 +1,93 @@
+#!/opt/local/bin/zsh
+
+source ${0:h}/Setup.command
+
+setopt X_Trace;
+
+if test "${USER}" = "root"; then
+    gcc_select gcc42
+
+    Update;
+    No_Universal;
+    Force_Activate;
+
+    for I in									\
+	"acl2"					    				\
+	"aspell +nls"				    				\
+	"aspell-dict-de"			    				\
+	"aspell-dict-en"			    				\
+	"aspell-dict-ru"			    				\
+	"autoconf"				    				\
+	"avahi +mono"				    				\
+	"b5i2iso"				    				\
+	"bison +yacc"				    				\
+	"bitstream-vera"			    				\
+	"bzip2"					    				\
+	"coreutils"				    				\
+	"ctags"					    				\
+	"dbacl"					    				\
+	"diffutils"				    				\
+	"dos2unix"				    				\
+	"dovecot +ldap"				    				\
+	"enchant"				    				\
+	"fetchmail +fetchmailconf+ssl+ntml"	    				\
+	"file"									\
+	"findutils"				    				\
+	"flex"					    				\
+	"fontconfig +vera"							\
+	"fugu"					    				\
+	"giflib"				    				\
+	"gmp"					    				\
+	"gnutar"				    				\
+	"gsed"					    				\
+	"gwhich"				    				\
+	"gzip +rsyncable"			    				\
+	"hunspell"				    				\
+	"hunspell-dict-de_DE"			    				\
+	"ispell"				    				\
+	"jasper +jiv"				    				\
+	"jpeg"					    				\
+	"liblzma"				    				\
+	"libpng"				    				\
+	"lzma"					    				\
+	"lzmautils"				    				\
+	"m4"					    				\
+	"mdf2iso"				    				\
+	"mpfr"					    				\
+	"nrg2iso"				    				\
+	"p5-mail-spamassassin +bayes +razor +ssl"   				\
+	"p7zip"					    				\
+	"pdi2iso"				    				\
+	"pgp"					    				\
+	"png2ico"				    				\
+	"rb-termios"				    				\
+	"readline"				    				\
+	"rsync +rsyncd"				    				\
+	"shared-mime-info"			    				\
+	"sitecopy"				    				\
+	"spellutils"				    				\
+	"star"					    				\
+	"texinfo"				    				\
+	"tiff"					    				\
+	"transmission-x11 +aqua"		    				\
+	"uif2iso"				    				\
+	"unix2dos"				    				\
+	"urw-fonts"				    				\
+	"wget"					    				\
+	"xpm"					    				\
+	"ImageMagick +graphviz+gs+hdri+jbig+jpeg2+lcms+lqr+mpeg+perl+rsvg+wmf"	;
+    do
+	port install ${=I} ${=General_Variants}
+    done; unset I
+
+    Clean;
+
+    gcc_select gnat-gcc
+else
+    setopt Multi_OS;
+
+    sudo ${0:a} 1>&1 2>&2 &>~/Library/Logs/${0:r:t}.out;
+fi;
+
+# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
+# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :


Property changes on: users/krischik/Utilities/Install.command
___________________________________________________________________
Added: svn:executable
   + *

Added: users/krischik/Utilities/Install_GNOME.command
===================================================================
--- users/krischik/Utilities/Install_GNOME.command	                        (rev 0)
+++ users/krischik/Utilities/Install_GNOME.command	2010-05-16 16:33:50 UTC (rev 67704)
@@ -0,0 +1,64 @@
+#!/opt/local/bin/zsh
+
+source ${0:h}/Setup.command
+
+setopt X_Trace;
+
+if test "${USER}" = "root"; then
+    Unload_System;
+
+    gcc_select gcc42
+
+    Update;
+    No_Universal;
+    Force_Activate;
+
+    for I in						    \
+	"pango"						    \
+	"gtk2"						    \
+	"gtk-engines2"					    \
+	"gtk-theme-switch"				    \
+	"gtkspell2"					    \
+	"gconf"						    \
+	"gmime"						    \
+	"gnome-control-center"				    \
+	"gnome-platform-suite"				    \
+	"gnome-desktop-suite"				    \
+	"gnome-desktop"					    \
+	"gnome-icon-theme"				    \
+	"gnome-keyring"					    \
+	"gnome-menus"					    \
+	"gnome-mime-data"				    \
+	"gnome-panel"					    \
+	"gnome-session"					    \
+	"gnome-settings-daemon"				    \
+	"gnome-terminal"				    \
+	"gnome-themes"					    \
+	"gqview"					    \
+	"gimp-app +animation +help_browser +gvfs"	    \
+	"gimp-user-manual +de"				    \
+	"pan2"						    ;
+    do
+	port install ${=I} ${=General_Variants} ${=Gnome_Variants}
+    done; unset I
+
+    gcc_select gnat-gcc
+    Clean;
+    Load_System;    
+else
+    setopt Multi_OS;
+
+    Unload_User;
+    sudo ${0:a} 1>&1 2>&2 &>~/Library/Logs/${0:r:t}.out;
+    Load_User
+fi;
+
+# To start gnome put "exec gnome-session" in your .xinitrc
+# See also http://trac.macports.org/wiki/GNOME
+# sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist
+# 
+# sudo port install python_select
+# sudo python_select python26
+#
+# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
+# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :


Property changes on: users/krischik/Utilities/Install_GNOME.command
___________________________________________________________________
Added: svn:executable
   + *

Added: users/krischik/Utilities/Install_KDE4.command
===================================================================
--- users/krischik/Utilities/Install_KDE4.command	                        (rev 0)
+++ users/krischik/Utilities/Install_KDE4.command	2010-05-16 16:33:50 UTC (rev 67704)
@@ -0,0 +1,51 @@
+#!/opt/local/bin/zsh
+
+source ${0:h}/Setup.command
+
+setopt No_X_Trace;
+setopt No_Err_Exit;
+
+if test "${USER}" = "root"; then
+    Unload_System;
+
+    gcc_select gcc42;
+
+    No_Universal;
+    Update;
+    Force_Activate;
+
+    port clean all;
+    port upgrade python25
+    port -p deactivate kdelibs3 kdelibs4 libevent
+
+    for I in					\
+	"qt4-mac ${General_Variants}"		\
+	"akonadi +docs${General_Variants}"	\
+	"kdelibs4 +docs"			\
+	"kdebase4 +docs"			\
+	"kdeutils4 +docs"			\
+	"kdepim4 +docs"				\
+	"kdemultimedia4 +docs"			\
+	"kdegraphics4 +docs"			\
+	"kdegames4 +docs"			\
+	"VLC +huge+qt4"				;
+    do
+	Install_Update ${=I} ${=Qt_Variants}
+    done; unset I
+
+    gcc_select gnat-gcc
+    
+    sudo gchown -R ${1} ~/Library/Preferences/KDE
+
+    #Clean;
+    Load_System;
+else
+    setopt Multi_OS;
+    
+    Unload_User;
+    sudo ${0:a} ${USER} 1>&1 2>&2 &>~/Library/Logs/${0:r:t}.out;
+    Load_User;
+fi;
+
+# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
+# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :


Property changes on: users/krischik/Utilities/Install_KDE4.command
___________________________________________________________________
Added: svn:executable
   + *

Added: users/krischik/Utilities/Install_Maintained.command
===================================================================
--- users/krischik/Utilities/Install_Maintained.command	                        (rev 0)
+++ users/krischik/Utilities/Install_Maintained.command	2010-05-16 16:33:50 UTC (rev 67704)
@@ -0,0 +1,37 @@
+#!/opt/local/bin/zsh
+
+source ${0:h}/Setup.command
+
+setopt X_Trace;
+setopt No_Err_Exit;
+
+if test "${USER}" = "root"; then
+    gcc_select gcc42
+
+    Update;
+    No_Universal;
+    Force_Activate
+
+    for I in					    \
+	"atari800"				    \
+	"free42"				    \
+	"glassfishv3"				    \
+	"derby-server"				    \
+	"leafnode"				    \
+	"nonpareil"				    \
+	"nrg4iso"				    \
+	"oorexx"				    \
+	"sigil"					    ;
+    do
+	port install ${=I} ${=General_Variants}
+    done; unset I
+
+    gcc_select gnat-gcc
+else
+    setopt Multi_OS;
+
+    sudo ${0:a} 1>&1 2>&2 &>~/Library/Logs/${0:r:t}.out;
+fi;
+
+# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
+# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :


Property changes on: users/krischik/Utilities/Install_Maintained.command
___________________________________________________________________
Added: svn:executable
   + *

Added: users/krischik/Utilities/Install_Minimum.command
===================================================================
--- users/krischik/Utilities/Install_Minimum.command	                        (rev 0)
+++ users/krischik/Utilities/Install_Minimum.command	2010-05-16 16:33:50 UTC (rev 67704)
@@ -0,0 +1,15 @@
+#!/bin/zsh
+
+source ${0:h}/Setup.command
+
+setopt No_X_Trace;
+setopt Multi_OS;
+
+sudo port install								    \
+    "gcc_select" ${=General_Variants}						    \
+    "zsh-devel" "+doc" "+mp_completion" ${=General_Variants}			    \
+    "subversion" "+bash_completion" "+tools" "+unicode_path" ${=General_Variants}   \
+    1>&1 2>&2 &>~/Library/Logs/${0:r:t}.out							    ;
+
+# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
+# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :


Property changes on: users/krischik/Utilities/Install_Minimum.command
___________________________________________________________________
Added: svn:executable
   + *

Copied: users/krischik/Utilities/Install_SpamAssassin.command (from rev 67502, users/krischik/Utilities/Install_VIM.command)
===================================================================
--- users/krischik/Utilities/Install_SpamAssassin.command	                        (rev 0)
+++ users/krischik/Utilities/Install_SpamAssassin.command	2010-05-16 16:33:50 UTC (rev 67704)
@@ -0,0 +1,48 @@
+#!/opt/local/bin/zsh
+############################################################## {{{1 ##########
+#   $Author: krischik at macports.org $
+#   $Revision: 52694 $
+#   $Date: 2009-06-21 20:48:35 +0200 (So, 21. Jun 2009) $
+#   $HeadURL: http://svn.macports.org/repository/macports/users/krischik/atari800/Upload.command $
+############################################################## }}}1 ##########
+
+source ${0:h}/Setup.command
+
+setopt X_Trace;
+
+if test "${USER}" = "root"; then
+    gcc_select gcc42
+
+    launchctl unload -w "/Library/LaunchDaemons/org.macports.spamd.plist"
+
+    for I in							\
+	"p5-mail-spamassassin +razor+ssl ${=General_Variants}"	;
+    do
+	Install_Update ${I};
+    done; unset I
+
+    pushd /opt/local/etc/mail/spamassassin
+	for I in	\
+	    init.pre	\
+	    local.cf	\
+	    v310.pre	\
+	    v312.pre	\
+	    v320.pre	;
+	do
+	    if test ! -f "${I}";  then
+	       gcp --verbose "${I}.sample" "${I}";
+	    fi;
+	done; unset I
+    popd;
+
+    launchctl load -w "/Library/LaunchDaemons/org.macports.spamd.plist"
+
+    gcc_select gnat-gcc
+else
+    setopt Multi_OS;
+    sudo ${0:a} 1>&1 2>&2 &>~/Library/Logs/${0:r:t}.out;
+fi;
+
+############################################################ {{{1 ###########
+# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
+# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :

Modified: users/krischik/Utilities/Install_VIM.command
===================================================================
--- users/krischik/Utilities/Install_VIM.command	2010-05-16 11:47:51 UTC (rev 67703)
+++ users/krischik/Utilities/Install_VIM.command	2010-05-16 16:33:50 UTC (rev 67704)
@@ -34,7 +34,21 @@
 	Install_Update ${I};
     done; unset I
 
-    for I in eview evim ex gview gvim gvimdiff rgview rgvim rview rvim view vim vimdiff; do
+    for I in	    \
+	eview	    \
+	evim	    \
+	ex	    \
+	gview	    \
+	gvim	    \
+	gvimdiff    \
+	rgview	    \
+	rgvim	    \
+	rview	    \
+	rvim	    \
+	view	    \
+	vim	    \
+	vimdiff	    ;
+    do
 	if test ! -e /opt/local/bin/${I};  then
 	   gln --symbolic mvim /opt/local/bin/${I};
 	fi;

Added: users/krischik/Utilities/Setup_GCC_4.2.command
===================================================================
--- users/krischik/Utilities/Setup_GCC_4.2.command	                        (rev 0)
+++ users/krischik/Utilities/Setup_GCC_4.2.command	2010-05-16 16:33:50 UTC (rev 67704)
@@ -0,0 +1,21 @@
+#!/opt/local/bin/zsh
+
+setopt X_Trace;
+
+if test "${USER}" = "root"; then
+    pushd /usr/bin;
+	grm --verbose "cc" "gcc" "c++" "g++" "gcov";
+	gln --verbose --symbolic "gcc-4.2"  "cc";
+	gln --verbose --symbolic "gcc-4.2"  "gcc";
+	gln --verbose --symbolic "c++-4.2"  "c++";
+	gln --verbose --symbolic "g++-4.2"  "g++";
+	gln --verbose --symbolic "gcov-4.2" "gcov";
+    popd;
+else
+    setopt Multi_OS;
+
+    sudo ${0:a} 1>&1 2>&2 &>~/Library/Logs/${0:r:t}.out;
+fi;
+
+# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
+# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :


Property changes on: users/krischik/Utilities/Setup_GCC_4.2.command
___________________________________________________________________
Added: svn:executable
   + *

Added: users/krischik/Utilities/Uninstall_KDE3.command
===================================================================
--- users/krischik/Utilities/Uninstall_KDE3.command	                        (rev 0)
+++ users/krischik/Utilities/Uninstall_KDE3.command	2010-05-16 16:33:50 UTC (rev 67704)
@@ -0,0 +1,36 @@
+#!/opt/local/bin/zsh
+
+setopt X_Trace;
+
+if test "${USER}" = "root"; then
+    for I in			    \
+	"kde"			    \
+	"kde-i18n-german"	    \
+	"kde-i18n-russian"	    \
+	"kde-i18n-ukranian"	    \
+	"kdeaccessibility3"	    \
+	"kdeaddons3"		    \
+	"kdeartwork3"		    \
+	"kdebase3"		    \
+	"kdeedu3"		    \
+	"kdegames3"		    \
+	"kdegraphics3"		    \
+	"kdelibs3"		    \
+	"kdenetwork3"		    \
+	"kdepim3"		    \
+	"kdesdk3"		    \
+	"kdetoys3"		    \
+	"kdeutils3"		    \
+	"kdewebdev3"		    \
+	"gmake"			    \
+	"qt3"			    ;
+    do
+	port uninstall --follow-dependents "${I}"
+    done; unset I
+else
+    setopt Multi_OS;
+    sudo ${0} 1>&1 2>&2 &>~/Library/Logs/${0:r:t}.out;
+fi;
+
+# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
+# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :


Property changes on: users/krischik/Utilities/Uninstall_KDE3.command
___________________________________________________________________
Added: svn:executable
   + *

Added: users/krischik/Utilities/Uninstall_KDE4.command
===================================================================
--- users/krischik/Utilities/Uninstall_KDE4.command	                        (rev 0)
+++ users/krischik/Utilities/Uninstall_KDE4.command	2010-05-16 16:33:50 UTC (rev 67704)
@@ -0,0 +1,35 @@
+#!/opt/local/bin/zsh
+
+setopt X_Trace;
+
+if test "${USER}" = "root"; then
+    Unload_System;
+
+    for I in		    \
+	"kdeadmin4"	    \
+	"kdeartwork4"	    \
+	"kdebase4"	    \
+	"kdegames4"	    \
+	"kdegraphics4"	    \
+	"kdelibs4"	    \
+	"kdemultimedia4"    \
+	"kdepim4"	    \
+	"kdepimlibs4"	    \
+	"kdesdk4"	    \
+	"kdesupport4"	    \
+	"kdeutils4"	    ;
+    do
+	port uninstall --follow-dependents ${=I}
+    done; unset I
+
+    Load_System;
+else
+    setopt Multi_OS;
+
+    Unload_User;
+    sudo ${0} 1>&1 2>&2 &>~/Library/Logs/${0:r:t}.out;
+    Load_User;
+fi;
+
+# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
+# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :


Property changes on: users/krischik/Utilities/Uninstall_KDE4.command
___________________________________________________________________
Added: svn:executable
   + *

Added: users/krischik/Utilities/Update.command
===================================================================
--- users/krischik/Utilities/Update.command	                        (rev 0)
+++ users/krischik/Utilities/Update.command	2010-05-16 16:33:50 UTC (rev 67704)
@@ -0,0 +1,37 @@
+#!/opt/local/bin/zsh
+############################################################## {{{1 ##########
+#   $Author: krischik at macports.org $
+#   $Revision: 52694 $
+#   $Date: 2009-06-21 20:48:35 +0200 (So, 21. Jun 2009) $
+#   $HeadURL: http://svn.macports.org/repository/macports/users/krischik/atari800/Upload.command $
+############################################################## }}}1 ##########
+
+source ${0:a:h}/Setup.command
+
+setopt X_Trace;
+setopt No_Err_Exit;
+
+if test "${USER}" = "root"; then
+    Unload_System
+
+    gcc_select gcc42
+
+    Update;
+    Force_Activate;
+    No_Universal;
+    Clean;
+
+    gcc_select gnat-gcc
+    
+    Load_System;
+else
+    setopt Multi_OS;
+
+    Unload_User;
+    sudo ${0:a} 1>&1 2>&2 &>~/Library/Logs/${0:r:t}.out;
+    Load_User;
+fi;
+
+############################################################ {{{1 ###########
+# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
+# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :


Property changes on: users/krischik/Utilities/Update.command
___________________________________________________________________
Added: svn:executable
   + *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100516/83f12820/attachment.html>


More information about the macports-changes mailing list