From b92fe413f29584db8160f421c481767ad352d6cf Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 15 Oct 2011 16:52:07 +0200 Subject: noip dans extra --- base/noip/.footprint.i686 | 22 ---------------------- base/noip/.footprint.x86_64 | 22 ---------------------- base/noip/.md5sum.i686 | 2 -- base/noip/.md5sum.x86_64 | 2 -- base/noip/Pkgfile | 33 --------------------------------- base/noip/noip | 21 --------------------- extra/noip/.footprint.i686 | 22 ++++++++++++++++++++++ extra/noip/.footprint.x86_64 | 22 ++++++++++++++++++++++ extra/noip/.md5sum.i686 | 2 ++ extra/noip/.md5sum.x86_64 | 2 ++ extra/noip/Pkgfile | 33 +++++++++++++++++++++++++++++++++ extra/noip/noip | 21 +++++++++++++++++++++ 12 files changed, 102 insertions(+), 102 deletions(-) delete mode 100644 base/noip/.footprint.i686 delete mode 100644 base/noip/.footprint.x86_64 delete mode 100644 base/noip/.md5sum.i686 delete mode 100644 base/noip/.md5sum.x86_64 delete mode 100644 base/noip/Pkgfile delete mode 100755 base/noip/noip create mode 100644 extra/noip/.footprint.i686 create mode 100644 extra/noip/.footprint.x86_64 create mode 100644 extra/noip/.md5sum.i686 create mode 100644 extra/noip/.md5sum.x86_64 create mode 100644 extra/noip/Pkgfile create mode 100755 extra/noip/noip diff --git a/base/noip/.footprint.i686 b/base/noip/.footprint.i686 deleted file mode 100644 index 86e4768a3..000000000 --- a/base/noip/.footprint.i686 +++ /dev/null @@ -1,22 +0,0 @@ -drwxr-xr-x root/root etc/ -drwxr-xr-x root/root etc/noip/ --rw-r--r-- root/root etc/noip/no-ip2.conf (EMPTY) -drwxr-xr-x root/root etc/rc.d/ -drwxr-xr-x root/root etc/rc.d/init.d/ --rwxr-xr-x root/root etc/rc.d/init.d/noip -drwxr-xr-x root/root etc/rc.d/rc0.d/ -lrwxrwxrwx root/root etc/rc.d/rc0.d/K05noip -> ../init.d/noip -drwxr-xr-x root/root etc/rc.d/rc1.d/ -lrwxrwxrwx root/root etc/rc.d/rc1.d/K05noip -> ../init.d/noip -drwxr-xr-x root/root etc/rc.d/rc2.d/ -drwxr-xr-x root/root etc/rc.d/rc3.d/ -lrwxrwxrwx root/root etc/rc.d/rc3.d/S50noip -> ../init.d/noip -drwxr-xr-x root/root etc/rc.d/rc4.d/ -lrwxrwxrwx root/root etc/rc.d/rc4.d/S50noip -> ../init.d/noip -drwxr-xr-x root/root etc/rc.d/rc5.d/ -lrwxrwxrwx root/root etc/rc.d/rc5.d/S50noip -> ../init.d/noip -drwxr-xr-x root/root etc/rc.d/rc6.d/ -lrwxrwxrwx root/root etc/rc.d/rc6.d/K05noip -> ../init.d/noip -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/bin/ --rwxr-xr-x root/root usr/bin/noip2 diff --git a/base/noip/.footprint.x86_64 b/base/noip/.footprint.x86_64 deleted file mode 100644 index 86e4768a3..000000000 --- a/base/noip/.footprint.x86_64 +++ /dev/null @@ -1,22 +0,0 @@ -drwxr-xr-x root/root etc/ -drwxr-xr-x root/root etc/noip/ --rw-r--r-- root/root etc/noip/no-ip2.conf (EMPTY) -drwxr-xr-x root/root etc/rc.d/ -drwxr-xr-x root/root etc/rc.d/init.d/ --rwxr-xr-x root/root etc/rc.d/init.d/noip -drwxr-xr-x root/root etc/rc.d/rc0.d/ -lrwxrwxrwx root/root etc/rc.d/rc0.d/K05noip -> ../init.d/noip -drwxr-xr-x root/root etc/rc.d/rc1.d/ -lrwxrwxrwx root/root etc/rc.d/rc1.d/K05noip -> ../init.d/noip -drwxr-xr-x root/root etc/rc.d/rc2.d/ -drwxr-xr-x root/root etc/rc.d/rc3.d/ -lrwxrwxrwx root/root etc/rc.d/rc3.d/S50noip -> ../init.d/noip -drwxr-xr-x root/root etc/rc.d/rc4.d/ -lrwxrwxrwx root/root etc/rc.d/rc4.d/S50noip -> ../init.d/noip -drwxr-xr-x root/root etc/rc.d/rc5.d/ -lrwxrwxrwx root/root etc/rc.d/rc5.d/S50noip -> ../init.d/noip -drwxr-xr-x root/root etc/rc.d/rc6.d/ -lrwxrwxrwx root/root etc/rc.d/rc6.d/K05noip -> ../init.d/noip -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/bin/ --rwxr-xr-x root/root usr/bin/noip2 diff --git a/base/noip/.md5sum.i686 b/base/noip/.md5sum.i686 deleted file mode 100644 index 9e1affdf5..000000000 --- a/base/noip/.md5sum.i686 +++ /dev/null @@ -1,2 +0,0 @@ -98937b041307821ac7f8b574ca7ae7d2 noip -3b0f5f2ff8637c73ab337be403252a60 noip-duc-linux.tar.gz diff --git a/base/noip/.md5sum.x86_64 b/base/noip/.md5sum.x86_64 deleted file mode 100644 index 9e1affdf5..000000000 --- a/base/noip/.md5sum.x86_64 +++ /dev/null @@ -1,2 +0,0 @@ -98937b041307821ac7f8b574ca7ae7d2 noip -3b0f5f2ff8637c73ab337be403252a60 noip-duc-linux.tar.gz diff --git a/base/noip/Pkgfile b/base/noip/Pkgfile deleted file mode 100644 index 66ad7bb23..000000000 --- a/base/noip/Pkgfile +++ /dev/null @@ -1,33 +0,0 @@ -# Description: noip Dynamic Update client -# URL: http://ww.no-ip.com/ -# Maintainer: NuTyX coreteam -# Packager: thierryn1 at hispeed dot ch - -name=noip -version=2.1.9 -release=1 -source=("http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz"\ - noip) - -build() -{ - cd $name-$version-$release - sed -i 's/PREFIX=\//PREFIX=/' Makefile - make - install -d $PKG/usr/bin - install -d $PKG/etc/noip - touch $PKG/etc/noip/no-ip2.conf - cp noip2 $PKG/usr/bin/ - install -D -m755 ../noip $PKG/etc/rc.d/init.d/noip - for i in 0 1 2 3 4 5 6 - do mkdir -p $PKG/etc/rc.d/rc$i.d - done - for i in 0 1 6 - do ln -sv ../init.d/noip $PKG/etc/rc.d/rc$i.d/K05noip - done - for i in 3 4 5 - do ln -sv ../init.d/noip $PKG/etc/rc.d/rc$i.d/S50noip - done - -# make DESTDIR=$PKG install -} diff --git a/base/noip/noip b/base/noip/noip deleted file mode 100755 index e7fb814c5..000000000 --- a/base/noip/noip +++ /dev/null @@ -1,21 +0,0 @@ -################################################## -#! /bin/sh -# . /etc/rc.d/init.d/functions # uncomment/modify for your killproc -case "$1" in - - start) - - echo "Starting noip2." - # /usr/local/bin/noip2 -d -U 2 - /usr/bin/noip2 -F -c /etc/noip/no-ip2.conf -d >> /var/log/noip.log 2>&1 - ;; - stop) - - echo "Shutting down noip2." - /usr/bin/killall -TERM /usr/bin/noip2 - ;; - *) - echo "Usage: $0 {start|stop}" - exit 1 -esac -exit 0 diff --git a/extra/noip/.footprint.i686 b/extra/noip/.footprint.i686 new file mode 100644 index 000000000..86e4768a3 --- /dev/null +++ b/extra/noip/.footprint.i686 @@ -0,0 +1,22 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/noip/ +-rw-r--r-- root/root etc/noip/no-ip2.conf (EMPTY) +drwxr-xr-x root/root etc/rc.d/ +drwxr-xr-x root/root etc/rc.d/init.d/ +-rwxr-xr-x root/root etc/rc.d/init.d/noip +drwxr-xr-x root/root etc/rc.d/rc0.d/ +lrwxrwxrwx root/root etc/rc.d/rc0.d/K05noip -> ../init.d/noip +drwxr-xr-x root/root etc/rc.d/rc1.d/ +lrwxrwxrwx root/root etc/rc.d/rc1.d/K05noip -> ../init.d/noip +drwxr-xr-x root/root etc/rc.d/rc2.d/ +drwxr-xr-x root/root etc/rc.d/rc3.d/ +lrwxrwxrwx root/root etc/rc.d/rc3.d/S50noip -> ../init.d/noip +drwxr-xr-x root/root etc/rc.d/rc4.d/ +lrwxrwxrwx root/root etc/rc.d/rc4.d/S50noip -> ../init.d/noip +drwxr-xr-x root/root etc/rc.d/rc5.d/ +lrwxrwxrwx root/root etc/rc.d/rc5.d/S50noip -> ../init.d/noip +drwxr-xr-x root/root etc/rc.d/rc6.d/ +lrwxrwxrwx root/root etc/rc.d/rc6.d/K05noip -> ../init.d/noip +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/noip2 diff --git a/extra/noip/.footprint.x86_64 b/extra/noip/.footprint.x86_64 new file mode 100644 index 000000000..86e4768a3 --- /dev/null +++ b/extra/noip/.footprint.x86_64 @@ -0,0 +1,22 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/noip/ +-rw-r--r-- root/root etc/noip/no-ip2.conf (EMPTY) +drwxr-xr-x root/root etc/rc.d/ +drwxr-xr-x root/root etc/rc.d/init.d/ +-rwxr-xr-x root/root etc/rc.d/init.d/noip +drwxr-xr-x root/root etc/rc.d/rc0.d/ +lrwxrwxrwx root/root etc/rc.d/rc0.d/K05noip -> ../init.d/noip +drwxr-xr-x root/root etc/rc.d/rc1.d/ +lrwxrwxrwx root/root etc/rc.d/rc1.d/K05noip -> ../init.d/noip +drwxr-xr-x root/root etc/rc.d/rc2.d/ +drwxr-xr-x root/root etc/rc.d/rc3.d/ +lrwxrwxrwx root/root etc/rc.d/rc3.d/S50noip -> ../init.d/noip +drwxr-xr-x root/root etc/rc.d/rc4.d/ +lrwxrwxrwx root/root etc/rc.d/rc4.d/S50noip -> ../init.d/noip +drwxr-xr-x root/root etc/rc.d/rc5.d/ +lrwxrwxrwx root/root etc/rc.d/rc5.d/S50noip -> ../init.d/noip +drwxr-xr-x root/root etc/rc.d/rc6.d/ +lrwxrwxrwx root/root etc/rc.d/rc6.d/K05noip -> ../init.d/noip +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/noip2 diff --git a/extra/noip/.md5sum.i686 b/extra/noip/.md5sum.i686 new file mode 100644 index 000000000..9e1affdf5 --- /dev/null +++ b/extra/noip/.md5sum.i686 @@ -0,0 +1,2 @@ +98937b041307821ac7f8b574ca7ae7d2 noip +3b0f5f2ff8637c73ab337be403252a60 noip-duc-linux.tar.gz diff --git a/extra/noip/.md5sum.x86_64 b/extra/noip/.md5sum.x86_64 new file mode 100644 index 000000000..9e1affdf5 --- /dev/null +++ b/extra/noip/.md5sum.x86_64 @@ -0,0 +1,2 @@ +98937b041307821ac7f8b574ca7ae7d2 noip +3b0f5f2ff8637c73ab337be403252a60 noip-duc-linux.tar.gz diff --git a/extra/noip/Pkgfile b/extra/noip/Pkgfile new file mode 100644 index 000000000..66ad7bb23 --- /dev/null +++ b/extra/noip/Pkgfile @@ -0,0 +1,33 @@ +# Description: noip Dynamic Update client +# URL: http://ww.no-ip.com/ +# Maintainer: NuTyX coreteam +# Packager: thierryn1 at hispeed dot ch + +name=noip +version=2.1.9 +release=1 +source=("http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz"\ + noip) + +build() +{ + cd $name-$version-$release + sed -i 's/PREFIX=\//PREFIX=/' Makefile + make + install -d $PKG/usr/bin + install -d $PKG/etc/noip + touch $PKG/etc/noip/no-ip2.conf + cp noip2 $PKG/usr/bin/ + install -D -m755 ../noip $PKG/etc/rc.d/init.d/noip + for i in 0 1 2 3 4 5 6 + do mkdir -p $PKG/etc/rc.d/rc$i.d + done + for i in 0 1 6 + do ln -sv ../init.d/noip $PKG/etc/rc.d/rc$i.d/K05noip + done + for i in 3 4 5 + do ln -sv ../init.d/noip $PKG/etc/rc.d/rc$i.d/S50noip + done + +# make DESTDIR=$PKG install +} diff --git a/extra/noip/noip b/extra/noip/noip new file mode 100755 index 000000000..e7fb814c5 --- /dev/null +++ b/extra/noip/noip @@ -0,0 +1,21 @@ +################################################## +#! /bin/sh +# . /etc/rc.d/init.d/functions # uncomment/modify for your killproc +case "$1" in + + start) + + echo "Starting noip2." + # /usr/local/bin/noip2 -d -U 2 + /usr/bin/noip2 -F -c /etc/noip/no-ip2.conf -d >> /var/log/noip.log 2>&1 + ;; + stop) + + echo "Shutting down noip2." + /usr/bin/killall -TERM /usr/bin/noip2 + ;; + *) + echo "Usage: $0 {start|stop}" + exit 1 +esac +exit 0 -- cgit v1.2.3-70-g09d2