Re: NEW: net/opendd - A small DynDNS client

2010-01-08 Thread Stephan Tesch
Stuart Henderson schrieb:

Guys,

First: thanks for the constructive input!
 opendd already has the code for this, so you should just need an
 @newuser entry in PLIST (pick the next id along from a freshly updated
 /usr/ports/infrastructure/db/user.list) and change the sample
 config file to use it.
   
OK, did that and picked the 648 for user/group _opendd.
 that's the CA certificate used to verify the dyndns *server's*
 certificate, I don't think that's a problem. I think it should be
 @sample'd alongside opendd.conf though.
   
I've chosen not to install it by default but point to it in MESSAGE.
  * Get it to listen to CC and CFLAGS.
 

 there's hardcoded /etc in the source, README and sample config which
 should be patched to use ${SYSCONFDIR} instead, and then do something
 like 'cd ${WRKSRC}; ${SUBST_CMD} globals.h README opendd.conf' in
 the pre-configure target. Just change the /etc/opendd* ones, the
 /etc/ppp/ppp.linkup in README should stay as it is.
   
The hardcoded paths in globals.h and opendd.conf have been patched
(pre-configure). I don't think README should be patched, this will make
the Makefile look like mess and doesn't give a huge benefit. The
configuration file itself is quite well documented, and the README
contains mostly hints on how to compile and install the program which
the port solves anyway.

I'm also about to write an manpage for this thing. Since I've never done
that before and it will go upstream, this could take a good while. Might
be a good candidate for version 0.8.0, but that's up to the author.

Regards,
Stephan


opendd.tar.gz
Description: application/gzip


Re: NEW: net/opendd - A small DynDNS client

2010-01-08 Thread Stephan Tesch
Damn it, got a typo in the Makefile. New tarball attached...


opendd.tar.gz
Description: application/gzip


Re: NEW: net/opendd - A small DynDNS client

2010-01-08 Thread Edd Barrett
On Fri, Jan 08, 2010 at 11:44:48AM +0100, Stephan Tesch wrote:
  opendd already has the code for this, so you should just need an
  @newuser entry in PLIST (pick the next id along from a freshly updated
  /usr/ports/infrastructure/db/user.list) and change the sample
  config file to use it.

 OK, did that and picked the 648 for user/group _opendd.

Look out, the games/pvpgn port just submitted is also using this ID!

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



Re: NEW: net/opendd - A small DynDNS client

2010-01-08 Thread Stephan Tesch
Edd Barrett schrieb:

Hello Edd,
 On Fri, Jan 08, 2010 at 11:44:48AM +0100, Stephan Tesch wrote:
   
 opendd already has the code for this, so you should just need an
 @newuser entry in PLIST (pick the next id along from a freshly updated
 /usr/ports/infrastructure/db/user.list) and change the sample
 config file to use it.
   
   
 OK, did that and picked the 648 for user/group _opendd.
 

 Look out, the games/pvpgn port just submitted is also using this ID!
   
Thanks for the hint. I bumped the uid/gid to 649. Ready to commit?

Regards,
Stephan


opendd.tar.gz
Description: application/gzip


Re: NEW: net/opendd - A small DynDNS client

2010-01-08 Thread J.C. Roberts
On Fri, 08 Jan 2010 11:44:48 +0100 Stephan Tesch step...@tesch.cx
wrote:

 Guys,
 
 First: thanks for the constructive input!
  opendd already has the code for this, so you should just need an
  @newuser entry in PLIST (pick the next id along from a freshly
  updated /usr/ports/infrastructure/db/user.list) and change the
  sample config file to use it.

 OK, did that and picked the 648 for user/group _opendd.


You should use 649

Abel Abraham Camarillo Ojeda acam...@the00z.org just used 648
See: 
Subject: Re: [NEW] games/pvpgn-1.8.5.tgz
Message-ID: 4b46fbc9.liprnunyirh9d3jm%acam...@the00z.org


One of the two of you will need to change to prevent a conflict.


-jcr



Re: NEW: net/opendd - A small DynDNS client

2010-01-07 Thread Stephan Tesch
Edd Barrett schrieb:

Hello Edd,
 On Tue, Jan 05, 2010 at 02:15:41PM +0100, Stephan Tesch wrote:
   
 Hello everyone,

 Attached is a port for OpenDD, a small DynDNS client that doesn't rely
 on perl or python and thus works beautiful for small installations (eg.
 flashboot). This is basically the same as the port from Bruno Bigas from
 2006, updated to the new version.

 Comments welcome!
 

 Works sparc64.

 Can you fmt -72 your DESCR file.

 Other than that, I am OK with this.

 PS.
 You should ask the author to make a man page.
   
Thanks for the reply, I updated the port based on your suggestion.

I got a couple of positive replies for that port and also tested the
mail part with OpenSMTPd (works, of course). Could someone commit this
to the ports tree?

Regards,
Stephan


opendd.tar.gz
Description: application/gzip


Re: NEW: net/opendd - A small DynDNS client

2010-01-07 Thread Edd Barrett
Hi,

On Thu, Jan 07, 2010 at 03:54:10PM +0100, Stephan Tesch wrote:
 Thanks for the reply, I updated the port based on your suggestion.
 
 I got a couple of positive replies for that port and also tested the
 mail part with OpenSMTPd (works, of course). Could someone commit this
 to the ports tree?

Here are some further comments from various porters:

 * Install a sample config file (see @sample in pkg_create).
 * Create a user for this to run as (and drop permissions to this user when run
   as root). See the ziproxy port for an example of this.
 * That certificate that it installs. Is it real or an example. Can you remove
   it from the default config. That could be scary.
 * Get it to listen to CC and CFLAGS.

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



Re: NEW: net/opendd - A small DynDNS client

2010-01-07 Thread Stuart Henderson
On 2010/01/07 15:41, Edd Barrett wrote:
 Hi,
 
 On Thu, Jan 07, 2010 at 03:54:10PM +0100, Stephan Tesch wrote:
  Thanks for the reply, I updated the port based on your suggestion.
  
  I got a couple of positive replies for that port and also tested the
  mail part with OpenSMTPd (works, of course). Could someone commit this
  to the ports tree?
 
 Here are some further comments from various porters:
 
  * Install a sample config file (see @sample in pkg_create).
  * Create a user for this to run as (and drop permissions to this user when 
 run
as root). See the ziproxy port for an example of this.

opendd already has the code for this, so you should just need an
@newuser entry in PLIST (pick the next id along from a freshly updated
/usr/ports/infrastructure/db/user.list) and change the sample
config file to use it.

  * That certificate that it installs. Is it real or an example. Can you remove
it from the default config. That could be scary.

that's the CA certificate used to verify the dyndns *server's*
certificate, I don't think that's a problem. I think it should be
@sample'd alongside opendd.conf though.

  * Get it to listen to CC and CFLAGS.

there's hardcoded /etc in the source, README and sample config which
should be patched to use ${SYSCONFDIR} instead, and then do something
like 'cd ${WRKSRC}; ${SUBST_CMD} globals.h README opendd.conf' in
the pre-configure target. Just change the /etc/opendd* ones, the
/etc/ppp/ppp.linkup in README should stay as it is.



Re: NEW: net/opendd - A small DynDNS client

2010-01-05 Thread Edd Barrett
On Tue, Jan 05, 2010 at 02:15:41PM +0100, Stephan Tesch wrote:
 Hello everyone,
 
 Attached is a port for OpenDD, a small DynDNS client that doesn't rely
 on perl or python and thus works beautiful for small installations (eg.
 flashboot). This is basically the same as the port from Bruno Bigas from
 2006, updated to the new version.
 
 Comments welcome!

Works sparc64.

Can you fmt -72 your DESCR file.

Other than that, I am OK with this.

PS.
You should ask the author to make a man page.

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk