ports/153601: New port: security/msktutil Active Directory keytab manager

Evaldas Auryla ea at zaib.as
Sat Jan 1 18:00:29 UTC 2011


>Number:         153601
>Category:       ports
>Synopsis:       New port: security/msktutil Active Directory keytab manager
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 01 18:00:28 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Evaldas Auryla
>Release:        FreeBSD 8.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD bu.zaib.as 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #2: Sat May 22 11:51:25 CEST 2010 evaldas at boo.zaib.as:/usr/obj/usr/src/sys/BOO64v8 amd64


	
>Description:
	
>How-To-Repeat:
	
>Fix:

	

--- msktutil.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	msktutil
#	msktutil/files
#	msktutil/files/patch-msktname.cpp
#	msktutil/files/patch-configure
#	msktutil/files/patch-Makefile.in
#	msktutil/Makefile
#	msktutil/pkg-descr
#	msktutil/distinfo
#
echo c - msktutil
mkdir -p msktutil > /dev/null 2>&1
echo c - msktutil/files
mkdir -p msktutil/files > /dev/null 2>&1
echo x - msktutil/files/patch-msktname.cpp
sed 's/^X//' >msktutil/files/patch-msktname.cpp << 'a61e40d2ce8aee249d161bf6f5e42ea0'
X--- msktname.cpp.orig	2010-03-16 06:12:42.000000000 +0100
X+++ msktname.cpp	2011-01-01 15:01:24.000949840 +0100
X@@ -26,6 +26,7 @@
X  */
X 
X #include "msktutil.h"
X+#include <netinet/in.h>
X 
X 
X std::string complete_hostname(const std::string &hostname)
a61e40d2ce8aee249d161bf6f5e42ea0
echo x - msktutil/files/patch-configure
sed 's/^X//' >msktutil/files/patch-configure << 'ce8c449eacf9a436956af9645ac4ccd3'
X--- configure.orig	2010-03-16 06:12:42.000000000 +0100
X+++ configure	2011-01-01 15:08:23.723972239 +0100
X@@ -3919,6 +3919,8 @@
X 
X # Checks for libraries.
X 
X+KRB5_LDFLAGS=`/usr/bin/krb5-config --libs 2>/dev/null`
X+LIBS="$KRB5_LDFLAGS $LIBS"
X { echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
X echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6; }
X if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
X@@ -4073,7 +4075,7 @@
X { echo "$as_me:$LINENO: checking whether com_err.h needs extern \"C\"" >&5
X echo $ECHO_N "checking whether com_err.h needs extern \"C\"... $ECHO_C" >&6; };
X 
X-LIBS=-lkrb5
X+LIBS="-lkrb5 $LIBS"
X cat >conftest.$ac_ext <<_ACEOF
X 
X #include <com_err.h>
ce8c449eacf9a436956af9645ac4ccd3
echo x - msktutil/files/patch-Makefile.in
sed 's/^X//' >msktutil/files/patch-Makefile.in << 'b3c67a96157220194e23de60b1aec502'
X--- Makefile.in.orig	2010-03-16 06:12:42.000000000 +0100
X+++ Makefile.in	2011-01-01 15:04:17.286260778 +0100
X@@ -8,7 +8,8 @@
X CPPFLAGS=@CPPFLAGS@
X CXXFLAGS=@CXXFLAGS@ $(WARNFLAGS)
X LDFLAGS=@LDFLAGS@
X-LIBS=-lkrb5 -lldap
X+KRB5_LDFLAGS=`/usr/bin/krb5-config --libs 2>/dev/null`
X+LIBS=-lkrb5 -lldap $(KRB5_LDFLAGS)
X INSTALL=@INSTALL@
X RM=@RM@ -rf
X CP=@CP@ -f
b3c67a96157220194e23de60b1aec502
echo x - msktutil/Makefile
sed 's/^X//' >msktutil/Makefile << '1eb052acf1d051190c0f80cdef2e9d73'
X# New ports collection makefile for:	msktutil
X# Date created:        31 December 2010
X# Whom:                Evaldas Auryla <ea at zaib.as>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	msktutil
XPORTVERSION=	0.4
XCATEGORIES=	security
XMASTER_SITES=	http://fuhm.net/software/msktutil/releases/
X
XMAINTAINER=	ea at zaib.as
XCOMMENT=	Active Directory keytab manager
X
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
X
XMAN1=		msktutil.1
XPLIST_FILES=	sbin/msktutil
X
XCONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/sasl" \
X		LDFLAGS="-L${LOCALBASE}/lib"
X
XLIB_DEPENDS+=	ldap-2:${PORTSDIR}/net/openldap24-client
XLIB_DEPENDS+=	sasl2:${PORTSDIR}/net/openldap24-client
X
XMAN1=		msktutil.1
X
Xpre-install:
X	${CAT} ${WRKSRC}/msktutil.M | ${SED} -e "s/REPLACE_PROGNAME/msktutil/g" | ${SED} -e "s/REPLACE_VERSION/0.4/g" | ${SED} -e "s/REPLACE_AUTHOR/James Y. Knight/g" > ${WRKSRC}/msktutil.1
X
X.include <bsd.port.mk>
1eb052acf1d051190c0f80cdef2e9d73
echo x - msktutil/pkg-descr
sed 's/^X//' >msktutil/pkg-descr << '826eeab1ee204b9bc3c641601bdcc204'
XMsktutil is a program for interoperability with Active Directory that can:
X
X    * Create a computer account in Active Directory
X    * Create a system Kerberos keytab
X    * Add and remove principals to and from that keytab
X    * Change the computer account's password
X
XWWW: http://fuhm.net/software/msktutil/
826eeab1ee204b9bc3c641601bdcc204
echo x - msktutil/distinfo
sed 's/^X//' >msktutil/distinfo << 'bdc1be908a8a576cc7d37ed725133978'
XSHA256 (msktutil-0.4.tar.bz2) = edaedc347a8c552f243769c93217fda6f576cea985da289df1b4b7c5bca82ee8
XSIZE (msktutil-0.4.tar.bz2) = 63978
bdc1be908a8a576cc7d37ed725133978
exit
--- msktutil.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list