Commit Graph

63 Commits

Author SHA1 Message Date
R. Ryantm
7d61000468 synergyWithoutGUI: 1.14.5.22 -> 1.14.6.19-stable 2023-05-13 05:29:12 +00:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Sergei Trofimovich
c4d1b71ec5 synergy: use xorg.* packages directly instead of xlibsWrapper indirection
Validated as no change in `out` output with `diffoscope`.
2022-11-14 08:32:07 +00:00
Michael Hoang
57b57170f4 synergy: fix build on aarch64-darwin 2022-11-01 21:43:04 +11:00
R. Ryantm
beff556950 synergy: 1.14.5.17 -> 1.14.5.22 2022-10-01 02:26:24 +00:00
Ivar Scholten
a0e9f038eb
synergy: 1.14.1.32 -> 1.14.5.17 2022-09-05 01:40:03 +02:00
talyz
c11d08f023 synergy: 1.13.1.41 -> 1.14.1.32 2021-11-08 05:21:33 -08:00
Kim Lindberger
1693374dbd
synergy: 1.11.1 -> 1.13.1.41 (#123359) 2021-05-23 01:55:42 +02:00
Michael Hoang
31f9051cf6 treewide: stop maintaining most packages 2021-01-06 17:06:03 +11:00
aszlig
9e476fe740
synergy: Add patch to fix CVE-2020-15117
From the description of CVE-2020-15117:

> In Synergy before version 1.12.0, a Synergy server can be crashed by
> receiving a kMsgHelloBack packet with a client name length set to
> 0xffffffff (4294967295) if the servers memory is less than 4 GB. It
> was verified that this issue does not cause a crash through the
> exception handler if the available memory of the Server is more than
> 4GB.

While I personally would consider this a pretty low-priority issue since
Synergy usually is only used in local environment, it's nevertheless
better to patch known issues.

Since the fix is part of version 1.12, which doesn't have a stable
release yet, I'm including the fix as a patch cherry-picked from the
upstream commit.

I originally had the CVE number as a comment prior to the fetchpatch
call in question, but since @mweinelt mentioned that https://broken.sh/
uses the patch file name[1] to match whether the software in question
has been patched, I've removed my initial comment as it would be
redundant.

[1]: https://github.com/andir/nix-vulnerability-scanner/blob/fb63998885462/src/report/nix_patches.rs#L83-L95

Signed-off-by: aszlig <aszlig@nix.build>
Fixes: https://github.com/NixOS/nixpkgs/issues/94007
2020-08-04 16:35:18 +02:00
aszlig
3873e0d191
Unmaintain packages I don't use anymore
Just got a reminder via the vulnerability roundup[1] that I'm still
listed as maintainer for Synergy, even though I stopped using it years
ago.

I'll also take this as an opportunity to remove myself from other
packages which I stopped using and thus most certainly won't be able to
maintain. The latter is already hard enough these days for software
which I *do* use.

[1]: https://github.com/NixOS/nixpkgs/issues/94007

Signed-off-by: aszlig <aszlig@nix.build>
2020-07-28 02:08:36 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
talyz
b4d68d88c6 synergy: 1.11.0 -> 1.11.1 2020-04-02 16:31:22 +00:00
Kim Lindberger
a2f3ec7a60
synergy: Build application bundle on Darwin + other fixes (#80354)
Includes the following fixes for Darwin:
- Build an application bundle
- Don't install the .desktop file and icons
- Get rid of unused cmake variables
- Don't list avahi as a dependency, since it's not used
2020-02-17 14:41:43 -05:00
Kim Lindberger
29c5035e0f
synergy: 1.8.8 -> 1.11.0 (#80138)
This gets rid of a few patches that aren't needed any more, adds one
to make the tests work again and updates the MacOS patch. It also
introduces two builds - one with the Qt application and one without.

The patch to get the tests working will be submitted upstream and
hopefully not be needed for future releases.
2020-02-14 19:39:47 -05:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Daiderd Jordan
29e68d765b
synergy: fix darwin build 2019-07-03 22:20:20 +02:00
Michael Roitzsch
f84e353831 synergy: fix compilation on macOS
cf-private is needed to build on macOS
2019-01-11 16:22:02 +01:00
Michael Hoang
fe69ee86c8 Fix Synergy building on macOS
Update gtest and gmock to fix clang compiler issues, as well as patch
CMakeLists.txt in multiple places to fix other issues on macOS.
2018-07-16 23:57:40 +10:00
Alexei Robyn
97594ffd86 synergy: track upstream repository name change. 2017-11-05 01:30:20 +11:00
Orivej Desh
46cb14c8cc synergy: fix check with gcc6 2017-08-28 20:16:18 +02:00
Robin Gloster
3d90c689cf
synergy: add patch to build with openssl 1.1 2017-08-04 02:26:24 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Franz Pletz
5788bd82c1
synergy: broken on darwin 2017-06-07 06:14:18 +02:00
Benjamin Staffin
1800838364
synergy: 1.7.6 -> 1.8.8 2017-06-06 16:38:30 -04:00
Oliver Hunt
7060eaf0bb synergy: 1.7.5 -> 1.7.6 2016-06-25 13:54:29 +02:00
Jakob Gillich
53f231d9e0 synergy: 1.7.4 -> 1.7.5
repository has moved
2016-02-11 17:37:53 +01:00
Vladimír Čunát
21e3ff658a x11: replace its usage by xlibsWrapper directly
Scilab note: the parameters already had pointed to nonexistent dirs
before this set of refactoring. But that config wasn't even used by
default.
2015-09-15 12:08:24 +02:00
aszlig
18b2a21583
synergy: Fix support for XRandR again.
Regression introduced by f91dacdd07.

Accidentally thought that it's compiling with XRandR support enabled,
because the cmake output said so:

Looking for XRRQueryExtension in Xrandr - found

Unfortunately, despite this message, the relevant part is:

Looking for XRRNotifyEvent - not found

So, ea4afb7 still holds true and I've added a small comment to avoid
this from happening in the future.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-08-11 15:04:28 +02:00
aszlig
5c7f05c1be
synergy: Update meta.description + meta.homepage.
I don't know what a "mouse keyboard" is, but instead of fixing the
description, let's use the one from the upstream README file, which is
also shorter than what we previously had.

The homepage http://synergy-foss.org/ is outdate since ages, so let's
point to the new site.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-08-11 13:16:10 +02:00
aszlig
f91dacdd07
synergy: Update from version 1.6.3 to 1.7.4.
Quite a lot of upstream changes happened in between, so here are the
upstream changes:

https://github.com/synergy/synergy/releases/tag/1.7.0
https://github.com/synergy/synergy/releases/tag/v1.7.1-stable
https://github.com/synergy/synergy/releases/tag/v1.7.2-stable
https://github.com/synergy/synergy/releases/tag/v1.7.3-stable
https://github.com/synergy/synergy/releases/tag/v1.7.4-stable

The upstream project has stopped using cryptopp
(synergy/synergy@80343c4) and now uses OpenSSL instead (see issue
synergy/synergy#4313) so we no longer need our patch.

Also, the issue for the 'install' target has been closed as obsolete and
although they had such a target in the meantime, it has been removed
again in synergy/synergy@d1eb7a6, so let's not rely on it anymore and
remove the comment on the closed/obsolete issue.

Forcing support for XRandR in the CMakeLists.txt file isn't needed
anymore, because the issues mentioned in ea4afb7 have been fixed
upstream.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Reported-by: devhell <"^"@regexmail.net>
2015-08-11 13:08:51 +02:00
koral
cf2433f749 synergy: 1.6.2 -> 1.6.3 2015-04-13 18:13:11 +00:00
aszlig
38d639745e
synergy: Update to new upstream version 1.6.2.
Fixes the following bugs:

 * Helper tool crashes when service checks elevation state
 * Zeroconf on server advertises bogus IP address
 * Drag file causes client crash on Mac (10.10)

Introduces the following enhancements:

 * Optional Bonjour requirement for Windows
 * Automatic Bonjour download and install
 * Auto-config available servers combo box
 * More user friendly dialog when client is detected
 * Minimize auto config message box usage
 * Firewall exception for GUI (needed for Bonjour)
 * Consistent naming for auto config feature

Full changelog with bug IDs can be found at:

http://synergy-project.org/changelog/

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-12-18 14:06:12 +01:00
William A. Kennington III
9a33f806ff synergy: 1.5.1 -> 1.6.1 2014-11-22 20:25:24 -08:00
aszlig
fc434d1f5c
synergy: Update to new upstream version 1.5.1.
Bugfix release, fixing the following bugs:

 - Configuration file paths containing spaces don't work
 - Log path needs to be in quotes on windows
 - Installer fails when Windows Firewall is disabled

http://svn.synergy-project.org/tags/1.5.1/ChangeLog

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-09-03 12:52:08 +02:00
Peter Simons
2d326e5032 Merge remote-tracking branch 'origin/master' into staging.
Conflicts:
	pkgs/desktops/e18/enlightenment.nix
2014-08-04 16:51:47 +02:00
Rok Garbas
d8fa02b508 synergy: update to 1.5.0 2014-08-03 21:47:10 +02:00
Eelco Dolstra
40f7b0f9df Another attempt to eradicate ensureDir
See c556a6ea46.
2014-06-30 14:56:10 +02:00
Mathijs Kwik
d87ae02fc1 synergy: upgrade to 1.4.17 2014-04-11 14:09:07 +02:00
aszlig
8a0b424296
synergy: Update to new upstream version 1.4.15.
This is a bugfix release which fixes the following bugs:

 * Synergy Service - Error 87: The parameter is incorrect.
 * Option not supported on Linux: --enable-drag-drop (server not
   starting)

Bug IDs and the announcement can be found at:

http://synergy-foss.org/blog/synergy-1-4-15-released/

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-10-23 17:16:17 +02:00
aszlig
c01a5b5442
synergy: Update to version 1.4.14.
This new upstream release comes with the following changes:

New features:

 * Drag and drop between computers (Windows and Mac)

Fixed bugs:

 * Mac does not wake up
 * Unstable service (synergyd)
 * Exploit: C:\Program.exe (if it exists) is run by service (elevated)
 * Encryption broken (GCM, CTR and OFB)
 * Start button is visible when Synergy is running
 * Apply button is disabled for Mac and Linux

Release announcement with links to detailed descriptions about each
change can be found here:

http://synergy-foss.org/blog/synergy-1-4-14/

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-10-19 22:10:58 +02:00
aszlig
467608f614
synergy: Only pass cryptopp on Linux platforms.
The second failure, and the last one I'm going to try today:

http://hydra.nixos.org/build/5404634

On the bright side there is at least the fact that version 1.4.10 has failed on
Darwin already, so I guess we don't have a lot of Mac users using Synergy.

Latest (failed) build of 1.4.10:

http://hydra.nixos.org/build/5359408

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-06-21 13:46:22 +02:00
aszlig
cfd284443e
synergy: Use bundled crypto++ on non-Linux archs.
Seems that crypto++ in nixpkgs doesn't build on Darwin, so let's use bundled
crypto++ until the version in nixpkgs works well.

This refers to the following build:

http://hydra.nixos.org/build/5404516

Hopefully, this will fix it on Mac OS X, because I don't have a Darwin machine
for testing.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-06-21 13:21:43 +02:00
aszlig
467962b185
synergy: Take over maintenance.
I'm heavily using synergy for daily work, so I'm most probably going to watch
out for changes/improvements/bugs :-)

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-06-21 12:18:21 +02:00
aszlig
9a37a306b8
synergy: Enable unit tests.
Integration tests don't seem to work right now, so let's see if we can figure
out a way to enable them later. But at least running unit tests is better than
not running any tests :-)

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-06-21 12:17:54 +02:00
aszlig
d9e0c355a0
synergy: Add support for Xinput2.
This is needed in order to support devices such as gamepads or tablets.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-06-21 12:17:53 +02:00
aszlig
ea4afb73d8
synergy: Add support for XrandR.
Nowadays, multiple monitor setups are quite common, so I suppose we'd want
support for that. Especially because users might get confused if synergy is
unable to pick the right screen resolution and thus cause edges to be cut off
from the available pointing area.

The postPatch hook is to force cmake into thinking that we have XRRNotifyEvent,
which we _do_ have with the xrandr version shipped in nixpkgs. Automatic
detection from CMakeLists.txt fails here because it tries to search for the
symbol within the libX11 store path.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-06-21 12:17:53 +02:00
aszlig
57dee2a27e
synergy: Update to new upstream version 1.4.12.
This brings in support for encryption and thus requires the crypto++ library as
an additional dependency. Unfortunately the upstream integration isn't quite the
way we'd like it to be, so we need to add a small patch to ignore the bundled
version and use the package from nixpkgs.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-06-21 12:17:53 +02:00
Domen Kozar
229616de83 set platforms and correct license to synergy 2013-03-28 13:24:37 +01:00
Eduard Carreras
9962055627 Remove pwd to know where I am 2012-10-15 20:01:45 +02:00