Source File section
File deleted: Versuche/squid/squid.conf-1 (Size: 114481, Created: May 21 19:31 )
File deleted: Versuche/squid/squid.conf-2 (Size: 114666, Created: May 21 20:59 )
File deleted: Old-Packages/dump-0.4b36.tar.gz (Size: 271675, Created: May 22 03:12 )
File deleted: Old-Packages/mon-0.99.2.tar.gz (Size: 166255, Created: May 22 02:05 )
File deleted: Old-Packages/Mail-SpamAssassin-2.63.tar.gz (Size: 828596, Created: May 22 02:11 )
File deleted: Old-Packages/Convert-ASN1-0.16.tar.gz (Size: 41992, Created: May 22 01:26 )
File deleted: MyLinux-Packages/perl-ldap-0.31.tar.gz (Size: 221782, Created: May 22 01:16 )
File deleted: MyLinux-Packages/webalizer-2.01-10-src.tar.gz (Size: 418680, Created: May 22 02:34 )
File deleted: MyLinux-Packages/Convert-ASN1-0.18.tar.gz (Size: 59936, Created: May 22 01:28 )
File created: Versuche/squid/squid.conf-1 (Size: 114481, Created: May 21 2004 )
File created: Versuche/squid/squid.conf-2 (Size: 114666, Created: May 21 2004 )
File created: Old-Packages/dump-0.4b36.tar.gz (Size: 271675, Created: May 22 2004 )
File created: Old-Packages/mon-0.99.2.tar.gz (Size: 166255, Created: May 22 2004 )
File created: Old-Packages/Mail-SpamAssassin-2.63.tar.gz (Size: 828596, Created: May 22 2004 )
File created: Old-Packages/Convert-ASN1-0.16.tar.gz (Size: 41992, Created: May 22 2004 )
File created: MyLinux-Packages/perl-ldap-0.31.tar.gz (Size: 221782, Created: May 22 2004 )
File created: MyLinux-Packages/webalizer-2.01-10-src.tar.gz (Size: 418680, Created: May 22 2004 )
File created: MyLinux-Packages/Convert-ASN1-0.18.tar.gz (Size: 59936, Created: May 22 2004 )
Usermanager Section
File created: mylinux-usermanager-0.99/MyLinux-Patches/squirrelmail-login.patch
--- login.php-orig 2004-11-20 20:44:32.000000000 +0100
+++ login.php 2004-11-20 22:25:26.000000000 +0100
@@ -71,9 +71,9 @@
"// -->\n".
"</script>\n";
$custom_css = 'none';
-displayHtmlHeader( "$org_name - " . _("Login"), $header, FALSE );
+displayHtmlHeader( "$org_name - " . _("Webmail"), $header, FALSE );
-echo '<body text="#000000" bgcolor="#FFFFFF" link="#0000CC" vlink="#0000CC" alink="#0000CC" onload="squirrelmail_loginpage_onload();">' .
+echo '<body text="#7A9CBF" bgcolor="#022742" link="#0000CC" vlink="#0000CC" alink="#0000CC" onload="squirrelmail_loginpage_onload();">' .
"\n" . addForm('redirect.php', 'POST');
$username_form_name = 'login_username';
@@ -111,8 +111,8 @@
html_tag( 'table',
html_tag( 'tr',
html_tag( 'td',
- '<b>' . sprintf (_("%s Login"), $org_name) . "</b>\n",
- 'center', '#DCDCDC' )
+ '<b>' . sprintf (_("%s - Webmail"), $org_name) . "</b>\n",
+ 'center', '#022742' )
) .
html_tag( 'tr',
html_tag( 'td', "\n" .
@@ -135,18 +135,18 @@
addHidden('just_logged_in', '1'),
'left', '', 'width="*"' )
) ,
- 'center', '#ffffff', 'border="0" width="100%"' ) ,
- 'left', '#FFFFFF' )
+ 'center', '#022742', 'border="0" width="100%"' ) ,
+ 'left', '#022742' )
) .
html_tag( 'tr',
html_tag( 'td',
'<center>'. addSubmit(_("Login")) .'</center>',
'left' )
),
- '', '#ffffff', 'border="0" width="350"' ) . '</center>',
+ '', '#022742', 'border="0" width="350"' ) . '</center>',
'center' )
) ,
-'', '#ffffff', 'border="0" cellspacing="0" cellpadding="0" width="100%"' );
+'', '#022742', 'border="0" cellspacing="0" cellpadding="0" width="100%"' );
do_hook('login_form');
echo '</form>' . "\n";
File created: mylinux-usermanager-0.99//myLinuxLogo.jpg
(Binary File)
File created: mylinux-usermanager-0.99/setup/webmin.sh
#!/bin/sh
########################################################################
# File: setup/ldap-server.sh #
# myLinux Server: Copyright (c) 2004 Michael Oberg #
# Version: 0.99 #
# Author: Michael Oberg <michael.oberg@mylinuxproject.de> #
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU Public License along #
# with this package; if not, write to the Free Software Foundation, #
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #
########################################################################
source mylinux.conf
TOPDOMAIN=`echo $DOMAIN | sed 's/.*\.\([^.]*\)$/\1/'`
SUBDOMAIN=`echo $DOMAIN | sed 's/\(.*\)\.[^.]*$/\1/'`
BASEDN="dc=$SUBDOMAIN,dc=$TOPDOMAIN"
cat << EOF > /etc/webmin/ldap-useradmin/config
given=1
imap_login=root
samba_class=sambaAccount
auth_ldap=/etc/ldap.conf
imap_folders=old public sent-mail
md5=1
imap_class=SuSEeMailObject
quota=
addressbook=$BASEDN
user_base=ou=users,$BASEDN
domain=
other_class=
ldap_host=$LDAPHOST
ldap_port=
imap_host=
pass=$LDAPPASSWD
samba_domain=
group_base=ou=groups,$BASEDN
login=cn=admin,$BASEDN
samba_props=
imap_props=
props=
fields=
imap_pass=
EOF
if grep certfile /etc/webmin/miniserv.conf > /dev/null
then
cat /etc/webmin/miniserv.conf | \
sed -e 's@keyfile=.*@keyfile=/etc/webmin/miniserv.key@' \
-e 's@certfile=.*@certfile=/etc/webmin/miniserv.pem@' \
> /etc/webmin/miniserv.conf-new
mv /etc/webmin/miniserv.conf-new /etc/webmin/miniserv.conf
else
cat /etc/webmin/miniserv.conf | \
sed 's@keyfile=.*@keyfile=/etc/webmin/miniserv.key@' \
> /etc/webmin/miniserv.conf-new
mv /etc/webmin/miniserv.conf-new /etc/webmin/miniserv.conf
echo "certfile=/etc/webmin/miniserv.pem" >> /etc/webmin/miniserv.conf
fi
if grep -w lang > /dev/null
then
grep -v lang /etc/webmin/config > /etc/webmin/config.new
mv /etc/webmin/config.new /etc/webmin/config
fi
echo "lang=$WEBMIN_LANG" >> /etc/webmin/config
File created: mylinux-usermanager-0.99//wp.jpg
(Binary File)
File created: mylinux-usermanager-0.99//wp2.jpg
(Binary File)
File created: mylinux-usermanager-0.99//wp3.jpg
(Binary File)
File deleted: mylinux-usermanager-0.99/setup/ldap-webmin.sh
#!/bin/sh
########################################################################
# File: setup/ldap-server.sh #
# myLinux Server: Copyright (c) 2004 Michael Oberg #
# Version: 0.98 #
# Author: Michael Oberg <michael.oberg@mylinuxproject.de> #
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU Public License along #
# with this package; if not, write to the Free Software Foundation, #
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #
########################################################################
source mylinux.conf
TOPDOMAIN=`echo $DOMAIN | sed 's/.*\.\([^.]*\)$/\1/'`
SUBDOMAIN=`echo $DOMAIN | sed 's/\(.*\)\.[^.]*$/\1/'`
BASEDN="dc=$SUBDOMAIN,dc=$TOPDOMAIN"
cat << EOF > /etc/webmin/ldap-useradmin/config
given=1
imap_login=root
samba_class=sambaAccount
auth_ldap=/etc/ldap.conf
imap_folders=old public sent-mail
md5=1
imap_class=SuSEeMailObject
quota=
addressbook=$BASEDN
user_base=ou=users,$BASEDN
domain=
other_class=
ldap_host=$LDAPHOST
ldap_port=
imap_host=
pass=$LDAPPASSWD
samba_domain=
group_base=ou=groups,$BASEDN
login=cn=admin,$BASEDN
samba_props=
imap_props=
props=
fields=
imap_pass=
EOF
CATOP=/etc/ssl/mylinux
YEAR=`date +%Y`
echo create Webmin certificate
mkdir /etc/webmin
cat << EOF | openssl req -nodes -new -days 365 -keyout /etc/webmin/miniserv.key -out /etc/webmin/req.pem 2> /dev/null
$COUNTRY
$STATE
$CITY
$COMPANY
Webmin $YEAR
$FQHOSTNAME
root@$DOMAIN
EOF
cat << EOF | openssl ca -policy policy_anything -out /etc/webmin/miniserv.pem -infiles /etc/webmin/req.pem 2> /dev/null
y
y
EOF
chmod 600 /etc/webmin/*.pem /etc/webmin/miniserv.key
if grep certfile /etc/webmin/miniserv.conf > /dev/null
then
cat /etc/webmin/miniserv.conf | \
sed -e 's@keyfile=.*@keyfile=/etc/webmin/miniserv.key@' \
-e 's@certfile=.*@certfile=/etc/webmin/miniserv.pem@' \
> /etc/webmin/miniserv.conf-new
mv /etc/webmin/miniserv.conf-new /etc/webmin/miniserv.conf
else
cat /etc/webmin/miniserv.conf | \
sed 's@keyfile=.*@keyfile=/etc/webmin/miniserv.key@' \
> /etc/webmin/miniserv.conf-new
mv /etc/webmin/miniserv.conf-new /etc/webmin/miniserv.conf
echo "certfile=/etc/webmin/miniserv.pem" >> /etc/webmin/miniserv.conf
fi
File changed: mylinux-usermanager-0.99/MyLinux-Patches/squirrelmail.patch
2,3c2,16
< +++ ./src/login.php 2004-10-21 18:17:24.000000000 +0200
< @@ -111,7 +111,7 @@
---
> +++ ./src/login.php 2004-11-16 20:18:31.000000000 +0200
> @@ -71,9 +71,9 @@
> "// -->\n".
> "</script>\n";
> $custom_css = 'none';
> -displayHtmlHeader( "$org_name - " . _("Login"), $header, FALSE );
> +displayHtmlHeader( "$org_name - " . _("Webmail"), $header, FALSE );
>
> -echo '<body text="#000000" bgcolor="#FFFFFF" link="#0000CC" vlink="#0000CC" alink="#0000CC" onload="squirrelmail_loginpage_onload();">' .
> +echo '<body text="#7A9CBF" bgcolor="#022742" link="#0000CC" vlink="#0000CC" alink="#0000CC" onload="squirrelmail_loginpage_onload();">' .
> "\n" . addForm('redirect.php', 'POST');
>
> $username_form_name = 'login_username';
> @@ -111,8 +111,8 @@
> html_tag( 'table',
6c19
< '<b>' . sprintf (_("%s Login"), $org_name) . "</b>\n",
---
> - '<b>' . sprintf (_("%s Login"), $org_name) . "</b>\n",
7a21
> + '<b>' . sprintf (_("%s - Webmail"), $org_name) . "</b>\n",
12,13c26,27
< @@ -134,18 +134,18 @@
< '<input type="hidden" name="just_logged_in" value="1" />' . "\n",
---
> @@ -135,18 +135,18 @@
> addHidden('just_logged_in', '1'),
20c34
< ) .
---
> ) .
23c37
< '<center><input type="submit" value="' . _("Login") . '" /></center>',
---
> '<center>'. addSubmit(_("Login")) .'</center>',
34c48,79
<
---
>
> --- ./functions/display_messages.php 2004-10-26 00:07:13.000000000 +0200
> +++ ./functions/display_messages.php 2004-11-20 22:10:58.000000000 +0100
> @@ -97,13 +97,8 @@
> }
>
> if ( !isset( $color ) ) {
> - $color = array();
> - $color[0] = '#DCDCDC'; /* light gray TitleBar */
> - $color[1] = '#800000'; /* red */
> - $color[2] = '#CC0000'; /* light red Warning/Error Messages */
> - $color[4] = '#FFFFFF'; /* white Normal Background */
> - $color[7] = '#0000CC'; /* blue Links */
> - $color[8] = '#000000'; /* black Normal text */
> + include( SM_PATH . 'config/config.php' );
> + include( $theme[$theme_default]['PATH'] );
> }
>
> list($junk, $errString, $errTitle) = do_hook('logout_error', $errString, $errTitle);
> @@ -118,10 +113,12 @@
> echo "<BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n\n" .
> '<CENTER>';
>
> +/*
> if (isset($org_logo) && ($org_logo != '')) {
> echo "<IMG SRC=\"$org_logo\" ALT=\"" . sprintf(_("%s Logo"), $org_name) .
> "\"$width_and_height><BR>\n";
> }
> +*/
> echo ( $hide_sm_attributions ? '' :
> '<SMALL>' . sprintf (_("SquirrelMail version %s"), $version) . "<BR>\n".
> ' ' . _("By the SquirrelMail Development Team") . "<BR></SMALL>\n" ) .
36c81
< +++ ./plugins/show_user_and_ip/functions.php 2004-10-21 19:20:38.000000000 +0200
---
> +++ ./plugins/show_user_and_ip/functions.php 2004-11-20 20:38:52.000000000 +0200
42,43c87,97
< + $my_last_date = strtotime (date ("D, F j, Y G:i"));
< setPref($data_dir, $username, "my_page_first_shown", "0");
---
> + $my_last_date = strtotime(date("D, F j, Y G:i"));
> setPref($data_dir, $username, "my_page_first_shown", "0");
> setPref($data_dir, $username, "my_last_ip", $_SERVER['REMOTE_ADDR']);
> setPref($data_dir, $username, "my_last_date", $my_last_date);
> @@ -152,7 +152,7 @@
> function reset_fl() {
> global $username, $data_dir, $my_last_date;
> if( strlen($my_last_date) == 0 ) {
> - $my_last_date = strtotime("now");
> + $my_last_date = strtotime(date("D, F j, Y G:i"));
> setPref($data_dir, $username, "my_page_first_shown", "1");
45c99
< setPref($data_dir, $username, "my_last_date", $my_last_date);
---
> setPref($data_dir, $username, "my_last_date", $my_last_date);
File changed: mylinux-usermanager-0.99/compile-scripts/COMPILE-MYLINUX
1474a1475,1479
> # change style of the start page and error pages; correct an error
> # in the show_user_and_ip plugin
> cd /usr/local/httpd/htdocs/squirrelmail/
> patch -Np1 -i /MyLinux-Patches/squirrelmail.patch
>
File changed: mylinux-usermanager-0.99/compile-scripts/MAIN
209,216c209,213
< echo "Create an example /etc/exports file"
< cat << EOF > $LFS/etc/exports
< # See exports(5) for a description.
< # This file contains a list of all directories exported to other
< # computers.
< # It is used by rpc.nfsd and rpc.mountd.
< #/ 192.168.0.2(no_root_squash,rw) 192.168.0.1(rw)
< EOF
---
> echo "Copying myLinux logo to Squirrelmail"
> cp -dp $MYLINUXPACKAGE/myLinuxLogo.jpg $LFS/usr/local/httpd/htdocs/squirrelmail/images/
>
> echo "Copying myLinux wallpapers to the webservers root directory"
> cp -dp $MYLINUXPACKAGE/wp*.jpg $LFS/usr/local/httpd/htdocs/
File changed: mylinux-usermanager-0.99/publicfiles/daily.sh
4,5c4,5
< # myLinux Server: Copyright (c) 2003 Michael Oberg #
< # Version: 0.95 #
---
> # myLinux Server: Copyright (c) 2004 Michael Oberg #
> # Version: 0.99 #
23c23
< # correcting clock
---
> echo "Correcting clock"
27c27
< # create locate database
---
> echo "Update locate database:"`date`
30c30
< # create fulltext index
---
> echo "Update fulltext index:"`date`
34c34
< # compress old log files
---
> echo "Compress old log files:"`date`
39c39
< find /var/lib/samba/pdfdocs/ /var/lib/samba/templates/ /home/ /usr/local/httpd/htdocs/ /var/imap/spool/user/ -newer /root/usermanager/data/tmp/.deltime -type f -exec clamscan --stdout {} \; | grep '^/' | egrep -v ': (OK|Empty file)$'
---
> find / -newer /root/usermanager/data/tmp/.deltime -type f -exec clamscan --stdout {} \; | grep '^/' | egrep -v ': (OK|Empty file)$'
File changed: mylinux-usermanager-0.99/publicfiles/weekly.sh
22a23,24
> echo "Begin deleting temporary files: "`date`
>
33,37c35,40
< clamscan -r --stdout /var/lib/samba/templates | egrep -v ': (OK|Empty file)'
< clamscan -r --stdout /var/lib/samba/pdfdocs | egrep -v ': (OK|Empty file)'
< clamscan -r --stdout /home | egrep -v ': (OK|Empty file)'
< clamscan -r --stdout /var/imap/spool/user | egrep -v ': (OK|Empty file)'
< clamscan -r --stdout /usr/local/httpd/htdocs | egrep -v ': (OK|Empty file)'
---
> echo "Begin virus scan: "`date`
> clamscan -r --stdout / | egrep -v ': (OK|Empty file)'
> echo "End virus scan: "`date`
>
> # create a backup (but you have to edit backup.sh before uncomment this line!)
> #/usr/local/sbin/mylinux/backup.sh
File changed: mylinux-usermanager-0.99/setup/createcontrolscript.sh
5c5
< # Version: 0.98 #
---
> # Version: 0.99 #
67,68c67,68
< echo "Configure webmin LDAP modules / create webmin SSL certificate"
< ./ldap-webmin.sh
---
> echo "Configure webmin LDAP modules"
> ./webmin.sh
File changed: mylinux-usermanager-0.99/setup/ldap-server.sh
5c5
< # Version: 0.92 #
---
> # Version: 0.99 #
File changed: mylinux-usermanager-0.99/setup/mylinux.conf
5c5
< # Version: 0.98 #
---
> # Version: 0.99 #
38a39,41
> WEBMIN_LANG="de" # Default language for webmin (de, en, ...)
> WEBMAIL_LANG="de" # Default language for Squirrelmail
> # (de, en_US (!), ...)
File changed: mylinux-usermanager-0.99/setup/sendmail.sh
5c5
< # Version: 0.92 #
---
> # Version: 0.98 #
File changed: mylinux-usermanager-0.99/setup/squirrelmail.sh
5c5
< # Version: 0.92 #
---
> # Version: 0.99 #
35a36
> -e "s/#LANGUAGE#/$WEBMAIL_LANG/g" \
49,51c50,52
< $org_logo = SM_PATH . 'images/sm_logo.png';
< $org_logo_width = '308';
< $org_logo_height = '111';
---
> $org_logo = SM_PATH . 'images/myLinuxLogo.jpg';
> $org_logo_width = '320';
> $org_logo_height = '222';
62c63
< $squirrelmail_default_language = 'en_US';
---
> $squirrelmail_default_language = '#LANGUAGE#';
102c103
< $hide_sm_attributions = false;
---
> $hide_sm_attributions = true;
124,125c125,126
< $theme_css = '';
< $theme_default = 0;
---
> $theme_css = SM_PATH . 'themes/css/sans-10.css';
> $theme_default = 37;
File changed: mylinux-usermanager-0.99/setup/ssl.sh
5c5
< # Version: 0.92 #
---
> # Version: 0.99 #
27c27
< YEAR=`date +%Y`
---
> DATE=`date '+%d.%m.%Y'`
36c36
< Directory Access $YEAR
---
> Directory Access $DATE
54c54
< Mail Access $YEAR
---
> Mail Access $DATE
77c77
< Mail Transfer $YEAR
---
> Mail Transfer $DATE
95c95
< Web $YEAR
---
> Web $DATE
105a106,124
>
> echo create Webmin certificate
> mkdir /etc/webmin
> cat << EOF | openssl req -nodes -new -days 365 -keyout /etc/webmin/miniserv.key -out /etc/webmin/req.pem 2> /dev/null
> $COUNTRY
> $STATE
> $CITY
> $COMPANY
> Webmin $DATE
> $FQHOSTNAME
> root@$DOMAIN
>
>
> EOF
> cat << EOF | openssl ca -policy policy_anything -out /etc/webmin/miniserv.pem -infiles /etc/webmin/req.pem 2> /dev/null
> y
> y
> EOF
> chmod 600 /etc/webmin/*.pem /etc/webmin/miniserv.key