Magellan Linux

Diff of /branches/magellan-next/core/samba/samba-3.6.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9140 by niro, Mon Nov 7 15:46:35 2011 UTC revision 9141 by niro, Mon Nov 7 19:29:09 2011 UTC
# Line 30  FILESDIR="${SOURCEDIR}/samba" Line 30  FILESDIR="${SOURCEDIR}/samba"
30    
31  sminclude mtools  sminclude mtools
32    
33  SMBD_SVC_VER=1.2  SMBD_SVC_VER=1.3
34    NMBD_SVC_VER=1.2
35    
36  SRC_URI=(  SRC_URI=(
37   http://us1.samba.org/samba/ftp/stable/${SRCFILE}   http://us1.samba.org/samba/ftp/stable/${SRCFILE}
# Line 38  SRC_URI=( Line 39  SRC_URI=(
39   mirror://${PNAME}/smb.conf-3.0.14a   mirror://${PNAME}/smb.conf-3.0.14a
40   mirror://${PNAME}/lmhosts   mirror://${PNAME}/lmhosts
41   mirror://${PNAME}/smbusers   mirror://${PNAME}/smbusers
42   mirror://${PNAME}/samba.rc   mirror://${PNAME}/samba.confd
43   mirror://${PNAME}/nmbd.service   mirror://${PNAME}/samba.logrotate
44     mirror://${PNAME}/nmbd.service-${NMBD_SVC_VER}
45   mirror://${PNAME}/smbd.service-${SMBD_SVC_VER}   mirror://${PNAME}/smbd.service-${SMBD_SVC_VER}
46     mirror://${PNAME}/winbindd.service
47  )  )
48    
49  UP2DATE="updatecmd http://ftp.samba.org/pub/samba | grep ${PNAME}-[0-9].* | lasttarball gz"  UP2DATE="updatecmd http://ftp.samba.org/pub/samba | grep ${PNAME}-[0-9].* | lasttarball gz"
# Line 69  src_compile() Line 72  src_compile()
72    
73   # remove swat completely now; since we have no httpd server yet   # remove swat completely now; since we have no httpd server yet
74   # if really needed we make an extra package to save diskspace   # if really needed we make an extra package to save diskspace
  # --disable-swat option is there, no patches needed anymore ;)  
75   mconfigure \   mconfigure \
76   --with-fhs \   --with-fhs \
77   --sysconfdir=/etc/samba \   --sysconfdir=/etc/samba \
# Line 188  src_install() Line 190  src_install()
190   minstalletc lmhosts lmhosts /etc/samba || die   minstalletc lmhosts lmhosts /etc/samba || die
191   minstalletc smbusers smbusers /etc/samba || die   minstalletc smbusers smbusers /etc/samba || die
192    
  # our initscript  
  minstallrc samba.rc samba || die  
   
193   # install systemd units   # install systemd units
194   minstallunit nmbd.service || die   minstallconf samba.confd samba || die
195     minstallunit nmbd.service-${NMBD_SVC_VER} nmbd.service || die
196   minstallunit smbd.service-${SMBD_SVC_VER} smbd.service || die   minstallunit smbd.service-${SMBD_SVC_VER} smbd.service || die
197     minstallunit winbindd.service || die
198    
199     # install logrotate config
200     minstalllog samba.logrotate samba || die
201    
202  # # install example docs - not wanted anymore to save some space  # # install example docs - not wanted anymore to save some space
203  # cp -a ${SRCDIR}/examples/* ${BINDIR}/usr/share/doc/${PNAME}-${PVER}/examples || die  # cp -a ${SRCDIR}/examples/* ${BINDIR}/usr/share/doc/${PNAME}-${PVER}/examples || die

Legend:
Removed from v.9140  
changed lines
  Added in v.9141