cScm Configuration Daemon

cScm – is a tool to convert SCM configuration files into binary format and store its in shared memory for reading by cSvn-ui and cGit-ui CGI scripts

2 Commits   0 Branches   1 Tag
12c7b1c5 (kx 2023-03-24 02:53:04 +0300  1) 
12c7b1c5 (kx 2023-03-24 02:53:04 +0300  2) To build RPM packages we have to copy source package downloaded
12c7b1c5 (kx 2023-03-24 02:53:04 +0300  3) from https://ftp.radix.pro/pub/cscm directory to /usr/src/packages/SOURSES/
12c7b1c5 (kx 2023-03-24 02:53:04 +0300  4) directory. And also copy the cscm.spec file into /usr/src/packages/SPECS/
12c7b1c5 (kx 2023-03-24 02:53:04 +0300  5) directory. Then edit the package version in the cscm.spec file according
12c7b1c5 (kx 2023-03-24 02:53:04 +0300  6) to source package version.
12c7b1c5 (kx 2023-03-24 02:53:04 +0300  7) 
12c7b1c5 (kx 2023-03-24 02:53:04 +0300  8) Dependencies: pcre2-devel.
12c7b1c5 (kx 2023-03-24 02:53:04 +0300  9) 
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 10) RPMs can be built by following command:
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 11) 
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 12)  $ rpmbuild --define "_topdir /usr/src/packages" -ba /usr/src/packages/SPECS/cscm.spec
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 13) 
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 14) Resulting RPMs will be saved in /usr/src/packages/SRPMS/ and
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 15) /usr/src/packages/RPMS/`uname -m`/ directories.
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 16) 
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 17) After install binary RPM we have to create /etc/csvn-ui.rc [or|and] /etc/cgit-ui.rc
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 18) configuration files and then enable and run csvnd.service [or|and] cgitd.service:
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 19) 
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 20)  $ systemctl enable csvnd.service
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 21)  $ systemctl start csvnd.service
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 22) 
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 23)  $ systemctl enable cgitd.service
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 24)  $ systemctl start cgitd.service
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 25) 
12c7b1c5 (kx 2023-03-24 02:53:04 +0300 26) Then we can to enable csvn-ui [or|and] cgit-ui web-servers.