[msktutil] Import msktutil 0.4.1 (RHBZ #713313)

Ken Dreyer ktdreyer at fedoraproject.org
Wed Mar 28 02:05:08 UTC 2012


commit fc91f2dd436c38c24ccb8589ab8661bf96797459
Author: Ken Dreyer <ktdreyer at ktdreyer.com>
Date:   Tue Mar 27 20:04:05 2012 -0600

    Import msktutil 0.4.1 (RHBZ #713313)

 .gitignore    |    1 +
 msktutil.spec |   92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 94 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7bc74f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/msktutil-0.4.1.tar.bz2
diff --git a/msktutil.spec b/msktutil.spec
new file mode 100644
index 0000000..7a82699
--- /dev/null
+++ b/msktutil.spec
@@ -0,0 +1,92 @@
+Name:		msktutil
+Version:	0.4.1
+Release:	1%{?dist}
+Summary:	Program for interoperability with Active Directory 
+
+Group:		System Environment/Base
+License:	GPLv2+
+URL:		https://code.google.com/p/msktutil/
+Source0:	https://msktutil.googlecode.com/files/msktutil-%{version}.tar.bz2
+BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildRequires:	openldap-devel
+BuildRequires:	krb5-devel
+Requires:	cyrus-sasl-gssapi
+
+%description
+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, and change the computer
+account's password.
+
+%prep
+%setup -q
+
+%build
+# Have to set CPPFLAGS per https://bugzilla.redhat.com/550889
+# Fedora 17 and later include a symlink.
+if [ ! -r /usr/include/com_err.h ]; then
+	# RHEL 5 and 6 store com_err.h here.
+	export CPPFLAGS="-I/usr/include/et/"
+fi
+
+export PATH_KRB5_CONFIG="/usr/bin/krb5-config"
+# RHEL 5 uses /usr/kerberos.
+if [ -x /usr/kerberos/bin/krb5-config ]; then
+	export PATH_KRB5_CONFIG="/usr/kerberos/bin/krb5-config"
+fi
+
+%configure --with-krb5-config=$PATH_KRB5_CONFIG
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%doc LICENSE README ChangeLog
+%{_mandir}/man1/*
+%{_sbindir}/%{name}
+
+
+%changelog
+* Fri Mar 16 2012 Ken Dreyer <ktdreyer at ktdreyer.com> 0.4.1-1
+- Update to 0.4.1
+- Remove all upstreamed patches
+- No need to regenerate configure with autoconf
+- New upstream URL
+
+* Sat Dec 3 2011 Ken Dreyer <ktdreyer at ktdreyer.com> 0.4-7
+- Adjust conditionals for setting CPPFLAGS and KRB5_CONFIG
+- Use PATH_KRB5_CONFIG instead of KRB5_CONFIG when running configure,
+  since the latter is used by the Kerberos libraries to specify an
+  alternative path to krb5.conf. Thanks again Russ Allbery.
+
+* Mon Oct 3 2011 Ken Dreyer <ktdreyer at ktdreyer.com> 0.4-6
+- Adjust regex in krb5-config patch. Thanks Russ Allbery.
+
+* Sat Oct 1 2011 Ken Dreyer <ktdreyer at ktdreyer.com> 0.4-5
+- Use patches from upstream git, instead of my own from -4
+- Patch Makefile to use $LIBS
+- Patch to use krb5-config to automatically determine build flags
+- Bump Fedora version to F16 for /usr/include/et
+- Regenerate configure with autoconf
+
+* Thu Jul 21 2011 Ken Dreyer <ktdreyer at ktdreyer.com> 0.4-4
+- Patch LDAP debug code to correctly report get/set operations
+
+* Sun Jul 10 2011 Ken Dreyer <ktdreyer at ktdreyer.com> 0.4-3
+- Reformat BRs, include ChangeLog, explicitly name binary.
+- Patch Makefile to be verbose.
+
+* Tue Jul 5 2011 Ken Dreyer <ktdreyer at ktdreyer.com> 0.4-2
+- Don't package INSTALL and un-mark manpages as doc
+
+* Tue May 10 2011 Ken Dreyer <ktdreyer at ktdreyer.com> 0.4-1
+- Initial package
diff --git a/sources b/sources
index e69de29..2c957ac 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+58a65cca949eec704912998e24d6dc34  msktutil-0.4.1.tar.bz2


More information about the scm-commits mailing list