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 2009-07-19 15:06:46

rcblackwell
Member
From: Pickering, ON
Registered: 2008-05-19
Posts: 204
Website

Package Updates (Nut25 and ntp)

Following instruction in the message titled Request for Update on Samba Package I attempted to build updated packages for Nut25 and ntp. When ./Make.sh -F Nut25 or ./Make.sh -F ntp commands are issued the related *.tgz file is not being acquired thus I'm unable to complete a build. I've looked through some of the control files in the svn however I'm unable to determine why source files are not acquired when the ./Make.sh -F xxx command is issued.

A little insight into what I should be looking for (at) and changing would be appreciated.

Last edited by rcblackwell (2009-07-19 15:07:12)


Bob Blackwell
Pickering, ON

Offline

 

#2 2009-07-19 17:05:59

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Package Updates (Nut25 and ntp)

After changing ntp/PV to 4.2.4p7 (latest according to the website), the download works as expected:

Code:

# cat ntp/PV
4.2.4p7
# ./Make.sh -F ntp/
* ntp-4.2.4p7.tar.gz: Fetch ftp://ftp.udel.edu/pub/ntp/ntp4/ntp-4.2.4p7.tar.gz
Connecting to ftp.udel.edu (128.4.40.10:21)
ntp-4.2.4p7.tar.gz   100% |***********************************************************************************************************************************************************************|  3302k 00:00:00 ETA

Offline

 

#3 2009-07-19 22:14:28

rcblackwell
Member
From: Pickering, ON
Registered: 2008-05-19
Posts: 204
Website

Re: Package Updates (Nut25 and ntp)

fonz wrote:

After changing ntp/PV to 4.2.4p7

My mistake roll. Upon reflection I realized that I changed the version number for ntp then DLed the correct *.tgz. The problem I was having is that the build fails with an error;

Code:

........
++ sed -i.bak '/CONFIG_FILE/ s@/etc/ntp.conf@/ffp&@' include/ntp_config.h ntpdate/ntptime_config.c
sed: invalid option -- .
BusyBox v1.12.1 (2008-09-29 20:38:04 CEST) multi-call binary

Usage: sed [-efinr] pattern [files...]

Options:
    -e script    Add the script to the commands to be executed
    -f scriptfile    Add scriptfile contents to the
            commands to be executed
    -i        Edit files in-place
    -n        Suppress automatic printing of pattern space
    -r        Use extended regular expression syntax

If no -e or -f is given, the first non-option argument is taken as the sed
script to interpret. All remaining arguments are names of input files; if no
input files are specified, then the standard input is read. Source files
will not be modified unless -i option is given.

What's causing this error occur?


With respect to Nut, when I issue a ./Make.sh -F nut25/ command the required *.tgz is not DL'ed thus I'm not able to build the package. A check of the http://www.networkupstools.org/source.html]Nut Website tends to indicate the source files (*.tgz) is no longer available. Could anyone confirm this for me?


Bob Blackwell
Pickering, ON

Offline

 

#4 2009-07-19 22:36:19

rcblackwell
Member
From: Pickering, ON
Registered: 2008-05-19
Posts: 204
Website

Re: Package Updates (Nut25 and ntp)

rcblackwell wrote:

Code:

........
++ sed -i.bak '/CONFIG_FILE/ s@/etc/ntp.conf@/ffp&@' include/ntp_config.h ntpdate/ntptime_config.c
sed: invalid option -- .

What's causing this error occur?

How dumb can I get roll roll ! It would help to have SED installed. I've no idea how I missed this when setting up the build environment! SED is now installed and ntp is building as I type this message.

Still can't get the source files for nut25 to DL.

Last edited by rcblackwell (2009-07-19 22:37:16)


Bob Blackwell
Pickering, ON

Offline

 

#5 2009-07-19 23:01:28

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Package Updates (Nut25 and ntp)

nut 2.5 isn't released yet. I manually downloaded the subversion repository to my distfiles directory. Putting just 'nut' into nut/A will copy the existing directory. Make -F won't work here.

Offline

 

#6 2009-07-20 02:54:09

rcblackwell
Member
From: Pickering, ON
Registered: 2008-05-19
Posts: 204
Website

Re: Package Updates (Nut25 and ntp)

fonz wrote:

nut 2.5 isn't released yet. I manually downloaded the subversion repository to my distfiles directory. Putting just 'nut' into nut/A will copy the existing directory. Make -F won't work here.

Thank you for the insight.

Appropriate files DL'ed, built and installed.

With appreciation


Bob Blackwell
Pickering, ON

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB