Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Jörg Deckert | a3c3dc25b8 | |
Jörg Deckert | ecf77fade9 |
7
Makefile
7
Makefile
|
@ -1,6 +1,7 @@
|
|||
02firstboot = $(CHROOT)/usr/local/bin/02firstboot.start
|
||||
cert-renew.sh = $(CHROOT)/etc/ssl/cert-renew.sh
|
||||
zabbix-userparameter = $(CHROOT)/var/lib/zabbix/userparameter_mysql.conf
|
||||
portage-env-zabbix = $(CHROOT)/etc/portage/env/net-analyzer/zabbix
|
||||
|
||||
systemd-units: appliance/MySQL-Backup.sh appliance/backup.service appliance/backup.timer appliance/cert-renew.service appliance/cert-renew.timer
|
||||
mkdir -p $(CHROOT)/usr/local/bin
|
||||
|
@ -72,6 +73,10 @@ $(zabbix-userparameter): zabbix/userparameter_mysql.conf
|
|||
mkdir -p $(CHROOT)/var/lib/zabbix
|
||||
cp $< $@
|
||||
|
||||
$(portage-env-zabbix): zabbix/portage-env-zabbix
|
||||
mkdir -p $(CHROOT)/etc/portage/env/net-analyzer
|
||||
cp $< $@
|
||||
|
||||
zabbix-syslog:
|
||||
# Zabbix Syslog (https://github.com/v-zhuravlev/zabbix-syslog)
|
||||
mkdir -p $(CHROOT)/etc/zabbix/scripts/lib
|
||||
|
@ -140,6 +145,6 @@ snmp-conf:
|
|||
chmod 0775 $(CHROOT)/var/log/snmptt
|
||||
RUN chown zabbix:zabbix /var/log/snmptt
|
||||
|
||||
preinstall:
|
||||
preinstall: $(portage-env-zabbix)
|
||||
|
||||
postinstall: systemd-units $(02firstboot) $(cert-renew.sh) $(CHROOT)/var/lib/mysql apache-php zabbix-services zabbix-webapp $(zabbix-userparameter) zabbix-syslog zabbix-config fping-perm snmp-conf
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
# Zabbix
|
||||
net-analyzer/snmptt
|
||||
net-analyzer/zabbix
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
# nur LTS-Versionen 6.0.x bauen
|
||||
>=net-analyzer/zabbix-6.1
|
||||
# nur LTS-Versionen 7.0.x bauen
|
||||
>=net-analyzer/zabbix-7.1
|
||||
|
|
|
@ -6,7 +6,7 @@ dev-java/openjdk-bin headless-awt
|
|||
dev-lang/php apache2 bcmath curl gd ldap mysql mysqli odbc sockets sysvipc truetype xmlreader xmlwriter
|
||||
media-libs/gd jpeg png
|
||||
net-analyzer/zabbix -agent agent2 curl frontend java ldap libxml2 mysql odbc openipmi -postgres proxy server snmp ssh xmpp
|
||||
net-analyzer/zabbix-headers -agent agent2 curl frontend java ldap libxml2 mysql odbc openipmi -postgres proxy server snmp ssh xmpp
|
||||
net-analyzer/net-snmp perl
|
||||
net-analyzer/fping suid
|
||||
net-print/cups-filters -foomatic -postscript
|
||||
virtual/jdk headless-awt
|
||||
|
|
1
world
1
world
|
@ -12,6 +12,7 @@ net-analyzer/net-snmp
|
|||
net-analyzer/nmap
|
||||
net-analyzer/snmptt
|
||||
net-analyzer/traceroute
|
||||
net-analyzer/zabbix
|
||||
net-dns/bind-tools
|
||||
net-im/sendxmpp
|
||||
net-misc/netkit-telnetd
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
function post_src_install() {
|
||||
einfo "Install zabbix includes"
|
||||
insinto /usr/include/zabbix
|
||||
doins include/*.h
|
||||
}
|
Loading…
Reference in New Issue