commit powerman for openSUSE:Factory
Hello community, here is the log from the commit of package powerman for openSUSE:Factory checked in at 2018-04-26 13:38:53 Comparing /work/SRC/openSUSE:Factory/powerman (Old) and /work/SRC/openSUSE:Factory/.powerman.new (New) Package is "powerman" Thu Apr 26 13:38:53 2018 rev:25 rq:601076 version:2.3.24 Changes: --- /work/SRC/openSUSE:Factory/powerman/powerman.changes2017-08-12 20:29:16.314625497 +0200 +++ /work/SRC/openSUSE:Factory/.powerman.new/powerman.changes 2018-04-26 13:38:55.534113674 +0200 @@ -1,0 +2,12 @@ +Wed Apr 25 09:48:37 UTC 2018 - e...@suse.com + +- For SLE-12 set user/group to daemon/root for backward + compatibility. + +--- +Tue Aug 15 13:22:50 UTC 2017 - e...@suse.com + +- Minor specfile cosmetics: + * Simplified the entry for %{_sysconfdir}/powerman. + +--- Other differences: -- ++ powerman.spec ++ --- /var/tmp/diff_new_pack.q52ayC/_old 2018-04-26 13:38:56.066094175 +0200 +++ /var/tmp/diff_new_pack.q52ayC/_new 2018-04-26 13:38:56.066094175 +0200 @@ -1,7 +1,7 @@ # # spec file for package powerman # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,8 +21,13 @@ %define _with_tcp_wrappers 1 %undefine _with_genders +%if 0%{?suse_version} >= 1500 %define powerman_g %name %define powerman_u %name +%else +%define powerman_g daemon +%define powerman_u root +%endif Name: powerman Version:2.3.24 @@ -127,10 +132,8 @@ %{_mandir}/man?/*.* %exclude %{_mandir}/man3/*.* %{_sbindir}/* -%dir %{_sysconfdir}/powerman +%config %{_sysconfdir}/powerman/ %attr(0644,root,root) %{_unitdir}/%{name}.service -%config %{_sysconfdir}/powerman/powerman.conf -%config %{_sysconfdir}/powerman/*.dev %{_tmpfilesdir}/powerman.conf %files devel
commit powerman for openSUSE:Factory
Hello community, here is the log from the commit of package powerman for openSUSE:Factory checked in at 2017-08-12 20:29:14 Comparing /work/SRC/openSUSE:Factory/powerman (Old) and /work/SRC/openSUSE:Factory/.powerman.new (New) Package is "powerman" Sat Aug 12 20:29:14 2017 rev:24 rq:516227 version:2.3.24 Changes: --- /work/SRC/openSUSE:Factory/powerman/powerman.changes2017-05-16 14:38:14.413424417 +0200 +++ /work/SRC/openSUSE:Factory/.powerman.new/powerman.changes 2017-08-12 20:29:16.314625497 +0200 @@ -1,0 +2,27 @@ +Fri Aug 11 19:47:51 UTC 2017 - e...@suse.com + +- This package should not provide the user/group powerman + as it is the only user of this group: powermand runs as + this user/group and writes its data as this user/group. + This gives the sysadmin some control over who to give + access. There is no other application requiring this + user/group. + +--- +Fri Aug 11 18:04:54 UTC 2017 - e...@suse.com + +- run systemd-tmpfiles --create ... before starting service (bsc#1053481). + +--- +Thu Jun 15 15:20:21 UTC 2017 - jjo...@suse.com + +- powerman service configured to start as powerman:powerman user + - Fixed autoconf files to allow for dynamic user and group in +powerman.service file +- service-dynamic-user-autofiles.patch + - Updated configure file with only necessary changes from +autoconf changes +- service-dynamic-user-configure.patch +- Added %config to /etc/powerman/*.dev files + +--- New: service-dynamic-user-autofiles.patch service-dynamic-user-configure.patch Other differences: -- ++ powerman.spec ++ --- /var/tmp/diff_new_pack.1J6tSM/_old 2017-08-12 20:29:18.818274534 +0200 +++ /var/tmp/diff_new_pack.1J6tSM/_new 2017-08-12 20:29:18.822273974 +0200 @@ -21,6 +21,9 @@ %define _with_tcp_wrappers 1 %undefine _with_genders +%define powerman_g %name +%define powerman_u %name + Name: powerman Version:2.3.24 Release:0 @@ -29,6 +32,8 @@ Group: Productivity/Clustering/HA Url:https://github.com/chaos/powerman Source0: https://github.com/chaos/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz +Patch1: service-dynamic-user-autofiles.patch +Patch2: service-dynamic-user-configure.patch BuildRequires: fdupes BuildRequires: ncurses-devel BuildRequires: pkg-config @@ -41,11 +46,10 @@ BuildRequires: genders %endif BuildRequires: pkgconfig(systemd) -%if 0%{?suse_version} >= 1330 -Requires(pre): user(daemon) -%endif %{?systemd_requires} +Requires(pre): shadow + %description PowerMan is a tool for manipulating remote power control (RPC) devices from a central location. Several RPC varieties are supported natively by PowerMan and @@ -68,11 +72,15 @@ %prep %setup -q +%patch1 -p1 +%patch2 -p1 %build %configure \ --disable-static\ --with-httppower \ + --with-user=%{powerman_u} \ + --with-group=%{powerman_g} \ %{?_with_snmppower:--with-snmppower} \ %{?_with_genders:--with-genders} \ %{?_with_tcp_wrappers:--with-tcp-wrappers} \ @@ -85,7 +93,7 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} %{__mkdir} -p %{buildroot}%{_tmpfilesdir} cat >> %{buildroot}%{_tmpfilesdir}/%{name}.conf /dev/null || useradd -r -g %powerman_g -M -s /bin/false -c %powerman_descr %powerman_u +exit 0 %post -%service_add_post %{name}.service systemd-tmpfiles --create %{_tmpfilesdir}/powerman.conf +%service_add_post %{name}.service %preun %service_del_preun %{name}.service @@ -118,7 +130,7 @@ %dir %{_sysconfdir}/powerman %attr(0644,root,root) %{_unitdir}/%{name}.service %config %{_sysconfdir}/powerman/powerman.conf -%{_sysconfdir}/powerman/*.dev +%config %{_sysconfdir}/powerman/*.dev %{_tmpfilesdir}/powerman.conf %files devel ++ service-dynamic-user-autofiles.patch ++ Index: powerman-2.3.24/scripts/powerman.service === --- powerman-2.3.24.orig/scripts/powerman.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=PowerMan -After=syslog.target network.target - -[Service] -Type=forking -PrivateTmp=yes -User=daemon -Group=daemon -ExecStart=/usr/sbin/powermand -RuntimeDirectory=powerman -RuntimeDirectoryMode=0755 -PIDFile=/var/run/powerman/powermand.pid - -[Install] -WantedBy=multi-user.target Index: powerman-2.3.24/scripts/powerman.service.in === --- /dev/null +++
commit powerman for openSUSE:Factory
Hello community, here is the log from the commit of package powerman for openSUSE:Factory checked in at 2017-05-16 14:38:13 Comparing /work/SRC/openSUSE:Factory/powerman (Old) and /work/SRC/openSUSE:Factory/.powerman.new (New) Package is "powerman" Tue May 16 14:38:13 2017 rev:23 rq:493053 version:2.3.24 Changes: --- /work/SRC/openSUSE:Factory/powerman/powerman.changes2017-03-12 19:58:55.220882962 +0100 +++ /work/SRC/openSUSE:Factory/.powerman.new/powerman.changes 2017-05-16 14:38:14.413424417 +0200 @@ -1,0 +2,5 @@ +Sun Apr 2 21:28:34 UTC 2017 - meiss...@suse.com + +- prequire daemon user for new factory userhandling + +--- Other differences: -- ++ powerman.spec ++ --- /var/tmp/diff_new_pack.qlgFLf/_old 2017-05-16 14:38:15.041336197 +0200 +++ /var/tmp/diff_new_pack.qlgFLf/_new 2017-05-16 14:38:15.045335635 +0200 @@ -41,6 +41,9 @@ BuildRequires: genders %endif BuildRequires: pkgconfig(systemd) +%if 0%{?suse_version} >= 1330 +Requires(pre): user(daemon) +%endif %{?systemd_requires} %description
commit powerman for openSUSE:Factory
Hello community, here is the log from the commit of package powerman for openSUSE:Factory checked in at 2017-03-12 19:58:54 Comparing /work/SRC/openSUSE:Factory/powerman (Old) and /work/SRC/openSUSE:Factory/.powerman.new (New) Package is "powerman" Sun Mar 12 19:58:54 2017 rev:22 rq:459512 version:2.3.24 Changes: --- /work/SRC/openSUSE:Factory/powerman/powerman.changes2017-02-05 16:24:33.176417280 +0100 +++ /work/SRC/openSUSE:Factory/.powerman.new/powerman.changes 2017-03-12 19:58:55.220882962 +0100 @@ -1,0 +2,6 @@ +Wed Feb 15 17:24:43 UTC 2017 - e...@suse.com + +- Create /usr/lib/tmpfiles.d/powerman.conf: + Add systemd handling for temporary directory /var/run/powerman. + +--- Other differences: -- ++ powerman.spec ++ --- /var/tmp/diff_new_pack.OR73NE/_old 2017-03-12 19:58:55.808799774 +0100 +++ /var/tmp/diff_new_pack.OR73NE/_new 2017-03-12 19:58:55.812799209 +0100 @@ -80,6 +80,10 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} +%{__mkdir} -p %{buildroot}%{_tmpfilesdir} +cat >> %{buildroot}%{_tmpfilesdir}/%{name}.conf <
commit powerman for openSUSE:Factory
Hello community, here is the log from the commit of package powerman for openSUSE:Factory checked in at 2017-02-05 15:50:02 Comparing /work/SRC/openSUSE:Factory/powerman (Old) and /work/SRC/openSUSE:Factory/.powerman.new (New) Package is "powerman" Changes: --- /work/SRC/openSUSE:Factory/powerman/powerman.changes2015-11-17 14:23:11.0 +0100 +++ /work/SRC/openSUSE:Factory/.powerman.new/powerman.changes 2017-02-05 16:24:33.176417280 +0100 @@ -1,0 +2,10 @@ +Wed Jan 4 18:16:09 UTC 2017 - e...@suse.com + +- Added support for snmp, tcpwrappers and genders to be compatible + with the powerman package from openHPC.community (latter one is + currently disabled). + To use tcpwrappers, they need to be enabled in /etc/powerman/powerman.conf + - the default is 'off'. +- Don't create /run/powerman - systemd will do this for us. + +--- Other differences: -- ++ powerman.spec ++ --- /var/tmp/diff_new_pack.aOQxVY/_old 2017-02-05 16:24:33.612355858 +0100 +++ /var/tmp/diff_new_pack.aOQxVY/_new 2017-02-05 16:24:33.612355858 +0100 @@ -1,7 +1,7 @@ # # spec file for package powerman # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,11 @@ # +# +%define _with_snmppower 1 +%define _with_tcp_wrappers 1 +%undefine _with_genders + Name: powerman Version:2.3.24 Release:0 @@ -23,12 +28,18 @@ License:GPL-2.0+ Group: Productivity/Clustering/HA Url:https://github.com/chaos/powerman -Source0: https://github.com/chaos/powerman/releases/download/%{version}/%{name}-%{version}.tar.gz +Source0: https://github.com/chaos/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: ncurses-devel BuildRequires: pkg-config BuildRequires: tcpd-devel BuildRequires: pkgconfig(libcurl) +%if 0%{?_with_snmppower} +BuildRequires: net-snmp-devel +%endif +%if 0%{?_with_genders} +BuildRequires: genders +%endif BuildRequires: pkgconfig(systemd) %{?systemd_requires} @@ -50,7 +61,7 @@ Requires: libpowerman0 = %{version} %description devel -A header file and static library for developing applications using PowerMan. +Header files, pkg-config file and man pages for developing applications using PowerMan. %prep %setup -q @@ -58,7 +69,11 @@ %build %configure \ --disable-static\ - --with-httppower + --with-httppower \ +%{?_with_snmppower:--with-snmppower} \ +%{?_with_genders:--with-genders} \ +%{?_with_tcp_wrappers:--with-tcp-wrappers} \ + make %{?_smp_mflags} %install @@ -89,7 +104,6 @@ %defattr(-,root,root) %doc AUTHORS DISCLAIMER COPYING NEWS README TODO %{_bindir}/* -%dir %attr(0755,daemon,root) %ghost /run/powerman %{_mandir}/man?/*.* %exclude %{_mandir}/man3/*.* %{_sbindir}/*
commit powerman for openSUSE:Factory
Hello community, here is the log from the commit of package powerman for openSUSE:Factory checked in at 2015-11-17 14:23:10 Comparing /work/SRC/openSUSE:Factory/powerman (Old) and /work/SRC/openSUSE:Factory/.powerman.new (New) Package is "powerman" Changes: --- /work/SRC/openSUSE:Factory/powerman/powerman.changes2015-03-23 12:18:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.powerman.new/powerman.changes 2015-11-17 14:23:11.0 +0100 @@ -1,0 +2,21 @@ +Fri Nov 13 18:40:43 UTC 2015 - mplus...@suse.com + +- Update to 2.3.24 + * Don't package /var/run/powerman; let systemd manage it + [TOSS-2987] + * Cleanup: drop trailing whitespace +- Changes for 2.3.23 + * Build: silence CC lines, fix AC_LANG_CONFTEST warnings, fix + $(EXEEXT) warnings. + * Build: install System V init scripts if + --with-systemdsystemunitdir is not configured and include both + in EXTRA_DIST. + * Build: re-enable 'make check' unit tests. + * Build: fix some 'make distcheck' issues, but until unit tests + are fixed to find *.exp and *.conf files in $(srcdir), this will still fail. + * RPM: configure genders, httppower, snmppower, and tcp-wrappers + unconditionally; update URL. +- Cleanups spec file with spec-cleaner +- Drop powerman.service and use bundled one + +--- Old: powerman-2.3.20.tar.gz powerman.service New: powerman-2.3.24.tar.gz Other differences: -- ++ powerman.spec ++ --- /var/tmp/diff_new_pack.Y7MhoK/_old 2015-11-17 14:23:11.0 +0100 +++ /var/tmp/diff_new_pack.Y7MhoK/_new 2015-11-17 14:23:11.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package powerman # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,21 +15,21 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: powerman -Version:2.3.20 +Version:2.3.24 Release:0 -Url:https://github.com/chaos/powerman -Source0: https://github.com/chaos/powerman/releases/download/%{version}/%{name}-%{version}.tar.gz -Source1:%{name}.service Summary:Centralized Power Control for Clusters License:GPL-2.0+ Group: Productivity/Clustering/HA -BuildRequires: curl-devel +Url:https://github.com/chaos/powerman +Source0: https://github.com/chaos/powerman/releases/download/%{version}/%{name}-%{version}.tar.gz +BuildRequires: fdupes BuildRequires: ncurses-devel BuildRequires: pkg-config -BuildRequires: systemd-rpm-macros BuildRequires: tcpd-devel -#BuildRequires: genders +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(systemd) %{?systemd_requires} %description @@ -45,9 +45,9 @@ A shared library for applications using PowerMan. %package devel -Requires: libpowerman0 = %{version} Summary:Headers and libraries for developing applications using PowerMan Group: Development/Libraries/C and C++ +Requires: libpowerman0 = %{version} %description devel A header file and static library for developing applications using PowerMan. @@ -56,21 +56,18 @@ %setup -q %build -# --with-genders -%configure\ +%configure \ --disable-static\ --with-httppower -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install -make install DESTDIR=$RPM_BUILD_ROOT -rm $RPM_BUILD_ROOT%{_libdir}/*.la -rm -rf %{buildroot}%{_sysconfdir}/init.d -install -Dm 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service -ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name} -mv $RPM_BUILD_ROOT%{_sysconfdir}/powerman/powerman.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/powerman/powerman.conf -# -rm -r $RPM_BUILD_ROOT%{_libdir}/stonith +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print +ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} +mv %{buildroot}%{_sysconfdir}/powerman/powerman.conf.example %{buildroot}%{_sysconfdir}/powerman/powerman.conf +rm -r %{buildroot}%{_libdir}/stonith +%fdupes -s %{buildroot} %pre %service_add_pre %{name}.service @@ -97,7 +94,7 @@ %exclude %{_mandir}/man3/*.* %{_sbindir}/* %dir %{_sysconfdir}/powerman -%{_unitdir}/%{name}.service +%attr(0644,root,root) %{_unitdir}/%{name}.service %config %{_sysconfdir}/powerman/powerman.conf %{_sysconfdir}/powerman/*.dev ++ powerman-2.3.20.tar.gz
commit powerman for openSUSE:Factory
Hello community, here is the log from the commit of package powerman for openSUSE:Factory checked in at 2015-03-23 12:18:03 Comparing /work/SRC/openSUSE:Factory/powerman (Old) and /work/SRC/openSUSE:Factory/.powerman.new (New) Package is powerman Changes: --- /work/SRC/openSUSE:Factory/powerman/powerman.changes2014-08-20 10:51:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.powerman.new/powerman.changes 2015-03-23 12:18:04.0 +0100 @@ -1,0 +2,13 @@ +Thu Mar 12 09:45:27 UTC 2015 - p.drou...@gmail.com + +- Update to version 2.3.20 + * add dist tag to release (TOSS-2667) + * Minor automake updates +- Move to systemd +- Remove unneeded patchs + * powerman-piddir.patch + * powerman-runlevel.patch +- Update project and download Urls; project has moved to github +- Some cleanup + +--- Old: powerman-2.3.16.tar.gz powerman-piddir.patch powerman-runlevel.patch New: powerman-2.3.20.tar.gz powerman.service Other differences: -- ++ powerman.spec ++ --- /var/tmp/diff_new_pack.H9NyU8/_old 2015-03-23 12:18:05.0 +0100 +++ /var/tmp/diff_new_pack.H9NyU8/_new 2015-03-23 12:18:05.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package powerman # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -15,33 +15,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -%if 0%{?suse_version} = 1140 -%if 0%{?suse_version} 1110 -%define enable_heartbeat 1 -%endif -%endif - Name: powerman -Version:2.3.16 +Version:2.3.20 Release:0 -Url:http://code.google.com/p/powerman/ -Source: %{name}-%{version}.tar.gz -Patch0: powerman-piddir.patch -Patch1: powerman-runlevel.patch +Url:https://github.com/chaos/powerman +Source0: https://github.com/chaos/powerman/releases/download/%{version}/%{name}-%{version}.tar.gz +Source1:%{name}.service Summary:Centralized Power Control for Clusters License:GPL-2.0+ Group: Productivity/Clustering/HA BuildRequires: curl-devel BuildRequires: ncurses-devel BuildRequires: pkg-config +BuildRequires: systemd-rpm-macros BuildRequires: tcpd-devel -%if 0%{?enable_heartbeat} -BuildRequires: heartbeat -%endif #BuildRequires: genders -BuildRoot: %{_tmppath}/%{name}-%{version}-build -PreReq: %insserv_prereq +%{?systemd_requires} %description PowerMan is a tool for manipulating remote power control (RPC) devices from a @@ -65,8 +54,6 @@ %prep %setup -q -%patch0 -p1 -%patch1 -p1 %build # --with-genders @@ -78,25 +65,24 @@ %install make install DESTDIR=$RPM_BUILD_ROOT rm $RPM_BUILD_ROOT%{_libdir}/*.la -ln -s ../..%{_sysconfdir}/init.d/powerman $RPM_BUILD_ROOT%{_sbindir}/rcpowerman +rm -rf %{buildroot}%{_sysconfdir}/init.d +install -Dm 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service +ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name} mv $RPM_BUILD_ROOT%{_sysconfdir}/powerman/powerman.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/powerman/powerman.conf # -%if ! 0%{?enable_heartbeat} rm -r $RPM_BUILD_ROOT%{_libdir}/stonith -%endif - -%clean -rm -rf $RPM_BUILD_ROOT -%preun -%{stop_on_removal} +%pre +%service_add_pre %{name}.service %post -%{fillup_and_insserv -f} +%service_add_post %{name}.service + +%preun +%service_del_preun %{name}.service %postun -%{restart_on_update} -%{insserv_cleanup} +%service_del_postun %{name}.service %post -n libpowerman0 -p /sbin/ldconfig @@ -106,15 +92,12 @@ %defattr(-,root,root) %doc AUTHORS DISCLAIMER COPYING NEWS README TODO %{_bindir}/* -%if 0%{?enable_heartbeat} -%{_libdir}/stonith/plugins/external/powerman -%endif %dir %attr(0755,daemon,root) %ghost /run/powerman -%doc %{_mandir}/man?/*.* -%exclude %doc %{_mandir}/man3/*.* +%{_mandir}/man?/*.* +%exclude %{_mandir}/man3/*.* %{_sbindir}/* -%dir %config %{_sysconfdir}/powerman -%{_sysconfdir}/init.d/powerman +%dir %{_sysconfdir}/powerman +%{_unitdir}/%{name}.service %config %{_sysconfdir}/powerman/powerman.conf %{_sysconfdir}/powerman/*.dev @@ -123,7 +106,7 @@ %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc -%doc %{_mandir}/man3/*.* +%{_mandir}/man3/*.* %files -n libpowerman0 %defattr(-,root,root) ++ powerman-2.3.16.tar.gz - powerman-2.3.20.tar.gz ++ 6590 lines of diff (skipped) ++ powerman.service ++ [Unit] Description=Powerman Daemon After=network.target
commit powerman for openSUSE:Factory
Hello community, here is the log from the commit of package powerman for openSUSE:Factory checked in at 2014-08-20 10:50:55 Comparing /work/SRC/openSUSE:Factory/powerman (Old) and /work/SRC/openSUSE:Factory/.powerman.new (New) Package is powerman Changes: --- /work/SRC/openSUSE:Factory/powerman/powerman.changes2011-12-14 14:34:32.0 +0100 +++ /work/SRC/openSUSE:Factory/.powerman.new/powerman.changes 2014-08-20 10:51:07.0 +0200 @@ -1,0 +2,23 @@ +Mon Aug 4 16:54:41 UTC 2014 - sfal...@opensuse.org + +- Updates in 2.3.16 + * Fix duplicate node name (Issue 35) +Pulled in another hotlist fix (Mark Grondona) + * Fix powerman stonith OFF should verify plug state (chaos bz 1439) +- Updated powerman-pidfile.patch to reflect /run instead of /var/run + + +--- +Wed Jul 30 02:43:19 UTC 2014 - sfal...@opensuse.org + +- Updated to 2.3.16 + * Changed /var/run to /run in .spec to fix rpmlint check failures +Updated URL in .spec file + * Added: + powerman-2.3.16.tar.gz + * Removed: + powerman-2.3.9.tar.bz2 + * Updated: + powerman.spec + +--- Old: powerman-2.3.9.tar.bz2 New: powerman-2.3.16.tar.gz Other differences: -- ++ powerman.spec ++ --- /var/tmp/diff_new_pack.pV1BD6/_old 2014-08-20 10:51:08.0 +0200 +++ /var/tmp/diff_new_pack.pV1BD6/_new 2014-08-20 10:51:08.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package powerman # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -23,10 +23,10 @@ %endif Name: powerman -Version:2.3.9 +Version:2.3.16 Release:0 -Url:http://powerman.sourceforge.net/ -Source: %{name}-%{version}.tar.bz2 +Url:http://code.google.com/p/powerman/ +Source: %{name}-%{version}.tar.gz Patch0: powerman-piddir.patch Patch1: powerman-runlevel.patch Summary:Centralized Power Control for Clusters @@ -65,7 +65,7 @@ %prep %setup -q -%patch0 +%patch0 -p1 %patch1 -p1 %build @@ -109,7 +109,7 @@ %if 0%{?enable_heartbeat} %{_libdir}/stonith/plugins/external/powerman %endif -%dir %attr(0755,daemon,root) %ghost %{_localstatedir}/run/powerman +%dir %attr(0755,daemon,root) %ghost /run/powerman %doc %{_mandir}/man?/*.* %exclude %doc %{_mandir}/man3/*.* %{_sbindir}/* ++ powerman-piddir.patch ++ --- /var/tmp/diff_new_pack.pV1BD6/_old 2014-08-20 10:51:08.0 +0200 +++ /var/tmp/diff_new_pack.pV1BD6/_new 2014-08-20 10:51:08.0 +0200 @@ -1,24 +1,25 @@ scripts/powerman.in -+++ scripts/powerman.in -@@ -34,7 +34,8 @@ +diff -rupN powerman-2.3.16.old/scripts/powerman.in powerman-2.3.16/scripts/powerman.in +--- powerman-2.3.16.old/scripts/powerman.in2012-01-12 16:37:34.0 -0800 powerman-2.3.16/scripts/powerman.in2014-08-04 09:40:11.063544169 -0700 +@@ -34,7 +34,8 @@ DESC=PowerMan DAEMON=$sbindir/powermand #DAEMON_ARGS= CONFIG=$sysconfdir/powerman/powerman.conf -PIDFILE=$localstatedir/run/powerman/powermand.pid -+PIDDIR=$localstatedir/run/powerman ++PIDDIR=/run/powerman +PIDFILE=$PIDDIR/powermand.pid #NICE= USER=@RUN_AS_USER@ #SIGHUP_RELOAD= -@@ -53,7 +54,10 @@ - SCRIPT_NAME=`basename \$0\ .init | sed 's/^[SK][0-9][0-9]*//'` +@@ -54,6 +55,11 @@ service_init () SIGTERM_TIMEOUT=3 STATUS=0 -- -+ if [ ! -d $PIDDIR ] ; then -+mkdir $PIDDIR -+chown $USER $PIDDIR -+ fi + ++if [ ! -d $PIDDIR ] ; then ++ mkdir $PIDDIR ++ chown $USER $PIDDIR ++fi ++ # Read configuration defaults to override variables: # $DAEMON_ARGS, $CONFIG, $PIDFILE, $USER, $NICE, $SIGHUP_RELOAD ## -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit powerman for openSUSE:Factory
Hello community, here is the log from the commit of package powerman for openSUSE:Factory checked in at 2011-12-14 14:34:31 Comparing /work/SRC/openSUSE:Factory/powerman (Old) and /work/SRC/openSUSE:Factory/.powerman.new (New) Package is powerman, Maintainer is sbra...@suse.com Changes: --- /work/SRC/openSUSE:Factory/powerman/powerman.changes2011-09-23 12:41:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.powerman.new/powerman.changes 2011-12-14 14:34:32.0 +0100 @@ -1,0 +2,5 @@ +Thu Dec 8 13:04:25 UTC 2011 - co...@suse.com + +- the COPYING is GPL-2.0+ + +--- Other differences: -- ++ powerman.spec ++ --- /var/tmp/diff_new_pack.OXC5aw/_old 2011-12-14 14:34:33.0 +0100 +++ /var/tmp/diff_new_pack.OXC5aw/_new 2011-12-14 14:34:33.0 +0100 @@ -24,15 +24,18 @@ Name: powerman Version:2.3.9 -Release:1 -License:GPL -Group: Productivity/Clustering/HA +Release:0 Url:http://powerman.sourceforge.net/ Source: %{name}-%{version}.tar.bz2 Patch0: powerman-piddir.patch Patch1: powerman-runlevel.patch Summary:Centralized Power Control for Clusters -BuildRequires: curl-devel ncurses-devel pkg-config tcpd-devel +License:GPL-2.0+ +Group: Productivity/Clustering/HA +BuildRequires: curl-devel +BuildRequires: ncurses-devel +BuildRequires: pkg-config +BuildRequires: tcpd-devel %if 0%{?enable_heartbeat} BuildRequires: heartbeat %endif @@ -48,7 +51,6 @@ %package -n libpowerman0 Summary:Libraries for applications using PowerMan Group: System/Libraries -License:GPL %description -n libpowerman0 A shared library for applications using PowerMan. @@ -57,7 +59,6 @@ Requires: libpowerman0 = %{version} Summary:Headers and libraries for developing applications using PowerMan Group: Development/Libraries/C and C++ -License:GPL %description devel A header file and static library for developing applications using PowerMan. -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit powerman for openSUSE:Factory
Hello community, here is the log from the commit of package powerman for openSUSE:Factory checked in at Fri Jul 29 09:55:46 CEST 2011. --- powerman/powerman.changes 2010-05-19 09:38:29.0 +0200 +++ /mounts/work_src_done/STABLE/powerman/powerman.changes 2011-07-28 19:39:57.0 +0200 @@ -1,0 +2,16 @@ +Thu Jul 28 19:29:35 CEST 2011 - sbra...@suse.cz + +- Update to version 2.3.9: + * Add MIB support to snmppower. + * Add eaton-epdu-blue-switched.dev. + * Add support for SNMP power controllers. + * Add SNMP dev files for 8-port APC, 8-port Baytech, and 20 port +Eaton Revelation PDU. + * Add support for APC 7900 revision 3 firmware. + * Add support for Appro Greenblade. + * Add support for APC 7920. + * Add Support for ranged beacon on/off device scripts, and beacon +support for ipmipower. +- Make heartbeat support optional as it is dropped now. + +--- calling whatdependson for head-i586 Old: powerman-2.3.5.tar.bz2 New: powerman-2.3.9.tar.bz2 powerman-runlevel.patch Other differences: -- ++ powerman.spec ++ --- /var/tmp/diff_new_pack.xbt6IP/_old 2011-07-29 09:55:00.0 +0200 +++ /var/tmp/diff_new_pack.xbt6IP/_new 2011-07-29 09:55:00.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package powerman (Version 2.3.5) +# spec file for package powerman # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -15,21 +15,27 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild +%if 0%{?suse_version} = 1140 +%if 0%{?suse_version} 1110 +%define enable_heartbeat 1 +%endif +%endif Name: powerman -Version:2.3.5 -Release:4 +Version:2.3.9 +Release:1 License:GPL Group: Productivity/Clustering/HA Url:http://powerman.sourceforge.net/ Source: %{name}-%{version}.tar.bz2 Patch0: powerman-piddir.patch +Patch1: powerman-runlevel.patch Summary:Centralized Power Control for Clusters BuildRequires: curl-devel ncurses-devel pkg-config tcpd-devel -# For directory ownership: +%if 0%{?enable_heartbeat} BuildRequires: heartbeat +%endif #BuildRequires: genders BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %insserv_prereq @@ -39,14 +45,6 @@ central location. Several RPC varieties are supported natively by PowerMan and Expect-like configurability simplifies the addition of new devices. - - -Authors: - -Andrew Uselton -Jim Garlick garlick@gmail.com -Al Chu ch...@llnl.gov - %package -n libpowerman0 Summary:Libraries for applications using PowerMan Group: System/Libraries @@ -55,14 +53,6 @@ %description -n libpowerman0 A shared library for applications using PowerMan. - - -Authors: - -Andrew Uselton -Jim Garlick garlick@gmail.com -Al Chu ch...@llnl.gov - %package devel Requires: libpowerman0 = %{version} Summary:Headers and libraries for developing applications using PowerMan @@ -72,17 +62,10 @@ %description devel A header file and static library for developing applications using PowerMan. - - -Authors: - -Andrew Uselton -Jim Garlick garlick@gmail.com -Al Chu ch...@llnl.gov - %prep %setup -q %patch0 +%patch1 -p1 %build # --with-genders @@ -96,6 +79,10 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la ln -s ../..%{_sysconfdir}/init.d/powerman $RPM_BUILD_ROOT%{_sbindir}/rcpowerman mv $RPM_BUILD_ROOT%{_sysconfdir}/powerman/powerman.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/powerman/powerman.conf +# +%if ! 0%{?enable_heartbeat} +rm -r $RPM_BUILD_ROOT%{_libdir}/stonith +%endif %clean rm -rf $RPM_BUILD_ROOT @@ -116,9 +103,11 @@ %files %defattr(-,root,root) -%doc AUTHORS ChangeLog ChangeLog-1.0 DISCLAIMER COPYING NEWS README TODO +%doc AUTHORS DISCLAIMER COPYING NEWS README TODO %{_bindir}/* +%if 0%{?enable_heartbeat} %{_libdir}/stonith/plugins/external/powerman +%endif %dir %attr(0755,daemon,root) %ghost %{_localstatedir}/run/powerman %doc %{_mandir}/man?/*.* %exclude %doc %{_mandir}/man3/*.* ++ powerman-2.3.5.tar.bz2 - powerman-2.3.9.tar.bz2 ++ 131533 lines of diff (skipped) ++ powerman-piddir.patch ++ --- /var/tmp/diff_new_pack.xbt6IP/_old 2011-07-29 09:55:00.0 +0200 +++ /var/tmp/diff_new_pack.xbt6IP/_new 2011-07-29 09:55:00.0 +0200 @@ -1,5 +1,5 @@ scripts/powerman.init.in -+++ scripts/powerman.init.in +--- scripts/powerman.in scripts/powerman.in @@ -34,7 +34,8 @@ DAEMON=$sbindir/powermand #DAEMON_ARGS=