DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-08-18 21:24:24

Priet
Member
Registered: 2008-07-21
Posts: 12

Package request: logrotate

I can't find the package logrotate for the DNS-323/CH3SNAS.

Is it out there somewhere or is there anybody willing to compile it for the NAS?

It would be highly appreciated smile

Offline

 

#2 2008-08-19 00:26:57

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: Package request: logrotate

Offline

 

#3 2008-08-20 18:38:25

Priet
Member
Registered: 2008-07-21
Posts: 12

Re: Package request: logrotate

Thanks, got it working!

It's a bit more complicated then a FFP packages, but it works anyway smile

Offline

 

#4 2008-08-20 19:50:08

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: Package request: logrotate

The ipkg setup is more complicated because it's not automated, on other optware platforms, it usually involves executing one single script.
But once you have optware ipkg installed, a BIG advantage is that it manages dependency.

Offline

 

#5 2008-08-20 20:30:25

Priet
Member
Registered: 2008-07-21
Posts: 12

Re: Package request: logrotate

What's not more automated that a FFP package?

First I installed optware:

Code:

wget http://ipkg.nslu2-linux.org/feeds/optware/dns323/cross/unstable/ipkg-opt_0.99.163-10_arm.ipk
tar -xzf ipkg-opt_0.99.163-10_arm.ipk
tar -xzf data.tar.gz
mkdir -p /opt
mount --bind /mnt/HD_a2/ipkg/opt /opt
export PATH=/opt/bin:/opt/sbin:$PATH

Then some ipkg configuration. Detailed information at http://dns323.kood.org/howto:optware

And then installed logrotate:

Code:

ipkg install logrotate

Now what is that different then when it were a FFP package?

Code:

funpkg -i logrotate

Offline

 

#6 2008-08-20 23:48:09

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: Package request: logrotate

As an example,

When you "ipkg install logrotate" it will automatically install popt.
When you use funpkg, you'll need to remember to install popt.

When you "ipkg remove popt", by default it will prevent you from doing that, since this would break logrotate.
With FFP, you're on your own.

Offline

 

#7 2008-08-21 00:05:23

Priet
Member
Registered: 2008-07-21
Posts: 12

Re: Package request: logrotate

Ah, I see. Thanks for the explanation smile

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB