mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Einige Fixes fuer den Paketmanager.
ISA PnP aus Kernel entfernt. Defaultconf fuer Clamav. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@534 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
10
config/clamav/clamd.conf
Normal file
10
config/clamav/clamd.conf
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
##
|
||||||
|
## ipfire config file for the Clam AV daemon
|
||||||
|
##
|
||||||
|
|
||||||
|
LogSyslog yes
|
||||||
|
|
||||||
|
PidFile /var/run/clamd.pid
|
||||||
|
LocalSocket /var/run/clamd
|
||||||
|
|
||||||
|
ArchiveMaxFileSize 15M
|
||||||
19
config/clamav/freshclam.conf
Normal file
19
config/clamav/freshclam.conf
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
##
|
||||||
|
## ipfire config file for freshclam
|
||||||
|
##
|
||||||
|
|
||||||
|
LogSyslog yes
|
||||||
|
|
||||||
|
PidFile /var/run/freshclam.pid
|
||||||
|
|
||||||
|
DatabaseMirror database.clamav.net
|
||||||
|
|
||||||
|
ScriptedUpdates yes
|
||||||
|
|
||||||
|
## Proxy settings
|
||||||
|
#HTTPProxyServer myproxy.com
|
||||||
|
#HTTPProxyPort 1234
|
||||||
|
#HTTPProxyUsername myusername
|
||||||
|
#HTTPProxyPassword mypass
|
||||||
|
|
||||||
|
NotifyClamd /var/ipfire/clamav/clamd.conf
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.16.50-ipfire
|
# Linux kernel version: 2.6.16.50-ipfire
|
||||||
# Sat May 5 09:53:31 2007
|
# Sun May 6 14:35:41 2007
|
||||||
#
|
#
|
||||||
CONFIG_X86_32=y
|
CONFIG_X86_32=y
|
||||||
CONFIG_SEMAPHORE_SLEEPERS=y
|
CONFIG_SEMAPHORE_SLEEPERS=y
|
||||||
@@ -664,7 +664,7 @@ CONFIG_PNP=y
|
|||||||
#
|
#
|
||||||
# Protocols
|
# Protocols
|
||||||
#
|
#
|
||||||
CONFIG_ISAPNP=y
|
# CONFIG_ISAPNP is not set
|
||||||
CONFIG_PNPBIOS=y
|
CONFIG_PNPBIOS=y
|
||||||
CONFIG_PNPBIOS_PROC_FS=y
|
CONFIG_PNPBIOS_PROC_FS=y
|
||||||
CONFIG_PNPACPI=y
|
CONFIG_PNPACPI=y
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.16.50-ipfire
|
# Linux kernel version: 2.6.16.50-ipfire
|
||||||
# Sat May 5 09:54:33 2007
|
# Sun May 6 14:36:07 2007
|
||||||
#
|
#
|
||||||
CONFIG_X86_32=y
|
CONFIG_X86_32=y
|
||||||
CONFIG_SEMAPHORE_SLEEPERS=y
|
CONFIG_SEMAPHORE_SLEEPERS=y
|
||||||
@@ -670,7 +670,7 @@ CONFIG_PNP=y
|
|||||||
#
|
#
|
||||||
# Protocols
|
# Protocols
|
||||||
#
|
#
|
||||||
CONFIG_ISAPNP=y
|
# CONFIG_ISAPNP is not set
|
||||||
CONFIG_PNPBIOS=y
|
CONFIG_PNPBIOS=y
|
||||||
CONFIG_PNPBIOS_PROC_FS=y
|
CONFIG_PNPBIOS_PROC_FS=y
|
||||||
CONFIG_PNPACPI=y
|
CONFIG_PNPACPI=y
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
$subipfire->{'30.samba'} = {'caption' => '$Lang::tr{'samba'}',
|
$subipfire->{'30.samba'} = {'caption' => $Lang::tr{'samba'},
|
||||||
'uri' => '/cgi-bin/samba.cgi',
|
'uri' => '/cgi-bin/samba.cgi',
|
||||||
'title' => $Lang::tr{'samba'},
|
'title' => $Lang::tr{'samba'},
|
||||||
'enabled' => 1,
|
'enabled' => 1,
|
||||||
|
|||||||
@@ -65,7 +65,14 @@ var/ipfire/main
|
|||||||
#var/ipfire/main/settings
|
#var/ipfire/main/settings
|
||||||
var/ipfire/mbmon
|
var/ipfire/mbmon
|
||||||
#var/ipfire/mbmon/settings
|
#var/ipfire/mbmon/settings
|
||||||
var/ipfire/menu.d
|
var/ipfire/menu.d/00-menu.main
|
||||||
|
var/ipfire/menu.d/10-system.menu
|
||||||
|
var/ipfire/menu.d/20-status.menu
|
||||||
|
var/ipfire/menu.d/30-network.menu
|
||||||
|
var/ipfire/menu.d/40-services.menu
|
||||||
|
var/ipfire/menu.d/50-firewall.menu
|
||||||
|
var/ipfire/menu.d/60-ipfire.menu
|
||||||
|
var/ipfire/menu.d/70-log.menu
|
||||||
var/ipfire/modem
|
var/ipfire/modem
|
||||||
#var/ipfire/modem/defaults
|
#var/ipfire/modem/defaults
|
||||||
#var/ipfire/modem/settings
|
#var/ipfire/modem/settings
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#root/.gnupg
|
#root/.gnupg
|
||||||
root/.gnupg/gpg.conf
|
root/.gnupg/gpg.conf
|
||||||
root/.gnupg/pubring.gpg
|
root/.gnupg/pubring.gpg
|
||||||
#root/.gnupg/pubring.gpg~
|
root/.gnupg/pubring.gpg~
|
||||||
root/.gnupg/secring.gpg
|
root/.gnupg/secring.gpg
|
||||||
root/.gnupg/trustdb.gpg
|
root/.gnupg/trustdb.gpg
|
||||||
usr/bin/gpg
|
usr/bin/gpg
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ define PAK
|
|||||||
cd /tmp && tar --create --bzip2 --verbose --file=/install/packages/package/files.tbz2 *
|
cd /tmp && tar --create --bzip2 --verbose --file=/install/packages/package/files.tbz2 *
|
||||||
@cd / && rm -rf /tmp/*
|
@cd / && rm -rf /tmp/*
|
||||||
@cd /install/packages/package && cat ROOTFILES | grep -v "#" > ROOTFILES
|
@cd /install/packages/package && cat ROOTFILES | grep -v "#" > ROOTFILES
|
||||||
cd /install/packages/package && tar cfj ../$(PROG)-$(VER)_$(PAK_VER).ipfire \
|
cd /install/packages/package && tar cfj ../$(PROG)-$(VER)-$(PAK_VER).ipfire \
|
||||||
files.tbz2 install.sh uninstall.sh update.sh ROOTFILES
|
files.tbz2 install.sh uninstall.sh update.sh ROOTFILES
|
||||||
@rm -rf /install/packages/package
|
@rm -rf /install/packages/package
|
||||||
sed -e s/NAME/$(PROG)/g \
|
sed -e s/NAME/$(PROG)/g \
|
||||||
@@ -179,6 +179,6 @@ define PAK
|
|||||||
-e s/DEPS/$(DEPS)/g \
|
-e s/DEPS/$(DEPS)/g \
|
||||||
-e s/DESCDE/$(DESCDE)/g \
|
-e s/DESCDE/$(DESCDE)/g \
|
||||||
-e s/DESCEN/$(DESCEN)/g \
|
-e s/DESCEN/$(DESCEN)/g \
|
||||||
-e s/SIZE/`ls -l \/install\/packages\/$(PROG)-$(VER)_$(PAK_VER).ipfire | awk '{ print $$5 }'`/g \
|
-e s/SIZE/`ls -l \/install\/packages\/$(PROG)-$(VER)-$(PAK_VER).ipfire | awk '{ print $$5 }'`/g \
|
||||||
< /usr/src/src/pakfire/meta > /install/packages/meta-$(PROG)
|
< /usr/src/src/pakfire/meta > /install/packages/meta-$(PROG)
|
||||||
endef
|
endef
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
md5 : $(subst %,%_MD5,$(objects))
|
md5 : $(subst %,%_MD5,$(objects))
|
||||||
|
|
||||||
dist:
|
dist:
|
||||||
$(PAK)
|
@$(PAK)
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Downloading, checking, md5sum
|
# Downloading, checking, md5sum
|
||||||
@@ -80,6 +80,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/var/ipfire/clamav
|
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/var/ipfire/clamav
|
||||||
cd $(DIR_APP) && make $(MAKETUNING)
|
cd $(DIR_APP) && make $(MAKETUNING)
|
||||||
cd $(DIR_APP) && make install
|
cd $(DIR_APP) && make install
|
||||||
chown nobody.nobody /usr/share/clamav -R
|
chown clamav.clamav /usr/share/clamav -R
|
||||||
|
cp -rf $(DIR_SRC)/config/clamav/* /var/ipfire/clamav/
|
||||||
@rm -rf $(DIR_APP)
|
@rm -rf $(DIR_APP)
|
||||||
@$(POSTBUILD)
|
@$(POSTBUILD)
|
||||||
|
|||||||
@@ -55,5 +55,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
cp -fRv $(DIR_SRC)/src/pakfire/* $(DIR_APP)
|
cp -fRv $(DIR_SRC)/src/pakfire/* $(DIR_APP)
|
||||||
cp -vf $(DIR_SRC)/src/pakfire/pakfire.conf $(DIR_APP)/etc/
|
cp -vf $(DIR_SRC)/src/pakfire/pakfire.conf $(DIR_APP)/etc/
|
||||||
chown root.root $(DIR_APP) -R
|
chown root.root $(DIR_APP) -R
|
||||||
|
chmod 755 $(DIR_APP)/pakfire
|
||||||
-cd $(DIR_APP) && find $(DIR_APP) -name .svn -exec rm -rf {} \;
|
-cd $(DIR_APP) && find $(DIR_APP) -name .svn -exec rm -rf {} \;
|
||||||
@$(POSTBUILD)
|
@$(POSTBUILD)
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
tar xvfj files.tbz -C /
|
tar xvfj files.tbz2 -C /
|
||||||
|
|
||||||
clamavctrl enable
|
clamavctrl enable
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
tar xvfj files.tbz -C /
|
tar xvfj files.tbz2 -C /
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
tar xvfj files.tbz -C /
|
tar xvfj files.tbz2 -C /
|
||||||
|
|||||||
Reference in New Issue
Block a user