diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2010-10-20 14:58:03 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-10-20 14:58:03 +0200 |
commit | 7a80a43a1fdc15a462d27bc0494c15385c592082 (patch) | |
tree | ee3711d9ae3eb7dd1c0b691b0ef95d70db379929 | |
parent | c20a027a5cc32afd92e0e2bc73cae3c903e04a67 (diff) | |
download | eurephia-7a80a43a1fdc15a462d27bc0494c15385c592082.tar.gz eurephia-7a80a43a1fdc15a462d27bc0494c15385c592082.tar.xz eurephia-7a80a43a1fdc15a462d27bc0494c15385c592082.zip |
RPM build: Put eurephia-auth.so into the default OpenVPN plug-in directory
As eurephia-auth.so is the OpenVPN plug-in part of eurephia, it should be
located in the directory OpenVPN uses. The other .so files which are built
will stay in the designated /usr/{lib,lib64}/eurephia directory, as they are
only related to eurephia itself.
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
-rw-r--r-- | eurephia.spec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eurephia.spec b/eurephia.spec index 9c7583e..8548514 100644 --- a/eurephia.spec +++ b/eurephia.spec @@ -85,6 +85,10 @@ make VERBOSE=1 rm -rf %{buildroot} make install DESTDIR=%{buildroot} +# Move the eurephia-auth.so file to the default OpenVPN plug-in directory +mkdir -p -m 755 %{buildroot}/%{_libdir}/openvpn +mv %{buildroot}/%{_libdir}/eurephia/eurephia-auth.so %{buildroot}/%{_libdir}/openvpn/ + # These files are not installed by default, but we want to package them for Fedora/RHEL install -p -m 755 utils/eurephia_init %{buildroot}/%{_bindir} install -p -m 755 utils/eurephia_saltdecode %{buildroot}/%{_bindir} @@ -98,7 +102,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE.txt CREDITS.txt -%{_libdir}/eurephia/eurephia-auth.so +%{_libdir}/openvpn/eurephia-auth.so %{_mandir}/man7/eurephia-auth.7.gz %{_mandir}/man7/eurephia-variables.7.gz %{_libdir}/eurephia/efw-iptables.so |