Update of /cvsroot/fink/experimental/thesin/finkinfo/net
In directory sc8-pr-cvs1:/tmp/cvs-serv8478
Added Files:
noip-1.6-4.info noip-1.6-4.patch
Removed Files:
noip-1.6-3.info noip-1.6-3.patch
Log Message:
fixed interactions, and descusage until debconf works properly
--- NEW FILE: noip-1.6-4.info ---
Package: noip
Version: 1.6
Revision: 4
###
Depends: daemonic
###
Source: http://www.no-ip.com/client/linux/%n_updater_v%v.tar.gz
Source-MD5: 6503e2e7d8ea35c304744a318b400a09
###
PatchScript: <<
sed -e s,@FINKPREFIX@,%p, %a/%f.patch | patch -p1
<<
###
DocFiles: COPYING README.FIRST
ConfFiles: %p/etc/no-ip.conf
###
CompileScript: make
InstallScript: <<
mkdir -p %i/bin
install -m 755 noip %i/bin
mkdir -p %i/etc
install -m 644 no-ip.conf.sample %i/etc/no-ip.conf
mkdir -p %i/share/noip
install -m 755 no-ip.sh %i/share/noip
<<
###
PostInstScript: <<
# update init script if necessary
daemonic update %n
<<
###
PreRmScript: <<
# clean up
[ -f %p/var/run/%n.pid ] && kill `cat %p/var/run/%n.pid`
if [ $1 != "upgrade" ]; then
daemonic remove %n
fi
<<
DaemonicName: noip
DaemonicFile: <<
<service>
<description>No-IP.com Updater Daemon</description>
<message>No-IP.com Updater Daemon</message>
<daemon name="noip">
<executable background="yes">%p/bin/noip</executable>
<!-- the daemon will background itself, but may take a while
to start up to the point where it does so -->
<pidfile>%p/var/run/noip.pid</pidfile>
</daemon>
</service>
<<
###
Description: Client for the no-ip.com dynamic DNS service
DescDetail: <<
Client for the no-ip.com dynamic DNS service
<<
DescUsage: <<
Run %p/share/noip/no-ip.sh to configure noip and then enable it into the
OSX startuplist "sudo daemonic enable noip".
<<
###
License: GPL
Maintainer: Justin F. Hallett <[EMAIL PROTECTED]>
Homepage: http://www.no-ip.com/
--- NEW FILE: noip-1.6-4.patch ---
diff -ruN noip_updater_v1.6.orig/Makefile noip_updater_v1.6/Makefile
--- noip_updater_v1.6.orig/Makefile 2001-10-10 17:35:12.000000000 -0600
+++ noip_updater_v1.6/Makefile 2003-01-12 21:01:59.000000000 -0700
@@ -4,7 +4,7 @@
# these defines are for linux and BSD
LIBS=
-ARCH=linux
+ARCH=DARWIN
# for solaris, uncomment the next two lines
# LIBS=-lsocket -lnsl
diff -ruN noip_updater_v1.6.orig/no-ip.sh noip_updater_v1.6/no-ip.sh
--- noip_updater_v1.6.orig/no-ip.sh 2001-10-10 17:35:12.000000000 -0600
+++ noip_updater_v1.6/no-ip.sh 2003-01-12 21:03:32.000000000 -0700
@@ -89,7 +89,7 @@
#
if [ "$NAT" = "N" ]
then
- devs=`tail +3 /proc/net/dev | awk -F: '{print $1}' | tr -d ' '|tr '\n' ' '`
+ devs=`ifconfig -a | egrep "^\w*:" | awk -F: '{print $1}' | tr -d ' ' | tr '\n' '
+'`
DEV=foo
while [ "$DEV" = "foo" ]
do
diff -ruN noip_updater_v1.6.orig/noip.c noip_updater_v1.6/noip.c
--- noip_updater_v1.6.orig/noip.c 2001-10-10 17:48:12.000000000 -0600
+++ noip_updater_v1.6/noip.c 2003-01-12 21:01:59.000000000 -0700
@@ -84,7 +84,7 @@
#include <sys/sockio.h>
#endif
-#define DEBUG
+/* #define DEBUG */
#define READ_TIMEOUT 90
#define WRITE_TIMEOUT 60
@@ -95,8 +95,8 @@
#define OURBUFLEN 8192
#define IPLEN 16
#define SAVEDIPFILE "/tmp/no-ip_save"
-#define CONFIG_FILENAME "/usr/local/lib/no-ip.conf"
-#define CONFIG_FILENAME_ETC "/usr/local/etc/no-ip.conf"
+#define CONFIG_FILENAME "@FINKPREFIX@/lib/no-ip.conf"
+#define CONFIG_FILENAME_ETC "@FINKPREFIX@/etc/no-ip.conf"
#define CONFIGNUM 10
#define CONFSTRLEN 1024
#define NUMBER 2
@@ -156,7 +156,7 @@
char *noipname = "dynupdate.no-ip.com";
char *program = "noip";
char *version = "1.6.0";
-char *os = "Linux";
+char *os = "Darwin";
char error_filename[20] = "/tmp/NO-IPXXXXXX";
char *config_filename = NULL;
char IPaddress[IPLEN];
--- noip-1.6-3.info DELETED ---
--- noip-1.6-3.patch DELETED ---
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits