aboutsummaryrefslogtreecommitdiff
path: root/sysutils/msktutil
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2012-08-29 22:48:55 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2012-08-29 22:48:55 +0000
commitd0e83734a221898a1ce382311b7d2e9025fe22be (patch)
tree15c949cc80af42ee821a4235d81fecb08aa75e26 /sysutils/msktutil
parent58abc5a0e210b41955bdfb844ed649cccddf4c3f (diff)
downloadports-d0e83734a221898a1ce382311b7d2e9025fe22be.tar.gz
ports-d0e83734a221898a1ce382311b7d2e9025fe22be.zip
New port: sysutils/msktutil:
Msktutil is a program for interoperability with Active Directory that can: Create a computer account in Active Directory Create a system Kerberos keytab Add and remove principals to and from that keytab Change the computer account's password WWW: https://fuhm.net/software/msktutil/
Notes
Notes: svn path=/head/; revision=303354
Diffstat (limited to 'sysutils/msktutil')
-rw-r--r--sysutils/msktutil/Makefile37
-rw-r--r--sysutils/msktutil/distinfo2
-rw-r--r--sysutils/msktutil/files/patch-msktutil.h11
-rw-r--r--sysutils/msktutil/pkg-descr8
4 files changed, 58 insertions, 0 deletions
diff --git a/sysutils/msktutil/Makefile b/sysutils/msktutil/Makefile
new file mode 100644
index 000000000000..36bc1c28bccd
--- /dev/null
+++ b/sysutils/msktutil/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: zi
+# Date created: 2012-08-29
+# Whom: zi@FreeBSD.org
+#
+# $FreeBSD$
+
+PORTNAME= msktutil
+PORTVERSION= 0.4
+CATEGORIES= sysutils
+MASTER_SITES= https://fuhm.net/software/msktutil/releases/ \
+ http://mirrors.rit.edu/zi/
+
+MAINTAINER= zi@FreeBSD.org
+COMMENT= A utility to manage Active Directory interoperability
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_OPENLDAP= yes
+GNU_CONFIGURE= yes
+WANT_OPENLDAP_SASL= yes
+
+CONFIGURE_ARGS+=--with-sasldir=${PREFIX}
+
+MAN1= msktutil.1
+PLIST_FILES= sbin/msktutil
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 900035
+LDFLAGS+= -lgssapi_krb5
+.endif
+
+.if ${OSVERSION} < 800000
+BROKEN= does not build on FreeBSD 7.x
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/msktutil/distinfo b/sysutils/msktutil/distinfo
new file mode 100644
index 000000000000..47d9a27e557e
--- /dev/null
+++ b/sysutils/msktutil/distinfo
@@ -0,0 +1,2 @@
+SHA256 (msktutil-0.4.tar.bz2) = edaedc347a8c552f243769c93217fda6f576cea985da289df1b4b7c5bca82ee8
+SIZE (msktutil-0.4.tar.bz2) = 63978
diff --git a/sysutils/msktutil/files/patch-msktutil.h b/sysutils/msktutil/files/patch-msktutil.h
new file mode 100644
index 000000000000..cd483032770e
--- /dev/null
+++ b/sysutils/msktutil/files/patch-msktutil.h
@@ -0,0 +1,11 @@
+--- ./msktutil.h.orig 2012-08-29 17:25:54.000000000 -0400
++++ ./msktutil.h 2012-08-29 17:26:12.000000000 -0400
+@@ -43,6 +43,8 @@
+ #include <netdb.h>
+ #include <sys/socket.h>
+ #include <sys/utsname.h>
++#include <netinet/in.h>
++#include <arpa/inet.h>
+ #include <ldap.h>
+
+ #ifdef HAVE_COM_ERR_H
diff --git a/sysutils/msktutil/pkg-descr b/sysutils/msktutil/pkg-descr
new file mode 100644
index 000000000000..f6f973e452f1
--- /dev/null
+++ b/sysutils/msktutil/pkg-descr
@@ -0,0 +1,8 @@
+Msktutil is a program for interoperability with Active Directory that can:
+
+ Create a computer account in Active Directory
+ Create a system Kerberos keytab
+ Add and remove principals to and from that keytab
+ Change the computer account's password
+
+WWW: https://fuhm.net/software/msktutil/