Skip to contentSkip to conversation

rc15 rpm spec glitches

Openvpn-devel Aleksandar Ivanisevic 2 participants 8 messages Apr 23, 2009 – Apr 29, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

Hi,

I've been compiling a rpm of rc15 on rhel5 and noticed a couple of glitches:

%doc lists management/ dir, but its no longer there, so

%doc contrib/ easy-rsa/ management/ sample-*/ plugin/README.*

should be

%doc contrib/ easy-rsa/ sample-*/ plugin/README.*

with_pkcs11 tries to pull in pkcs11-helper, but no such package exists in RHEL, so it must be distro specific, but don't know which distro

%{!?with_pkcs11:BuildRequires: pkcs11-helper-devel}
%{!?with_pkcs11:Requires: pkcs11-helper}

it builds fine with --nodeps though.

regards,

#1 lore raw

I don't think this rpm is maintained, the rpm based distributions has a different versions.

Alon.

Quoted 35 lines · Aleksandar Ivanisevic

Hi,

I've been compiling a rpm of rc15 on rhel5 and noticed a couple of glitches:

%doc lists management/ dir, but its no longer there, so

%doc contrib/ easy-rsa/ management/ sample-*/ plugin/README.*

should be

%doc contrib/ easy-rsa/ sample-*/ plugin/README.*

with_pkcs11 tries to pull in pkcs11-helper, but no such package exists in RHEL, so it must be distro specific, but don't know which distro

%{!?with_pkcs11:BuildRequires: pkcs11-helper-devel}
%{!?with_pkcs11:Requires: pkcs11-helper}

it builds fine with --nodeps though.

regards,

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#2 lore raw

Hm,

I'm talking about the .spec file within the official source tarball. Is this whats not maintained any more?

Maybe you can accept a patch anyway? I've found out that pkcs11-helper is an opensuse or Mandriva package, so the patch would look like this:

*** openvpn.spec.in.orig 2009-04-28 10:14:48.000000000 +0200
--- openvpn.spec.in 2009-04-28 10:17:59.000000000 +0200
***************
*** 52,59 ****
--- 52,61 ----
%{!?without_pam:BuildRequires: pam-devel}
%{!?without_pam:Requires: pam}

+ %if "%{_vendor}" == "MandrakeSoft" || "%{_vendor}" == "suse" || "%{_vendor}" == "pc" %{!?with_pkcs11:BuildRequires: pkcs11-helper-devel}
%{!?with_pkcs11:Requires: pkcs11-helper}
+ %endif

#
# Description
***************
*** 223,229 ****
%endif

# Install extra %doc stuff
! %doc contrib/ easy-rsa/ management/ sample-*/ plugin/README.*

%changelog
* Thu Dec 14 2006 Alon Bar-Lev
--- 225,231 ----
%endif

# Install extra %doc stuff
! %doc contrib/ easy-rsa/ sample-*/ plugin/README.*

%changelog
* Thu Dec 14 2006 Alon Bar-Lev

Quoted 42 lines · Alon Bar-Lev

I don't think this rpm is maintained, the rpm based distributions has a different versions.

Alon.

Quoted 35 lines · Aleksandar Ivanisevic

Hi,

I've been compiling a rpm of rc15 on rhel5 and noticed a couple of glitches:

%doc lists management/ dir, but its no longer there, so

%doc contrib/ easy-rsa/ management/ sample-*/ plugin/README.*

should be

%doc contrib/ easy-rsa/ sample-*/ plugin/README.*

with_pkcs11 tries to pull in pkcs11-helper, but no such package exists in RHEL, so it must be distro specific, but don't know which distro

%{!?with_pkcs11:BuildRequires: pkcs11-helper-devel}
%{!?with_pkcs11:Requires: pkcs11-helper}

it builds fine with --nodeps though.

regards,

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#3 lore raw

Yes, I don't think it is maintained.

Please send uniform diff.

Use: "diff -urNp"

Quoted 97 lines · Aleksandar Ivanisevic

Hm,

I'm talking about the .spec file within the official source tarball. Is
this whats not maintained any more?

Maybe you can accept a patch anyway? I've found out that pkcs11-helper is
an opensuse or Mandriva package, so the patch would look like this:

*** openvpn.spec.in.orig 2009-04-28 10:14:48.000000000 +0200
--- openvpn.spec.in 2009-04-28 10:17:59.000000000 +0200
***************
*** 52,59 ****
--- 52,61 ----
%{!?without_pam:BuildRequires: pam-devel}
%{!?without_pam:Requires: pam}

+ %if "%{_vendor}" == "MandrakeSoft" || "%{_vendor}" == "suse" ||
"%{_vendor}" == "pc"
%{!?with_pkcs11:BuildRequires: pkcs11-helper-devel}
%{!?with_pkcs11:Requires: pkcs11-helper}
+ %endif

#
# Description
***************
*** 223,229 ****
%endif

# Install extra %doc stuff
! %doc contrib/ easy-rsa/ management/ sample-*/ plugin/README.*

%changelog
* Thu Dec 14 2006 Alon Bar-Lev
--- 225,231 ----
%endif

# Install extra %doc stuff
! %doc contrib/ easy-rsa/ sample-*/ plugin/README.*

%changelog
* Thu Dec 14 2006 Alon Bar-Lev

Quoted 32 lines · Alon Bar-Lev

I don't think this rpm is maintained, the rpm based distributions has a different versions.

Alon.

Quoted 25 lines · Aleksandar Ivanisevic

Hi,

I've been compiling a rpm of rc15 on rhel5 and noticed a couple of glitches:

%doc lists management/ dir, but its no longer there, so

%doc contrib/ easy-rsa/ management/ sample-*/ plugin/README.*

should be

%doc contrib/ easy-rsa/ sample-*/ plugin/README.*

with_pkcs11 tries to pull in pkcs11-helper, but no such package exists in RHEL, so it must be distro specific, but don't know which distro

%{!?with_pkcs11:BuildRequires: pkcs11-helper-devel}
%{!?with_pkcs11:Requires: pkcs11-helper}

it builds fine with --nodeps though.

regards,

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

Quoted 9 lines
Quoted 9 lines

Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Openvpn-devel mailing list [email protected]

https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Quoted 4 lines
Quoted 2 lines
#4 lore raw

ok, attached

Quoted 6 lines · Alon Bar-Lev

Yes, I don't think it is maintained.

Please send uniform diff.

Use: "diff -urNp"

openvpn.spec.in renamed from openvpn.spec.in.orig +6 -1
@@ -52,8 +52,10 @@ Requires:      openssl       >= 0.9.6
 %{!?without_pam:BuildRequires: pam-devel}
 %{!?without_pam:Requires:      pam}
 
+%if "%{_vendor}" == "MandrakeSoft" || "%{_vendor}" == "suse" || "%{_vendor}" == "pc"
 %{!?with_pkcs11:BuildRequires: pkcs11-helper-devel}
 %{!?with_pkcs11:Requires:      pkcs11-helper}
+%endif 
 
 #
 # Description
@@ -223,9 +225,12 @@ fi
 %endif
 
 # Install extra %doc stuff
-%doc contrib/ easy-rsa/ management/ sample-*/ plugin/README.*
+%doc contrib/ easy-rsa/ sample-*/ plugin/README.*
 
 %changelog
+* Tue Apr 28 2009 Aleksandar Ivanisevic <[email protected]...>
+- %doc cleanup and RHEL compatibility fixes
+
 * Thu Dec 14 2006 Alon Bar-Lev
 - Added with_pkcs11
 
#5 lore raw

Why did you remove the management from doc?

Quoted 16 lines · Aleksandar Ivanisevic

ok, attached

Quoted 7 lines · Alon Bar-Lev

Yes, I don't think it is maintained.

Please send uniform diff.

Use: "diff -urNp"

#6 lore raw

because this dir doesn't exist any more, at least not in openvpn-2.1_rc15.tar.gz, so the build fails.

Quoted 18 lines · Alon Bar-Lev

Why did you remove the management from doc?

Quoted 14 lines · Aleksandar Ivanisevic

ok, attached

Quoted 7 lines · Alon Bar-Lev

Yes, I don't think it is maintained.

Please send uniform diff.

Use: "diff -urNp"

#7 lore raw

Oh... it was missing.

James,
Attached is a fix for rpm spec (pkcs11) and the inclusion of the management directory.

Still waiting for merge of my previous work.

Alon.

Quoted 31 lines · Aleksandar Ivanisevic

because this dir doesn't exist any more, at least not in
openvpn-2.1_rc15.tar.gz, so the build fails.

Quoted 23 lines · Alon Bar-Lev

Why did you remove the management from doc?

Quoted 17 lines · Aleksandar Ivanisevic

ok, attached

Quoted 8 lines · Alon Bar-Lev

Yes, I don't think it is maintained.

Please send uniform diff.

Use: "diff -urNp"

openvpn.spec.in +5 -0
Index: openvpn.spec.in
===================================================================
@@ -52,8 +52,10 @@
 %{!?without_pam:BuildRequires: pam-devel}
 %{!?without_pam:Requires:      pam}
 
+%if "%{_vendor}" == "MandrakeSoft" || "%{_vendor}" == "suse" || "%{_vendor}" == "pc"
 %{!?with_pkcs11:BuildRequires: pkcs11-helper-devel}
 %{!?with_pkcs11:Requires:      pkcs11-helper}
+%endif 
 
 #
 # Description
@@ -226,6 +228,9 @@
 %doc contrib/ easy-rsa/ management/ sample-*/ plugin/README.*
 
 %changelog
+* Tue Apr 28 2009 Aleksandar Ivanisevic <[email protected]>
+- RHEL compatibility fixes
+
 * Thu Dec 14 2006 Alon Bar-Lev
 - Added with_pkcs11
 
Makefile.am +1 -0
Index: Makefile.am
===================================================================
@@ -48,6 +48,7 @@
 	tap-win32 \
 	contrib \
 	debug \
+	management \
 	plugin
 
 SUBDIRS = \