]> git.pld-linux.org Git - packages/conserver.git/commitdiff
- add some configuration files
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 17 Jul 2004 21:14:25 +0000 (21:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    conserver.spec -> 1.6

conserver.spec

index b43923c17fa004899430b32445535bd4cc3152b1..f1f3970b842b613aa36e97ff0879f49fe0497c02 100644 (file)
@@ -20,6 +20,8 @@ BuildRequires:        libwrap-devel
 BuildRequires: pam-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _sysconfdir     /etc/conserver
+
 %description
 Conserver is an application that allows multiple users to watch a
 serial console at the same time.  It can log the data, allows users
@@ -52,12 +54,18 @@ podstawow
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,logrotate.d} \
+install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,logrotate.d,conserver} \
        $RPM_BUILD_ROOT/var/log/{conserver.d,archiv/conserver.d}
+
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 mv $RPM_BUILD_ROOT%{_datadir}/examples/conserver examples
+
+install examples/conserver.cf $RPM_BUILD_ROOT%{_sysconfdir}
+touch $RPM_BUILD_ROOT%{_sysconfdir}/conserver.passwd
+touch $RPM_BUILD_ROOT%{_sysconfdir}/console.cf
+
 rm -f examples/conserver.rc
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/conserver
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/conserver
@@ -92,4 +100,6 @@ fi
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/*
 %attr(750,root,root) %dir /var/log/conserver.d
 %attr(750,root,root) %dir /var/log/archiv/conserver.d
+%dir /etc/conserver
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
 %{_mandir}/man*/*
This page took 0.069828 seconds and 4 git commands to generate.