summaryrefslogtreecommitdiff
path: root/net/samba/Makefile.patches
blob: b49e49999d5427ebf4557e68ff9fd00d9fadeb7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: Makefile.patches,v 1.4 2007/05/19 17:55:13 tron Exp $
#
# This Makefile fragment describes the recommended patches for the
# currently packaged version of Samba.  All recommended patches for
# particular release of Samba are also integrated into the next release
# of Samba, so upon updating to the latest release of Samba, the
# PATCHFILES variable should be empty.
#

# The PATCHFILES are listed in chronological order according to the time
# they are added to ${PATCH_SITES}.
#
PATCH_SITES=	http://www.samba.org/samba/patches/patches-${VERSION}/
PATCHFILES=	share_security_ntlmv2.diff \
		spoolss.diff \
		vista_backup_acl.diff \
		variable_os_expansion.diff \
		dfs_referral.diff \
		directory_delete.diff
PATCH_DIST_STRIP= -p2

.for CVE_PATCH in samba-3.0.24-CVE-2007-2444.patch \
  samba-3.0.24-CVE-2007-2446.patch \
  samba-3.0.24-CVE-2007-2447.patch
PATCHFILES+=		${CVE_PATCH}
SITES.${CVE_PATCH}=	http://www.samba.org/samba/ftp/patches/security/
.endfor

PATCH_DIST_STRIP.samba-3.0.24-CVE-2007-2447.patch=	-p1