Changeset 795
- Timestamp:
- 09/04/07 01:56:16
(1 year ago)
- Author:
- raphael
- Message:
Fixed #627: chkrootkit is missing on the package list
Fixed #629: : doesn't exist or can't be read.
Fixed #628: rkhunter during the setup
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r793 |
r795 |
|
| 7 | 7 | \_________________________________________________________________/ |
|---|
| 8 | 8 | |
|---|
| | 9 | 2007-09-03 Raphael Geissert |
|---|
| | 10 | - DOCS: |
|---|
| | 11 | * Fixed #627: chkrootkit is missing on the package list |
|---|
| | 12 | - GUI: |
|---|
| | 13 | * Fixed #629: : doesn't exist or can't be read. |
|---|
| | 14 | - SETUP: |
|---|
| | 15 | * Fixed #628: rkhunter during the setup |
|---|
| | 16 | |
|---|
| 9 | 17 | 2007-09-03 Malte Geierhos |
|---|
| 10 | | - GUI: |
|---|
| | 18 | - GUI: |
|---|
| 11 | 19 | * Fixed editing of ftp Accounts with custom dir doesn't work |
|---|
| 12 | 20 | * Fixed PMA css (pictures have wrong path) |
|---|
| … | … | |
| 17 | 25 | * Fixed #625: Error in SQL syntax on Admin Log -> Page 2 |
|---|
| 18 | 26 | |
|---|
| 19 | | 2007-09-01 Raphael Geissert |
|---|
| | 27 | 2007-09-02 Raphael Geissert |
|---|
| 20 | 28 | - CONFIGS: |
|---|
| 21 | 29 | * Fixed #623: open_basedir restriction in effect. File(/var/log/chkrootkit.log) is not within the allowed path(s) |
|---|
| … | … | |
| 24 | 32 | * Fixed error in admin/rootkit_log.php |
|---|
| 25 | 33 | * Partially implemented #567 |
|---|
| | 34 | - MAKEFILE: |
|---|
| | 35 | * Some more work on #394 |
|---|
| 26 | 36 | |
|---|
| 27 | 37 | 2007-09-01 Raphael Geissert |
|---|
| r772 |
r795 |
|
| 11 | 11 | courier-maildrop |
|---|
| 12 | 12 | courier-pop |
|---|
| | 13 | chkrootkit |
|---|
| 13 | 14 | diff |
|---|
| 14 | 15 | dnsutils |
|---|
| r772 |
r795 |
|
| 11 | 11 | courier-maildrop |
|---|
| 12 | 12 | courier-pop |
|---|
| | 13 | chkrootkit |
|---|
| 13 | 14 | diff |
|---|
| 14 | 15 | dnsutils |
|---|
| r771 |
r795 |
|
| 9 | 9 | courier-maildrop |
|---|
| 10 | 10 | courier-pop |
|---|
| | 11 | chkrootkit |
|---|
| 11 | 12 | diff |
|---|
| 12 | 13 | dnsutils |
|---|
| r788 |
r795 |
|
| 904 | 904 | print STDOUT $shut_down_message; |
|---|
| 905 | 905 | |
|---|
| 906 | | if (sys_command("which rkhunter") eq 0 ) { |
|---|
| 907 | | print STDOUT "You might want to execute the next command as well: \n"; |
|---|
| 908 | | print STDOUT "\trkhunter --update\n\n"; |
|---|
| | 906 | if (sys_command_rs("which rkhunter > /dev/null") eq 0 ) { |
|---|
| | 907 | print STDOUT "Setup is now updating rkhunter:\n"; |
|---|
| | 908 | sys_command("rkhunter --update"); |
|---|
| | 909 | print STDOUT "\n\n"; |
|---|
| 909 | 910 | } |
|---|
| 910 | 911 | |
|---|
| … | … | |
| 1519 | 1520 | $rkhunter = ""; |
|---|
| 1520 | 1521 | |
|---|
| 1521 | | if (sys_command("which rkhunter") ne 0) { |
|---|
| | 1522 | if (sys_command_rs("which rkhunter > /dev/null") ne 0) { |
|---|
| 1522 | 1523 | $rkhunter = "#"; |
|---|
| 1523 | 1524 | } |
|---|
| … | … | |
| 1525 | 1526 | $ckrootkit = ""; |
|---|
| 1526 | 1527 | |
|---|
| 1527 | | if (sys_command("which chkrootkit") ne 0) { |
|---|
| | 1528 | if (sys_command_rs("which chkrootkit > /dev/null") ne 0) { |
|---|
| 1528 | 1529 | $ckrootkit = "#"; |
|---|
| 1529 | 1530 | } |
|---|
| r790 |
r795 |
|
| 51 | 51 | |
|---|
| 52 | 52 | foreach ($config_entries as $config_entry) { |
|---|
| 53 | | if (empty($config_entry) || !isset($cfg[$config_entry])) { |
|---|
| | 53 | if (empty($config_entry) || !isset($cfg[$config_entry]) || empty($cfg[$config_entry])) { |
|---|
| 54 | 54 | continue; |
|---|
| 55 | 55 | } |
|---|
| r786 |
r795 |
|
| 9 | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
|---|
| 10 | 10 | "Report-Msgid-Bugs-To: \n" |
|---|
| 11 | | "POT-Creation-Date: 2007-09-01 22:06-0500\n" |
|---|
| | 11 | "POT-Creation-Date: 2007-09-03 18:54-0500\n" |
|---|
| 12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
|---|
| 13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
|---|
| … | … | |
| 1034 | 1034 | |
|---|
| 1035 | 1035 | msgid "Mail account errors" |
|---|
| | 1036 | msgstr "" |
|---|
| | 1037 | |
|---|
| | 1038 | msgid "ispCP Daemon tools" |
|---|
| | 1039 | msgstr "" |
|---|
| | 1040 | |
|---|
| | 1041 | msgid "Execute requests" |
|---|
| 1036 | 1042 | msgstr "" |
|---|
| 1037 | 1043 | |
|---|
| r688 |
r795 |
|
| 4 | 4 | DAEMON_DIR=$(SYSTEM_ROOT)/daemon |
|---|
| 5 | 5 | |
|---|
| 6 | | build: |
|---|
| | 6 | build: daemon/ispcp_daemon |
|---|
| | 7 | |
|---|
| | 8 | daemon/ispcp_daemon: |
|---|
| 7 | 9 | (cd ./daemon; \ |
|---|
| 8 | 10 | $(MAKE) ispcp_daemon;) |
|---|
| 9 | | touch build |
|---|
| 10 | 11 | |
|---|
| 11 | 12 | install: build |
|---|
| … | … | |
| 16 | 17 | |
|---|
| 17 | 18 | (cd ./daemon; \ |
|---|
| 18 | | $(MAKE) uninstall;) |
|---|
| | 19 | $(MAKE) clean;) |
|---|
| 19 | 20 | rm -rf $(DAEMON_DIR) |
|---|
| 20 | 21 | rm -rf build |
|---|
| r688 |
r795 |
|
| 4 | 4 | DAEMON_DIR=$(SYSTEM_ROOT)/daemon |
|---|
| 5 | 5 | |
|---|
| 6 | | build: |
|---|
| | 6 | |
|---|
| | 7 | build: daemon/ispcp_daemon |
|---|
| | 8 | |
|---|
| | 9 | daemon/ispcp_daemon: |
|---|
| 7 | 10 | (cd ./daemon; \ |
|---|
| 8 | | $(MAKE) ispcp_daemon; ) |
|---|
| 9 | | touch build |
|---|
| | 11 | $(MAKE) ispcp_daemon;) |
|---|
| 10 | 12 | |
|---|
| 11 | 13 | install: build |
|---|
| … | … | |
| 16 | 18 | |
|---|
| 17 | 19 | (cd ./daemon; \ |
|---|
| 18 | | $(MAKE) uninstall; ) |
|---|
| | 20 | $(MAKE) clean; ) |
|---|
| 19 | 21 | rm -rf $(DAEMON_DIR) |
|---|
| 20 | 22 | rm -rf build |
|---|
| r712 |
r795 |
|
| 17 | 17 | # |
|---|
| 18 | 18 | |
|---|
| | 19 | ifneq (,$(findstring noopt,$(DAEMON_OPTIONS))) |
|---|
| | 20 | CFLAGS += -O0 |
|---|
| | 21 | else |
|---|
| | 22 | CFLAGS += -O3 |
|---|
| | 23 | endif |
|---|
| | 24 | |
|---|
| | 25 | ifneq (,$(findstring nostrip,$(DAEMON_OPTIONS))) |
|---|
| | 26 | STRIP = touch -a -c |
|---|
| | 27 | else |
|---|
| | 28 | STRIP = strip -s |
|---|
| | 29 | endif |
|---|
| | 30 | |
|---|
| | 31 | |
|---|
| 19 | 32 | OBJS = ispcp_daemon.o message.o daemon_init.o say.o signal-handlers.o\ |
|---|
| 20 | 33 | receive_data.o send_data.o take_connection.o send_line.o recv_line.o\ |
|---|
| 21 | 34 | helo_cmd.o helo_syntax.o lr_cmd.o lr_syntax.o bye_cmd.o bye_syntax.o |
|---|
| 22 | 35 | |
|---|
| 23 | | BUILD = gcc -O3 -ansi -Wall -Wstrict-prototypes -pedantic -o |
|---|
| | 36 | BUILD = gcc -ansi -Wall -Wstrict-prototypes -pedantic $(CFLAGS) |
|---|
| 24 | 37 | |
|---|
| 25 | | COMPILE = gcc -O3 -ansi -Wall -Wstrict-prototypes -pedantic -c -o |
|---|
| 26 | | |
|---|
| 27 | | STRIP = strip -s |
|---|
| | 38 | COMPILE = gcc -ansi -Wall -Wstrict-prototypes -pedantic -c $(CFLAGS) |
|---|
| 28 | 39 | |
|---|
| 29 | 40 | ispcp_daemon: $(OBJS) |
|---|
| 30 | | $(BUILD) ispcp_daemon $(OBJS) |
|---|
| | 41 | $(BUILD) -o ispcp_daemon $(OBJS) |
|---|
| 31 | 42 | $(STRIP) ispcp_daemon |
|---|
| 32 | | |
|---|
| 33 | | %.o: %.c |
|---|
| 34 | | $(COMPILE) $@ $*.c |
|---|
| 35 | 43 | |
|---|
| 36 | | uninstall: clean |
|---|
| | 44 | %.o: %.c %.h |
|---|
| | 45 | $(COMPILE) -o $@ $*.c |
|---|
| 37 | 46 | |
|---|
| 38 | 47 | clean: |
|---|
| … | … | |
| 41 | 50 | rm -rf ispcp_daemon |
|---|
| 42 | 51 | |
|---|
| 43 | | .PHONY: clean uninstall |
|---|
| | 52 | .PHONY: clean |
|---|
| r736 |
r795 |
|
| 28 | 28 | # http://www.isp-control.net |
|---|
| 29 | 29 | |
|---|
| | 30 | ifneq (,$(findstring noopt,$(DAEMON_OPTIONS))) |
|---|
| | 31 | CFLAGS += -O0 |
|---|
| | 32 | else |
|---|
| | 33 | CFLAGS += -O3 |
|---|
| | 34 | endif |
|---|
| | 35 | |
|---|
| | 36 | ifneq (,$(findstring nostrip,$(DAEMON_OPTIONS))) |
|---|
| | 37 | STRIP = touch -a -c |
|---|
| | 38 | else |
|---|
| | 39 | STRIP = strip -s |
|---|
| | 40 | endif |
|---|
| | 41 | |
|---|
| 30 | 42 | |
|---|
| 31 | 43 | OBJS = ispcp_daemon.o message.o daemon_init.o say.o signal-handlers.o\ |
|---|
| … | … | |
| 33 | 45 | helo_cmd.o helo_syntax.o lr_cmd.o lr_syntax.o bye_cmd.o bye_syntax.o |
|---|
| 34 | 46 | |
|---|
| 35 | | BUILD = gcc -O3 -ansi -Wall -Wstrict-prototypes -pedantic -o |
|---|
| | 47 | BUILD = gcc -ansi -Wall -Wstrict-prototypes -pedantic $(CFLAGS) |
|---|
| 36 | 48 | |
|---|
| 37 | | COMPILE = gcc -O3 -ansi -Wall -Wstrict-prototypes -pedantic -c -o |
|---|
| 38 | | |
|---|
| 39 | | STRIP = strip -s |
|---|
| | 49 | COMPILE = gcc -ansi -Wall -Wstrict-prototypes -pedantic -c $(CFLAGS) |
|---|
| 40 | 50 | |
|---|
| 41 | 51 | ispcp_daemon: $(OBJS) |
|---|
| 42 | | $(BUILD) ispcp_daemon $(OBJS) |
|---|
| | 52 | $(BUILD) -o ispcp_daemon $(OBJS) |
|---|
| 43 | 53 | $(STRIP) ispcp_daemon |
|---|
| 44 | 54 | |
|---|
| 45 | 55 | %.o: %.c %.h |
|---|
| 46 | | $(COMPILE) $@ $*.c |
|---|
| 47 | | |
|---|
| 48 | | uninstall: clean |
|---|
| | 56 | $(COMPILE) -o $@ $*.c |
|---|
| 49 | 57 | |
|---|
| 50 | 58 | clean: |
|---|
| … | … | |
| 53 | 61 | rm -rf ispcp_daemon |
|---|
| 54 | 62 | |
|---|
| 55 | | .PHONY: clean uninstall |
|---|
| | 63 | .PHONY: clean |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>