ddclient: initial commit

This commit is contained in:
Mikhail Kolesnik 2007-11-14 15:11:48 +02:00
parent 550cb36843
commit 3bdd8c25f6
4 changed files with 59 additions and 0 deletions

10
ddclient/.footprint Normal file
View File

@ -0,0 +1,10 @@
drwxr-xr-x root/root etc/
-rw------- root/root etc/ddclient.conf
drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/ddclient
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/ddclient
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/cache/
drwxr-xr-x root/root var/cache/ddclient/

2
ddclient/.md5sum Normal file
View File

@ -0,0 +1,2 @@
7603ca8c8facb44fd85f8174add4139a ddclient
f6a55bc68cf73ffe7e80d2fa5cd44f85 ddclient-3.7.3.tar.bz2

21
ddclient/Pkgfile Normal file
View File

@ -0,0 +1,21 @@
# Description: Utility for maintaining your dynamic DNS entries
# URL: http://ddclient.sf.net
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
# Packager: Jay Dolan, jdolan at jdolan dot dyndns dot org
# Depends on: p5-io-socket-ssl
name=ddclient
version=3.7.3
release=1
source=(http://dl.sf.net/$name/$name-$version.tar.bz2 ddclient)
build(){
cd $name-$version
install -d $PKG/usr/sbin
install ddclient $PKG/usr/sbin/
sed -i "s|/etc/ddclient/|/etc/|" $PKG/usr/sbin/ddclient
install -d $PKG/etc/rc.d
install -d $PKG/var/cache/ddclient
install ../ddclient $PKG/etc/rc.d/ddclient
install -m 600 sample-etc_ddclient.conf $PKG/etc/ddclient.conf
}

26
ddclient/ddclient Normal file
View File

@ -0,0 +1,26 @@
#!/bin/sh
#
# /etc/rc.d/ddclient Start or stop dynamic DNS service
#
export COLUMNS=9999
case "$1" in
start)
/usr/sbin/ddclient -syslog -daemon 0
;;
stop)
killall -q ddclient
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: ddclient start|stop|restart"
exit 1
esac
exit 0
#End of file