On Fri, 01 Aug 2014 08:57:03 +0000, "Dominique Leuenberger a.k.a. Dimstar"
Post by Dominique Leuenberger a.k.a. DimstarPost by d***@velocitynet.com.auHello,
Can a security patch be applied to a package.
Thank you
--Glenn
from http://www.cacti.net/download_patches.php
wget http://www.cacti.net/downloads/patches/0.8.8b/security.patch
patch -p1 -N < security.patch
https://build.opensuse.org/package/view_file/server:monitoring/cacti/cacti.spec?expand=1
Post by Dominique Leuenberger a.k.a. DimstarYou seem to be capable of doing this.. branch the package, add the
patch, resubmit it.
Dominique
Hello,
I found out the following.
Question.
- How do I submit it for review ?
--Thanks Glenn
#This combination does build:
%prep
%setup -q
%patch0 -p1
%patch1 -p1
#%patch2 -p1
%patch3 -p3
%patch4 -p1
#This combination does NOT build:
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
#%patch3 -p3
%patch4 -p1
Other details:
passed build log
[ 70s] 2 packages and 0 specfiles checked; 0 errors, 34 warnings.
[ 70s]
[ 70s] ... creating baselibs
[ 70s] ... comparing built packages with the former built
[ 70s] /usr/lib/build/rpm-check.sh
[ 70s] compare /.build.oldpackages/cacti-0.8.8b-33.1.src.rpm
/home/abuild/rpmbuild/SRPMS/cacti-0.8.8b-35.1.src.rpm
[ 70s] --- /tmp/tmp.Vig6VwdkDZ 2014-08-02 06:37:26.516828624 +0000
[ 70s] +++ /tmp/tmp.LTzXpGqUVj 2014-08-02 06:37:26.532828624 +0000
[ 70s] @@ -7,7 +7,7 @@
[ 70s] ina database, Cacti also handles data gathering. There exists an
SNMP
[ 70s] support for those accustomed to creating traffic graphs with
MRTG as
[ 70s] well.
[ 70s] - obs://build.opensuse.org/home:doiggl home:doiggl /
openSUSE_Factory
obs://build.opensuse.org/home:doiggl/openSUSE_Factory/929297a54618d3912a13c41d71179056-cacti
GPL-2.0+ GPL-2.0+
[ 70s] + obs://build.opensuse.org/home:doiggl home:doiggl /
openSUSE_Factory
obs://build.opensuse.org/home:doiggl/openSUSE_Factory/994d3fd89456d7a6d9b87b60225c5654-cacti
GPL-2.0+ GPL-2.0+
[ 70s] System/Monitoring http://www.cacti.net/ (none) (none) (none)
[ 70s] (none) 4.11.2 (none)
[ 70s] cpio gzip 9
[ 70s] RPM meta information is different
[ 70s] ... saving statistics
[ 70s] ... saving built packages
[ 70s] RPMS/noarch/cacti-0.8.8b-35.1.noarch.rpm
[ 70s] SRPMS/cacti-0.8.8b-35.1.src.rpm
[ 70s] OTHER/_statistics
[ 70s] OTHER/rpmlint.log
[ 70s]
[ 70s] build05 finished "build cacti.spec" at Sat Aug 2 06:37:26 UTC
2014.
[
failed build log example
[ 44s] Patch #4 (security.patch):
[ 44s] + /usr/bin/cat /home/abuild/rpmbuild/SOURCES/security.patch
[ 44s] + /usr/bin/patch -p1 --fuzz=0
[ 44s] patching file cdef.php
[ 44s] Reversed (or previously applied) patch detected! Assume -R? [n]
[ 44s] Apply anyway? [n]
[ 44s] Skipping patch.
[ 44s] 1 out of 1 hunk ignored -- saving rejects to file cdef.php.rej
[ 44s] patching file graph_xport.php
[ 44s] Reversed (or previously applied) patch detected! Assume -R? [n]
[ 44s] Apply anyway? [n]
[ 44s] Skipping patch.
[ 44s] 1 out of 1 hunk ignored -- saving rejects to file
graph_xport.php.rej
[ 44s] patching file lib/graph_export.php
[ 44s] Reversed (or previously applied) patch detected! Assume -R? [n]
[ 44s] Apply anyway? [n]
[ 44s] Skipping patch.
[ 44s] 2 out of 2 hunks ignored -- saving rejects to file
lib/graph_export.php.rej
[ 44s] patching file lib/rrd.php
[ 44s] Reversed (or previously applied) patch detected! Assume -R? [n]
[ 44s] Apply anyway? [n]
[ 44s] Skipping patch.
[ 44s] 3 out of 3 hunks ignored -- saving rejects to file
lib/rrd.php.rej
[ 44s] error: Bad exit status from /var/tmp/rpm-tmp.P5jFSK (%prep)
[ 44s]
[ 44s]
[ 44s] RPM build errors:
[ 44s] Bad exit status from /var/tmp/rpm-tmp.P5jFSK (%prep)
[ 44s] ### WATCHDOG MARKER START ###
[ 47s] [ 32.810980] SysRq : Power Off
[ 47s] [ 32.813335] reboot: Power down
[ 59s] ### WATCHDOG MARKER END ###
--
To unsubscribe, e-mail: opensuse-packaging+***@opensuse.org
To contact the owner, e-mail: opensuse-packaging+***@opensuse.org