From ee4edefa2f12372adb4793c0dd6420fc76911ae4 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 18 Jan 2012 11:24:07 +0100 Subject: Remove any pacman 4 related workarounds --- Makefile | 2 +- archbuild.in | 17 +---------------- pacman-extra.conf | 4 ++-- pacman-gnome-unstable.conf | 2 +- pacman-kde-unstable.conf | 2 +- pacman-multilib-staging.conf | 2 +- pacman-multilib-testing.conf | 2 +- pacman-multilib.conf | 4 ++-- pacman-staging.conf | 2 +- pacman-testing.conf | 2 +- 10 files changed, 12 insertions(+), 27 deletions(-) diff --git a/Makefile b/Makefile index f60a9aa..215679a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -V=20120114 +V=20120118 PREFIX = /usr/local diff --git a/archbuild.in b/archbuild.in index 4e16d1f..122f1e0 100644 --- a/archbuild.in +++ b/archbuild.in @@ -2,8 +2,7 @@ m4_include(lib/common.sh) -# FIXME: temporary added curl until pacman 4.0 moves to [core] -base_packages=(base base-devel sudo curl) +base_packages=(base base-devel sudo) cmd="${0##*/}" if [[ "${cmd%%-*}" == 'multilib' ]]; then @@ -53,15 +52,6 @@ if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then done exec 9>&- - # FIXME: temporary workaround until pacman 4.0 moves to [core] - if pacman -V | grep -q 'v4.' && ( [[ "$repo" == 'extra' || "$repo" == 'multilib' ]] ); then - pacman_conf=$(mktemp) - cp "@pkgdatadir@/pacman-${repo}.conf" "${pacman_conf}" - sed -r 's/^#(SigLevel = Never)/\1/' -i "${pacman_conf}" - else - pacman_conf="@pkgdatadir@/pacman-${repo}.conf" - fi - rm -rf "${chroots}/${repo}-${arch}" mkdir -p "${chroots}/${repo}-${arch}" setarch "${arch}" mkarchroot \ @@ -69,11 +59,6 @@ if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then -M "@pkgdatadir@/makepkg-${arch}.conf" \ "${chroots}/${repo}-${arch}/root" \ "${base_packages[@]}" - - # FIXME: temporary workaround until pacman 4.0 moves to [core] - if pacman -V | grep -q 'v4.' && ( [[ "$repo" == 'extra' || "$repo" == 'multilib' ]] ); then - cp "@pkgdatadir@/pacman-${repo}.conf" "${chroots}/${repo}-${arch}/root/etc/pacman.conf" - fi else setarch ${arch} mkarchroot \ -u \ diff --git a/pacman-extra.conf b/pacman-extra.conf index c0b7771..4c50513 100644 --- a/pacman-extra.conf +++ b/pacman-extra.conf @@ -47,8 +47,8 @@ Architecture = auto # the following line. This will treat any key imported into pacman's keyring as # trusted. #SigLevel = Optional TrustAll -# Disable signature checks for now -#SigLevel = Never +# For now, off by default unless you read the above. +SigLevel = Never # # REPOSITORIES diff --git a/pacman-gnome-unstable.conf b/pacman-gnome-unstable.conf index 40b18f4..04e8f5b 100644 --- a/pacman-gnome-unstable.conf +++ b/pacman-gnome-unstable.conf @@ -47,7 +47,7 @@ Architecture = auto # the following line. This will treat any key imported into pacman's keyring as # trusted. #SigLevel = Optional TrustAll -# Disable signature checks for now +# For now, off by default unless you read the above. SigLevel = Never # diff --git a/pacman-kde-unstable.conf b/pacman-kde-unstable.conf index 42f073d..e5b95bb 100644 --- a/pacman-kde-unstable.conf +++ b/pacman-kde-unstable.conf @@ -47,7 +47,7 @@ Architecture = auto # the following line. This will treat any key imported into pacman's keyring as # trusted. #SigLevel = Optional TrustAll -# Disable signature checks for now +# For now, off by default unless you read the above. SigLevel = Never # diff --git a/pacman-multilib-staging.conf b/pacman-multilib-staging.conf index 1e9cfd5..a088010 100644 --- a/pacman-multilib-staging.conf +++ b/pacman-multilib-staging.conf @@ -47,7 +47,7 @@ Architecture = auto # the following line. This will treat any key imported into pacman's keyring as # trusted. #SigLevel = Optional TrustAll -# Disable signature checks for now +# For now, off by default unless you read the above. SigLevel = Never # diff --git a/pacman-multilib-testing.conf b/pacman-multilib-testing.conf index b7e59f6..ee9c988 100644 --- a/pacman-multilib-testing.conf +++ b/pacman-multilib-testing.conf @@ -47,7 +47,7 @@ Architecture = auto # the following line. This will treat any key imported into pacman's keyring as # trusted. #SigLevel = Optional TrustAll -# Disable signature checks for now +# For now, off by default unless you read the above. SigLevel = Never # diff --git a/pacman-multilib.conf b/pacman-multilib.conf index 5dada55..696003e 100644 --- a/pacman-multilib.conf +++ b/pacman-multilib.conf @@ -47,8 +47,8 @@ Architecture = auto # the following line. This will treat any key imported into pacman's keyring as # trusted. #SigLevel = Optional TrustAll -# Disable signature checks for now -#SigLevel = Never +# For now, off by default unless you read the above. +SigLevel = Never # # REPOSITORIES diff --git a/pacman-staging.conf b/pacman-staging.conf index 9d8e23e..4ef48de 100644 --- a/pacman-staging.conf +++ b/pacman-staging.conf @@ -47,7 +47,7 @@ Architecture = auto # the following line. This will treat any key imported into pacman's keyring as # trusted. #SigLevel = Optional TrustAll -# Disable signature checks for now +# For now, off by default unless you read the above. SigLevel = Never # diff --git a/pacman-testing.conf b/pacman-testing.conf index 70b0249..cc007e3 100644 --- a/pacman-testing.conf +++ b/pacman-testing.conf @@ -47,7 +47,7 @@ Architecture = auto # the following line. This will treat any key imported into pacman's keyring as # trusted. #SigLevel = Optional TrustAll -# Disable signature checks for now +# For now, off by default unless you read the above. SigLevel = Never # -- cgit v1.2.3-24-g4f1b