/usr/bin/hostname often returns nonsense, especially during early phases
of installation. Rely on the contents of /etc/hostname for determining
jcs_dir
Signed-off-by: Jan Lindemann <jan@janware.com>
/etc/apache2 is relatively crowded, because lots of packages dump their default
configuration there, which makes the apache service configuration hard to
control. This commit makes most apache2-reliant services by janware rely on
jw-apache instead, and have jw-apache keep its own configuration directory
/etc/jw-apache. Some hand-picked config files are still included from
/etc/jw-apache/conf.d/etc-apache2.conf.
Signed-off-by: Jan Lindemann <jan@janware.com>
This mostly allows for a shortcut to disable an existing projects.txt
on the command line: Make xyz PROJECTS_TXT=
Signed-off-by: Jan Lindemann <jan@janware.com>
Remove bogus CLONE_PROJECTS environment variable from pgit.sh invocation.
CLONE_PROJECTS doesn't have any effect. PGIT_CLONE_PROJECTS would have, but it
doesn't make sense to set it to $(PROJECTS), since that would include the
non-git projects, too.
Signed-off-by: Jan Lindemann <jan@janware.com>
A dependency of the form run = a, b, (trailing comma) led to the attempt
to build an empty project and, hence, infinite recursion
Signed-off-by: Jan Lindemann <jan@janware.com>
- Links are installed with file attributes
- Sometimes links are wrongly logged as directories
Fix that.
Signed-off-by: Jan Lindemann <jan@janware.com>
pkg.sh install-log now supports a -N option, meaning no-log-directories. This
installs directories, but doesn't log then in the install log, effectively
excluding them from being packaged. This is necessary for directories provided
by other packages. -N can be activated by adding LOG_INSTALL_EXTRA_OPTS += -N
to a Makefile, see changes in defs.mk.
pgk.sh install-log now also omits addition of %attr tags to symbolic links.
Signed-off-by: Jan Lindemann <jan@janware.com>
Detect PERL_CORE_DIR /usr/lib64/perl5/CORE, as in CentOS 7. Still
doesn't work, as compilation fails on the generated C++ code.
Signed-off-by: Jan Lindemann <jan@janware.com>
Used to be $(shell readlink -f /usr/share/vim/current) and is now
/usr/share/vim/site/plugin, because vim seems to ignore the former
Signed-off-by: Jan Lindemann <jan@janware.com>
- Make LOCAL_HTML and INSTALL_HTMLDIR pre-definable via ?=
- Add *.cgi to LOCAL_HTML by default
Don't know if that's a good move. Will be treated as regular HTML, and, hence
installed without execute permission bit set.
Signed-off-by: Jan Lindemann <jan@janware.com>
git-echo-link-<filename> returns a string functioning as hyperlink to the file
in git if embedded into a janware wiki or ticket.
Signed-off-by: Jan Lindemann <jan@janware.com>