Skip to contentSkip to conversation

OpenVPN samples and rpm requirements - subpackage?

Openvpn-devel Doncho N. Gunchev 2 participants 4 messages Dec 14, 2004 – Dec 15, 2004

lore
Share & tools
lore
#0 lore raw

Hello all,
the samples from openvpn's rpm package raise dependencies on perl
and some perl modules with Fedora. I assume it is problematic for other distros also, so I suggest to move them in separate sub-package. I splitted the package into two packages - openvpn-2.0...i386.rpm and openvpn-samples-2.0...rpm. This way I can use 'AutoReq: 0' and 'Requires: %name = %version' within '%package samples' and have right and authomatic dependencies for the main package at the same time. Is this acceptable for all?

Also, for Fedora/Red Hat the right group is not Networking/Tunnels
but maybe Applications/Internet (/usr/share/doc/rpm-*/GROUPS is refered as source for groups in fedora), but this is not a big problem... Maybe I'm too pedantic and there's another %if is not needed?

Signature · 4 lines
Regards,
  Doncho N. Gunchev    Registered Linux User #291323 at counter.li.org
  GPG-Key-ID: 1024D/DA454F79                        http://pgp.mit.edu
  Key fingerprint = 684F 688B C508 C609 0371  5E0F A089 CB15 DA45 4F79
#1 lore raw
Quoted 9 lines · Doncho N. Gunchev

Hello all,
the samples from openvpn's rpm package raise dependencies on perl
and some perl modules with Fedora. I assume it is problematic for other distros also, so I suggest to move them in separate sub-package. I splitted the package into two packages - openvpn-2.0...i386.rpm and openvpn-samples-2.0...rpm. This way I can use 'AutoReq: 0' and 'Requires: %name = %version' within '%package samples' and have right and authomatic dependencies for the main package at the same time. Is this acceptable for all?

I already added "AutoReq: 0" -- see 2.0-rc4.

At this point, I would rather not split it up into 2 packages:

* The current dependencies are minimal. Other than LZO, the only other mandatory dependencies are OpenSSL, pam, and glibc, all of which should exist by default on any standard Linux distro. Pam is needed by the new C version of the auth-pam plugin. But perl is not.

* I've added --defines so you can build without LZO or pam.

* I don't consider perl to be a mandatory dependency and I've removed it.

* I've added BuildRequires for openssl-devel, lzo-devel, and pam-devel

Quoted 4 lines

Also, for Fedora/Red Hat the right group is not Networking/Tunnels
but maybe Applications/Internet (/usr/share/doc/rpm-*/GROUPS is refered as source for groups in fedora), but this is not a big problem... Maybe I'm too pedantic and there's another %if is not needed?

Is there a standard place in the RPM category space where VPN tunnels should go? If possible, I'd like to use the same category for all distros.

James

#3 lore raw
In reply to Doncho N. Gunchev
Quoted 4 lines

Also, for Fedora/Red Hat the right group is not Networking/Tunnels
but maybe Applications/Internet (/usr/share/doc/rpm-*/GROUPS is refered as source for groups in fedora), but this is not a big problem... Maybe I'm too pedantic and there's another %if is not needed?

Applications/Internet looks like the best match on SuSE as well. I'd rather be consistent across distros if possible, and therefore not use another %if.

James

#2 lore raw
In reply to James Yonan
Quoted 27 lines · James Yonan
Quoted 9 lines · Doncho N. Gunchev

Hello all,
the samples from openvpn's rpm package raise dependencies on perl
and some perl modules with Fedora. I assume it is problematic for other distros also, so I suggest to move them in separate sub-package. I splitted the package into two packages - openvpn-2.0...i386.rpm and openvpn-samples-2.0...rpm. This way I can use 'AutoReq: 0' and 'Requires: %name = %version' within '%package samples' and have right and authomatic dependencies for the main package at the same time. Is this acceptable for all?

I already added "AutoReq: 0" -- see 2.0-rc4.

At this point, I would rather not split it up into 2 packages:

* The current dependencies are minimal. Other than LZO, the only other mandatory dependencies are OpenSSL, pam, and glibc, all of which should exist by default on any standard Linux distro. Pam is needed by the new C version of the auth-pam plugin. But perl is not.

* I've added --defines so you can build without LZO or pam.

* I don't consider perl to be a mandatory dependency and I've removed it.

* I've added BuildRequires for openssl-devel, lzo-devel, and pam-devel

Quoted 9 lines
Quoted 4 lines

Also, for Fedora/Red Hat the right group is not Networking/Tunnels
but maybe Applications/Internet (/usr/share/doc/rpm-*/GROUPS is refered as source for groups in fedora), but this is not a big problem... Maybe I'm too pedantic and there's another %if is not needed?

Is there a standard place in the RPM category space where VPN tunnels should go? If possible, I'd like to use the same category for all distros.

AFAIK all distributions define their own RPM Groups. RPM is not that
standardized I'm afraid :(
We know Red Hat, Fedora Core and SuSE have 'Applications/Internet',
but MNF8.2 does not have any containing 'Application' or 'Internet' :(

Signature · 4 lines
Regards,
  Doncho N. Gunchev    Registered Linux User #291323 at counter.li.org
  GPG-Key-ID: 1024D/DA454F79                        http://pgp.mit.edu
  Key fingerprint = 684F 688B C508 C609 0371  5E0F A089 CB15 DA45 4F79