Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2012 03:36:00 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308932 - in head/security/pam_krb5-rh: . files
Message-ID:  <201212150336.qBF3a0JR037124@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Sat Dec 15 03:35:59 2012
New Revision: 308932
URL: http://svnweb.freebsd.org/changeset/ports/308932

Log:
  - Update to 2.4.1

Added:
  head/security/pam_krb5-rh/files/patch-src__cchelper.c   (contents, props changed)
  head/security/pam_krb5-rh/files/patch-src__mkdir.c   (contents, props changed)
  head/security/pam_krb5-rh/files/patch-src__pam_krb5_cchelper.c   (contents, props changed)
Deleted:
  head/security/pam_krb5-rh/files/patch-src__storetmp.c
  head/security/pam_krb5-rh/files/patch-src__v5.c
Modified:
  head/security/pam_krb5-rh/Makefile   (contents, props changed)
  head/security/pam_krb5-rh/distinfo   (contents, props changed)
  head/security/pam_krb5-rh/pkg-plist   (contents, props changed)

Modified: head/security/pam_krb5-rh/Makefile
==============================================================================
--- head/security/pam_krb5-rh/Makefile	Sat Dec 15 03:08:12 2012	(r308931)
+++ head/security/pam_krb5-rh/Makefile	Sat Dec 15 03:35:59 2012	(r308932)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pam_krb5
-DISTVERSION=	2.3.13-1
+DISTVERSION=	2.4.1
 CATEGORIES=	security
 MASTER_SITES=	https://fedorahosted.org/released/${PORTNAME}/ \
 		http://mirrors.rit.edu/zi/
@@ -25,10 +25,10 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} --without-afs \
 		--with-libintl-prefix=${LOCALBASE} --with-krb4=no \
 		--without-keyutils
-LDFLAGS=	-L${LOCALBASE}/lib
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 MAN5=		pam_krb5.5
-MAN8=		pam_krb5.8 pam_krb5_storetmp.8
+MAN8=		pam_krb5.8 pam_krb5_cchelper.8
 
 .if defined(WITHOUT_NLS)
 PLIST_SUB+=	NLS="@comment "
@@ -39,6 +39,12 @@ LDFLAGS+=	-lintl
 USE_GETTEXT=	yes
 .endif
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800000
+BROKEN=		does not build on FreeBSD 7.x
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|libdir)/security|libdir)|g' ${WRKSRC}/src/Makefile.in
 	@${REINPLACE_CMD} -e 's|/lib64/security|${LOCALBASE}/lib|g' \
@@ -48,4 +54,4 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|PAM_AUTHTOK_RECOVER_ERR|PAM_AUTHTOK_RECOVERY_ERR|g' \
 		${WRKSRC}/src/password.c
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/security/pam_krb5-rh/distinfo
==============================================================================
--- head/security/pam_krb5-rh/distinfo	Sat Dec 15 03:08:12 2012	(r308931)
+++ head/security/pam_krb5-rh/distinfo	Sat Dec 15 03:35:59 2012	(r308932)
@@ -1,2 +1,2 @@
-SHA256 (pam_krb5-2.3.13-1.tar.gz) = bc5b45afcb5951edc0c4b98a3342d96a3b59cedd4234560b6d1450ebe990195f
-SIZE (pam_krb5-2.3.13-1.tar.gz) = 566365
+SHA256 (pam_krb5-2.4.1.tar.gz) = 198b2d8587055f48282357cbe27b2973993abf8a026463ec46cc3ec7bd099ce2
+SIZE (pam_krb5-2.4.1.tar.gz) = 547592

Added: head/security/pam_krb5-rh/files/patch-src__cchelper.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/pam_krb5-rh/files/patch-src__cchelper.c	Sat Dec 15 03:35:59 2012	(r308932)
@@ -0,0 +1,10 @@
+--- ./src/cchelper.c.orig	2012-12-14 22:20:31.000000000 -0500
++++ ./src/cchelper.c	2012-12-14 22:20:36.000000000 -0500
+@@ -44,6 +44,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
++#include <sys/signal.h>
+ 
+ #include KRB5_H
+ 

Added: head/security/pam_krb5-rh/files/patch-src__mkdir.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/pam_krb5-rh/files/patch-src__mkdir.c	Sat Dec 15 03:35:59 2012	(r308932)
@@ -0,0 +1,11 @@
+--- ./src/mkdir.c.orig	2012-09-12 22:34:04.000000000 -0400
++++ ./src/mkdir.c	2012-12-14 22:26:24.000000000 -0500
+@@ -34,6 +34,8 @@
+ 
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/syslimits.h>
++#include <sys/limits.h>
+ #include <dirent.h>
+ #include <errno.h>
+ #include <fcntl.h>

Added: head/security/pam_krb5-rh/files/patch-src__pam_krb5_cchelper.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/pam_krb5-rh/files/patch-src__pam_krb5_cchelper.c	Sat Dec 15 03:35:59 2012	(r308932)
@@ -0,0 +1,10 @@
+--- ./src/pam_krb5_cchelper.c.orig	2012-12-14 22:27:50.000000000 -0500
++++ ./src/pam_krb5_cchelper.c	2012-12-14 22:28:00.000000000 -0500
+@@ -34,6 +34,7 @@
+ 
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/syslimits.h>
+ #include <dirent.h>
+ #include <errno.h>
+ #include <fcntl.h>

Modified: head/security/pam_krb5-rh/pkg-plist
==============================================================================
--- head/security/pam_krb5-rh/pkg-plist	Sat Dec 15 03:08:12 2012	(r308931)
+++ head/security/pam_krb5-rh/pkg-plist	Sat Dec 15 03:35:59 2012	(r308932)
@@ -1,4 +1,4 @@
-lib/pam_krb5/pam_krb5_storetmp
+lib/pam_krb5/pam_krb5_cchelper
 lib/pam_krb5.so
 lib/pam_krb5.la
 @dirrm lib/pam_krb5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212150336.qBF3a0JR037124>