summaryrefslogtreecommitdiff
path: root/package/samba
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-12 17:11:54 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-12 17:11:54 +0200
commit44f09b2c4ac51815b8996ff637b78c0a462e5382 (patch)
tree4d5837afe92f6a59470c7d99f83a54e23a68330a /package/samba
parent1a70ec52e7a97c6255421bee8ec0341bec623085 (diff)
add ntpd support for mpdbox, fix smbclient package
Diffstat (limited to 'package/samba')
-rw-r--r--package/samba/Makefile19
1 files changed, 14 insertions, 5 deletions
diff --git a/package/samba/Makefile b/package/samba/Makefile
index 2714b67b3..1c9677568 100644
--- a/package/samba/Makefile
+++ b/package/samba/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= samba
PKG_VERSION:= 3.6.16
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 12c6785802813c2c5bf66e5c4c4e1d93
PKG_DESCR:= NetBIOS/SMB file and print server
PKG_SECTION:= net/fs
@@ -16,15 +16,20 @@ PKG_SITES:= http://samba.org/samba/ftp/stable/
PKG_ARCH_DEPENDS:= !avr32
-PKG_SUBPKGS:= SAMBA SAMBA_CLIENT SAMBA_PASSWD
+PKG_SUBPKGS:= SAMBA SAMBA_CLIENT SAMBA_PASSWD SAMBA_LIB
+PKGSD_SAMBA_CLIENT:= NetBIOS/SMB client
+PKGSS_SAMBA_CLIENT:= libreadline samba-lib
+PKGSD_SAMBA_PASSWD:= SMB password utility
+PKGSD_SAMBA_LIB:= SMB libraries
WRKSRC= ${WRKDIST}/source3
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SAMBA,samba,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,SAMBA_CLIENT,samba-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,SAMBA_PASSWD,samba-passwd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,SAMBA_CLIENT,samba-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_SAMBA_CLIENT},${PKG_SECTION}))
+$(eval $(call PKG_template,SAMBA_PASSWD,samba-passwd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_SAMBA_PASSWD},${PKG_SECTION}))
+$(eval $(call PKG_template,SAMBA_LIB,samba-lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_SAMBA_LIB},${PKG_SECTION}))
TARGET_LDFLAGS+= -Wl,-rpath -Wl,/usr/lib/samba -lintl
CONFIGURE_ENV+= samba_cv_CC_NEGATIVE_ENUM_VALUES=no \
@@ -57,7 +62,8 @@ post-install:
${IDIR_SAMBA}/usr/lib/samba/charset
${INSTALL_DATA} ./files/smb.conf ${IDIR_SAMBA}/etc/samba
${INSTALL_BIN} ${WRKINST}/usr/sbin/{nmbd,smbd} ${IDIR_SAMBA}/usr/sbin
- ${CP} ${WRKINST}/usr/lib/samba/*.so* ${IDIR_SAMBA}/usr/lib/samba
+ ${CP} ${WRKINST}/usr/lib/samba/{libsmbclient,libsmbsharemodes,libnetapi}.so* \
+ ${IDIR_SAMBA}/usr/lib/samba
${CP} ${WRKINST}/usr/lib/samba/vfs/*.so* ${IDIR_SAMBA}/usr/lib/samba/vfs
${INSTALL_DATA} ${WRKINST}/usr/lib/samba/*.dat ${IDIR_SAMBA}/usr/lib/samba
${INSTALL_DIR} ${IDIR_SAMBA_PASSWD}/usr/bin
@@ -66,5 +72,8 @@ post-install:
${INSTALL_DIR} ${IDIR_SAMBA_CLIENT}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/smbclient \
${IDIR_SAMBA_CLIENT}/usr/bin
+ ${INSTALL_DIR} ${IDIR_SAMBA_LIB}/usr/lib/samba
+ $(CP) ${WRKINST}/usr/lib/samba/{libtalloc,libtdb,libtevent}.* \
+ ${IDIR_SAMBA_LIB}/usr/lib/samba
include ${TOPDIR}/mk/pkg-bottom.mk