Hello community,

here is the log from the commit of package atheme for openSUSE:Factory checked 
in at 2012-11-24 20:42:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/atheme (Old)
 and      /work/SRC/openSUSE:Factory/.atheme.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "atheme", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/atheme/atheme.changes    2012-09-18 
13:59:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.atheme.new/atheme.changes       2012-11-24 
20:42:19.000000000 +0100
@@ -1,0 +2,24 @@
+Wed Nov 21 00:00:07 UTC 2012 - [email protected]
+
+- Update to new upstream release 7.0.5
+* ircd/unreal: fix memory corruption caused by strlcpy() against
+  a strshare-managed string
+* ircd/ircd-seven: support charybdis's extension channel modes
+* chanserv/sync: sync a channel on account registration. This
+  allows exttargets like $registered to react to new account
+  registrations.
+* chanserv/main: send MLOCK after a TS change, otherwise it
+  will be lost.
+* chanserv/flags: allow users with +f and +o (+v) to set +/-O and
+  +/-V on themselves.
+* chanserv/main: respect founder_flags config setting during
+  channel succession
+- Add atheme-nodate.diff which removes __DATE__ from source
+
+-------------------------------------------------------------------
+Mon Nov 19 17:12:57 UTC 2012 - [email protected]
+
+- Fix useradd invocation: -o is useless without -u and newer
+  versions of pwdutils/shadowutils fail on this now.
+
+-------------------------------------------------------------------

Old:
----
  atheme-pkgconfig.diff
  atheme-pkgconfig2.diff
  atheme-services-7.0.2.tar.xz

New:
----
  atheme-nodate.diff
  atheme-services-7.0.5.tar.bz2
  atheme-tmpfiles.conf
  atheme.service

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

Other differences:
------------------
++++++ atheme.spec ++++++
--- /var/tmp/diff_new_pack.kP47x3/_old  2012-11-24 20:42:21.000000000 +0100
+++ /var/tmp/diff_new_pack.kP47x3/_new  2012-11-24 20:42:21.000000000 +0100
@@ -19,7 +19,7 @@
 Name:           atheme
 %define pkg_name atheme-services
 %define lname  libathemecore1
-Version:        7.0.2
+Version:        7.0.5
 Release:        0
 Url:            http://atheme.net/
 Summary:        A portable, secure set of open source, modular IRC services
@@ -27,20 +27,22 @@
 Group:          Productivity/Networking/IRC
 
 #Git-Clone:    git://github.com/atheme/atheme
-#DL-URL:       http://atheme.net/downloads/atheme-services-6.0.10.tar.bz2
-Source:         %name-services-%version.tar.xz
+Source:         
http://www.atheme.net/downloads/atheme-services-%version.tar.bz2
 Source1:        atheme.init
+Source2:        atheme.service
+Source3:        atheme-tmpfiles.conf
 Patch1:         atheme-lockmodes.diff
 Patch2:         atheme-config.diff
-Patch3:         atheme-pkgconfig.diff
-Patch4:         atheme-pkgconfig2.diff
+Patch3:         atheme-nodate.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cracklib-devel
 BuildRequires:  fdupes
 BuildRequires:  libopenssl-devel
 BuildRequires:  openldap2-devel
 BuildRequires:  pkgconfig
-BuildRequires:  xz
+%if 0%{?suse_version} >= 1210
+BuildRequires:  systemd
+%endif
 BuildRequires:  pkgconfig(libmowgli-2) >= 2.0.0
 BuildRequires:  pkgconfig(libpcre)
 %define atheme_home /var/lib/atheme
@@ -70,17 +72,22 @@
 Requires:       %lname = %version
 
 %description devel
+Atheme is a portable, secure set of open source, modular IRC services
+released under the BSD license, designed to run on many IRCds.
 
 This package contains the development headers for the library found
 in %lname.
 
 %prep
 %setup -qn %name-services-%version
-%patch -P 1 -P 2 -P 3 -P 4 -p1
+%patch -P 1 -P 2 -P 3 -p1
 # use system libmowgli
 rm -Rf libmowgli*;
 
 %build
+%if 0%{?suse_version} >= 1210
+export RUNDIR="/run";
+%endif
 %if 0%{?suse_version} > 1000 && 0%{?suse_version} < 1030
 export CFLAGS="%optflags -fstack-protector"
 %endif
@@ -97,8 +104,11 @@
 make %{?_smp_mflags}
 
 %install
+%if 0%{?suse_version} >= 1210
+export RUNDIR="/run";
+%endif
 b="%buildroot";
-%makeinstall DOCDIR="%_docdir/%name"
+make install DESTDIR="%buildroot" DOCDIR="%_docdir/%name";
 
 # additional documentation
 mkdir -p "$b/%_docdir/%name"
@@ -109,29 +119,48 @@
 install -Dm 0755 "%{S:1}" "$b/%_sysconfdir/init.d/%name";
 ln -sf "%_sysconfdir/init.d/%name" "$b/%_sbindir/rc%name";
 
+%if 0%{?_unitdir:1}
+mkdir -p "$b/%_unitdir" "$b/%_libexecdir/tmpfiles.d";
+install -pm0644 "%{S:2}" "$b/%_unitdir/";
+install -pm0644 "%{S:3}" "$b/%_libexecdir/tmpfiles.d/atheme.conf";
+%endif
+
 # config files
 # TODO: check if we should change any defaults and patch it.
 cp -v "$b/%_sysconfdir/%name"/atheme.conf{.example,}
 cp -v "$b/%_sysconfdir/%name"/atheme.motd{.example,}
 %find_lang %name
-%fdupes %buildroot
+%fdupes %buildroot/%_prefix
 
 %pre
 /usr/bin/getent group atheme >/dev/null 2>/dev/null || \
        /usr/sbin/groupadd -r atheme >/dev/null || :;
 /usr/bin/getent passwd atheme >/dev/null 2>/dev/null || \
-       /usr/sbin/useradd -r -o -g atheme -s /bin/false \
-       -c "%name daemon" -d "%atheme_home" atheme >/dev/null || :;
-
-%preun
-%stop_on_removal %name
+       /usr/sbin/useradd -r -g atheme -s /bin/false \
+       -c "Atheme IRC Services daemon" -d "%atheme_home" \
+       atheme >/dev/null || :;
+%if 0%{?_unitdir:1}
+%service_add_pre atheme.service
+%endif
 
 %post
 %fillup_and_insserv %name
+%if 0%{?_unitdir:1}
+%service_add_post atheme.service
+%endif
+
+%preun
+%stop_on_removal %name
+%if 0%{?_unitdir:1}
+%service_del_preun atheme.service
+%endif
 
 %postun
 %restart_on_update %name
 %insserv_cleanup
+%if 0%{?_unitdir:1}
+%service_del_postun atheme.service
+%endif
 
 %post -n %lname -p /sbin/ldconfig
 
@@ -151,8 +180,13 @@
 %_datadir/%name
 %doc %_docdir/%name
 %dir %attr(750,atheme,atheme) %atheme_home
-%dir %attr(750,atheme,atheme) %atheme_run
 %dir %attr(750,atheme,atheme) %atheme_log
+%if 0%{?_unitdir:1}
+%_unitdir/*.service
+%_libexecdir/tmpfiles.d
+%else
+%dir %attr(750,atheme,atheme) %atheme_run
+%endif
 
 %files -n %lname
 %defattr(-,root,root)

++++++ atheme-config.diff ++++++
--- /var/tmp/diff_new_pack.kP47x3/_old  2012-11-24 20:42:21.000000000 +0100
+++ /var/tmp/diff_new_pack.kP47x3/_new  2012-11-24 20:42:21.000000000 +0100
@@ -7,10 +7,10 @@
  dist/atheme.conf.example |   46 +++++++++++++++++++++++-----------------------
  1 file changed, 23 insertions(+), 23 deletions(-)
 
-Index: atheme-services-7.0.2/dist/atheme.conf.example
+Index: atheme-services-7.0.5/dist/atheme.conf.example
 ===================================================================
---- atheme-services-7.0.2.orig/dist/atheme.conf.example
-+++ atheme-services-7.0.2/dist/atheme.conf.example
+--- atheme-services-7.0.5.orig/dist/atheme.conf.example
++++ atheme-services-7.0.5/dist/atheme.conf.example
 @@ -708,7 +708,7 @@ loadmodule "modules/groupserv/set_url";
   *
   * HTTP Server                                        modules/misc/httpd
@@ -76,7 +76,7 @@
  
        // port
        // The port to connect to.
-@@ -961,7 +961,7 @@ nickserv {
+@@ -962,7 +962,7 @@ nickserv {
        /* (*)host
         * The hostname we want NickServ to have.
         */
@@ -85,7 +85,7 @@
  
        /* (*)real
         * The realname (gecos) information we want NickServ to have.
-@@ -1052,7 +1052,7 @@ chanserv {
+@@ -1053,7 +1053,7 @@ chanserv {
        /* (*)host
         * The hostname we want the client to have.
         */
@@ -94,7 +94,7 @@
  
        /* (*)real
         * The GECOS of the client.
-@@ -1076,7 +1076,7 @@ chanserv {
+@@ -1077,7 +1077,7 @@ chanserv {
         * use a lot of CPU up, and will only work if you have
         * join_chans (in general) enabled as well.
         */
@@ -103,7 +103,7 @@
  
        /* (*) hide_xop
         * Hide the XOP templates from sight.  This is useful if you
-@@ -1242,7 +1242,7 @@ global {
+@@ -1243,7 +1243,7 @@ global {
        /* (*)host
         * The hostname used for this client.
         */
@@ -112,7 +112,7 @@
  
        /* (*)real
         * The GECOS (real name) of the client.
-@@ -1271,7 +1271,7 @@ infoserv {
+@@ -1272,7 +1272,7 @@ infoserv {
        /* (*)host
         * The hostname used for this client,
         */
@@ -121,7 +121,7 @@
  
        /* (*)real
         * The GECOS (real name) of the client.
-@@ -1307,7 +1307,7 @@ operserv {
+@@ -1308,7 +1308,7 @@ operserv {
        /* (*)host
         * The hostname used for this client.
         */
@@ -130,7 +130,7 @@
  
        /* (*)real
         * The GECOS (real name) of the client.
-@@ -1348,7 +1348,7 @@ saslserv {
+@@ -1349,7 +1349,7 @@ saslserv {
        /* (*)host
         * The hostname we want SaslServ to have.
         */
@@ -139,7 +139,7 @@
  
        /* (*)real
         * The realname (gecos) information we want SaslServ to have.
-@@ -1377,7 +1377,7 @@ memoserv {
+@@ -1378,7 +1378,7 @@ memoserv {
        /* (*)host
         * The hostname we want MemoServ to have.
         */
@@ -148,7 +148,7 @@
  
        /* (*)real
         * The realname (gecos) information we want MemoServ to have.
-@@ -1417,7 +1417,7 @@ gameserv {
+@@ -1418,7 +1418,7 @@ gameserv {
        /* (*)host
         * The hostname used for this client.
         */
@@ -157,7 +157,7 @@
  
        /* (*)real
         * The GECOS (real name) of the client.
-@@ -1457,7 +1457,7 @@ rpgserv {
+@@ -1458,7 +1458,7 @@ rpgserv {
        /* (*)host
         * The hostname used for this client.
         */
@@ -166,7 +166,7 @@
  
        /* (*)real
         * The GECOS (real name) of the client.
-@@ -1532,7 +1532,7 @@ groupserv {
+@@ -1533,7 +1533,7 @@ groupserv {
        /* (*)host
         * The hostname we want GroupServ to have.
         */
@@ -175,7 +175,7 @@
  
        /* (*)real
         * The realname (gecos) information we want GroupServ to have.
-@@ -1597,7 +1597,7 @@ hostserv {
+@@ -1598,7 +1598,7 @@ hostserv {
        /* (*)host
         * The hostname used for this client.
         */
@@ -184,7 +184,7 @@
  
        /* (*)real
         * The GECOS (real name) of the client.
-@@ -1646,7 +1646,7 @@ helpserv {
+@@ -1647,7 +1647,7 @@ helpserv {
        /* (*)host
         * The hostname we want HelpServ to have.
         */
@@ -193,7 +193,7 @@
  
        /* (*)real
         * The realname (gecos) information we want HelpServ to have.
-@@ -1700,7 +1700,7 @@ alis {
+@@ -1701,7 +1701,7 @@ alis {
        /* (*)host
         * The hostname we want ALIS to have.
         */
@@ -202,7 +202,7 @@
  
        /* (*)real
         * The realname (gecos) information we want ALIS to have.
-@@ -1868,7 +1868,7 @@ general {
+@@ -1869,7 +1869,7 @@ general {
         * network channels by keeping them open, and to preserve the
         * topic and +beI lists.
         */

++++++ atheme-nodate.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2012-10-28 01:35:57.295975255 +0200

__DATE__ is not desired; causes unnecessary rebuilds.

---
 libathemecore/ctcp-common.c |    4 ++--
 libathemecore/ptasks.c      |    4 ++--
 modules/operserv/uptime.c   |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

Index: atheme-services-7.0.5/libathemecore/ctcp-common.c
===================================================================
--- atheme-services-7.0.5.orig/libathemecore/ctcp-common.c
+++ atheme-services-7.0.5/libathemecore/ctcp-common.c
@@ -41,8 +41,8 @@ static void ctcp_ping_handler(sourceinfo
 static void ctcp_version_handler(sourceinfo_t *si, char *cmd, char *args)
 {
        notice(si->service->nick, si->su->nick,
-               "\001VERSION %s. %s %s %s [%s] Build Date: %s\001",
-               PACKAGE_STRING, revision, me.name, get_conf_opts(), 
ircd->ircdname, __DATE__);
+               "\001VERSION %s. %s %s %s [%s] Build Date: irrelevant\001",
+               PACKAGE_STRING, revision, me.name, get_conf_opts(), 
ircd->ircdname);
 }
 
 static void ctcp_clientinfo_handler(sourceinfo_t *si, char *cmd, char *args)
Index: atheme-services-7.0.5/libathemecore/ptasks.c
===================================================================
--- atheme-services-7.0.5.orig/libathemecore/ptasks.c
+++ atheme-services-7.0.5/libathemecore/ptasks.c
@@ -49,8 +49,8 @@ void handle_version(user_t *u)
        if (floodcheck(u, NULL))
                return;
 
-       numeric_sts(me.me, 351, u, "%s. %s %s :%s [%s] Build Date: %s",
-                   PACKAGE_STRING, me.name, revision, get_conf_opts(), 
ircd->ircdname, __DATE__);
+       numeric_sts(me.me, 351, u, "%s. %s %s :%s [%s] Build Date: irrelevant",
+                   PACKAGE_STRING, me.name, revision, get_conf_opts(), 
ircd->ircdname);
 }
 
 void handle_admin(user_t *u)
Index: atheme-services-7.0.5/modules/operserv/uptime.c
===================================================================
--- atheme-services-7.0.5.orig/modules/operserv/uptime.c
+++ atheme-services-7.0.5/modules/operserv/uptime.c
@@ -33,7 +33,7 @@ static void os_cmd_uptime(sourceinfo_t *
 {
        logcommand(si, CMDLOG_GET, "UPTIME");
 
-        command_success_nodata(si, "%s [%s] Build Date: %s", PACKAGE_STRING, 
revision, __DATE__);
+        command_success_nodata(si, "%s [%s] Build Date: irrelevant", 
PACKAGE_STRING, revision);
         command_success_nodata(si, _("Services have been up for %s"), 
timediff(CURRTIME - me.start));
        command_success_nodata(si, _("Current PID: %d"), getpid());
         command_success_nodata(si, _("Registered accounts: %d"), cnt.myuser);
++++++ atheme-services-7.0.2.tar.xz -> atheme-services-7.0.5.tar.bz2 ++++++
++++ 249856 lines of diff (skipped)

++++++ atheme-tmpfiles.conf ++++++
d /run/atheme 0750 atheme atheme -
++++++ atheme.service ++++++
[Unit]
Description=Atheme IRC Services

[Service]
ExecStart=/usr/sbin/atheme-services
User=atheme
Group=atheme

[Install]
WantedBy=multi-user.target
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to