pkgsrc/net/ja-samba/Makefile

134 lines
4.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.30 2004/10/03 16:16:39 taca Exp $
Update ja-samba package to ja-samba-2.2.7.1.1.1 (samba 2.2.7a-1.1). This contains security problem solved by samba 2.2.8. pkgsrc changes: o pkgsrc organization changesd as samba package. o note explicitly security problem fixed by samba 2.2.8. o remove own quota support patch. Changes from ja-samba-2.2.4.1.0 package: Changelog of Samba2.2 Japanese Edition Samba Users Group Japan Here is the fix list of Samba2.2 Japanese Edition. The sign of each line means: *: Fix of Samba Japanese Edition only x: Fix of sending a patch to Samba Team c: Fix of being commited a patch by Samba Team samba-2.2.7a-ja-1.1 ~~~~~~~~~~~~~~~~~~~ Changes to the original version c Fixed two security problems which is fixed at samba 2.2.8 [sugj-tech:5211] samba-2.2.7a-ja-1.0beta1 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Fixed build problem when gettext 0.11.x installed [sugj-tech:5177] * Fixed memory leak of winbindd [sugj-tech:5152] * Added 'ldap referrals' parameter [sugj-tech:5124] * Fixed parameter of 'printing' was set on FreeBSD [sugj-tech:5155] * Fixed reseting parameters of smbd and nmbd by SIGHUP [sugj-tech:5160] * Fixed setting change of the 'printing' parameter works together with print-related parameters [sugj-tech:5155] * Fixed error message when old getgroups() is used [sugj-tech:5166] * Fixed warning message when leap second is set [sugj-tech:5166] * Fixed altname command of smbclient [sugj-tech:5019] * Fixed close share command of smbcontrol with Japanese [sugj-tech:5014] * Fixed compile problem on Tru64 UNIX [sugj-tech:5033] * Fixed compile problem of tdb directory [sugj-tech:5033] * Fixed to enable domain logon to Japanese domain name [sugj-tech:5043] * Fixed smbspool command with Japanese [sugj-tech:5048,5112] * Fixed recycle.c of VFS module [samba-jp:13590] * Fixed memory allocation of make_printerdef [sugj-tech:5106] * Fixed compile problem before FreeBSD 2.2.8 [sugj-tech:5112] * Fixed querydispinfo command of rpcclient [sugj-tech:5112] * Fixed rpcclient for Japanese resource [sugj-tech:5112] * Changed option of client tools from '-t' to '-T' [sugj-tech:5077] * Update smbchartool and removed jcode.pl [sugj-tech:5091] * Fixed encoding when using euc3 coding system [sugj-tech:5122] samba-2.2.5-ja-1.0beta3 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Added %j macro which means printing job name [sugj-tech:4998] Changes to the original version * Fixed counting characters of unistr_to_dos() [sugj-tech:5004] * Fixed compile problem with --with-quotas on NetBSD [sugj-tech:4965]
2003-03-29 09:18:44 +01:00
.include "Makefile.common"
PKGNAME= ja-samba-${SAMBA_BASE_VERS}.${SAMBA_JA_VERS}
PKGREVISION=
CATEGORIES= net
2003-07-18 00:50:55 +02:00
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://www.jp.samba.org/project/samba-ja/index.html.en
COMMENT= Samba supporting I18N swat and L10N for Japanese
CONFLICTS+= samba-[0-9]*
2004-05-05 05:54:59 +02:00
USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
Update ja-samba package to ja-samba-2.2.7.1.1.1 (samba 2.2.7a-1.1). This contains security problem solved by samba 2.2.8. pkgsrc changes: o pkgsrc organization changesd as samba package. o note explicitly security problem fixed by samba 2.2.8. o remove own quota support patch. Changes from ja-samba-2.2.4.1.0 package: Changelog of Samba2.2 Japanese Edition Samba Users Group Japan Here is the fix list of Samba2.2 Japanese Edition. The sign of each line means: *: Fix of Samba Japanese Edition only x: Fix of sending a patch to Samba Team c: Fix of being commited a patch by Samba Team samba-2.2.7a-ja-1.1 ~~~~~~~~~~~~~~~~~~~ Changes to the original version c Fixed two security problems which is fixed at samba 2.2.8 [sugj-tech:5211] samba-2.2.7a-ja-1.0beta1 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Fixed build problem when gettext 0.11.x installed [sugj-tech:5177] * Fixed memory leak of winbindd [sugj-tech:5152] * Added 'ldap referrals' parameter [sugj-tech:5124] * Fixed parameter of 'printing' was set on FreeBSD [sugj-tech:5155] * Fixed reseting parameters of smbd and nmbd by SIGHUP [sugj-tech:5160] * Fixed setting change of the 'printing' parameter works together with print-related parameters [sugj-tech:5155] * Fixed error message when old getgroups() is used [sugj-tech:5166] * Fixed warning message when leap second is set [sugj-tech:5166] * Fixed altname command of smbclient [sugj-tech:5019] * Fixed close share command of smbcontrol with Japanese [sugj-tech:5014] * Fixed compile problem on Tru64 UNIX [sugj-tech:5033] * Fixed compile problem of tdb directory [sugj-tech:5033] * Fixed to enable domain logon to Japanese domain name [sugj-tech:5043] * Fixed smbspool command with Japanese [sugj-tech:5048,5112] * Fixed recycle.c of VFS module [samba-jp:13590] * Fixed memory allocation of make_printerdef [sugj-tech:5106] * Fixed compile problem before FreeBSD 2.2.8 [sugj-tech:5112] * Fixed querydispinfo command of rpcclient [sugj-tech:5112] * Fixed rpcclient for Japanese resource [sugj-tech:5112] * Changed option of client tools from '-t' to '-T' [sugj-tech:5077] * Update smbchartool and removed jcode.pl [sugj-tech:5091] * Fixed encoding when using euc3 coding system [sugj-tech:5122] samba-2.2.5-ja-1.0beta3 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Added %j macro which means printing job name [sugj-tech:4998] Changes to the original version * Fixed counting characters of unistr_to_dos() [sugj-tech:5004] * Fixed compile problem with --with-quotas on NetBSD [sugj-tech:4965]
2003-03-29 09:18:44 +01:00
USE_PKGLOCALEDIR= YES
Update ja-samba package to ja-samba-2.2.7.1.1.1 (samba 2.2.7a-1.1). This contains security problem solved by samba 2.2.8. pkgsrc changes: o pkgsrc organization changesd as samba package. o note explicitly security problem fixed by samba 2.2.8. o remove own quota support patch. Changes from ja-samba-2.2.4.1.0 package: Changelog of Samba2.2 Japanese Edition Samba Users Group Japan Here is the fix list of Samba2.2 Japanese Edition. The sign of each line means: *: Fix of Samba Japanese Edition only x: Fix of sending a patch to Samba Team c: Fix of being commited a patch by Samba Team samba-2.2.7a-ja-1.1 ~~~~~~~~~~~~~~~~~~~ Changes to the original version c Fixed two security problems which is fixed at samba 2.2.8 [sugj-tech:5211] samba-2.2.7a-ja-1.0beta1 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Fixed build problem when gettext 0.11.x installed [sugj-tech:5177] * Fixed memory leak of winbindd [sugj-tech:5152] * Added 'ldap referrals' parameter [sugj-tech:5124] * Fixed parameter of 'printing' was set on FreeBSD [sugj-tech:5155] * Fixed reseting parameters of smbd and nmbd by SIGHUP [sugj-tech:5160] * Fixed setting change of the 'printing' parameter works together with print-related parameters [sugj-tech:5155] * Fixed error message when old getgroups() is used [sugj-tech:5166] * Fixed warning message when leap second is set [sugj-tech:5166] * Fixed altname command of smbclient [sugj-tech:5019] * Fixed close share command of smbcontrol with Japanese [sugj-tech:5014] * Fixed compile problem on Tru64 UNIX [sugj-tech:5033] * Fixed compile problem of tdb directory [sugj-tech:5033] * Fixed to enable domain logon to Japanese domain name [sugj-tech:5043] * Fixed smbspool command with Japanese [sugj-tech:5048,5112] * Fixed recycle.c of VFS module [samba-jp:13590] * Fixed memory allocation of make_printerdef [sugj-tech:5106] * Fixed compile problem before FreeBSD 2.2.8 [sugj-tech:5112] * Fixed querydispinfo command of rpcclient [sugj-tech:5112] * Fixed rpcclient for Japanese resource [sugj-tech:5112] * Changed option of client tools from '-t' to '-T' [sugj-tech:5077] * Update smbchartool and removed jcode.pl [sugj-tech:5091] * Fixed encoding when using euc3 coding system [sugj-tech:5122] samba-2.2.5-ja-1.0beta3 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Added %j macro which means printing job name [sugj-tech:4998] Changes to the original version * Fixed counting characters of unistr_to_dos() [sugj-tech:5004] * Fixed compile problem with --with-quotas on NetBSD [sugj-tech:4965]
2003-03-29 09:18:44 +01:00
USE_GNU_READLINE= # uses rl_event_hook interface to GNU readline
CONFIGURE_ARGS+= --with-readline
Update ja-samba package to ja-samba-2.2.7.1.1.1 (samba 2.2.7a-1.1). This contains security problem solved by samba 2.2.8. pkgsrc changes: o pkgsrc organization changesd as samba package. o note explicitly security problem fixed by samba 2.2.8. o remove own quota support patch. Changes from ja-samba-2.2.4.1.0 package: Changelog of Samba2.2 Japanese Edition Samba Users Group Japan Here is the fix list of Samba2.2 Japanese Edition. The sign of each line means: *: Fix of Samba Japanese Edition only x: Fix of sending a patch to Samba Team c: Fix of being commited a patch by Samba Team samba-2.2.7a-ja-1.1 ~~~~~~~~~~~~~~~~~~~ Changes to the original version c Fixed two security problems which is fixed at samba 2.2.8 [sugj-tech:5211] samba-2.2.7a-ja-1.0beta1 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Fixed build problem when gettext 0.11.x installed [sugj-tech:5177] * Fixed memory leak of winbindd [sugj-tech:5152] * Added 'ldap referrals' parameter [sugj-tech:5124] * Fixed parameter of 'printing' was set on FreeBSD [sugj-tech:5155] * Fixed reseting parameters of smbd and nmbd by SIGHUP [sugj-tech:5160] * Fixed setting change of the 'printing' parameter works together with print-related parameters [sugj-tech:5155] * Fixed error message when old getgroups() is used [sugj-tech:5166] * Fixed warning message when leap second is set [sugj-tech:5166] * Fixed altname command of smbclient [sugj-tech:5019] * Fixed close share command of smbcontrol with Japanese [sugj-tech:5014] * Fixed compile problem on Tru64 UNIX [sugj-tech:5033] * Fixed compile problem of tdb directory [sugj-tech:5033] * Fixed to enable domain logon to Japanese domain name [sugj-tech:5043] * Fixed smbspool command with Japanese [sugj-tech:5048,5112] * Fixed recycle.c of VFS module [samba-jp:13590] * Fixed memory allocation of make_printerdef [sugj-tech:5106] * Fixed compile problem before FreeBSD 2.2.8 [sugj-tech:5112] * Fixed querydispinfo command of rpcclient [sugj-tech:5112] * Fixed rpcclient for Japanese resource [sugj-tech:5112] * Changed option of client tools from '-t' to '-T' [sugj-tech:5077] * Update smbchartool and removed jcode.pl [sugj-tech:5091] * Fixed encoding when using euc3 coding system [sugj-tech:5122] samba-2.2.5-ja-1.0beta3 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Added %j macro which means printing job name [sugj-tech:4998] Changes to the original version * Fixed counting characters of unistr_to_dos() [sugj-tech:5004] * Fixed compile problem with --with-quotas on NetBSD [sugj-tech:4965]
2003-03-29 09:18:44 +01:00
CONFIGURE_ARGS+= --with-ssl
2002-10-09 02:00:21 +02:00
CONFIGURE_ARGS+= --with-sslinc=${SSLBASE}
CFLAGS+= -I${SSLBASE}/include/openssl # ssl.h, err.h
# Force the use of the included gettext library this doesn't seem to link
# with the gettext-lib package.
#
CONFIGURE_ARGS+= --with-included-gettext
.if defined(USE_CUPS) && (${USE_CUPS} == "YES")
2004-05-05 05:54:59 +02:00
. include "../../print/cups/buildlink3.mk"
BUILD_DEFS+= USE_CUPS
CONFIGURE_ARGS+= --enable-cups
.endif
.if defined(USE_PAM)
2004-05-05 05:54:59 +02:00
. include "../../security/PAM/buildlink3.mk"
BUILD_DEFS+= USE_PAM
CONFIGURE_ARGS+= --with-pam
.endif
.if defined(USE_OPENLDAP) && ${USE_OPENLDAP} == "YES"
2004-05-05 05:54:59 +02:00
. include "../../databases/openldap/buildlink3.mk"
BUILD_DEFS+= USE_OPENLDAP
CONFIGURE_ARGS+= --with-ldapsam
PLIST_SUBST+= SAMBA_LDAP=""
.else
PLIST_SUBST+= SAMBA_LDAP="@comment "
MESSAGE_SRC= ${.CURDIR}/MESSAGE.common ${.CURDIR}/MESSAGE.smbpasswd
SMBPASSWD_FILE= /dev/null ${SAMBA_PRIVATE}/smbpasswd \
${ROOT_USER} ${ROOT_GROUP} 0600
.endif
Update ja-samba package to ja-samba-2.2.7.1.1.1 (samba 2.2.7a-1.1). This contains security problem solved by samba 2.2.8. pkgsrc changes: o pkgsrc organization changesd as samba package. o note explicitly security problem fixed by samba 2.2.8. o remove own quota support patch. Changes from ja-samba-2.2.4.1.0 package: Changelog of Samba2.2 Japanese Edition Samba Users Group Japan Here is the fix list of Samba2.2 Japanese Edition. The sign of each line means: *: Fix of Samba Japanese Edition only x: Fix of sending a patch to Samba Team c: Fix of being commited a patch by Samba Team samba-2.2.7a-ja-1.1 ~~~~~~~~~~~~~~~~~~~ Changes to the original version c Fixed two security problems which is fixed at samba 2.2.8 [sugj-tech:5211] samba-2.2.7a-ja-1.0beta1 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Fixed build problem when gettext 0.11.x installed [sugj-tech:5177] * Fixed memory leak of winbindd [sugj-tech:5152] * Added 'ldap referrals' parameter [sugj-tech:5124] * Fixed parameter of 'printing' was set on FreeBSD [sugj-tech:5155] * Fixed reseting parameters of smbd and nmbd by SIGHUP [sugj-tech:5160] * Fixed setting change of the 'printing' parameter works together with print-related parameters [sugj-tech:5155] * Fixed error message when old getgroups() is used [sugj-tech:5166] * Fixed warning message when leap second is set [sugj-tech:5166] * Fixed altname command of smbclient [sugj-tech:5019] * Fixed close share command of smbcontrol with Japanese [sugj-tech:5014] * Fixed compile problem on Tru64 UNIX [sugj-tech:5033] * Fixed compile problem of tdb directory [sugj-tech:5033] * Fixed to enable domain logon to Japanese domain name [sugj-tech:5043] * Fixed smbspool command with Japanese [sugj-tech:5048,5112] * Fixed recycle.c of VFS module [samba-jp:13590] * Fixed memory allocation of make_printerdef [sugj-tech:5106] * Fixed compile problem before FreeBSD 2.2.8 [sugj-tech:5112] * Fixed querydispinfo command of rpcclient [sugj-tech:5112] * Fixed rpcclient for Japanese resource [sugj-tech:5112] * Changed option of client tools from '-t' to '-T' [sugj-tech:5077] * Update smbchartool and removed jcode.pl [sugj-tech:5091] * Fixed encoding when using euc3 coding system [sugj-tech:5122] samba-2.2.5-ja-1.0beta3 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Added %j macro which means printing job name [sugj-tech:4998] Changes to the original version * Fixed counting characters of unistr_to_dos() [sugj-tech:5004] * Fixed compile problem with --with-quotas on NetBSD [sugj-tech:4965]
2003-03-29 09:18:44 +01:00
# Microsoft DFS support
CONFIGURE_ARGS+= --with-msdfs
Update ja-samba package to ja-samba-2.2.7.1.1.1 (samba 2.2.7a-1.1). This contains security problem solved by samba 2.2.8. pkgsrc changes: o pkgsrc organization changesd as samba package. o note explicitly security problem fixed by samba 2.2.8. o remove own quota support patch. Changes from ja-samba-2.2.4.1.0 package: Changelog of Samba2.2 Japanese Edition Samba Users Group Japan Here is the fix list of Samba2.2 Japanese Edition. The sign of each line means: *: Fix of Samba Japanese Edition only x: Fix of sending a patch to Samba Team c: Fix of being commited a patch by Samba Team samba-2.2.7a-ja-1.1 ~~~~~~~~~~~~~~~~~~~ Changes to the original version c Fixed two security problems which is fixed at samba 2.2.8 [sugj-tech:5211] samba-2.2.7a-ja-1.0beta1 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Fixed build problem when gettext 0.11.x installed [sugj-tech:5177] * Fixed memory leak of winbindd [sugj-tech:5152] * Added 'ldap referrals' parameter [sugj-tech:5124] * Fixed parameter of 'printing' was set on FreeBSD [sugj-tech:5155] * Fixed reseting parameters of smbd and nmbd by SIGHUP [sugj-tech:5160] * Fixed setting change of the 'printing' parameter works together with print-related parameters [sugj-tech:5155] * Fixed error message when old getgroups() is used [sugj-tech:5166] * Fixed warning message when leap second is set [sugj-tech:5166] * Fixed altname command of smbclient [sugj-tech:5019] * Fixed close share command of smbcontrol with Japanese [sugj-tech:5014] * Fixed compile problem on Tru64 UNIX [sugj-tech:5033] * Fixed compile problem of tdb directory [sugj-tech:5033] * Fixed to enable domain logon to Japanese domain name [sugj-tech:5043] * Fixed smbspool command with Japanese [sugj-tech:5048,5112] * Fixed recycle.c of VFS module [samba-jp:13590] * Fixed memory allocation of make_printerdef [sugj-tech:5106] * Fixed compile problem before FreeBSD 2.2.8 [sugj-tech:5112] * Fixed querydispinfo command of rpcclient [sugj-tech:5112] * Fixed rpcclient for Japanese resource [sugj-tech:5112] * Changed option of client tools from '-t' to '-T' [sugj-tech:5077] * Update smbchartool and removed jcode.pl [sugj-tech:5091] * Fixed encoding when using euc3 coding system [sugj-tech:5122] samba-2.2.5-ja-1.0beta3 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Added %j macro which means printing job name [sugj-tech:4998] Changes to the original version * Fixed counting characters of unistr_to_dos() [sugj-tech:5004] * Fixed compile problem with --with-quotas on NetBSD [sugj-tech:4965]
2003-03-29 09:18:44 +01:00
MESSAGE_SUBST+= SAMBA_PRIVATE=${SAMBA_PRIVATE}
MESSAGE_SUBST+= ROOT_GROUP=${ROOT_GROUP}
MESSAGE_SUBST+= ROOT_USER=${ROOT_USER}
DOCDIR= ${PREFIX}/share/doc/samba
EXAMPLESDIR= ${PREFIX}/share/examples/samba
CONF_FILES= ${EXAMPLESDIR}/smb.conf.default ${SAMBA_ETCDIR}/smb.conf
SUPPORT_FILES_PERMS= ${SMBPASSWD_FILE}
SUPPORT_FILES_PERMS+= ${EXAMPLESDIR}/adduser.sh ${SAMBA_ETCDIR}/adduser \
${ROOT_USER} ${ROOT_GROUP} 0555
SUPPORT_FILES_PERMS+= ${EXAMPLESDIR}/deluser.sh ${SAMBA_ETCDIR}/deluser \
${ROOT_USER} ${ROOT_GROUP} 0555
RCD_SCRIPTS= samba nmbd smbd
OWN_DIRS= ${SAMBA_ETCDIR} ${SAMBA_LOCKDIR}
OWN_DIRS_PERMS= ${SAMBA_PRIVATE} ${ROOT_USER} ${ROOT_GROUP} 0500
.if !defined(MKTEMP)
MKTEMP!= ${TYPE} mktemp 2>&1 | \
${AWK} '/not found/ { print "mktemp"; exit } { print $$3 }'
MAKEFLAGS+= MKTEMP=${MKTEMP:Q}
.endif
.if !defined(PWD_MKDB)
PWD_MKDB!= ${TYPE} pwd_mkdb 2>&1 | \
${AWK} '/not found/ { print "pwd_mkdb"; exit } { print $$3 }'
MAKEFLAGS+= PWD_MKDB=${PWD_MKDB:Q}
.endif
FILES_SUBST+= MKTEMP=${MKTEMP:Q}
FILES_SUBST+= PWD_MKDB=${PWD_MKDB:Q}
REPLACE_PERL= script/findsmb.in
Update ja-samba package to ja-samba-2.2.7.1.1.1 (samba 2.2.7a-1.1). This contains security problem solved by samba 2.2.8. pkgsrc changes: o pkgsrc organization changesd as samba package. o note explicitly security problem fixed by samba 2.2.8. o remove own quota support patch. Changes from ja-samba-2.2.4.1.0 package: Changelog of Samba2.2 Japanese Edition Samba Users Group Japan Here is the fix list of Samba2.2 Japanese Edition. The sign of each line means: *: Fix of Samba Japanese Edition only x: Fix of sending a patch to Samba Team c: Fix of being commited a patch by Samba Team samba-2.2.7a-ja-1.1 ~~~~~~~~~~~~~~~~~~~ Changes to the original version c Fixed two security problems which is fixed at samba 2.2.8 [sugj-tech:5211] samba-2.2.7a-ja-1.0beta1 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Fixed build problem when gettext 0.11.x installed [sugj-tech:5177] * Fixed memory leak of winbindd [sugj-tech:5152] * Added 'ldap referrals' parameter [sugj-tech:5124] * Fixed parameter of 'printing' was set on FreeBSD [sugj-tech:5155] * Fixed reseting parameters of smbd and nmbd by SIGHUP [sugj-tech:5160] * Fixed setting change of the 'printing' parameter works together with print-related parameters [sugj-tech:5155] * Fixed error message when old getgroups() is used [sugj-tech:5166] * Fixed warning message when leap second is set [sugj-tech:5166] * Fixed altname command of smbclient [sugj-tech:5019] * Fixed close share command of smbcontrol with Japanese [sugj-tech:5014] * Fixed compile problem on Tru64 UNIX [sugj-tech:5033] * Fixed compile problem of tdb directory [sugj-tech:5033] * Fixed to enable domain logon to Japanese domain name [sugj-tech:5043] * Fixed smbspool command with Japanese [sugj-tech:5048,5112] * Fixed recycle.c of VFS module [samba-jp:13590] * Fixed memory allocation of make_printerdef [sugj-tech:5106] * Fixed compile problem before FreeBSD 2.2.8 [sugj-tech:5112] * Fixed querydispinfo command of rpcclient [sugj-tech:5112] * Fixed rpcclient for Japanese resource [sugj-tech:5112] * Changed option of client tools from '-t' to '-T' [sugj-tech:5077] * Update smbchartool and removed jcode.pl [sugj-tech:5091] * Fixed encoding when using euc3 coding system [sugj-tech:5122] samba-2.2.5-ja-1.0beta3 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Added %j macro which means printing job name [sugj-tech:4998] Changes to the original version * Fixed counting characters of unistr_to_dos() [sugj-tech:5004] * Fixed compile problem with --with-quotas on NetBSD [sugj-tech:4965]
2003-03-29 09:18:44 +01:00
# Remove irrelevant files for this package.
post-extract:
${FIND} ${WRKDIR}/${DISTNAME} -name ".cvsignore" -print | \
${XARGS} ${RM} -f
${RM} -r ${WRKDIR}/${DISTNAME}/docs/textdocs/outdated
${RM} -r ${WRKDIR}/${DISTNAME}/examples/VFS
${RM} -r ${WRKDIR}/${DISTNAME}/examples/appliance
${RM} -r ${WRKDIR}/${DISTNAME}/examples/autofs
${RM} -r ${WRKDIR}/${DISTNAME}/examples/dce-dfs
${RM} -r ${WRKDIR}/${DISTNAME}/examples/libsmbclient
${RM} -r ${WRKDIR}/${DISTNAME}/examples/smbchartool
${RM} -r ${WRKDIR}/${DISTNAME}/examples/svr4-startup
post-build:
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/adduser.sh > ${WRKDIR}/adduser.sh
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/deluser.sh > ${WRKDIR}/deluser.sh
post-install:
# Install Samba documentation.
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKDIR}/${DISTNAME}/docs; \
for file in announce textdocs/* Registry/*.reg; do \
${INSTALL_DATA} $$file ${DOCDIR}; \
done
# Install Samba examples.
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKDIR}/adduser.sh ${EXAMPLESDIR}/adduser.sh
${INSTALL_SCRIPT} ${WRKDIR}/deluser.sh ${EXAMPLESDIR}/deluser.sh
${CP} -R ${WRKDIR}/${DISTNAME}/examples/* ${EXAMPLESDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
${CHMOD} -R ugo-w ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/script/convert_smbpasswd \
${EXAMPLESDIR}/misc
${INSTALL_SCRIPT} ${WRKSRC}/script/mksmbpasswd.sh \
${PREFIX}/sbin/mksmbpasswd
2004-05-05 05:54:59 +02:00
.include "../../devel/readline/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"