Changeset 2647

Show
Ignore:
Timestamp:
05/24/07 09:45:14 (2 years ago)
Author:
tg
Message:

• if our codepage has a codepage map, not only an unicode map, install it too
• install the latin1 unicode map

nmbd needs these, or it complains on startup

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/samba/Makefile

    r2645 r2647  
    99PKG_NAME:=              samba 
    1010PKG_VERSION:=           2.2.12 
    11 PKG_RELEASE:=           5 
     11PKG_RELEASE:=           6 
    1212PKG_MD5SUM:=            ffda6f5a93635d0b2afb2b2fb17e3bbf 
    1313PKG_SOURCE_URL:=        ftp://se.samba.org/pub/samba/stable \ 
     
    142142        ${INSTALL_DATA} ./files/smb.conf ${IDIR_SAMBA}/etc/samba/ 
    143143        ${INSTALL_BIN} ${WRKINST}/usr/bin/{nmbd,smbd} ${IDIR_SAMBA}/usr/sbin 
    144         ${INSTALL_DATA} ${WRKINST}/usr/share/samba/unicode_map.${PKG_CP} \ 
    145                         ${IDIR_SAMBA}/usr/share/samba/ 
     144        cd ${WRKINST}/usr/share/samba; test ! -e codepage.${PKG_CP} || \ 
     145            ${INSTALL_DATA} codepage.${PKG_CP} ${IDIR_SAMBA}/usr/share/samba/; \ 
     146            ${INSTALL_DATA} unicode_map.${PKG_CP} unicode_map.ISO8859-1 \ 
     147            ${IDIR_SAMBA}/usr/share/samba/ 
    146148        ${INSTALL_DIR} ${IDIR_SAMBA_PASSWD}/usr/bin 
    147149        ${INSTALL_BIN} ${WRKINST}/usr/bin/smbpasswd ${IDIR_SAMBA_PASSWD}/usr/bin/