--- /dev/null
+Index: profile
+===================================================================
+RCS file: /cvsroot/setup/etc/profile,v
+retrieving revision 1.55
+retrieving revision 1.56
+diff -u -u -r1.55 -r1.56
+--- setup/etc/profile 22 Jan 2011 20:08:54 -0000 1.55
++++ setup/etc/profile 24 Feb 2011 19:17:44 -0000 1.56
+@@ -128,7 +128,18 @@
+ ;;
+ * )
+ if [ -r "$i" ]; then
+- . "$i"; export "$NAME"
++ . "$i"
++ # export VAR will set and export VAR
++ # if it didn't exist before. Other shells
++ # (ksh, bash) behave differently.
++ if [ -n "$ZSH_VERSION" ]; then
++ # zsh specific
++ if [ "${(P)+NAME}" = "1" ]; then
++ export "$NAME"
++ fi
++ else
++ export "$NAME"
++ fi
+ fi
+ ;;
+ esac
Summary(tr.UTF-8): Basit kurulum dosyaları
Name: setup
Version: 2.7.3
-Release: 1
+Release: 2
License: Public Domain, partially BSD-like
Group: Base
Source0: %{name}-%{version}.tar.bz2
# This is source of non-iana changes in services file
Patch1: %{name}-services.patch
Patch2: protocols-fmt.patch
+Patch3: %{name}-zsh.patch
BuildRequires: dietlibc-static
BuildRequires: gawk
Requires: FHS >= 2.3-24.1
%patch0 -p1
mv iana-etc{-%{iana_etc_ver},}
%patch2 -p1
+%patch3 -p1
cp -a %{SOURCE2} iana-etc/protocol-numbers.iana
cp -a %{SOURCE3} iana-etc/port-numbers.iana