rpms/inadyn-mt/devel import.log, NONE, 1.1 inadyn-mt.spec, NONE, 1.1 inadyn.conf, NONE, 1.1 inadyn.init, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jochen Schmitt (s4504kr) fedora-extras-commits at redhat.com
Wed Jul 30 17:02:38 UTC 2008


Author: s4504kr

Update of /cvs/extras/rpms/inadyn-mt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21232/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log inadyn-mt.spec inadyn.conf inadyn.init 
Log Message:

Initional import



--- NEW FILE import.log ---
inadyn-mt-2_12_24-1_fc9:HEAD:inadyn-mt-2.12.24-1.fc9.src.rpm:1217437280


--- NEW FILE inadyn-mt.spec ---

Name:           inadyn-mt

Version:        2.12.24
Release: 	1%{?dist}

Summary:        Dynamic DNS Client

Group:          System Environment/Daemons
License:        GPLv3
URL:            http://inadyn-mt.sourceforge.net
Source0:        http://prdownloads.sourceforge.net/inadyn-mt/inadyn-mt.v.0%{version}.tar.gz
Source1:        inadyn.conf
Source2:        inadyn.init
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires(post):  /sbin/chkconfig
Requires(post):  /sbin/service
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service

Obsoletes: 	 inadyn < %{version}
Provides:  	 inadyn = %{version}-%{release}

%description
INADYN-MT is a dynamic DNS client. It maintains the IP address of 
a host name. It periodically checks wheather the IP address stored
by the DSN server is the real current address of the machine that
is running INADYN-MT.

Before using inadyn-mt for the first time you must use the DynDNS
provider's web interface to create the entry for the hostname. You
should then fill in /etc/inadyn.conf with the appropriate detail

%prep
%setup -q -n %name

%build
rm -rf bin/
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT%{_sbindir}
install -m 0755 bin/linux/inadyn-mt $RPM_BUILD_ROOT%{_sbindir}/inadyn

mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
install -p -m 0644 man/inadyn.8 $RPM_BUILD_ROOT%{_mandir}/man8
install -p -m 0644 man/inadyn.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5

mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
install -p -m 0600 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}

mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
pushd $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
ln -sf ../inadyn.conf %{name}.conf
popd

mkdir -p $RPM_BUILD_ROOT%{_initrddir}
%{__perl} -pe \
 's|/var/|%{_localstatedir}/|g ; \
  s|/usr/sbin/|%{_sbindir}/|g ; \
  s|/etc/([^ir])|%{_sysconfdir}/$1|g ; \
  s|/etc/rc\.d/init\.d/|%{_initrddir}/|g' \
  <%{SOURCE2} >$RPM_BUILD_ROOT%{_initrddir}/inadyn

mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/inadyn-mt/lang
cp lang/* $RPM_BUILD_ROOT%{_sysconfdir}/inadyn-mt/lang

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/chkconfig --add inadyn

%preun
if [ $1 -eq 0 ]; then
  /sbin/service inadyn stop >/dev/null 2>&1 || :
  /sbin/chkconfig --del inadyn
fi

%postun
if [ $1 -ge 1 ]; then
  /sbin/service inadyn condrestart >/dev/null
fi

%files 
%defattr(-,root,root,-)
%doc COPYING readme.html
%{_sbindir}/inadyn
%{_mandir}/man*/*
%attr(0755,root,root) %{_initrddir}/inadyn
%config(noreplace) %{_sysconfdir}/inadyn.conf
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
%dir %{_sysconfdir}/%{name}/lang
%config(noreplace) %{_sysconfdir}/%{name}/lang/en.lng

%changelog
* Wed Jul 30 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.12.24-1
- New upstream release

* Mon Jul 28 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.12.22-2
- Add lang file
- Versioned Obsolete/Provide

* Sun Jul 27 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.12.22-1
- New upstream release
- Add verbatin text of the license
- Change license to GPLv3

* Wed Jun 18 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.12.18-1
- New upstream release

* Mon May 19 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.12.01-1
- New upstream release

* Thu Apr 10 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.11.96-1
- Inadyn-mt released as a succesor of inadyn

* Sun Feb 10 2008 Jochen Schmitt <Jochen herr-schmitt de> 1.96.2-3
- Rebuild for gcc-4.3

* Wed Jan 23 2008 Jochen Schmitt <Jochen herr-schmitt de> 1.96.2-2
- Rebuild
- Make initscript LSB-Compilant

* Sun Sep  2 2007 Jochen Schmitt <Jochen herr-schmitt de> 1.96.2-1
- New upstream release (#270801)

* Wed Aug  8 2007 Jochen Schmitt <Jochen herr-schmitt de> 1.96-4
- Changing license tag

* Sun Sep  3 2006 Jochen Schmitt <Jochen herr-schmitt de> 1.96-3
- Rebuilt for FC-6

* Sun Feb 12 2006 Jochen Schmitt <Jochen herr-schmitt de> 1.96-2
- Rebuilt for FC5

* Mon Oct 24 2005 Jochen Schmitt <Jochen herr-schmitt de> 1.96-1
- New upstream relase

* Mon Aug 01 2005 Jochen Schmitt <Jochen herr-schmitt de> 1.95-2
- Add suggested changes from Michael Schwendt

* Wed Jul 20 2005 Jochen Schmitt <Jochen herr-schmitt de> 1.95-1
- New upstream release

* Tue May  3 2005 Jochen Schmitt <Jochen herr-schmitt de> 1.90-11
- Move note from README.Fedora to %%description

* Tue May  3 2005 Jochen Schmitt <Jochen herr-schmitt de> 1.90-9
- And special usage notes
- Use of /sbin/service to manage initscript in scriptlet
- Modify initscript, becouse bash don't return PID

* Thu Apr 28 2005 Jochen Schmitt <Jochen herr-schmitt.de> 1.90-8
- Replace ez_pid to ina_pid in initscript

* Wed Apr 27 2005 Jochen Schmitt <Jochen herr-schmitt de> 1.90-7
- Enable status in initscript

* Wed Apr 27 2005 Jochen Schmitt <Jochen herr-schmitt de> 1.90-6
- Add initscript

* Thu Apr 26 2005 Jochen Schmitt <Jochen herr-schmitt de> 1.90-5
- Add URL to Source0

* Thu Apr 12 2005 Jochen Schmitt <Jochen herr-schmitt de> 1.90-4
- Corrected use of percentage sign in changelog

* Mon Apr 11 2005 Jochen Schmitt <Jochen herr-schmitt de> 1.90-3
- Some inprovements from Michael Schwendt

* Sun Apr 10 2005 Jochen Schmitt <Jochen herr-schmitt de> 1.90-2
- Clearance in the %%Setup macro

* Thu Apr  7 2005 Jochen Schmitt <Jochen herr-schmitt de> 1.90-1
- Initial RPM release


--- NEW FILE inadyn.conf ---
username 	<Your Username>
password 	<Your Password>
alias    	<Your DynDNS Hostname>
update_period	60000
background


--- NEW FILE inadyn.init ---
#!/bin/sh
#
# inadyn     Starts and stops the inadyn daemon
#
# chkconfig: - 55 45
#
# processname: inadyn
# description: Check and update your IP to dynamic DNS Server.
# pidfile: /var/run/inadyn/inadyn.pid 
# config: /etc/inadyn.conf

### BEGIN INIT INFO
# Provides: inadyn
# Required-Start: $networks
# Required-Stop:
# Default-Stop: 0 6
# Short-Description: Sending the IP-Address to a DynDNS
# Description: Sending the IP-Address to a DynDNS
### END INIT INFO

ina_config=/etc/inadyn.conf
ina_bin=/usr/sbin/inadyn
ina_pid=/var/run/inadyn.pid

# Make sure relevant files exist
[ -x "$ina_bin" -a -s "$ina_config" ] || exit 0

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ "$NETWORKING" = "no" ] && exit 0

RETVAL=0
prog=inadyn

start() {
    # Start daemons.
    echo -n $"Starting $prog: "
    daemon $ina_bin
    RETVAL=$?
    echo
    [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
}

stop() {
    # Stop daemons.
    echo -n $"Shutting down $prog: "
    killproc $prog -QUIT
    RETVAL=$?
    echo
    [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog && rm -f $ina_pid
}

restart() {
    stop
    start
    RETVAL=$?
}

# See how we were called.
case "$1" in
  start)
    start
    ;;
  stop)
    stop
    ;;
  restart)
    restart
    ;;

  reload)
    restart
    ;;
  condrestart)
    [ -e /var/lock/subsys/$prog ] && restart || :
    ;;
  status)
    status $prog
    ;;
  *)
    echo "Usage: $0 {start|stop|restart|condrestart|status}"
    exit 1
esac

exit $RETVAL


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/inadyn-mt/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Jul 2008 16:41:44 -0000	1.1
+++ .cvsignore	30 Jul 2008 17:02:08 -0000	1.2
@@ -0,0 +1 @@
+inadyn-mt.v.02.12.24.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/inadyn-mt/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Jul 2008 16:41:44 -0000	1.1
+++ sources	30 Jul 2008 17:02:08 -0000	1.2
@@ -0,0 +1 @@
+9e7a8a8841a6b3fe0c6f9412e581324b  inadyn-mt.v.02.12.24.tar.gz




More information about the fedora-extras-commits mailing list