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:
ms
2007-05-06 15:11:01 +00:00
parent 821d2b938c
commit 389656390c
13 changed files with 52 additions and 14 deletions

View File

@@ -170,7 +170,7 @@ define PAK
cd /tmp && tar --create --bzip2 --verbose --file=/install/packages/package/files.tbz2 *
@cd / && rm -rf /tmp/*
@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
@rm -rf /install/packages/package
sed -e s/NAME/$(PROG)/g \
@@ -179,6 +179,6 @@ define PAK
-e s/DEPS/$(DEPS)/g \
-e s/DESCDE/$(DESCDE)/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)
endef

View File

@@ -55,7 +55,7 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
dist:
$(PAK)
@$(PAK)
###############################################################################
# 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) && make $(MAKETUNING)
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)
@$(POSTBUILD)

View File

@@ -55,5 +55,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cp -fRv $(DIR_SRC)/src/pakfire/* $(DIR_APP)
cp -vf $(DIR_SRC)/src/pakfire/pakfire.conf $(DIR_APP)/etc/
chown root.root $(DIR_APP) -R
chmod 755 $(DIR_APP)/pakfire
-cd $(DIR_APP) && find $(DIR_APP) -name .svn -exec rm -rf {} \;
@$(POSTBUILD)