commit smugbatch for openSUSE:Factory
Hello community, here is the log from the commit of package smugbatch for openSUSE:Factory checked in at 2017-09-25 14:00:11 Comparing /work/SRC/openSUSE:Factory/smugbatch (Old) and /work/SRC/openSUSE:Factory/.smugbatch.new (New) Package is "smugbatch" Mon Sep 25 14:00:11 2017 rev:12 rq:528553 version:007 Changes: --- /work/SRC/openSUSE:Factory/smugbatch/smugbatch.changes 2012-03-29 07:48:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.smugbatch.new/smugbatch.changes 2017-09-25 14:00:12.928089380 +0200 @@ -1,0 +2,5 @@ +Mon Sep 25 04:29:51 UTC 2017 - a...@suse.com + +- Add nsl.patch to remove unused libnsl to fix building on Factory. + +--- New: nsl.patch Other differences: -- ++ smugbatch.spec ++ --- /var/tmp/diff_new_pack.GUy6eE/_old 2017-09-25 14:00:13.723977402 +0200 +++ /var/tmp/diff_new_pack.GUy6eE/_new 2017-09-25 14:00:13.727976840 +0200 @@ -1,7 +1,7 @@ # # spec file for package smugbatch # -# Copyright (c) 2012 SUSE LINUX Products 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 @@ -17,11 +17,6 @@ Name: smugbatch -%if 0%{?suse_version} > 1020 -BuildRequires: libcurl-devel -%else -BuildRequires: curl-devel -%endif Version:007 Release:0 Summary:Tools for smugmug.com @@ -29,20 +24,26 @@ Group: Productivity/Graphics/Other Url:http://github.com/gregkh/smugbatch/tree/master Source: gregkh-%{name}-%{version}-0-g4e9c3fa.tar.gz +Patch1: nsl.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} > 1020 +BuildRequires: libcurl-devel +%else +BuildRequires: curl-devel +%endif %description -Command line tools to access smugmug.com. - -Authors: - -Greg Kroah-Hartman+This collection of tools allows you to list, upload, and download images from +smugmug.com from a command line. They are for use with Linux systems and +hopefully should be able to be easily called by other tools to interact with +smugmug.com where needed. %prep %setup -q -n gregkh-smugbatch-4e9c3fa +%patch1 -p0 %build -make V=1 CFLAGS="%{optflags}" +make %{?_smp_mflags} V=1 CFLAGS="%{optflags}" %install mkdir -p %{buildroot}%{_prefix}/bin @@ -53,7 +54,7 @@ %files %defattr(-,root,root) %doc RELEASE-NOTES COPYING ChangeLog -%doc %{_mandir}/man1/*.gz +%{_mandir}/man1/*%{ext_man} %{_bindir}/smug* %changelog ++ nsl.patch ++ --- Makefile.orig 2012-03-27 00:41:25.0 +0200 +++ Makefile2017-09-25 06:26:23.509008065 +0200 @@ -70,7 +70,7 @@ # We need -lssl and -lcrypto when using libcurl with SSL support # We need -lpthread for the pthread example #LIB_OBJS = -lcurl -lnsl -lssl -lcrypto -LIB_OBJS = -lcurl -lnsl +LIB_OBJS = -lcurl all: $(PROGRAM) $(MAN_PAGES)
commit smugbatch for openSUSE:Factory
Hello community, here is the log from the commit of package smugbatch for openSUSE:Factory checked in at 2012-03-29 07:48:27 Comparing /work/SRC/openSUSE:Factory/smugbatch (Old) and /work/SRC/openSUSE:Factory/.smugbatch.new (New) Package is smugbatch, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/smugbatch/smugbatch.changes 2012-03-26 11:08:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.smugbatch.new/smugbatch.changes 2012-03-29 07:48:29.0 +0200 @@ -1,0 +2,9 @@ +Wed Mar 28 13:44:33 UTC 2012 - a...@suse.de + +- Update to v007: + - smugbatch: Add missing prototype. + - smugbatch: Avoid buffer overflow + - smug_login: fix a memory leak +- Remove merged patch. + +--- Old: smugbatch-006.tar.bz2 smugbatch-Avoid-buffer-overflow.patch New: gregkh-smugbatch-007-0-g4e9c3fa.tar.gz Other differences: -- ++ smugbatch.spec ++ --- /var/tmp/diff_new_pack.4PwrhG/_old 2012-03-29 07:48:31.0 +0200 +++ /var/tmp/diff_new_pack.4PwrhG/_new 2012-03-29 07:48:31.0 +0200 @@ -22,14 +22,13 @@ %else BuildRequires: curl-devel %endif -Version:006 +Version:007 Release:0 Summary:Tools for smugmug.com License:GPL-2.0 Group: Productivity/Graphics/Other Url:http://github.com/gregkh/smugbatch/tree/master -Source: http://www.kernel.org/pub/linux/kernel/people/gregkh/smugbatch/%{name}-%{version}.tar.bz2 -Patch1: smugbatch-Avoid-buffer-overflow.patch +Source: gregkh-%{name}-%{version}-0-g4e9c3fa.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -40,8 +39,7 @@ Greg Kroah-Hartman g...@kroah.org %prep -%setup -q -%patch1 -p1 +%setup -q -n gregkh-smugbatch-4e9c3fa %build make V=1 CFLAGS=%{optflags} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit smugbatch for openSUSE:Factory
Hello community, here is the log from the commit of package smugbatch for openSUSE:Factory checked in at 2012-03-26 11:08:04 Comparing /work/SRC/openSUSE:Factory/smugbatch (Old) and /work/SRC/openSUSE:Factory/.smugbatch.new (New) Package is smugbatch, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/smugbatch/smugbatch.changes 2011-09-23 12:46:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.smugbatch.new/smugbatch.changes 2012-03-26 11:08:05.0 +0200 @@ -1,0 +2,5 @@ +Sun Mar 25 19:17:05 UTC 2012 - a...@suse.de + +- Fix buffer overflow during login (bnc#753945). + +--- New: smugbatch-Avoid-buffer-overflow.patch Other differences: -- ++ smugbatch.spec ++ --- /var/tmp/diff_new_pack.L4Ib5K/_old 2012-03-26 11:08:06.0 +0200 +++ /var/tmp/diff_new_pack.L4Ib5K/_new 2012-03-26 11:08:06.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package smugbatch # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -16,20 +16,20 @@ # - Name: smugbatch -Group: Productivity/Graphics/Other %if 0%{?suse_version} 1020 BuildRequires: libcurl-devel %else BuildRequires: curl-devel %endif Version:006 -Release:1 -License:GPL-2.0 +Release:0 Summary:Tools for smugmug.com +License:GPL-2.0 +Group: Productivity/Graphics/Other Url:http://github.com/gregkh/smugbatch/tree/master Source: http://www.kernel.org/pub/linux/kernel/people/gregkh/smugbatch/%{name}-%{version}.tar.bz2 +Patch1: smugbatch-Avoid-buffer-overflow.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -41,6 +41,7 @@ %prep %setup -q +%patch1 -p1 %build make V=1 CFLAGS=%{optflags} ++ smugbatch-Avoid-buffer-overflow.patch ++ From 29b63b58c77fad4eee7c8c8bde42f4727d470dc2 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger a...@suse.de Date: Sun, 25 Mar 2012 20:43:59 +0200 Subject: [PATCH 2/2] smugbatch: Avoid buffer overflow get_su_cookie: Avoid buffer overflow in get_cookie and increase the cookie buffer since it actually did overflow. Fix a warning about shadowing the variable res. this was noticed when compiling with -fstack-protector -D_FORTIFY_SOURCE=2 --- smug_core.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/smug_core.c b/smug_core.c index 1fc2702..cad47bf 100644 --- a/smug_core.c +++ b/smug_core.c @@ -104,15 +104,15 @@ static char *get_su_cookie(CURL *curl) } nc = cookies; while (nc) { - char domain[50], p1[50], p2[50], p3[50], name[50], value[50]; + char domain[50], p1[50], p2[50], p3[50], name[50], value[100]; long unsigned int t; - int res; + int res2; /* #HttpOnly_.smugmug.com\tTRUE\t/\tFALSE\t0\tSMSESS\t99363be4c3ceb3f153f875216539524a */ - res = - sscanf(nc-data, %s\t%s\t%s\t%s\t%lu\t%s\t%s, domain, p1, + res2 = + sscanf(nc-data, %49s\t%49s\t%49s\t%49s\t%lu\t%49s\t%99s, domain, p1, p2, p3, t, name, value); - if (res == 7 strcmp(name, _su) == 0) { + if (res2 == 7 strcmp(name, _su) == 0) { cookie = valloc(strlen(value) + 1 + 4); sprintf(cookie, _su=%s, value); } -- 1.7.7 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit smugbatch for openSUSE:Factory
Hello community, here is the log from the commit of package smugbatch for openSUSE:Factory checked in at 2011-12-06 19:04:52 Comparing /work/SRC/openSUSE:Factory/smugbatch (Old) and /work/SRC/openSUSE:Factory/.smugbatch.new (New) Package is smugbatch, Maintainer is Changes: Other differences: -- ++ smugbatch.spec ++ --- /var/tmp/diff_new_pack.TON5ZM/_old 2011-12-06 19:37:57.0 +0100 +++ /var/tmp/diff_new_pack.TON5ZM/_new 2011-12-06 19:37:57.0 +0100 @@ -26,7 +26,7 @@ %endif Version:006 Release:1 -License:GPLv2 +License:GPL-2.0 Summary:Tools for smugmug.com Url:http://github.com/gregkh/smugbatch/tree/master Source: http://www.kernel.org/pub/linux/kernel/people/gregkh/smugbatch/%{name}-%{version}.tar.bz2 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit smugbatch for openSUSE:Factory
Hello community, here is the log from the commit of package smugbatch for openSUSE:Factory checked in at Thu Aug 4 09:46:48 CEST 2011. --- smugbatch/smugbatch.changes 2010-12-11 17:33:54.0 +0100 +++ /mounts/work_src_done/STABLE/smugbatch/smugbatch.changes2011-07-29 15:57:57.0 +0200 @@ -1,0 +2,7 @@ +Fri Jul 29 13:54:51 UTC 2011 - a...@suse.de + +- Update to v006: + * includes smugbatch-api1.2.2.patch to support smugmug 1.2.2 api + * bugfixes + +--- calling whatdependson for head-i586 Old: smugbatch-005.tar.bz2 smugbatch-api1.2.2.patch New: smugbatch-006.tar.bz2 Other differences: -- ++ smugbatch.spec ++ --- /var/tmp/diff_new_pack.ue2JEf/_old 2011-08-04 09:46:20.0 +0200 +++ /var/tmp/diff_new_pack.ue2JEf/_new 2011-08-04 09:46:20.0 +0200 @@ -24,13 +24,12 @@ %else BuildRequires: curl-devel %endif -Version:005 +Version:006 Release:1 License:GPLv2 Summary:Tools for smugmug.com Url:http://github.com/gregkh/smugbatch/tree/master -Source: %{name}-%{version}.tar.bz2 -Patch1: smugbatch-api1.2.2.patch +Source: http://www.kernel.org/pub/linux/kernel/people/gregkh/smugbatch/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -42,7 +41,6 @@ %prep %setup -q -%patch1 -p1 %build make V=1 CFLAGS=%{optflags} ++ smugbatch-005.tar.bz2 - smugbatch-006.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smugbatch-005/ChangeLog new/smugbatch-006/ChangeLog --- old/smugbatch-005/ChangeLog 2008-08-19 21:46:03.0 +0200 +++ new/smugbatch-006/ChangeLog 2011-07-19 20:16:59.0 +0200 @@ -1,3 +1,16 @@ +Summary of changes from v005 to v006 + + +Andreas Jaeger (2): + Get smugbatch to work properly with the 1.2.2 API + Use the 1.2.2 api properly + +Jonathan Neuschäfer (4): + HACKING: fix a typo (smubatch) + session_alloc: fix a null-pointer dereference + smug_core: fix a memory leak in get_string_from_stdin + fix memory leaks found by cppcheck + Summary of changes from v004 to v005 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smugbatch-005/HACKING new/smugbatch-006/HACKING --- old/smugbatch-005/HACKING 2008-08-19 21:46:03.0 +0200 +++ new/smugbatch-006/HACKING 2011-07-19 20:16:59.0 +0200 @@ -1,7 +1,7 @@ Patches are gladly accepted for smugbatch code, please send them to g...@kroah.com, or you can use github to send a pull request. -The code tree for smubatch is located at: +The code tree for smugbatch is located at: http://github.com/gregkh/smugbatch and can be cloned using git from: git://github.com/gregkh/smugbatch.git @@ -28,18 +28,3 @@ It is safe to ignore the valgrind errors in the curl and ssl libraries, we can't do anything about those at this time. - -Basic usage with github: -* create a fork of gregkh/smugbatch at github.com -* Check it out locally: git clone g...@github.com:ajaeger/smugbatch.git -* switch to the directory: cd smugbatch/ -* add Greg's git as remote repository: - git remote add smugcore git://github.com/gregkh/smugbatch.git -* Fetch it: - git fetch smugcore -* This will create a branch, so merge it back: - git checkout master - git merge smugcore/master -* Sync merge back: - git commit -a -m Sync to fork master - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smugbatch-005/Makefile new/smugbatch-006/Makefile --- old/smugbatch-005/Makefile 2008-08-19 21:46:03.0 +0200 +++ new/smugbatch-006/Makefile 2011-07-19 20:16:59.0 +0200 @@ -16,7 +16,7 @@ # # -VERSION = 005 +VERSION = 006 PROGRAM = smugup smugls smugdown @@ -126,8 +126,8 @@ git commit -a -m release $(VERSION) cat .git/refs/heads/master .git/refs/tags/$(VERSION) @ echo - git-archive --format=tar --prefix=smugbatch-$(VERSION)/ HEAD | gzip -9v smugbatch-$(VERSION).tar.gz - git-archive --format=tar --prefix=smugbatch-$(VERSION)/ HEAD | bzip2 -9v smugbatch-$(VERSION).tar.bz2 + git archive --format=tar --prefix=smugbatch-$(VERSION)/ HEAD | gzip -9v smugbatch-$(VERSION).tar.gz + git archive --format=tar --prefix=smugbatch-$(VERSION)/ HEAD | bzip2 -9v smugbatch-$(VERSION).tar.bz2 .PHONY: release diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smugbatch-005/RELEASE-NOTES new/smugbatch-006/RELEASE-NOTES --- old/smugbatch-005/RELEASE-NOTES 2008-08-19 21:46:03.0 +0200 +++ new/smugbatch-006/RELEASE-NOTES 2011-07-19