diff --git a/debian/apache.conf b/debian/apache.conf index 8e82275..9c57620 100644 --- a/debian/apache.conf +++ b/debian/apache.conf @@ -15,3 +15,17 @@ Alias /nagiosql "/usr/share/nagiosql/htdocs" + + Options -Indexes -FollowSymLinks + + + Order Allow,Deny + Allow From All + + += 2.3> + Require all granted + + + + diff --git a/debian/control b/debian/control index 365438a..71e91ad 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: net Priority: optional Maintainer: fenris@ubuntu.com XSBC-Original-Maintainer: Wolfgang Barth -Build-Depends: debhelper (>= 7), default-mysql-server | mysql-server, php7.0-ldap | php5-ldap , php7.0-mysql | php5-mysql, rsync +Build-Depends: debhelper (>= 7), default-mysql-server | mysql-server, php7.3-ldap | php5-ldap , php7.3-mysql | php5-mysql, rsync Standards-Version: 3.8.0 Homepage: http://www.nagiosql.org diff --git a/debian/docs b/debian/docs index 8b84fa5..f3aa25f 100644 --- a/debian/docs +++ b/debian/docs @@ -3,4 +3,3 @@ doc/INSTALLATION_enGB.txt doc/CHANGELOG doc/README_SSH_KEY doc/LICENSE -doc/LIZENZ \ No newline at end of file diff --git a/debian/rules b/debian/rules index 1b21278..9f5078e 100755 --- a/debian/rules +++ b/debian/rules @@ -38,7 +38,7 @@ install: build # cp -a nagiosql3/* $(DESTDIR)/usr/share/nagiosql/htdocs/. mkdir -p $(CURDIR)/$(DESTDIR)/usr/share/nagiosql/htdocs/ - rsync -avr --exclude 'debian' --exclude '*-stamp' --exclude '.pc' $(CURDIR)/ $(CURDIR)/$(DESTDIR)/usr/share/nagiosql/htdocs/ + rsync -avr --exclude 'debian' --exclude '*-stamp' --exclude '.pc' --exclude '.git' $(CURDIR)/ $(CURDIR)/$(DESTDIR)/usr/share/nagiosql/htdocs/ rm -rf $(DESTDIR)/usr/share/nagiosql/htdocs/doc install -m 644 debian/apache.conf $(DESTDIR)/etc/nagiosql/