rpms/etherape/F-8 etherape.console, NONE, 1.1 etherape.pam, NONE, 1.1 etherape.spec, 1.2, 1.3

Michael Rice (errr) fedora-extras-commits at redhat.com
Sat Apr 19 14:36:03 UTC 2008


Author: errr

Update of /cvs/extras/rpms/etherape/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22711/F-8

Modified Files:
	etherape.spec 
Added Files:
	etherape.console etherape.pam 
Log Message:
etherape update package to close #442131


--- NEW FILE etherape.console ---
USER=root
PROGRAM=/usr/sbin/etherape
SESSION=true
FALLBACK=true


--- NEW FILE etherape.pam ---
#%PAM-1.0
auth		include		config-util
account		include		config-util
session		include		config-util


Index: etherape.spec
===================================================================
RCS file: /cvs/extras/rpms/etherape/F-8/etherape.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- etherape.spec	11 Apr 2007 14:20:02 -0000	1.2
+++ etherape.spec	19 Apr 2008 14:35:15 -0000	1.3
@@ -1,12 +1,14 @@
 Name:           etherape
 Version:        0.9.7 
-Release:        5%{?dist}
+Release:        8%{?dist}
 Summary:        Graphical network monitor for Unix
 
 Group:          Applications/System
 License:        GPL
 URL:            http://etherape.sourceforge.net/
 Source0:        http://umn.dl.sourceforge.net/sourceforge/etherape/%{name}-%{version}.tar.gz
+Source1:        etherape.pam
+Source2:        etherape.console
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libpcap-devel, libglade2-devel
@@ -23,13 +25,21 @@
 
 
 %build
-%configure
+%configure --bindir=%{_sbindir}
 make %{?_smp_mflags}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
+
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d
+install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/etherape
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.apps
+install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.apps/etherape
+mkdir -p $RPM_BUILD_ROOT/%{_bindir}
+ln -s consolehelper $RPM_BUILD_ROOT/%{_bindir}/etherape
+
 %find_lang %{name}
 desktop-file-install --vendor "fedora"  --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
     ${RPM_BUILD_ROOT}%{_datadir}/applications/etherape.desktop
@@ -43,11 +53,14 @@
 %defattr(-,root,root,-)
 %doc ABOUT-NLS AUTHORS ChangeLog COPYING FAQ NEWS OVERVIEW README README.bugs README.help README.thanks TODO
 
+
 %{_bindir}/etherape
+%{_sbindir}/etherape
 
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %{_sysconfdir}/%{name}/services
-
+%config(noreplace) %{_sysconfdir}/pam.d/etherape
+%config(noreplace) %{_sysconfdir}/security/console.apps/etherape
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/doc
 %dir %{_datadir}/%{name}/doc/%{name}
@@ -85,6 +98,15 @@
 
 
 %changelog
+* Sat Apr 19 2008 Michael Rice <errr at errr-online.com> - 0.9.7-8
+- fix ln -s 
+
+* Sat Apr 19 2008 Michael Rice <errr[AT]errr-online.com> - 0.9.7-7
+- Fix #442131 problems running as non root
+
+* Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.9.7-6
+- Autorebuild for GCC 4.3
+
 * Wed Apr 11 2007 Michael Rice <errr[AT]errr-online.com> - 0.9.7-5
 - Rebuild to get all matching version from FC-5 .. devel
 




More information about the fedora-extras-commits mailing list