Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100943 - net-misc/openvpn-2.0 doesn't copy sample config files from the source tarball to the filesystem
Summary: net-misc/openvpn-2.0 doesn't copy sample config files from the source tarball...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-31 15:56 UTC by Flophouse Joe
Modified: 2005-11-02 04:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to effectivelly enable the population of the examples dir. (openvpn-examples.patch,430 bytes, patch)
2005-10-30 10:15 UTC, Rodrigo Severo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Flophouse Joe 2005-07-31 15:56:55 UTC
(1) The source tarball for net-misc/openvpn-2.0 contains a number of useful
sample config files.  Although the sample config files exist in the source
tarball under ./sample-config-files/ , they aren't copied anywhere during
installation.

Since these files make it easier to learn how to configure the package, and
since the OpenVPN HOWTO (http://openvpn.net/howto.html) explicitly refers to
these files (and assumes that they've already been packaged and dumped somewhere
like /etc/openvpn, /usr/share/doc/openvpn-2.0, or /usr/share/openvpn), it would
benefit some users to have these files copied somewhere to the filesystem so
that they won't have to manually pull them out of the tarball.

(2) There is also an official OpenVPN HOWTO-- which is not included in the
source tarball-- that could benefit users.  Maybe a snapshot could be taken from
http://openvpn.net/howto.html and the file could be saved as, say,
/usr/share/doc/openvpn-2.0/HOWTO.html.gz .

Reproducible: Always
Steps to Reproduce:
1. emerge openvpn
2. read the official OpenVPN howto (http://openvpn.net/howto.html)
3. updatedb; then search your system for the sample files referred to in the
HOWTO (server.conf), for example.
Actual Results:  
The contents of openvpn's sample-config-files directory in the source tarball
have not been copied anywhere, such as
/usr/share/doc/openvpn-2.0/sample-config-files/,
/usr/share/openvpn/sample-config-files/, or /etc/openvpn/sample-config-files/ .

(One can still manually extract the desired files from the source tarball
/usr/portage/distfiles/openvpn-2.0.tar.gz).

Expected Results:  
It would be useful to have the contents of ./sample-config-files/ from the
source tarball copied somewhere like /usr/share/openvpn/sample-config-files/ .

It might also be useful to have the official OpenVPN HOWTO
(http://openvpn.net/howto.html) -- which is not currently in the source tarball
-- copied somewhere like /usr/share/doc/openvpn-2.0/HOWTO.html.gz .
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-31 16:02:42 UTC
Jan: "secure-tunneling" is not a proper alias
Comment 2 Roy Marples (RETIRED) gentoo-dev 2005-10-13 07:10:19 UTC
Fixed in 2.0.2-r1
Comment 3 Rodrigo Severo 2005-10-30 10:15:53 UTC
Created attachment 71745 [details, diff]
Patch to effectivelly enable the population of the examples dir.

I have just installed net-misc/openvpn-2.0.2-r3 and my
/usr/share/doc/openvpn/examples dir is empty.

Here is a patch that fixes this. Just tested it. Please apply it and leave this
bug closed ;)
Comment 4 Roy Marples (RETIRED) gentoo-dev 2005-11-02 04:40:57 UTC
Fixed in 2.0.4