Hello community,

here is the log from the commit of package pdnsd for openSUSE:Factory checked 
in at 2013-06-13 17:30:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pdnsd (Old)
 and      /work/SRC/openSUSE:Factory/.pdnsd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pdnsd"

Changes:
--------
New Changes file:

--- /dev/null   2013-06-12 16:57:03.272031756 +0200
+++ /work/SRC/openSUSE:Factory/.pdnsd.new/pdnsd.changes 2013-06-13 
17:30:31.000000000 +0200
@@ -0,0 +1,12 @@
+----------------------------------------------------------------------------
+Sun May 19 16:07:07 UTC 2013 - [email protected]
+
+- Changes file was fixed up in according to sr's #175639 & #175789.
+- Switched from user nobody to pdns to correspond Factory rules.
+
+----------------------------------------------------------------------------
+Tue May 14 18:50:55 UTC 2013 - [email protected]
+
+- Branched from home:Reki.
+- Updated from 1.2.9 to 1.2.9a.
+- Spec-file was completely fixed up.

New:
----
  pdnsd
  pdnsd-1.2.9a-par.tar.gz
  pdnsd.changes
  pdnsd.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pdnsd.spec ++++++
#
# spec file for package pdnsd
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           pdnsd
Version:        1.2.9a
Release:        0
License:        GPL-3.0+
Summary:        A caching dns proxy for small networks or dialin accounts
Url:            http://members.home.nl/p.a.rombouts/pdnsd.html
Group:          Productivity/Networking/DNS/Servers

Source0:        
http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-%{version}-par.tar.gz
Source1:        pdnsd
Recommends:     %{name}-doc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
pdnsd is a proxy DNS daemon with permanent (disk-)cache and the ability
to serve local records. It is designed to detect network outages or hangups
and to prevent DNS-dependent applications like Netscape Navigator from hanging.

The original author of pdnsd is Thomas Moestl, but pdnsd is no longer maintained
by him. This is an extensively revised version by Paul A. Rombouts.
For a description of the changes see http://www.phys.uu.nl/~rombouts/pdnsd.html
and the file README.par in %{_docdir}/%{name}-doc.

%package doc
Summary:        Docs for %{name}
Group:          Productivity/Networking/DNS/Servers
%if 0%{?suse_version} >= 1140
BuildArch:      noarch
%endif
Requires:       %{name}

%description doc
This package provides various text files for %{name}.

%prep
%setup -q

%build
%configure --with-cachedir="%{_localstatedir}/cache/%{name}" \
        --enable-specbuild \
        --with-query-method=udptcp \
        --enable-ipv6 \
        --with-par-queries=3

make %{?_smp_mflags}

%install
make DESTDIR="%{buildroot}" install
mkdir -p %{buildroot}%{_sysconfdir}/init.d
mkdir -p %{buildroot}%{_sbindir}/
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/
cp %{buildroot}%{_sysconfdir}/%{name}.conf.sample 
%{buildroot}%{_sysconfdir}/%{name}.conf
ln -s /etc/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}

%pre
/usr/sbin/groupadd -r pdns 2> /dev/null || :

%preun
%stop_on_removal

%postun
%insserv_cleanup
%restart_on_update

%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/pdnsd.conf
%attr(755,root,root) %{_sysconfdir}/init.d/pdnsd
%{_sysconfdir}/pdnsd.conf.sample
%{_sbindir}/*%{name}*
%{_mandir}/man*/%{name}*
%config(noreplace) %attr(-,pdns,pdns) %ghost  
%{_localstatedir}/cache/%{name}/%{name}.cache
%dir %{_localstatedir}/cache/%{name}

%files doc
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING* NEWS README* THANKS TODO

%changelog
++++++ pdnsd ++++++
#! /bin/sh
# Copyright (c) 1995-1998 SuSE GmbH Nuernberg, Germany.
#
# $Id: pdnsd.in,v 1.5 2001/10/14 16:11:02 tmm Exp $
#
# Modified 2000 from SuSE Linux 6.3 /sbin/init.d/skeleton by Thomas Moestl
#
# /sbin/init.d/pdnsd
#
#   and symbolic its link
#
# /sbin/rc?/pdnsd
#
### BEGIN INIT INFO
# Provides:          pdnsd
# Required-Start:    $network $remote_fs $syslog
# Should-Start:      $network $remote_fs $syslog
# Required-Stop:     $syslog $remote_fs
# Should-Stop:       ypbind smtp
# Default-Start:     3 5
# Default-Stop:      0 1 2 6
# Short-Description: pdnsd
# Description:       pdnsd
### END INIT INFO

. /etc/rc.status
rc_reset

# Determine the base and follow a runlevel link name.
base=${0##*/}
link=${base#*[SK][0-9][0-9]}

# Force execution if not called by a runlevel directory.
test $link = $base && START_PDNSD=yes
test "$START_PDNSD" = yes || exit 0

# The echo return value for success (defined in /etc/rc.config).
return=$rc_done
case "$1" in
    start)
        echo -n "Starting pdnsd"
        ## Start daemon with startproc(8). If this fails
        ## the echo return value is set appropriate.

        startproc /usr/sbin/pdnsd -d || return=$rc_failed
        rc_status -v
        
        echo -e "$return"
        ;;
    stop)
        echo -n "Shutting down pdnsd"
        ## Stop daemon with killproc(8) and if this fails
        ## set echo the echo return value.

        killproc -TERM /usr/sbin/pdnsd || return=$rc_failed

        echo -e "$return"
        rc_status -v
        ;;
    restart)
        ## If first returns OK call the second, if first or
        ## second command fails, set echo return value.
        $0 stop  &&  $0 start  ||  return=$rc_failed
        rc_status -v
        ;;
    reload)
        $0 stop  &&  $0 start  ||  return=$rc_failed
        rc_status -v
        ;;
    status)
        echo -n "Checking for pdnsd: "
        ## Check status with checkproc(8), if process is running
        ## checkproc will return with exit status 0.

        checkproc /usr/sbin/pdnsd && echo OK || echo No process
        rc_status -v
        ;;
    *)
        echo "Usage: $0 {start|stop|status|restart|reload}"
        exit 1
        ;;
esac

# Inform the caller not only verbosely and set an exit status.
test "$return" = "$rc_done" || exit 1
exit 0

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to