X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fsamba;h=6104dcb50bba97894d5797d8f8ee7dd40fefa99a;hb=fd3e7da032513d6319db71588d250d1228b5dc2b;hp=4530ed87643ac7f445ef4b7583f8c1f58aa16ba2;hpb=90350ff3f3d03b9f6889013a3c8de993cb984789;p=ipfire-2.x.git diff --git a/lfs/samba b/lfs/samba index 4530ed8764..6104dcb50b 100644 --- a/lfs/samba +++ b/lfs/samba @@ -18,12 +18,6 @@ # Makefiles are based on LFSMake, which is # # Copyright (C) 2002 Rod Roard # # # -# Modifications by: # -# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> # -# - Modified Makefile for IPCop build # -# # -# $Id: ntp,v 1.6.2.3 2005/02/05 15:38:15 gespinasse Exp $ -# # ############################################################################### ############################################################################### @@ -32,13 +26,15 @@ include Config -VER = 3.0.22 +VER = 3.0.23b THISAPP = samba-$(VER) DL_FILE = $(THISAPP).tar.gz -DL_FROM = ftp://ftp.samba.org/pub/samba +DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) +PROG = samba +PAK_VER = 1 ############################################################################### # Top-level Rules @@ -48,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 5c39505af17cf5caf3d6ed8bab135036 +$(DL_FILE)_MD5 = f2d1a513fd7138fd1515d3bdf702f7c7 install : $(TARGET) @@ -59,7 +55,7 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects)) md5 : $(subst %,%_MD5,$(objects)) dist: - make-packages.sh samba $(THISAPP) + @$(PAK) ############################################################################### # Downloading, checking, md5sum @@ -105,20 +101,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # cd $(DIR_APP)/source && install -v -m755 -d /usr/share/doc/samba-3.0.22 # cd $(DIR_APP)/source && install -v -m644 ../docs/*.pdf /usr/share/doc/samba-3.0.22 # cd $(DIR_APP)/source && ln -v -s ../../samba/swat /usr/share/doc/samba-3.0.22 - echo "swat 901/tcp" >> /etc/services - echo "# Begin /var/ipfire/xinetd/xinetd.d/swat" >> /var/ipfire/xinetd/xinetd.d/swat - echo "" >> /var/ipfire/xinetd/xinetd.d/swat - echo "service swat" >> /var/ipfire/xinetd/xinetd.d/swat - echo "{" >> /var/ipfire/xinetd/xinetd.d/swat - echo " port = 901" >> /var/ipfire/xinetd/xinetd.d/swat - echo " socket_type = stream" >> /var/ipfire/xinetd/xinetd.d/swat - echo " wait = no" >> /var/ipfire/xinetd/xinetd.d/swat - echo "# only_from = 127.0.0.1" >> /var/ipfire/xinetd/xinetd.d/swat - echo " user = root" >> /var/ipfire/xinetd/xinetd.d/swat - echo " server = /usr/sbin/swat" >> /var/ipfire/xinetd/xinetd.d/swat - echo " log_on_failure += USERID" >> /var/ipfire/xinetd/xinetd.d/swat - echo "}" >> /var/ipfire/xinetd/xinetd.d/swat - echo "" >> /var/ipfire/xinetd/xinetd.d/swat - echo "# End /var/ipfire/xinetd/xinetd.d/swat" >> /var/ipfire/xinetd/xinetd.d/swat + cp -f $(DIR_CONF)/xinetd/swat /var/ipfire/xinetd/xinetd.d/ @rm -rf $(DIR_APP) @$(POSTBUILD)