From 27f8a52506e8e25ed37a10c1e119d573b752be44 Mon Sep 17 00:00:00 2001 From: Endi S. Dewata Date: Aug 10 2018 22:21:06 +0000 Subject: Rebased to IDM Console Framework 1.2.0 --- diff --git a/.gitignore b/.gitignore index 4ade5c8..578efe9 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ idm-console-framework-1.1.5.tar.bz2 /idm-console-framework-1.1.14.tar.bz2 /idm-console-framework-1.1.17.tar.bz /idm-console-framework-1.1.17.tar.bz2 +/idm-console-framework-1.2.0.tar.gz diff --git a/copr-build.sh b/copr-build.sh new file mode 100755 index 0000000..156c705 --- /dev/null +++ b/copr-build.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +REPO=$1 + +if [ "$REPO" == "" ]; then + REPO="pki-10.6" +fi + +fedpkg copr-build --nowait $REPO diff --git a/idm-console-framework.spec b/idm-console-framework.spec index d5499ac..d4abdd5 100755 --- a/idm-console-framework.spec +++ b/idm-console-framework.spec @@ -1,47 +1,82 @@ -%define major_version 1.1 -%define minor_version 17 - -Name: idm-console-framework -Version: %{major_version}.%{minor_version} -Release: 8%{?dist} -Summary: Identity Management Console Framework - -Group: System Environment/Libraries -License: GPLv3 -URL: http://www.port389.org - -BuildArch: noarch -Source: http://www.port389.org/binaries/%{name}-%{version}.tar.bz2 -Requires: ldapjdk -Requires: jss >= 4.2.6-35 +################################################################################ +Name: idm-console-framework +################################################################################ + +Summary: Identity Management Console Framework +URL: http://www.dogtagpki.org/ +License: LGPLv2 + +BuildArch: noarch + +Version: 1.2.0 +Release: 1%{?_timestamp}%{?_commit_id}%{?dist} +# global _phase -a1 + +# To create a tarball from a version tag: +# $ git archive \ +# --format=tar.gz \ +# --prefix idm-console-framework-/ \ +# -o idm-console-framework-.tar.gz \ +# +Source: https://github.com/dogtagpki/idm-console-framework/archive/v%{version}%{?_phase}/idm-console-framework-%{version}%{?_phase}.tar.gz + +# To create a patch for all changes since a version tag: +# $ git format-patch \ +# --stdout \ +# \ +# > idm-console-framework-VERSION-RELEASE.patch +# Patch: idm-console-framework-VERSION-RELEASE.patch + +################################################################################ +# Build Dependencies +################################################################################ + +# autosetup +BuildRequires: git + +BuildRequires: java-devel >= 1.8.0 +BuildRequires: ant >= 1.6.2 +BuildRequires: jss >= 4.5.0-1 +BuildRequires: ldapjdk >= 4.20.0 + +################################################################################ +# Runtime Dependencies +################################################################################ + # Urge use of OpenJDK for runtime -Requires: java >= 1:1.6.0 -BuildRequires: java-devel >= 1:1.6.0 -BuildRequires: ant >= 1.6.2 -BuildRequires: ldapjdk -BuildRequires: jss >= 4.4.1 -%if 0%{?rhel} < 6 -ExcludeArch: ppc -%endif +Requires: java >= 1.8.0 +Requires: jss >= 4.5.0-1 +Requires: ldapjdk >= 4.20.0 %description A Java Management Console framework used for remote server management. +################################################################################ %prep -%setup -q +################################################################################ + +%autosetup -n idm-console-framework-%{version}%{?_phase} -p 1 -S git +################################################################################ %build +################################################################################ + %{ant} \ -Dlib.dir=%{_libdir} \ -Dbuilt.dir=`pwd`/built \ -Dclassdest=%{_javadir} +################################################################################ %install -rm -rf $RPM_BUILD_ROOT +################################################################################ + install -d $RPM_BUILD_ROOT%{_javadir} install -m644 built/release/jars/idm-console-* $RPM_BUILD_ROOT%{_javadir} +################################################################################ %files +################################################################################ + %doc LICENSE %{_javadir}/idm-console-base.jar %{_javadir}/idm-console-mcc.jar @@ -49,150 +84,7 @@ install -m644 built/release/jars/idm-console-* $RPM_BUILD_ROOT%{_javadir} %{_javadir}/idm-console-nmclf.jar %{_javadir}/idm-console-nmclf_en.jar +################################################################################ %changelog -* Fri Jul 13 2018 Fedora Release Engineering - 1.1.17-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Igor Gnatenko - 1.1.17-7 -- Escape macros in %%changelog - -* Wed Feb 07 2018 Fedora Release Engineering - 1.1.17-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 1.1.17-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Thu Apr 13 2017 Mark Reynolds - 1.1.17-4 -- Bump version to 1.1.17-4 -- Add jss 4.4.1 requirement - -* Thu Apr 13 2017 Mark Reynolds - 1.1.17-3 -- Bump version to 1.1.17-3 -- Add jss 4.4.0 requirement - -* Fri Feb 10 2017 Fedora Release Engineering - 1.1.17-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Oct 12 2016 Mark Reynolds - 1.1.17-1 -- Bump version to 1.1.17 -- Ticket 49003 - Allow LDAP Urls with host and port -- Ticket 49003 - Add host and port to LDAP URL construction -- Bump version to 1.1.16 -- Ticket 48565 - Provide better error message in console when there is architecture mismatch -- Ticket 48743 - idm-console-framework - disable fortezza ciphers by default -- Ticket 48823 - idm-console-framework - Add IPv6 support -- Bump version to 1.1.15 -- Ticket #48811 - Console window could be hidden after login via consoles on multiple hosts - -* Thu Feb 04 2016 Fedora Release Engineering - 1.1.14-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 1.1.14-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Wed Jun 10 2015 Noriko Hosoi - 1.1.14-1 -- Bump version to 1.1.14 -- Ticket 48187 - Adding an OU from console is throwing missing attribute aliasedObjectName error -- Ticket 47946 - Fix regression with original patch -- Ticket 47946 - Need to revise console aci syntax checking -- Ticket 97 - 389-console should provide usage options, help, and man pages -- Ticket 48134 - Directory Server Admin Console: plaintext password logged in debug mode -- Ticket 48130 - Add "+all" and "-TLS_RSA_WITH_AES_128_GCM_SHA256" to Console Cipher Preference for TLS - -* Wed Feb 4 2015 Noriko Hosoi - 1.1.9-1 -- Bump version to 1.1.9 -- Ticket 47929 - idm-console-framework - set default min to tls1.0 -- Ticket 47946 - ACI's are replaced by "ACI_ALL" after editing group of ACI's including invalid one -- Ticket 47929 - Console - add tls1.1 support -- Ticket 47472 - Entries cannot be highlighted in the "Edit Aci" Rights panel -- Ticket 47364 - Console does not support passwords containing 8-bit characters -- Ticket 47604 - idm-console-framework: remove versioned jars from %%{_javadir} -- Ticket 47480 - Admin Console "server restart dialog" disppears after clicking OK -- Ticket 47467 - Improve CRL import dialog text -- Ticket 362 - Directory Console generates insufficient key strength - -* Fri Aug 29 2014 Mark Reynolds - 1.1.7-9 -- Bug 1022104 - Remove versioned jarfiles from _javadir - -* Sat Jun 07 2014 Fedora Release Engineering - 1.1.7-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat Aug 03 2013 Fedora Release Engineering - 1.1.7-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Thu Feb 14 2013 Fedora Release Engineering - 1.1.7-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Jul 19 2012 Fedora Release Engineering - 1.1.7-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Fri Jan 13 2012 Fedora Release Engineering - 1.1.7-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Fri Sep 9 2011 Rich Megginson - 1.1.7-3 -- rebuild with latest java - -* Tue Jun 21 2011 Rich Megginson - 1.1.7-2 -- using new upstream git repo at fedorahosted.org -- git tag idm-console-framework-1.1.7 -- Use DefaultTopologyPlugin if topologyplugin not found in the DS -- Bug 706472 - [console] java exception throw in UI, but user gets created -- Bug 706258 - ACI Editor dialog flickers - -* Tue Mar 29 2011 Rich Megginson - 1.1.7-1 -- The 1.1.7 release -- Bug 158926 - Unable to install CA certificate when using hardware token -- ( LunaSA ) -- Bug 622436 - Removal of Security:domestic from Console -- Bug 229699 - objectclass without parent causes StringIndexOutOfBounds in console -- Bug 583652 - Console caches magic numbers instead of DNA-generated values - -* Wed Feb 23 2011 Rich Megginson - 1.1.6-1 -- The 1.1.6 release -- Bug: 594939 - ACI editing dialog initial size is not big enough to display -- Bug 151705 - Need to update Console Cipher Preferences with new ciphers -- fix fourth step of cert wizard for installing cert -- Bug 668950 - Add posixGroup support to Console -- Bug 583652 - Console caches magic numbers instead of DNA-generated values - -* Wed Feb 09 2011 Fedora Release Engineering - 1.1.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Tue May 4 2010 Rich Megginson - 1.1.5-1 -- The 1.1.5 release - added code to deal with LDAPv3 escape sequences - -* Thu Apr 15 2010 Rich Megginson - 1.1.4-1 -- The 1.1.4 release - just a few bug fixes - -* Fri Dec 18 2009 Rich Megginson - 1.1.3-3 -- Excluding PPC for EPEL builds as there is not openjdk there -- change url to port389.org - -* Fri Jul 24 2009 Fedora Release Engineering - 1.1.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Tue Mar 31 2009 Rich Megginson 1.1.3-1 -- this is the 1.1.3 release -- use the epoch with the java-devel version - -* Tue Feb 24 2009 Fedora Release Engineering - 1.1.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Wed Jul 2 2008 Rich Megginson 1.1.2-1 -- numerous fixes for threading issues and help for debugging and eclipse - -* Tue Apr 15 2008 Rich Megginson 1.1.1-3 -- use java > 1.5.0 for the requirements -- install jar files with mode 644 - -* Wed Jan 9 2008 Rich Megginson 1.1.1-1 -- fix rpmlint issues -- changed license from LGPL to LGPLv2 -- added explicit requires for java-1.7.0-icedtea -- added LICENSE for doc - -* Wed Dec 19 2007 Rich Megginson 1.1.0-2 -- for the fedora ds 1.1 release - -* Wed Aug 1 2007 Nathan Kinder 1.1.0-1 -- Initial creation (based on old fedora-idm-console package). +* Fri Aug 10 2018 Dogtag PKI Team 1.2.0-0 +* Rebased to IDM Console Framework 1.2.0 diff --git a/sources b/sources index c1fdb75..e521cd6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1588ba1d650a1c936928afe5026a6d0f idm-console-framework-1.1.17.tar.bz2 +SHA512 (idm-console-framework-1.2.0.tar.gz) = 99c7937e085c014e83335821c24c8dfb3969f4a3b772b7c95156a4c064f25bdc6d54855657167ab6fe651ed939ff70ae6057e8055ba607302dddf40f65b03567 diff --git a/sources-update.sh b/sources-update.sh new file mode 100755 index 0000000..96129ca --- /dev/null +++ b/sources-update.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +SOURCE=$1 +TARGET=`basename $1` + +cp $SOURCE $TARGET +sha512sum --tag $TARGET > sources