[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, debian, updated. c1e71094f7c2a2b8bdc1a6e577848f593cc4292d

Jose Antonio Quevedo joseantonio.quevedo at gmail.com
Sun Aug 14 11:15:19 UTC 2011


Hi,

upstream's source code is prepared to copy etc/ossec-server.conf to
{DIR}/etc/ossec.conf and then handle it as ossec.conf.

So you are right and the next commit will restore this.

Thanks,

2011/8/14 Javier Fernandez-Sanguino <jfs at computer.org>

> Hi,
>
> Part of the change includes renaming  ossec's configuration file. Is this
> necessary? I'm not sure that ossec will read the configuration file if
> renamed.
>
> Note that, due to the symlink from /var/ossec/etc/,
> /var/ossec/etc/ossec.conf resolves to /etc/ossec/ossec.conf.
>
> Regards
>
> Javier
>
> El 13/08/2011 13:11, "Jose Antonio Quevedo" <joseantonio.quevedo at gmail.com>
> escribió:
>
>
> The following commit has been merged in the debian branch:
> commit c1e71094f7c2a2b8bdc1a6e577848f593cc4292d
> Author: Jose Antonio Quevedo <joseantonio.quevedo at gmail.com>
> Date:   Sat Aug 13 13:12:29 2011 +0200
>
>    Cleaning sources before build-server target at debian/rules.
>
> diff --git a/debian/rules b/debian/rules
> index 3b3f165..72dfd77 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -48,7 +48,7 @@ configure-local-stamp:
>  build: build-server #build-agent
>
>  # Build the server
> -build-server: configure-server build-server-stamp
> +build-server: clean-sources configure-server build-server-stamp
>  build-server-stamp:
>  # For Prelude support:
>  #      cd src && make setprelude
> @@ -100,6 +100,7 @@ install-arch: build
>        cd debian/ossec-hids-server/var/ossec && ln -s ../../etc/ossec/ etc
>        cd debian/ossec-hids-server/var/ossec && ln -s ../../var/log/ossec/
> logs
>        cd debian/ossec-hids-server/var/ossec && ln -s
> ../../etc/ossec/rules/ rules
> +
>        chmod -R 550 debian/ossec-hids-server/var/ossec
>        chmod 770 debian/ossec-hids-server/var/ossec/queue/alerts
>        chmod 770 debian/ossec-hids-server/var/ossec/queue/ossec
> @@ -122,7 +123,7 @@ install-arch: build
>        install -m 640 etc/decoder.xml debian/ossec-hids-server/etc/ossec/
>        install -m 640 etc/internal_options.conf
> debian/ossec-hids-server/etc/ossec/
>        install -m 640 src/rootcheck/db/*.txt
> debian/ossec-hids-server/etc/ossec/shared/
> -       install -m 640 etc/ossec-server.conf
>  debian/ossec-hids-server/etc/ossec/ossec.conf
> +       install -m 640 etc/ossec-server.conf
>  debian/ossec-hids-server/etc/ossec/ossec-server.conf
>        cp -pr etc/rules/* debian/ossec-hids-server/etc/ossec/rules/
>        find debian/ossec-hids-server/etc/ossec/rules/ -type f -exec chmod
> a-x {} \;
>        chmod -R ug=rX,o= debian/ossec-hids-server/etc/ossec/rules/
>
> --
> Git repository for pkg-ossec
>
> _______________________________________________
> Pkg-ossec-devel mailing list
> Pkg-ossec-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-ossec-devel
>
>


-- 
Jose Antonio Quevedo Muñoz
Key fingerprint: C88A AAFA CF91 F556 E1D5  52FC C3D7 3C5D 8224 5822
--
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ossec-devel/attachments/20110814/b15b9ba4/attachment-0001.html>


More information about the Pkg-ossec-devel mailing list