blob: e8c6c5dce0c7c1eaa420f1f9854ee408c789421f (
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
|
To build RPM packages we have to copy source package downloaded
from https://ftp.radix.pro/pub/cscm directory to /usr/src/packages/SOURSES/
directory. And also copy the cscm.spec file into /usr/src/packages/SPECS/
directory. Then edit the package version in the cscm.spec file according
to source package version.
Dependencies: pcre2-devel.
RPMs can be built by following command:
$ rpmbuild --define "_topdir /usr/src/packages" -ba /usr/src/packages/SPECS/cscm.spec
Resulting RPMs will be saved in /usr/src/packages/SRPMS/ and
/usr/src/packages/RPMS/`uname -m`/ directories.
After install binary RPM we have to create /etc/csvn-ui.rc [or|and] /etc/cgit-ui.rc
configuration files and then enable and run csvnd.service [or|and] cgitd.service:
$ systemctl enable csvnd.service
$ systemctl start csvnd.service
$ systemctl enable cgitd.service
$ systemctl start cgitd.service
Then we can to enable csvn-ui [or|and] cgit-ui web-servers.
|