Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/net
In directory vz-cvs-3.sog:/tmp/cvs-serv31888
Added Files:
ddclient.info ddclient.patch
Log Message:
sync. w/ 10.!4/stable, validated on powerpc-darwin8
--- NEW FILE: ddclient.info ---
Package: ddclient
Version: 3.6.6
Revision: 1
Description: Automatically updates dynamic DNS services
License: GPL
Maintainer: Dave Vasilevsky <[email protected]>
BuildDepends: fink (>= 0.24.12)
Depends: daemonic
Source: mirror:sourceforge:%n/%n-%v.tar.bz2
Source-MD5: 5fd0f82446fbed857c841a4deb83cdb9
PatchFile: %n.patch
PatchFile-MD5: bd7690a5d50adcb04dfcfcbe35193bb5
PatchScript: sed -e 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
CompileScript: echo "No compile needed."
InstallScript: <<
mkdir -p -m 755 %i/sbin
install -m 755 ddclient %i/sbin
mkdir -p -m 755 %i/etc/ddclient
install -m 600 sample-etc_ddclient.conf %i/etc/ddclient/ddclient.conf
touch ddclient.cache
install -m 644 ddclient.cache %i/etc/ddclient
<<
DocFiles: README* COPY*
DescPackaging: <<
Moving conffiles, used system from
http://lists.debian.org/debian-devel/2000/10/msg00494.html
<<
PreInstScript: <<
if dpkg --compare-versions "$2" lt "3.6.6"; then
if [ -f %p/etc/ddclient.conf -a ! -e
%p/etc/ddclient/ddclient.conf ]; then
echo "Note: Moving ddclient configuration file
%p/etc/ddclient.conf to %p/etc/ddclient/ddclient.conf"
mkdir -p %p/etc/ddclient
mv %p/etc/ddclient.conf %p/etc/ddclient/ddclient.conf
touch %p/etc/ddclient.conf.moved-by-preinst
fi
if [ -f %p/etc/ddclient.cache -a ! -e
%p/etc/ddclient/ddclient.cache ]; then
echo "Note: Moving ddclient configuration file
%p/etc/ddclient.cache to %p/etc/ddclient/ddclient.cache"
mkdir -p %p/etc/ddclient
mv %p/etc/ddclient.cache %p/etc/ddclient/ddclient.cache
touch %p/etc/ddclient.cache.moved-by-preinst
fi
fi
<<
PostInstScript: <<
rm -f %p/etc/ddclient.conf.moved-by-preinst
rm -f %p/etc/ddclient.cache.moved-by-preinst
if [ "$1" = "configure" ]; then
echo "To use ddclient, edit %p/etc/ddclient/ddclient.conf as
root."
echo "Then run \`daemonic enable ddclient' to activate."
fi
<<
PostRmScript: <<
cleanup () {
if [ -e %p/etc/ddclient.conf.moved-by-preinst -a -f
%p/etc/ddclient/ddclient.conf -a ! -e %p/etc/ddclient.conf ]; then
mv %p/etc/ddclient/ddclient.conf %p/etc/ddclient.conf
rm %p/etc/ddclient.conf.moved-by-preinst
fi;
if [ -e %p/etc/ddclient.cache.moved-by-preinst -a -f
%p/etc/ddclient/ddclient.cache -a ! -e %p/etc/ddclient.cache ]; then
mv %p/etc/ddclient/ddclient.cache %p/etc/ddclient.cache
rm %p/etc/ddclient.cache.moved-by-preinst
fi;
}
case "$1" in
abort-install|abort-upgrade)
cleanup
exit 0
;;
esac
<<
PreRmScript: daemonic remove ddclient
ConfFiles: %p/etc/ddclient/ddclient.conf %p/etc/ddclient/ddclient.cache
DaemonicFile: <<
<service>
<description>ddclient</description>
<message>ddclient dynamic DNS updater</message>
<daemon name="ddclient">
<executable background="false">%p/sbin/ddclient</executable>
<configfile>%p/etc/ddclient/ddclient.conf</configfile>
</daemon>
</service>
<<
DaemonicName: ddclient
Homepage: http://ddclient.sourceforge.net/
--- NEW FILE: ddclient.patch ---
diff -Naur ddclient-3.6.6/ddclient ddclient-new/ddclient
--- ddclient-3.6.6/ddclient Sun Mar 20 06:01:23 2005
+++ ddclient-new/ddclient Tue Apr 26 14:39:18 2005
@@ -22,7 +22,7 @@
$program =~ s/d$//;
my $now = time;
my $hostname = hostname();
-my $etc = ($program =~ /test/i) ? './' : '/etc/ddclient/';
+my $etc = ($program =~ /test/i) ? './' : '@PREFIX@/etc/ddclient/';
my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/';
my $msgs = '';
my $last_msgs = '';
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs