Re: Where is ifconfig in SuSe 10.1?
- From: David Bolt <blacklist-me@xxxxxxxxxx>
- Date: Sun, 27 Aug 2006 14:27:33 +0100
On Sun, 27 Aug 2006, houghi <houghi@xxxxxxxxxxxxxxxxxx> wrote:-
David Bolt wrote:
The latter is one I had considered, except putting the symlink in
/usr/bin, but decided against it. If I need to use ifconfig as a normal
user, I just include the path.
I just run as root all the time. :-)
And you even know that's a no-no as well...
<snip>
Just in case you're wondering, yes I am having fun making lots of small,
quite superfluous packages. One example is the one making the symlink
for traceroute. And all this in the name of learning more about RPM and
building spec files.
I once was also interested in learning about this, but each and every
question I asked about examples and how to do easy packaging where answerd
by: RTFM.
In a way, I can understand. It's a way of figuring out if those that ask
the questions are actually serious about learning or not. Those that
want to learn are likely to find the answer that way, and if they still
have some questions or don't understand something, can explain just what
they have a problem with.
Another answer was that I first must become a specialist
before I could asnwer questions.
I can honestly say I'm not a specialist but can answer some questions. I
still have some questions I could do with answering but am slowly
finding the answers myself.
The st00pid thing is that when you look around openSUSE.org, you can
find examples on how to pacvkage GNOME or KDE package¹s, but when you
just want to package a script, the answer was: sorry, it is not possible
to make an example, because ther are so many thing to consider, please
first learn about RPM.
Which is completely wrong. Packaging a script is about the easiest thing
you can do. It wouldn't require a %build section, the %install section
would contain maybe a couple of lines, as would the %files section. For
a single script, you'd only require something like this:
%prep
%setup -q
%install
mkdir -p %{buildroot}/%{_bindir}
install -m755 script.sh %{buildroot}/%{_bindir}
%files
%{_bindir}/script.sh
Regards,
David Bolt
--
Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/
AMD1800 1Gb WinXP/SUSE 9.3 | AMD2400 256Mb SuSE 9.0 | A3010 4Mb RISCOS 3.11
AMD2400(32) 768Mb SUSE 10.0 | Falcon 14Mb TOS 4.02 | A4000 4Mb RISCOS 3.11
AMD2600(64) 512Mb SUSE 10.0 | | RPC600 129Mb RISCOS 3.6
.
- Follow-Ups:
- Re: Where is ifconfig in SuSe 10.1?
- From: houghi
- Re: Where is ifconfig in SuSe 10.1?
- From: David Bolt
- Re: Where is ifconfig in SuSe 10.1?
- References:
- Where is ifconfig in SuSe 10.1?
- From: Klaus Meister
- Re: Where is ifconfig in SuSe 10.1?
- From: David Bolt
- Re: Where is ifconfig in SuSe 10.1?
- From: houghi
- Re: Where is ifconfig in SuSe 10.1?
- From: David Bolt
- Re: Where is ifconfig in SuSe 10.1?
- From: houghi
- Where is ifconfig in SuSe 10.1?
- Prev by Date: twice ftp
- Next by Date: Re: Back to 10.0 for me
- Previous by thread: Re: Where is ifconfig in SuSe 10.1?
- Next by thread: Re: Where is ifconfig in SuSe 10.1?
- Index(es):
Relevant Pages
|
|