On Tue, 14 Dec 2004, Doncho N. Gunchev wrote: > 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 > 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