mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user