Allow use of '-f' in database initialization and provide inital keyfile.

Tue, 07 Aug 2012 21:51:28 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 07 Aug 2012 21:51:28 +0200
changeset 484
66e25dea1e09
parent 483
fc03f72a209e
child 485
aa99e75f2e06

Allow use of '-f' in database initialization and provide inital keyfile.

opie/opie.spec file | annotate | diff | comparison | revisions
     1.1 --- a/opie/opie.spec	Mon Aug 06 13:35:02 2012 +0200
     1.2 +++ b/opie/opie.spec	Tue Aug 07 21:51:28 2012 +0200
     1.3 @@ -81,6 +81,7 @@
     1.4      ./configure \
     1.5          --prefix=%{l_prefix} \
     1.6          --enable-access-file=%{l_prefix}/etc/opie/opieaccess \
     1.7 +        --enable-insecure-override \
     1.8          --enable-opieauto
     1.9      %{l_make} %{l_mflags -O}
    1.10      echo "#permit 127.0.0.1 255.255.255.255" >opieaccess
    1.11 @@ -113,6 +114,8 @@
    1.12          opie.4 $RPM_BUILD_ROOT%{l_prefix}/man/man3/opie.3
    1.13      %{l_shtool} install -c -m 644 \
    1.14          opieaccess $RPM_BUILD_ROOT%{l_prefix}/etc/opie/
    1.15 +    %{l_shtool} install -c -m 600 \
    1.16 +        /dev/null $RPM_BUILD_ROOT%{l_prefix}/etc/opie/opiekeys
    1.17      %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
    1.18          %{l_files_std} \
    1.19          '%config %{l_prefix}/etc/opie/*'

mercurial