summaryrefslogtreecommitdiffstats
path: root/pki/base/migrate
diff options
context:
space:
mode:
authormharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2008-11-28 21:20:24 +0000
committermharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2008-11-28 21:20:24 +0000
commit412df402f740b84b9ad8592cc34ab1ffc02873e2 (patch)
tree94e9c595f731e8b8abf03a4f2e19e413a0b962e0 /pki/base/migrate
parentfe389a989ca983779e0abd34018c61f805deeea4 (diff)
downloadpki-412df402f740b84b9ad8592cc34ab1ffc02873e2.tar.gz
pki-412df402f740b84b9ad8592cc34ab1ffc02873e2.tar.xz
pki-412df402f740b84b9ad8592cc34ab1ffc02873e2.zip
Removed old copy of config/ directory.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@149 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/migrate')
-rw-r--r--pki/base/migrate/config/product.xml305
-rw-r--r--pki/base/migrate/config/release.xml86
2 files changed, 0 insertions, 391 deletions
diff --git a/pki/base/migrate/config/product.xml b/pki/base/migrate/config/product.xml
deleted file mode 100644
index 33caf48ed..000000000
--- a/pki/base/migrate/config/product.xml
+++ /dev/null
@@ -1,305 +0,0 @@
-<!-- ### BEGIN COPYRIGHT BLOCK ###
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
- Copyright (C) 2007 Red Hat, Inc.
- All rights reserved.
- ### END COPYRIGHT BLOCK ### -->
-<project name="product.xml" default="main" basedir=".">
-
- <!-- Set up properties based upon the user's default Ant configuration -->
- <property file=".ant.properties"/>
- <property file="${user.home}/.ant.properties"/>
- <property environment="env"/>
-
-
- <!-- Check for required properties passed-in via the build scripts -->
- <fail message="The '-Dspecfile=SPECFILE' property MUST always be specified!"
- unless="specfile"/>
-
-
- <!-- Set up optional properties passed-in via the build scripts -->
- <property name="basedir" value=""/>
- <property name="dirsec" value=""/>
- <property name="target" value=""/>
-
-
- <!-- Set up properties obtained from the spec file -->
- <exec executable="perl"
- failonerror="true"
- outputproperty="Name">
- <arg value="-ne"/>
- <arg value="print $1 if /%define base_product\s+(.*)/"/>
- <arg value="${specfile}"/>
- </exec>
-
- <exec executable="perl"
- failonerror="true"
- outputproperty="spec.product.ui.prefix">
- <arg value="-ne"/>
- <arg value="print $1 if /%define base_ui_prefix\s+(\S+)/"/>
- <arg value="${specfile}"/>
- </exec>
-
- <exec executable="perl"
- failonerror="true"
- outputproperty="product.prefix">
- <arg value="-ne"/>
- <arg value="print $1 if /%define base_prefix\s+(\S+)/"/>
- <arg value="${specfile}"/>
- </exec>
-
- <exec executable="perl"
- failonerror="true"
- outputproperty="product">
- <arg value="-ne"/>
- <arg value="print $1 if /%define base_component\s+(\S+)/"/>
- <arg value="${specfile}"/>
- </exec>
-
- <!-- if "spec.product.ui.prefix" is "" or "linux", -->
- <!-- set "product.ui.prefix" to ""; otherwise -->
- <!-- set "product.ui.prefix" to "spec.product.ui.prefix" -->
- <condition property="product.ui.prefix"
- value=""
- else="${spec.product.ui.prefix}">
- <or>
- <equals arg1="${spec.product.ui.prefix}"
- arg2=""/>
- <equals arg1="${spec.product.ui.prefix}"
- arg2="linux"/>
- </or>
- </condition>
-
- <!-- "product.name" is of the form "x-y-z" -->
- <condition property="product.name"
- value="${product.ui.prefix}-${product.prefix}-${product}">
- <not>
- <equals arg1="${product.ui.prefix}"
- arg2=""/>
- </not>
- </condition>
-
- <!-- "product.name" is of the form "x-y" -->
- <condition property="product.name"
- value="${product.prefix}-${product}">
- <and>
- <equals arg1="${product.ui.prefix}"
- arg2=""/>
- <not>
- <equals arg1="${product.prefix}"
- arg2=""/>
- </not>
- </and>
- </condition>
-
- <!-- "product.name" is of the form "x" -->
- <condition property="product.name"
- value="${product}">
- <and>
- <equals arg1="${product.ui.prefix}"
- arg2=""/>
- <equals arg1="${product.prefix}"
- arg2=""/>
- </and>
- </condition>
-
- <exec executable="perl"
- failonerror="true"
- outputproperty="version">
- <arg value="-ne"/>
- <arg value="print $1 if /%define base_version\s+(\S+)/"/>
- <arg value="${specfile}"/>
- </exec>
-
-
- <!-- Set up architecture-dependent properties -->
- <exec executable="uname"
- failonerror="true"
- outputproperty="arch">
- <arg line="-i"/>
- </exec>
-
- <!-- Set up architecture-independent properties -->
- <property name="jar.home" value="/usr/share/java"/>
- <property name="pki-jar.home" value="${jar.home}/${product.prefix}"/>
- <property name="jni-jar.home" value="/usr/lib/java"/>
-
- <!-- Set up properties that control various build options -->
- <property name="debug" value="true"/>
- <property name="chmod.fail" value="true"/>
- <property name="chmod.maxparallel" value="250"/>
- <property name="deprecation" value="false"/>
- <property name="optimize" value="true"/>
-
-
- <!-- Set up properties related to the source tree -->
- <property name="docs.dir" value="docs"/>
- <property name="lib.dir" value="lib"/>
- <property name="src.dir" value="src"/>
- <property name="test.dir" value="test"/>
- <property name="etc.dir" value="${src.dir}/etc"/>
- <property name="script.dir" value="${src.dir}/script"/>
-
-
- <!-- Set up properties for the release area -->
- <property name="release.root" value="."/>
-
-
- <!-- Set up properties for the build area -->
- <property name="build.dir" value="build"/>
- <property name="bootstrap.dir" value="bootstrap"/>
- <property name="build.jars" value="${build.dir}/jars"/>
- <property name="build.classes" value="${build.dir}/classes"/>
- <property name="build.lib" value="${build.dir}/lib"/>
- <property name="build.javadocs" value="${build.dir}/javadocs"/>
- <property name="build.tests" value="${build.dir}/testcases"/>
- <property name="build.tests.javadocs" value="${build.dir}/javadocs.test/"/>
- <property name="manifest.tmp" value="${build.dir}/optional.manifest"/>
-
-
- <!-- Set up properties for the distribution area -->
- <property name="dist.name" value="${product.name}-${version}"/>
- <property name="dist.base" value="dist"/>
- <property name="dist.base.source" value="${dist.base}/source"/>
- <property name="dist.base.binaries" value="${dist.base}/binary"/>
- <property name="dist.dir" value="dist"/>
- <property name="dist.bin" value="${dist.dir}/bin"/>
- <property name="dist.lib" value="${dist.dir}/lib"/>
- <property name="dist.docs" value="${dist.dir}/docs"/>
- <property name="dist.etc" value="${dist.dir}/etc"/>
- <property name="src.dist.name" value="${product.name}-${version}"/>
- <property name="src.dist.dir" value="dist-src"/>
- <property name="src.dist.src" value="${src.dist.dir}/src"/>
- <property name="src.dist.docs" value="${src.dist.dir}/docs"/>
- <property name="src.dist.lib" value="${src.dist.dir}/lib"/>
-
-
- <!-- Set up properties for log messages -->
- <property name="begin.clean.log.message"
- value="Removing '${product.name}' component directories ..."/>
- <property name="empty.clean.log.message"
- value="Nothing to do!"/>
- <property name="end.clean.log.message"
- value="Completed removing '${product.name}' component directories."/>
- <property name="begin.download.log.message"
- value="Downloading '${product.name}' dependent components ..."/>
- <property name="empty.download.log.message"
- value="Nothing to do!"/>
- <property name="end.download.log.message"
- value="Completed downloading '${product.name}' dependent components."/>
- <property name="begin.compile.java.log.message"
- value="Compiling '${product.name}' java code from '${src.dir}' into '${build.classes}' ..."/>
- <property name="empty.compile.java.log.message"
- value="Nothing to do!"/>
- <property name="end.compile.java.log.message"
- value="Completed compiling '${product.name}' java code from '${src.dir}' into '${build.classes}'."/>
- <property name="begin.build.jars.log.message"
- value="Generating '${product.name}' jar files ..."/>
- <property name="empty.build.jars.log.message"
- value="Nothing to do!"/>
- <property name="end.build.jars.log.message"
- value="Completed generating '${product.name}' jar files."/>
- <property name="begin.build.jni.headers.log.message"
- value="Generating '${product.name}' java header files ..."/>
- <property name="empty.build.jni.headers.log.message"
- value="Nothing to do!"/>
- <property name="end.build.jni.headers.log.message"
- value="Completed generating '${product.name}' java header files."/>
- <property name="notify.build.log.message"
- value="Built classes, jars, and jni headers for the '${product.name}' component."/>
- <property name="begin.compile.junit.tests.log.message"
- value="Compiling '${product.name}' junit tests from '${test.dir}' into '${build.tests}' ..."/>
- <property name="empty.compile.junit.tests.log.message"
- value="Nothing to do!"/>
- <property name="end.compile.junit.tests.log.message"
- value="Completed compiling '${product.name}' junit tests from '${test.dir}' into '${build.tests}'."/>
- <property name="begin.run.junit.tests.log.message"
- value="Executing '${product.name}' tests ..."/>
- <property name="empty.run.junit.tests.log.message"
- value="Nothing to do!"/>
- <property name="end.run.junit.tests.log.message"
- value="Completed executing '${product.name}' tests."/>
- <property name="notify.verify.log.message"
- value="Verified the '${product.name}' component."/>
- <property name="begin.clean.javadocs.log.message"
- value="Removing '${product.name}' javadocs directory ..."/>
- <property name="empty.clean.javadocs.log.message"
- value="Nothing to do!"/>
- <property name="end.clean.javadocs.log.message"
- value="Completed removing '${product.name}' javadocs directory."/>
- <property name="begin.compose.javadocs.log.message"
- value="Composing '${product.name}' javadocs ..."/>
- <property name="empty.compose.javadocs.log.message"
- value="Nothing to do!"/>
- <property name="end.compose.javadocs.log.message"
- value="Completed composing '${product.name}' javadocs."/>
- <property name="notify.document.log.message"
- value="Documented '${product.name}' javadocs."/>
- <property name="begin.distribute.binaries.log.message"
- value="Creating '${product.name}' binary distributions ..."/>
- <property name="begin.binary.wrappers.log.message"
- value=" Creating '${product.name}' binary wrappers ..."/>
- <property name="empty.binary.wrappers.log.message"
- value=" Nothing to do!"/>
- <property name="end.binary.wrappers.log.message"
- value=" Completed creating '${product.name}' binary wrappers."/>
- <property name="begin.binary.zip.log.message"
- value=" Creating '${product.name}' binary zip files ..."/>
- <property name="empty.binary.zip.log.message"
- value=" Nothing to do!"/>
- <property name="end.binary.zip.log.message"
- value=" Completed creating '${product.name}' binary zip files."/>
- <property name="begin.binary.tar.log.message"
- value=" Creating '${product.name}' binary tar files ..."/>
- <property name="empty.binary.tar.log.message"
- value=" Nothing to do!"/>
- <property name="end.binary.tar.log.message"
- value=" Completed creating '${product.name}' binary tar files."/>
- <property name="begin.binary.gtar.log.message"
- value=" Creating '${product.name}' binary gzip files ..."/>
- <property name="empty.binary.gtar.log.message"
- value=" Nothing to do!"/>
- <property name="end.binary.gtar.log.message"
- value=" Completed creating '${product.name}' binary gzip files."/>
- <property name="end.distribute.binaries.log.message"
- value="Completed creating '${product.name}' binary distributions."/>
- <property name="begin.distribute.source.log.message"
- value="Creating '${product.name}' source distributions ..."/>
- <property name="begin.source.zip.log.message"
- value=" Creating '${product.name}' source zip files ..."/>
- <property name="empty.source.zip.log.message"
- value=" Nothing to do!"/>
- <property name="end.source.zip.log.message"
- value=" Completed creating '${product.name}' source zip files."/>
- <property name="begin.source.tar.log.message"
- value=" Creating '${product.name}' source tar files ..."/>
- <property name="empty.source.tar.log.message"
- value=" Nothing to do!"/>
- <property name="end.source.tar.log.message"
- value=" Completed creating '${product.name}' source tar files."/>
- <property name="begin.source.gtar.log.message"
- value=" Creating '${product.name}' source gzip files ..."/>
- <property name="empty.source.gtar.log.message"
- value=" Nothing to do!"/>
- <property name="end.source.gtar.log.message"
- value=" Completed creating '${product.name}' source gzip files."/>
- <property name="end.distribute.source.log.message"
- value="Completed creating '${product.name}' source distributions."/>
- <property name="notify.distribute.log.message"
- value="Distributed '${product.name}' distribution packages."/>
- <property name="notify.main.log.message"
- value="Built, verified, documented, and distributed a fresh '${product.name}' component."/>
-
-</project>
-
diff --git a/pki/base/migrate/config/release.xml b/pki/base/migrate/config/release.xml
deleted file mode 100644
index fc43aaeb7..000000000
--- a/pki/base/migrate/config/release.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-<!-- ### BEGIN COPYRIGHT BLOCK ###
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
- Copyright (C) 2007 Red Hat, Inc.
- All rights reserved.
- ### END COPYRIGHT BLOCK ### -->
-<project name="release.xml" default="main" basedir="${basedir}">
-
- <echo message="Importing shared properties ..."/>
- <import file="product.xml"/>
- <import file="product-ext.xml" optional="true"/>
- <import file="release-ext.xml" optional="true"/>
- <echo message="Completed importing shared properties."/>
-
-
- <target name="local"
- depends=""
- description="--> Generate this target locally">
- <echo message="Generating the '${product.name}' target locally ..."/>
- <exec executable="ant" dir="${release.root}">
- <arg value="-Dspecfile=${product.name}.spec"/>
- <arg value="-Ddirsec=${dirsec}"/>
- <arg value="${target}"/>
- </exec>
- <echo message="Completed generating the '${product.name}' target locally."/>
- </target>
-
-
- <target name="main"
- depends=""
- description="--> Generate component RPMS and SRPMS">
- <echo message="Generating '${product.name}' RPMS and SRPMS ..."/>
-
- <exec executable="pwd"
- failonerror="true"
- outputproperty="top.dir"/>
- <echo message="Established the '${top.dir}' top-level directory."/>
-
- <echo message="Creating the '${product.name}' source distribution ..."/>
- <exec executable="ant"
- dir="${release.root}">
- <arg value="-Dspecfile=${product.name}.spec"/>
- <arg value="-Ddirsec=${dirsec}"/>
- <arg value="distribute_source"/>
- </exec>
- <echo message="Completed creating the '${product.name}' source distribution."/>
-
- <echo message="Creating '${product.name}' RPM directories ..."/>
- <mkdir dir="${release.root}/dist/rpmpkg"/>
- <mkdir dir="${release.root}/dist/rpmpkg/SOURCES"/>
- <mkdir dir="${release.root}/dist/rpmpkg/RPMS"/>
- <mkdir dir="${release.root}/dist/rpmpkg/SRPMS"/>
- <mkdir dir="${release.root}/dist/rpmpkg/SPECS"/>
- <mkdir dir="${release.root}/dist/rpmpkg/BUILD"/>
- <echo message="Completed creating '${product.name}' RPM directories."/>
-
- <echo message="Building '${product.name}' RPMS and SRPMS ..."/>
- <exec executable="rpmbuild"
- dir="${release.root}">
- <arg value="--define"/>
- <arg value="_topdir ${top.dir}/${release.root}/dist/rpmpkg"/>
- <arg value="-ta"/>
- <arg value="${top.dir}/${release.root}/dist/source/${product.name}-${version}.tar.gz"/>
- </exec>
- <echo message="Completed building '${product.name}' RPMS and SRPMS."/>
-
- <echo message="Removing various '${product.name}' RPM directories and files ..."/>
- <delete dir="${release.root}/dist/rpmpkg/BUILD"/>
- <echo message="Completed removing various '${product.name}' RPM directories and files."/>
-
- <echo message="Completed generating '${product.name}' RPMS and SRPMS."/>
- </target>
-
-</project>
-