Magellan Linux

Diff of /smage/branches/alx-0_6_0/core/samba/samba-3.5.9-r1.smage2

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

revision 2618 by niro, Wed Jul 6 22:36:48 2011 UTC revision 2619 by niro, Wed Jul 6 22:58:35 2011 UTC
# Line 23  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" Line 23  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23    
24  FILESDIR="${SOURCEDIR}/samba"  FILESDIR="${SOURCEDIR}/samba"
25    
26    ALX_ONLY_KEEP="etc/samba/smb.conf etc/rc.d/init.d/nmbd usr/bin/net usr/sbin/nmbd usr/$(mlibdir) var/run/samba var/cache/samba var/lib/samba"
27  REMOVE_DEPRECATED_MAGE_TARGETS=1  REMOVE_DEPRECATED_MAGE_TARGETS=1
28  sminclude mtools alx  sminclude mtools alx-split
29    
30  SRC_URI=(  SRC_URI=(
31   http://us1.samba.org/samba/ftp/stable/${SRCFILE}   http://us1.samba.org/samba/ftp/stable/${SRCFILE}
32   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
  mirror://${PNAME}/samba.rc  
33  )  )
34    
35  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 99  src_install() Line 99  src_install()
99  {  {
100   cd ${SRCDIR}/source3   cd ${SRCDIR}/source3
101    
  # needed directories  
  minstalldir /sbin || die  
   
102   # needed directories by samba at runtime   # needed directories by samba at runtime
103   mkeepdir /var/run/samba || die   mkeepdir /var/run/samba || die
104     mkeepdir /var/lib/samba || die
105   mkeepdir /var/cache/samba || die   mkeepdir /var/cache/samba || die
106    
107   make DESTDIR=${BINDIR} install-everything || die   make DESTDIR=${BINDIR} install-everything || die
# Line 119  src_install() Line 117  src_install()
117    
118   # our initscript   # our initscript
119   minstalldir /etc/rc.d/init.d/|| die   minstalldir /etc/rc.d/init.d/|| die
120   mcinstallexec nmbd.rc /etc/rc.d/init.d/nmbd || die   mcinjectexec nmbd.rc /etc/rc.d/init.d/nmbd || die
121    
122     # create a mininmal configuration to get nmbd working
123     echo '[global]' > /etc/samba/smb.conf || die
124     echo 'workgroup = WORKGROUP' > /etc/samba/smb.conf || die
125    
126   # other docs   # other docs
127   cd ${SRCDIR}   cd ${SRCDIR}

Legend:
Removed from v.2618  
changed lines
  Added in v.2619