/Makefile.in (d94a79c45575e9a0fff10338cba0832749010c8a) (2368 bytes) (mode 100644) (type blob)
.PHONY: all
all: selinux
.PHONY: selinux
selinux:
@echo "Building SELinux..."
cd selinux && ./build.sh
.PHONY: clean
clean:
make -C tests clean
@-rm -f $(PRJ)-*.rpm $(PRJ)-*-*-*.tgz $(PRJ)-*.tar.gz
@-rm -rf selinux/out
@find . -type f -name '*.strace' -exec rm -f {} \;
@find . -type f -name '*.log' -exec rm -f {} \;
@find . -type f -name '*.out' -exec rm -f {} \;
@find . -type f -name '*.bak' -exec rm -f {} \;
.PHONY: tests
tests:
make -C tests all
install: all
@mkdir -pv $(I_USR_SHARE)/$(PRJ)
cp -vdr inc hooks root scripts $(I_USR_SHARE)/$(PRJ)
@mkdir -pv $(I_ETC)/xinetd.d
cp -vd --no-clobber samples/rg $(I_ETC)/xinetd.d/$(PRJ)
@mkdir -pv $(I_ETC)/cron.d
cp -vd samples/cron $(I_ETC)/cron.d/$(PRJ)
@mkdir -pv $(I_ETC)/httpd/conf.d
cp -vd --no-clobber samples/rg.conf $(I_ETC)/httpd/conf.d/$(PRJ).conf
@mkdir -pv $(I_ETC)/$(PRJ)
cp -vd --no-clobber samples/config.php $(I_ETC)/$(PRJ)/
cp -vd samples/config.php $(I_ETC)/$(PRJ)/config.php.sample
@mkdir -pv $(I_ETC)/logrotate.d
cp -vd samples/logrotate $(I_ETC)/logrotate.d/$(PRJ)
@
@echo "Installing tools..."
@mkdir -pv $(I_USR_SBIN)
cp -vd tools/* $(I_USR_SBIN)/
@-chown root:root $(I_USR_SBIN)/rg_*
@
@echo "Installing log stuff..."
@mkdir -pv $(I_VAR_LOG)/$(PRJ)
@-chown -R rocketgit:rocketgit $(I_VAR_LOG)/$(PRJ)
@-find $(I_VAR_LOG)/$(PRJ) -type d -exec chmod -R 0755 {} \;
@-find $(I_VAR_LOG)/$(PRJ) -type f -exec chmod -R 0600 {} \;
@
@mkdir -pv $(I_VAR_LOG)/$(PRJ)-web
@-chown -R apache:apache $(I_VAR_LOG)/$(PRJ)-web
@-find $(I_VAR_LOG)/$(PRJ)-web -type d -exec chmod -R 0755 {} \;
@-find $(I_VAR_LOG)/$(PRJ)-web -type f -exec chmod -R 0600 {} \;
@
@echo "Installing varlib stuff..."
@mkdir -pv $(I_VAR_LIB)/$(PRJ)
@mkdir -pv $(I_VAR_LIB)/$(PRJ)/locks
@mkdir -pv $(I_VAR_LIB)/$(PRJ)/repos
@mkdir -pv $(I_VAR_LIB)/$(PRJ)/q_merge_requests
@mkdir -pv $(I_VAR_LIB)/$(PRJ)/qstats
@mkdir -pv $(I_VAR_LIB)/$(PRJ)/sockets
@echo "Fixing rights..."
@-find $(I_VAR_LIB)/$(PRJ) -type d -exec chmod 0755 {} \;
@-find $(I_VAR_LIB)/$(PRJ) -type f -exec chmod 0600 {} \;
@mkdir -pv --mode=0700 $(I_VAR_LIB)/$(PRJ)/tmp
@-chown -R rocketgit:rocketgit $(I_VAR_LIB)/$(PRJ)
@
@echo "Installing SELinux stuff..."
@mkdir -pv --mode=0755 $(I_USR_SHARE)/selinux/targeted
cp -vd selinux/out/$(PRJ)-targeted.pp $(I_USR_SHARE)/selinux/targeted/$(PRJ).pp
@echo "Done!"
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
9 |
f3c7a7c5da68804a1bdf391127ba34aed33c3cca |
.exclude |
100644 |
blob |
102 |
eaeb7d777062c60a55cdd4b5734902cdf6e1790c |
.gitignore |
100644 |
blob |
243 |
0168aabeca0ad5278c2d99874e2287736f81f73a |
AUTHORS |
100644 |
blob |
1132 |
dd65951315f3de6d52d52a82fca59889d1d95187 |
Certs.txt |
100644 |
blob |
1107 |
d3ecc1d13c5841910bb70ea66f70cfc522dbcaae |
Compare.txt |
100644 |
blob |
474 |
cb77f1284beb56cef1725e650629b8e339d2d2e2 |
History.txt |
100644 |
blob |
34520 |
dba13ed2ddf783ee8118c6a581dbf75305f816a3 |
LICENSE |
100644 |
blob |
2368 |
d94a79c45575e9a0fff10338cba0832749010c8a |
Makefile.in |
100644 |
blob |
3977 |
57dfb7c4d70385295c1b51aff5de1a54d961ffa3 |
README |
100644 |
blob |
86239 |
0fbb7e3f7b8e8ac489ce99873cced1f6c119c82f |
TODO |
100644 |
blob |
1294 |
f22911eb777f0695fcf81ad686eac133eb11fcc4 |
TODO-plans |
100644 |
blob |
203 |
a2863c67c3da44126b61a15a6f09738c25e0fbe0 |
TODO.perf |
100644 |
blob |
373 |
ca2fd2e49069f5d13d557928e0bf53135782530f |
TODO.vm |
040000 |
tree |
- |
21928e906ad2907a55c2e81c2a8b0502b586b8a0 |
artwork |
100755 |
blob |
30 |
92c4bc48245c00408cd7e1fd89bc1a03058f4ce4 |
configure |
040000 |
tree |
- |
d05f3691b62b813e62ff4e7fe85e553f257e73ea |
docker |
040000 |
tree |
- |
f67d3605efbd6422a8acdd953578991139266391 |
docs |
100755 |
blob |
13973 |
06c624a5b192128aec6d5b2831d823c63fa69fb9 |
duilder |
100644 |
blob |
291 |
59d32e38482221bd11e03c72b6f59753eceff3cf |
duilder.conf |
040000 |
tree |
- |
0597a8f8762a628b6b22e741544ca69dda9533cf |
hooks |
040000 |
tree |
- |
1227c6dfc3d8dc59aa7117681aefce3999fd3cb4 |
inc |
040000 |
tree |
- |
74a304bcdc55c22a848531d4d72a4ff0f5c76f5c |
package |
100644 |
blob |
3605 |
718f039d10ac9804ce6fcc6c1537ebcc94ae5ef3 |
rocketgit.spec.in |
040000 |
tree |
- |
0c531e1b9584b4766e62e5ac806060a7f35ba31d |
root |
040000 |
tree |
- |
3c0d147b6807137004ac7825523ed8e9e24c3bf6 |
samples |
040000 |
tree |
- |
f1742f66babfef0170b0a26a8ad67ac31a2a4f0f |
scripts |
040000 |
tree |
- |
ab77fbe1b5d3516691fc2cef7240ac4b69da273e |
selinux |
100755 |
blob |
242 |
bfcfb00931a643571fec9082e3308c6b68ca9189 |
spell_check.sh |
040000 |
tree |
- |
fbdd03a95cd8e5100af6a9f99da91a00fd0dc63e |
techdocs |
040000 |
tree |
- |
51da98dfec41dc8814ad228a9f00f292dcaaa6ad |
tests |
040000 |
tree |
- |
d39824f9d9ba0f8b2f00f4a101f5cd5aeebc2f83 |
tools |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/rocketgit
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/rocketgit
Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/rocketgit
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main