/Makefile.in (7528f3903e2d8dfcb629e1dc04ab71dd518834d9) (2193 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 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..."
@-chown -R rocketgit:rocketgit $(I_VAR_LIB)/$(PRJ)
@-find $(I_VAR_LIB)/$(PRJ) -type d -exec chmod 0755 {} \;
@-find $(I_VAR_LIB)/$(PRJ) -type f -exec chmod 0600 {} \;
@
@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 |
212 |
e14603f109924434b214855ecc649e0dbfeaa851 |
AUTHORS |
100644 |
blob |
1132 |
dd65951315f3de6d52d52a82fca59889d1d95187 |
Certs.txt |
100644 |
blob |
731 |
4080772e93a3949e17e7a238a9a30fb43ccfd997 |
Compare.txt |
100644 |
blob |
202 |
76ae4b68b254d7b2fcc199dec13830136927826a |
History.txt |
100644 |
blob |
34520 |
dba13ed2ddf783ee8118c6a581dbf75305f816a3 |
LICENSE |
100644 |
blob |
2193 |
7528f3903e2d8dfcb629e1dc04ab71dd518834d9 |
Makefile.in |
100644 |
blob |
3825 |
34183feb4b2f10639e35acf146b94cadda95e89c |
README |
100644 |
blob |
59406 |
305ba6fa940fe2b9d36dd1815a03f1669dce38d6 |
TODO |
100644 |
blob |
1294 |
f22911eb777f0695fcf81ad686eac133eb11fcc4 |
TODO-plans |
040000 |
tree |
- |
21928e906ad2907a55c2e81c2a8b0502b586b8a0 |
artwork |
100755 |
blob |
30 |
92c4bc48245c00408cd7e1fd89bc1a03058f4ce4 |
configure |
040000 |
tree |
- |
f67d3605efbd6422a8acdd953578991139266391 |
docs |
100755 |
blob |
13704 |
87c4881d7f32f8179d29d86ee17ddbe0f6254c57 |
duilder |
100644 |
blob |
291 |
5aadcd3c293024f76583f67dec0a57fa78b47d19 |
duilder.conf |
040000 |
tree |
- |
753d466d716ad54ef3826c94084eec85c5d4ff03 |
hooks |
040000 |
tree |
- |
1f9e5019e17f99d76e34f23efeaf3db86330bd59 |
inc |
100644 |
blob |
3501 |
4cf6dc800a559467433b64621ab9d4dd9774f42d |
rocketgit.spec.in |
040000 |
tree |
- |
184401bef3d1790473a75ccdc9b7e18053cfb697 |
root |
040000 |
tree |
- |
4dc3f75586b6d4b7872c0c5a0f5785c1ff1aea80 |
samples |
040000 |
tree |
- |
4be8f2c415d68361d357b60be923d83e7249019d |
scripts |
040000 |
tree |
- |
67d785c5d4bbc0b48e1408281b91b40b981013b4 |
selinux |
100755 |
blob |
242 |
bfcfb00931a643571fec9082e3308c6b68ca9189 |
spell_check.sh |
040000 |
tree |
- |
c77a5ef2bafbb65762ae2ef3f41e073c6416405e |
tests |
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