summaryrefslogtreecommitdiff
path: root/x11/kdebase3
diff options
context:
space:
mode:
authormarkd <markd>2005-09-06 12:37:58 +0000
committermarkd <markd>2005-09-06 12:37:58 +0000
commit3faf2128654183d01dd2172a551f703aa0af1943 (patch)
tree981ab7e49d3b0d53740689fdafef9bd6bbfaae9c /x11/kdebase3
parent72b01ba12819f7b229ddaf1300dab0a7a9748e48 (diff)
downloadpkgsrc-3faf2128654183d01dd2172a551f703aa0af1943.tar.gz
kcheckpass local root vulnerability
http://www.kde.org/info/security/advisory-20050905-1.txt Also fix lock directory on BSD's and Solaris to something that actually exists. Bump PKGREVISION.
Diffstat (limited to 'x11/kdebase3')
-rw-r--r--x11/kdebase3/Makefile19
-rw-r--r--x11/kdebase3/distinfo5
2 files changed, 21 insertions, 3 deletions
diff --git a/x11/kdebase3/Makefile b/x11/kdebase3/Makefile
index 164d14ff0f7..b06c692e37b 100644
--- a/x11/kdebase3/Makefile
+++ b/x11/kdebase3/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.88 2005/09/03 21:34:44 markd Exp $
+# $NetBSD: Makefile,v 1.89 2005/09/06 12:37:58 markd Exp $
DISTNAME= kdebase-${_KDE_VERSION}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11
COMMENT= Base modules for the KDE 3 integrated X11 desktop
@@ -13,6 +13,9 @@ SITES_Daemon.png= ${MASTER_SITE_LOCAL}
SITES_Daemon.README= ${MASTER_SITE_LOCAL}
SITES_NetBSD-flag.png= http://www.NetBSD.org/images/
+PATCH_SITES= ftp://ftp.kde.org/pub/kde/security_patches/
+PATCHFILES= post-3.4.2-kdebase-kcheckpass.diff
+
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
UNLIMIT_RESOURCES= datasize
@@ -104,6 +107,18 @@ ICONDIR= share/kde/icons
SPECIAL_PERMS+= ${PREFIX}/bin/ksysguardd ${ROOT_USER} kmem 2755
.endif
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "SunOS"
+SUBST_CLASSES+= varlock
+SUBST_STAGE.varlock= post-patch
+SUBST_MESSAGE.varlock= "Fix lock directory path."
+SUBST_FILES.varlock= kcheckpass/kcheckpass.c
+.if ${OPSYS} == "SunOS"
+SUBST_SED.varlock= s:/var/lock:/var/spool/locks:
+.else
+SUBST_SED.varlock= s:/var/lock:/var/spool/lock:
+.endif
+.endif
+
pre-configure:
cd ${WRKSRC}; \
files="kcontrol/kdm/main.cpp kioslave/info/kde-info2html.conf"; \
diff --git a/x11/kdebase3/distinfo b/x11/kdebase3/distinfo
index 5a5c768c2c9..c830c0b924a 100644
--- a/x11/kdebase3/distinfo
+++ b/x11/kdebase3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.71 2005/09/03 21:34:44 markd Exp $
+$NetBSD: distinfo,v 1.72 2005/09/06 12:37:58 markd Exp $
SHA1 (kdebase-3.4.2.tar.bz2) = 6df0c7c576a112a4e32f9e2e2b0d271dcb201f71
RMD160 (kdebase-3.4.2.tar.bz2) = bdb423ba3f95274cb20171a8e43482c5a09e804c
@@ -12,6 +12,9 @@ Size (Daemon.README) = 2191 bytes
SHA1 (NetBSD-flag.png) = a9cf264a52ae0a602eec956d91222e299c7dee5c
RMD160 (NetBSD-flag.png) = 2eac20df70396169819059a704e6a85ae10234b0
Size (NetBSD-flag.png) = 4532 bytes
+SHA1 (post-3.4.2-kdebase-kcheckpass.diff) = cf757b82f9ede49ac618dc7c5a4b580c67ed20a4
+RMD160 (post-3.4.2-kdebase-kcheckpass.diff) = 13aecb614384f1dc422a082e8a99d30e97ef2728
+Size (post-3.4.2-kdebase-kcheckpass.diff) = 4186 bytes
SHA1 (patch-aa) = be18dabe9c66af9a7384ee652a80b7d971d4b5d6
SHA1 (patch-ac) = 8be0f15be839f4f01d3e079501b83e27f1fab2eb
SHA1 (patch-ad) = 031e5622acb376ce1867d08b35c55bce101e8855