This commit is contained in:
Mario Fetka 2019-04-18 17:46:49 +02:00
parent 7d2c20f575
commit b1a159a343
4 changed files with 16 additions and 3 deletions

14
debian/apache.conf vendored
View File

@ -15,3 +15,17 @@ Alias /nagiosql "/usr/share/nagiosql/htdocs"
</Directory>
<Directory "/etc/nagiosql">
Options -Indexes -FollowSymLinks
<IfVersion < 2.3>
Order Allow,Deny
Allow From All
</IfVersion>
<IfVersion >= 2.3>
Require all granted
</IfVersion>
</Directory>

2
debian/control vendored
View File

@ -3,7 +3,7 @@ Section: net
Priority: optional
Maintainer: fenris@ubuntu.com
XSBC-Original-Maintainer: Wolfgang Barth <wob@swobspace.net>
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

1
debian/docs vendored
View File

@ -3,4 +3,3 @@ doc/INSTALLATION_enGB.txt
doc/CHANGELOG
doc/README_SSH_KEY
doc/LICENSE
doc/LIZENZ

2
debian/rules vendored
View File

@ -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/