summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/PKGBUILD
blob: 30ffeef0ed9c43f4810737cac147b3dd28bcabde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
pkgname=LinHES-config
pkgver=2.3
pkgrel=79
conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
pkgdesc="Install and configure your system"
depends=('bc' 'libstatgrab'  'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
	 'sg3_utils' 'nmbscan' 'system-templates' 'rsync' 'python-parted'
	 'python-pexpect' 'python-netifaces' 
	 'python-iplib' 'mythinstall>=2-10' 'sudo')
#LinHES-timezone
arch=('i686' 'x86_64')

source=(mv_install.py 09_mythvantge_runit_grub
	mv_config.py
	myth_user_call
	file_time_offset.py
	install_proxy.sh
	install_functions.sh
	systemconfig.sh
	install_db_chroot.sh
	restore_default_settings.sh
	myth_settings_wrapper.sh
        xconfig.sh
	timezip.py
	soundconfig.sh
	LinHES-release
	MythVantage.sh
	create_master.sh
	build_diskless.sh
	networkconfig.sh
	autocard.py
	restore_km_db_chroot.sh
	README
	mv_advanced.py
	mv_common.py
	mv_ddns.py
	mv_ir.py
	mv_misc.py
	mv_network.py
	mv_screensaver.py
	mv_smolt.py
	mv_software.py
	mv_webuser.py
	mv_hostype.py
	mv_supplemental.py
        systemconfig.py
	myth_user_call.py
	mythvantage.cfg
	config-sudo.rules )

backup=(etc/mythvantage.cfg)
install=config.install

build() {
    mkdir -p $startdir/pkg/etc
    mkdir -p $startdir/pkg/usr/share/mythtv/themes/default
    install -D -m0755 09_mythvantge_runit_grub $startdir/pkg/etc/grub.d/09_mythvantge_runit_grub


    MVDIR=$startdir/pkg/usr/MythVantage
    mkdir  $startdir/pkg/etc/profile.d
    install -m 0755 MythVantage.sh  $startdir/pkg/etc/profile.d/MythVantage.sh
    mkdir -p $MVDIR/bin
    mkdir -p $MVDIR/etc

    #copy in all the installer specific stuff
    install -m 0700 myth_user_call.py $MVDIR/bin/myth_user_call
    install -m 0755 install_proxy.sh  $MVDIR/bin/install_proxy.sh
    install -m 0755 install_functions.sh  $MVDIR/bin/install_functions.sh
    install -m 0755 systemconfig.sh  $MVDIR/bin/systemconfig.sh
    install -m 0755 xconfig.sh  $MVDIR/bin/xconfig.sh
    install -m 0755 install_db_chroot.sh $MVDIR/bin/install_db_chroot.sh
    install -m 0755 restore_km_db_chroot.sh $MVDIR/bin/restore_km_db_chroot.sh
    install -m 0755 restore_default_settings.sh $MVDIR/bin/restore_default_settings.sh
    install -m 0755 myth_settings_wrapper.sh $MVDIR/bin/myth_settings_wrapper.sh
    install -m 0755 soundconfig.sh $MVDIR/bin/soundconfig.sh
    install -m 0755 networkconfig.sh $MVDIR/bin/networkconfig.sh
    install -m 0755 create_master.sh $MVDIR/bin/create_master.sh
    install -m 0755 build_diskless.sh $MVDIR/bin/build_diskless.sh
    install -m 0755 timezip.py $MVDIR/bin/timezip.py
    install -m 0755 autocard.py $MVDIR/bin/autocard.py
    install -m 0755 mv_config.py $MVDIR/bin/mv_config.py
    install -m 0755 mv_install.py $MVDIR/bin/mv_install.py
    install -m 0755 mv_advanced.py  $MVDIR/bin/
    install -m 0755 mv_common.py $MVDIR/bin/
    install -m 0755 mv_ddns.py  $MVDIR/bin/
    install -m 0755 mv_ir.py  $MVDIR/bin/
    install -m 0755 mv_misc.py  $MVDIR/bin/
    install -m 0755 mv_network.py  $MVDIR/bin/
    install -m 0755 mv_screensaver.py  $MVDIR/bin/
    install -m 0755 mv_smolt.py  $MVDIR/bin/
    install -m 0755 mv_software.py  $MVDIR/bin/
    install -m 0755 mv_webuser.py $MVDIR/bin/
    install -m 0755 mv_hostype.py $MVDIR/bin/
    install -m 0755 mv_supplemental.py $MVDIR/bin/
    install -m 0755 systemconfig.py $MVDIR/bin/
    install -m 0755 mythvantage.cfg $startdir/pkg/etc/

    #README file displayed on install
    install -m 0755 README $MVDIR/README

    mkdir -p $startdir/pkg/usr/bin
    install -m 0755 file_time_offset.py $startdir/pkg/usr/bin/file_time_offset.py
    #Copy in the branding stuff
    install -m 0755 LinHES-release $startdir/pkg/etc/LinHES-release

    #sudo rules
    mkdir -p $startdir/pkg/etc/sudoers.d/
    chmod 750 $startdir/pkg/etc/sudoers.d/ 
    chown -R root:root $startdir/pkg/etc/sudoers.d 
    install -o root -g root -m 0750 config-sudo.rules $startdir/pkg/etc/sudoers.d/config_sudo
}
md5sums=('5d40d7ce4cd99fae059cac37cef9440f'
         '8aec4b2310e4c5375e32df37d37964dd'
         '16b98fcb3753ef6cfc35075c326d30e4'
         '2596460462cf6c889cf8f95485537b20'
         '985891a43f7c4c983eb2a362162f1a0f'
         '13172731c8b08d669336da31cece5775'
         '5a31addfbdc1154b05997f972a32fa33'
         'c20f73d4da5d7e15e1f3eb85c7dcb49a'
         '68199e861c2933ccbb84735b9b440157'
         '2a7f3b34e522acfd08283b86c8926aba'
         '60103d94ada98ac583fea620294f14d3'
         '960017a34d9cc78af6298f45aad6eb8e'
         'ecf9e5df20683a769c4a8a8f2d65de85'
         '6d32a88e76b0a97b0ce67d37ef6394aa'
         '8ba06c2ce6129371548cc360ccca27f8'
         '55fccb1da0417a896b724f7cfc32dd5a'
         'ab2aa42c2947148c2b1cac0ade6d1d55'
         'd429b59d3cfb37b0624c6a4a71a7c2c0'
         'a225143e3df6f56d451c2875e54ddbae'
         '9151c74fcaf18ec4cf5e757cfdbc7017'
         '3d1e4a119f38cff0498bf8a67e94e4b3'
         '71fd2d0d448fc2fcd15415a1beed7109'
         '61ccbf573ee196e3edf53a512820b431'
         'd66c0e470e54a1551bdf60d8df85108d'
         'b845de3e05c1734cce4b9ac5e8f1baaf'
         '6801f87992b44118a12b6dfe6ea68127'
         '5e69839659d65ddda35b8a9982dc29e9'
         '2934fd80277e4598856f3171ccef9bfd'
         '824e49d9b01fed295c704ab68908b464'
         'fe5e31b833cc6707209e9d656b6eb53c'
         'ecb52b9b7a9ac0c8988093c1dfdda635'
         '23d0e12b7ca1cc6ea6b993c1d7ff20b9'
         '6924cdcc5e7ed0c073b669362b0366e1'
         '755c05b833aca6c5be130972af052e8b'
         '5cdb3ef03d5a2a99889a458a82228ecc'
         '2596460462cf6c889cf8f95485537b20'
         'a63ff9ef5250965aeabc74bfa8e43981'
         '4804aa93aaad3dfcfff08cd9ffd68836')