/[smeserver]/rpms/smolt/sme10/smolt-1.4.3-sme.patch
ViewVC logotype

Annotation of /rpms/smolt/sme10/smolt-1.4.3-sme.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Feb 7 21:21:22 2016 UTC (8 years, 8 months ago) by stephdl
Branch: MAIN
CVS Tags: smolt-1_4_3-5_el7_sme, HEAD
* Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 1.4.2-5.sme
- Build new rpm for sme10

1 stephdl 1.1 diff -ruN smolt-1.4.3.sme/client/config.py smolt-1.4.3/client/config.py
2     --- smolt-1.4.3.sme/client/config.py 2010-02-27 12:05:44.000000000 -0700
3     +++ smolt-1.4.3/client/config.py 2010-03-03 17:37:55.000000000 -0700
4     @@ -3,7 +3,7 @@
5     import commands
6     import os_detect
7    
8     -SMOON_URL = "http://www.smolts.org/"
9     +SMOON_URL = "http://smolt.contribs.org/"
10     SECURE = 0
11    
12    
13     diff -ruN smolt-1.4.3.sme/client/os_detect.py smolt-1.4.3/client/os_detect.py
14     --- smolt-1.4.3.sme/client/os_detect.py 2010-02-27 12:05:44.000000000 -0700
15     +++ smolt-1.4.3/client/os_detect.py 2010-03-03 17:37:55.000000000 -0700
16     @@ -56,6 +56,7 @@
17    
18    
19     distro_info= odict()
20     +distro_info['SME Server']='/etc/e-smith-release'
21     distro_info['Blag Linux']='/etc/blag-release'
22     distro_info['MythVantage']='/etc/mythvantage-release'
23     distro_info['Knoppmyth']='/etc/KnoppMyth-version'
24     diff -ruN smolt-1.4.3.sme/client/smolt.py smolt-1.4.3/client/smolt.py
25     --- smolt-1.4.3.sme/client/smolt.py 2010-03-03 17:37:30.000000000 -0700
26     +++ smolt-1.4.3/client/smolt.py 2010-03-03 17:37:55.000000000 -0700
27     @@ -60,7 +60,7 @@
28     SELINUX_WITHHELD = -1
29    
30     fs_types = get_config_attr("FS_TYPES", ["ext2", "ext3", "xfs", "reiserfs"])
31     -fs_mounts = dict.fromkeys(get_config_attr("FS_MOUNTS", ["/", "/home", "/etc", "/var", "/boot"]), True)
32     +fs_mounts = dict.fromkeys(get_config_attr("FS_MOUNTS", ["/", "/home", "/home/e-smith/files", "/home/e-smith/files/ibays", "/home/e-smith/files/users", "/etc", "/var", "/boot", "/tmp"]), True)
33     fs_m_filter = get_config_attr("FS_M_FILTER", False)
34     fs_t_filter = get_config_attr("FS_T_FILTER", False)
35    
36     @@ -437,6 +437,9 @@
37     if Gate().grants('devices'):
38     self.devices[udi] = Device(props, self)
39     if udi == '/org/freedesktop/Hal/devices/computer':
40     + status, systemType = commands.getstatusoutput("/sbin/e-smith/config gettype SystemMode")
41     + if status == 0:
42     + props['system.formfactor'] = systemType
43     try:
44     vendor = props['system.vendor']
45     if len(vendor.strip()) == 0:
46     diff -up smolt-1.4.3.sme/client/smolt.cron.monthly smolt-1.4.3/client/smolt.cron.monthly
47     --- smolt-1.4.3.sme/client/smolt.cron.monthly 2010-02-27 12:05:44.000000000 -0700
48     +++ smolt-1.4.3/client/smolt.cron.monthly 2010-03-06 09:49:28.000000000 -0700
49     @@ -2,4 +2,4 @@
50     # Please note that calling with -c will cause smolt to pause a random amount of
51     # time between 0 and 3 days before actually sending, this is to prevent ddos on
52     # the server
53     -20 1 1 * * smolt /usr/bin/smoltSendProfile -c > /dev/null 2>&1
54     +20 1 1 * * root /usr/bin/smoltSendProfile -c > /dev/null 2>&1

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed