[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-devel
Subject:    [uml-devel] tunctl
From:       William Stearns <wstearns () pobox ! com>
Date:       2002-02-28 17:30:19
[Download RAW message or body]

Good day, Jeff,
	tunctl isn't listed in the uml_utilities spec file as a tool to 
install (it's actually built, but not listed in the list of tools and 
hence never makes it into the rpm).
	I've attached a new version with the ownership and modes forced.  
The diff from the old follows my sig.  I suspect the .spec file needs to 
be rebuilt from the attached .in, but I'm not sure if this is automatic or 
not.
	Cheers,
	- Bill

---------------------------------------------------------------------------
        "Where's the kaboom, there was supposed to be
an earth-shattering kaboom!"
        -- Marvin Martian
(Courtesy of John Green <johngreen@starband.net>)
--------------------------------------------------------------------------
William Stearns (wstearns@pobox.com).  Mason, Buildkernel, named2hosts, 
and ipfwadm2ipchains are at:                http://www.pobox.com/~wstearns
LinuxMonth; articles for Linux Enthusiasts! http://www.linuxmonth.com
--------------------------------------------------------------------------


--- uml_util.spec.in.orig       Mon Jan 14 14:41:35 2002
+++ uml_util.spec.in    Thu Feb 28 12:25:18 2002
@@ -10,8 +10,8 @@
 Copyright: GPL
 Packager:  Someone
 URL:       http://user-mode-linux.sourceforge.net/index.html
-Source:    http://prdownloads.sourceforge.net/user-mode-linux/uml_utilities_%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Source:    http://prdownloads.sourceforge.net/user-mode-linux/uml_utilities_%{ver}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{ver}-root
 Group:     System
 Summary: Utilities for user-mode linux kernel
 
@@ -29,14 +29,16 @@
 make install DESTDIR=$RPM_BUILD_ROOT
 
 %files 
-%{_bindir}/uml_mconsole
-%{_bindir}/uml_moo
-%{_bindir}/uml_switch
-%{_bindir}/uml_net
-%{_bindir}/mkrootfs
-%dir %{_libdir}/uml
-%{_libdir}/uml/functions
-%{_libdir}/uml/port-helper
+%attr(755,root,root)                   %{_bindir}/jailtest
+%attr(755,root,root)                   %{_bindir}/mkrootfs
+%attr(755,root,root)                   %{_bindir}/tunctl
+%attr(755,root,root)                   %{_bindir}/uml_mconsole
+%attr(755,root,root)                   %{_bindir}/uml_moo
+%attr(4755,root,root)                  %{_bindir}/uml_net
+%attr(755,root,root)                   %{_bindir}/uml_switch
+%attr(755,root,root)           %dir    %{_libdir}/uml
+%attr(755,root,root)                   %{_libdir}/uml/functions
+%attr(755,root,root)                   %{_libdir}/uml/port-helper
 
 %clean
 


["uml_util.spec.in" (TEXT/PLAIN)]

# Generated by RPM Workshop.  v0.1

# Macro definitions
%define ver    __UMLVER__
%define rel    1

Name:      uml_utilities
Version:   %{ver}
Release:   %{rel}
Copyright: GPL
Packager:  Someone
URL:       http://user-mode-linux.sourceforge.net/index.html
Source:    http://prdownloads.sourceforge.net/user-mode-linux/uml_utilities_%{ver}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{ver}-root
Group:     System
Summary: Utilities for user-mode linux kernel

%description 
This package contains the utilities for user-mode linux for networking, COW, etc.


%prep
%setup -n tools

%build
make DESTDIR=$RPM_BUILD_ROOT

%install
make install DESTDIR=$RPM_BUILD_ROOT

%files
%attr(755,root,root)			%{_bindir}/jailtest
%attr(755,root,root)			%{_bindir}/mkrootfs
%attr(755,root,root)			%{_bindir}/tunctl
%attr(755,root,root)			%{_bindir}/uml_mconsole
%attr(755,root,root)			%{_bindir}/uml_moo
%attr(4755,root,root)			%{_bindir}/uml_net
%attr(755,root,root)			%{_bindir}/uml_switch
%attr(755,root,root)		%dir	%{_libdir}/uml
%attr(755,root,root)			%{_libdir}/uml/functions
%attr(755,root,root)			%{_libdir}/uml/port-helper

%clean


_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic