srv/web/ipfire/cgi-bin/ids.cgi
srv/web/ipfire/cgi-bin/logs.cgi/showrequestfromcountry.dat
srv/web/ipfire/cgi-bin/logs.cgi/urlfilter.dat
+srv/web/ipfire/cgi-bin/ovpnmain.cgi
+srv/web/ipfire/cgi-bin/vpnmain.cgi
usr/lib/firewall/rules.pl
usr/local/bin/syslogdctrl
usr/sbin/updxlrator
var/ipfire/langs
+var/ipfire/menu.d/30-network.menu
var/ipfire/updatexlrator/bin/download
# Update Language cache
/usr/local/bin/update-lang-cache
+# remove dropped packages
+for package in python-libvirt owncloud mediatomb openmailadmin \
+ tunctl phpSANE cacti nagios nagiosql ffmpeg-libs \
+ sslscan pound vsftpd imspector tripwire; do
+ if [ -e /opt/pakfire/db/installed/meta-$package ]; then
+ pakfire remove -y $package
+ fi
+ rm -f /opt/pakfire/db/installed/meta-$package
+ rm -f /opt/pakfire/db/meta/meta-$package
+ rm -f /opt/pakfire/db/rootfiles/$package
+done
+
# Start services
/etc/init.d/unbound start
/etc/init.d/apache restart
if (strcmp(protocol, "tcp") == 0)
{
/* write line for TCP */
- snprintf(buffer, STRING_SIZE - 1, "/bin/sed -e 's/^#\\?\\(\\*\\.\\*[[:blank:]]\\+@@\\).\\+$/\\1%s/' /etc/syslog.conf >&%d", hostname, config_fd );
+ snprintf(buffer, STRING_SIZE - 1, "/bin/sed -e 's/^#\\?\\(\\*\\.\\*[[:blank:]]\\+\\)@@\\?.\\+$/\\1@@%s/' /etc/syslog.conf >&%d", hostname, config_fd);
}
else
{
/* write line for UDP */
- snprintf(buffer, STRING_SIZE - 1, "/bin/sed -e 's/^#\\?\\(\\*\\.\\*[[:blank:]]\\+@\\).\\+$/\\1%s/' /etc/syslog.conf >&%d", hostname, config_fd );
+ snprintf(buffer, STRING_SIZE - 1, "/bin/sed -e 's/^#\\?\\(\\*\\.\\*[[:blank:]]\\+\\)@@\\?.\\+$/\\1@%s/' /etc/syslog.conf >&%d", hostname, config_fd);
}
}
else
{
/* if remote syslog has been disabled */
- snprintf(buffer, STRING_SIZE - 1, "/bin/sed -e 's/^#\\?\\(\\*\\.\\*[[:blank:]]\\+@.\\+\\)$/#\\1/' /etc/syslog.conf >&%d", config_fd );
+ snprintf(buffer, STRING_SIZE - 1, "/bin/sed -e 's/^#\\?\\(\\*\\.\\*[[:blank:]]\\+@@\\?.\\+\\)$/#\\1/' /etc/syslog.conf >&%d", config_fd );
}
/* if the return code isn't 0 failsafe */