Hello, I did it in my SL5:

yum --enablerepo=adobe list Adobe\*

 but it says:

***********
Loading "kernel-module" plugin


Error getting repository data for adobe, repository not found
*********

 Rachid .

On Tue, 19 Feb 2008, Troy Dawson wrote:

Hi Jan,
You actually brought up something that I was going to mention.
Adobe now has their Acrobat Reader in their yum repository. So now you can install it the same way that you install their flash player.

 yum --enablerepo=adobe list Adobe\*
Then just pick which language you want, so I would do
 yum --enablerepo=adobe install AdobeReader_enu

Hmmm, actually, that is only for SL 5 ... I see that in SL4, up until SL46, I have it as "macromedia" and it is also pointing at their old yum repository ... that probrubly should be fixed at some point.

Troy

Jan Iven wrote:
FYI, in case any of you deploy Adobe's Acrobat reader on SL4 from a
private repository (due to the license that forbids any wider
re-distribution):

The "latest" version officially compatible with RHEL4 is acroread-7.0.9,
but this currently has open security holes (CVE-2007-5663 et al).
http://www.adobe.com/support/security/advisories/apsa08-01.html still
says (as of today, i.e. 2 weeks after the initial announcement):

Acrobat and Adobe Reader 7.0.9 and earlier versions are also affected
by these vulnerabilities. Adobe will provide further information as
to the nature of the vulnerabilities via the company's Security
Bulletins and Advisories page once updates are available for all
affected versions of Acrobat and Adobe Reader.

acoread-8.1.2 (which is patched) requires RHEL5 as per Adobe (libgtk+2.6
?). It appears that despite this requirement, it happily runs under 4 as
well.. at least for the limited use we foresee over here.

.spec file attached, in case somebody is interested. Sorry for not being
able to provide the real RPMs..

Regards
Jan







------------------------------------------------------------------------

# original for acroread-7 from rpmforge

%define debug_package %{nil}
%define __spec_install_post /usr/lib/rpm/brp-compress /usr/lib/rpm/brp-strip-comment-note %{nil}
%define desktop_vendor rpmforge

Summary: Adobe Reader for viewing PDF files
Name: acroread
Version: 8.1.2
Release: 1.slc4
License: Commercial, Freely Distributable
Group: Applications/Publishing
URL: http://www.adobe.com/products/acrobat/readermain.html

Source: ftp://ftp.adobe.com/pub/adobe/reader/unix/8.x/8.1.2/enu/AdobeReader_enu-8.1.2-1.i486.tar.gz
Source1: acroread.png
#Source2: ftp://ftp.adobe.com/pub/adobe/reader/unix/8.x/8.1.2/misc/FontPack81_xtd_i486-linux.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

ExclusiveArch: i386
BuildRequires: perl
BuildRequires: desktop-file-utils
Obsoletes: acrobat
Requires: htmlview
Requires: %{_libdir}/libldap.so.2
Requires: %{_libdir}/liblber.so.2
Provides: %{name}-plugin = %{version}-%{release}
Obsoletes: %{name}-plugin < %{version}
Provides: libACE.so
Provides: libACE.so(VERSION)
Provides: libAGM.so
Provides: libAGM.so(VERSION)
Provides: libAXE8SharedExpat.so
Provides: libAXSLE.so
Provides: libAXSLE.so(VERSION)
Provides: libAdobeXMP.so
Provides: libAdobeXMP.so(VERSION)
Provides: libBIB.so
Provides: libBIB.so(VERSION)
Provides: libBIBUtils.so
Provides: libBIBUtils.so(VERSION)
Provides: libCoolType.so
Provides: libCoolType.so(VERSION)
Provides: libJP2K.so
Provides: libJP2K.so(VERSION)
Provides: libResAccess.so
Provides: libResAccess.so(VERSION)
Provides: libWRServices.so
Provides: libWRServices.so(VERSION)
Provides: libadobelinguistic.so
Provides: libadobelinguistic.so(VERSION)
Provides: libahclient.so
Provides: libahclient.so(VERSION)
Provides: libextendscript.so
Provides: libicudata.so.34
Provides: libicuuc.so.34
Provides: libsccore.so
# Wtf? an old copy of openssl?
Provides: libssl.so.0.9.7
Provides: libcrypto.so.0.9.7

%description
Adobe Reader is part of the Adobe Acrobat family of software,
which lets you view, distribute, and print documents in Portable
Document Format (PDF)--regardless of the computer, operating system,
fonts, or application used to create the original file.

PDF files retain all the formatting, fonts, and graphics of the
original document, and virtually any PostScript(TM) document can
be converted into a PDF file. Adobe Acrobat Reader has a plug-in
for Mozilla/Firefox to view PDF files inline.

%prep
%setup -c

%{__cat} <<EOF >WebLink
*LinkDisplay:   CTRL
*OpenURL:       NO
*IsMapped:      NO
*Progress:      NO
*Toolbar:       YES
*SelectedBrowser: /usr/bin/htmlview *SelectedDriver: Netscape
EOF

%build

%install
%{__rm} -rf %{buildroot}

%{__install} -d -m0755 %{buildroot}%{_libdir}/acroread/
%{__tar} -xvf AdobeReader/COMMON.TAR -C %{buildroot}%{_libdir}/acroread/
%{__tar} -xvf AdobeReader/ILINXR.TAR -C %{buildroot}%{_libdir}/acroread/

#%{__mv} -f %{buildroot}%{_libdir}/acroread/bin/acroread.sh %{buildroot}%{_libdir}/acroread/bin/acroread

### Fixup path and fixed LANG/LC_ALL settings until Adobe adds Unicode locale support %{__perl} -pi -e 's|^install_dir=.*$|install_dir=%{_libdir}/acroread/Adobe/Reader8/Reader|' %{buildroot}%{_libdir}/acroread/Adobe/Reader8/bin/acroread

### Shutup some rpm permission warnings
%{__chmod} +x %{buildroot}%{_libdir}/acroread/Adobe/Reader8/Reader/*/lib/lib*.so* %{buildroot}%{_libdir}/acroread/Adobe/Reader8/Browser/*/*.so

%{__install} -D -m0644 WebLink %{buildroot}%{_libdir}/acroread/Adobe/Reader8/Reader/intellinux/app-defaults/WebLink

### Make links
%{__install} -d -m0755 %{buildroot}%{_bindir}
%{__ln_s} -f %{_libdir}/acroread/Adobe/Reader8/bin/acroread %{buildroot}%{_bindir}/acroread

%{__install} -d -m0755 %{buildroot}%{_prefix}/X11R6/%{_lib}/X11/app-defaults/ %{__ln_s} -f %{_libdir}/acroread/Adobe/Reader8/Reader/intellinux/app-defaults/AcroRead %{buildroot}%{_prefix}/X11R6/%{_lib}/X11/app-defaults/AcroRead %{__ln_s} -f %{_libdir}/acroread/Adobe/Reader8/Reader/intellinux/app-defaults/WebLink %{buildroot}%{_prefix}/X11R6/%{_lib}/X11/app-defaults/WebLink


### workaround for PPKLite.api failing to load - this does a dlopen(libldap.so). ### would require the 32bit openldap-devel RPM to be installed everywhere otherwise.
###  do not use libdir - we need the 32bit libraries.
%{__ln_s} -f /usr/lib/libldap.so.2 %{buildroot}%{_libdir}/acroread/Adobe/Reader8/Reader/intellinux/lib/libldap.so %{__ln_s} -f /usr/lib/liblber.so.2 %{buildroot}%{_libdir}/acroread/Adobe/Reader8/Reader/intellinux/lib/liblber.so

%{__install} -d -m0755 %{buildroot}%{_libdir}/mozilla/plugins/
cd %{buildroot}%{_libdir}/mozilla/plugins/
%{__ln_s} -f ../../acroread/Adobe/Reader8/Browser/intellinux/nppdf.so nppdf.so cd -

%{__install} -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/acroread.png


%{__install} -d -m0755 %{buildroot}%{_datadir}/applications/
        desktop-file-install --vendor %{desktop_vendor}    \
                --add-category X-Red-Hat-Base              \
                --dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_libdir}/acroread/Adobe/Reader8/Resource/Support/AdobeReader.desktop %clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AdobeReader/ReadMe.htm  %doc %{_libdir}/acroread/Adobe/Help/
%{_bindir}/acroread
%dir %{_libdir}/acroread/
%{_libdir}/acroread/Adobe/Reader8/Reader/
%{_libdir}/acroread/Adobe/Reader8/Resource/
%{_libdir}/acroread/Adobe/Reader8/bin/
%{_prefix}/X11R6/%{_lib}/X11/app-defaults/AcroRead
%{_prefix}/X11R6/%{_lib}/X11/app-defaults/WebLink
%{_datadir}/pixmaps/acroread.png
%{_datadir}/applications/%{desktop_vendor}-AdobeReader.desktop
%{_libdir}/acroread/Adobe/Reader8/Browser/
%{_libdir}/mozilla/plugins/nppdf.so
%{_libdir}/acroread/Adobe/HelpViewer/


#
# Wishlist:
# * disable JavaScript at install time
# * disable advertising/"update" at install time
# * get rid of embedded openssl?
# * get rid of libldap symlink (still required in 8.1.2)

%changelog
* Fri Feb 15 2008 Jan Iven <[EMAIL PROTECTED]> - 8.1.2-1.slc4
- update to 8.1.2 (not formally suported under RHEL4?);
  Security fix for CVE-2007-5659, CVE-2008-0655

* Thu Jun 28 2007 Jan Iven <[EMAIL PROTECTED]> - 7.0.9-3.SLC4
- symlink ldap libraries to fix PPKLite plugin (".. failed to initialize"-popup)

* Wed Jan 10 2007 Jaroslaw Polok <[EMAIL PROTECTED]>
- update to 7.0.9

* Wed Sep 27 2006 Jaroslaw Polok <[EMAIL PROTECTED]>
- update to 7.0.8

* Wed Mar 16 2005 Jaroslaw Polok <[EMAIL PROTECTED]>
- initial 7.0 build

* Thu Feb 17 2005 Jaroslaw Polok <[EMAIL PROTECTED]>
- DO NOT strip (NO debuginfo) ... or plugin will crash ..
- put plugin back in main pkg for SLC3

* Mon Dec 20 2004 Dag Wieers <[EMAIL PROTECTED]> - 5.0.10-1
- Feedback from Jason L Tibbitts.
- Updated to release 5.0.10.

* Thu Nov 18 2004 Dag Wieers <[EMAIL PROTECTED]> - 5.0.9-2
- Removed %%{_libdir}/mozilla/plugins/

* Thu Jun 24 2004 Dag Wieers <[EMAIL PROTECTED]> - 5.0.9-1
- Updated to release 5.0.9.
- Fixed the acroread icon. (Sahak Petrosyan)
- Added fix for crash when doing 'Find' on non-existing strings. (Stefan Hoelldampf)

* Tue Jan 27 2004 Dag Wieers <[EMAIL PROTECTED]> - 5.0.8-1
- Added fix to make locale settings still work. (Fernando Lozano)

* Mon Jan 26 2004 Dag Wieers <[EMAIL PROTECTED]> - 5.0.8-0
- Added exports for LANG and LC_ALL, just in case. (Axel Thimm)
- Updated to release 5.0.8.

* Mon Aug 25 2003 Dag Wieers <[EMAIL PROTECTED]> - 5.0.7-2
- Fixed Unicode locale support, again. (Matthew Mastracci)

* Fri Aug 01 2003 Dag Wieers <[EMAIL PROTECTED]> - 5.0.7-1
- Put mozilla plugins into a seperate package.
- Improved the desktop file.

* Sun Jul 13 2003 Dag Wieers <[EMAIL PROTECTED]> - 5.0.7-0
- Initial package. (using DAR)


--
__________________________________________________
Troy Dawson  [EMAIL PROTECTED]  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI DSS Group
__________________________________________________

Reply via email to