diff options
author | Matthew Harmsen <mharmsen@redhat.com> | 2012-02-28 17:46:59 -0800 |
---|---|---|
committer | Matthew Harmsen <mharmsen@redhat.com> | 2012-02-28 17:59:56 -0800 |
commit | a0824523105996829fa750f26a74bce6be3fbae0 (patch) | |
tree | 8b17988fb1563f1930d6b407e935dc030d2d5f48 /pki/scripts/compose_ipa_pki_theme_packages | |
parent | 3a2cd2158ff31667432867181618d845267353a7 (diff) | |
download | pki-a0824523105996829fa750f26a74bce6be3fbae0.tar.gz pki-a0824523105996829fa750f26a74bce6be3fbae0.tar.xz pki-a0824523105996829fa750f26a74bce6be3fbae0.zip |
Enhanced compose scripts to download patches
Added platform-dependent patches for SELinux component
Bugzilla Bug #739708 - Selinux fix for ephemeral ports (F16)
Bugzilla Bug #795966 - pki-selinux policy is kind of a mess (F17)
Diffstat (limited to 'pki/scripts/compose_ipa_pki_theme_packages')
-rwxr-xr-x | pki/scripts/compose_ipa_pki_theme_packages | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/pki/scripts/compose_ipa_pki_theme_packages b/pki/scripts/compose_ipa_pki_theme_packages index e52cb7931..f2ef9042b 100755 --- a/pki/scripts/compose_ipa_pki_theme_packages +++ b/pki/scripts/compose_ipa_pki_theme_packages @@ -101,8 +101,22 @@ rm -f ${IPA_PKI_THEME_SRPMS_DIR}/${IPA_PKI_THEME}-${IPA_PKI_THEME_VERSION}*.rpm cp -p ${PKI_SPECS_FILE} ${IPA_PKI_THEME_SPECS_DIR} -if [ ${USE_PATCH_FILES} -eq 1 ] ; then - Retrieve_Source_Tarball_and_Patches ${PKI_SPECS_FILE} ${PKI_PATCHES_DIR} ${IPA_PKI_THEME_SOURCES_DIR} +## +## If specified, copy all Patches from the spec file URL to SOURCES +## + +if [ ${FETCH_PATCH_FILES} -eq 1 ] ; then + Fetch_Patch_Files ${PKI_SPECS_FILE} ${IPA_PKI_THEME_SOURCES_DIR} +fi + + +## +## Copy the specified Source Tarball from the spec file URL to SOURCES, or +## Generate a fresh Source Tarball from the local source +## + +if [ ${FETCH_SOURCE_TARBALL} -eq 1 ] ; then + Fetch_Source_Tarball ${PKI_SPECS_FILE} ${IPA_PKI_THEME_SOURCES_DIR} else ## ## Always start with a new 'ipa-pki' staging directory |