···11+{ stdenv, fetchurl, pkgconfig, ecore, eina, evas, dbus_libs }:22+stdenv.mkDerivation rec {33+ name = "e_dbus-${version}";44+ version = "1.0.1";55+ src = fetchurl {66+ url = "http://download.enlightenment.org/releases/${name}.tar.gz";77+ sha256 = "1ifkijy4ap2mlqw2nd1dlvzlppyi7bnp15bxiy40nhdly8vhpbdl";88+ };99+ buildInputs = [ pkgconfig ecore eina evas ];1010+ propagatedBuildInputs = [ dbus_libs ];1111+ configureFlags = ''1212+ --disable-edbus-test1313+ --disable-edbus-test-client1414+ --disable-edbus-notify-send1515+ --disable-edbus-notify-test1616+ '';1717+ meta = {1818+ description = "Enlightenment's D-Bus wrapping and glue layer library";1919+ longDescription = ''2020+ Enlightenment's E_Dbus is a set of wrappers around DBus APIs by2121+ third party, so they can be easily used by EFL applications,2222+ automatically providing Ecore/main loop integration, as well as2323+ Eina data types.2424+ '';2525+ homepage = http://enlightenment.org/;2626+ license = stdenv.lib.licenses.bsd2; # not sure2727+ };2828+}
···11+{ stdenv, fetchurl, pkgconfig, eina, evas, libX11, libXext }:22+stdenv.mkDerivation rec {33+ name = "ecore-${version}";44+ version = "1.0.1";55+ src = fetchurl {66+ url = "http://download.enlightenment.org/releases/${name}.tar.gz";77+ sha256 = "1vi03zxnsdnrjv1rh5r3v0si0b20ikrfb8hf5374i2sqvi1g65j0";88+ };99+ buildInputs = [ pkgconfig eina evas ];1010+ propagatedBuildInputs = [ libX11 libXext ];1111+ meta = {1212+ description = "Enlightenment's core mainloop, display abstraction and utility library";1313+ longDescription = ''1414+ Enlightenment's Ecore is a clean and tiny event loop library1515+ with many modules to do lots of convenient things for a1616+ programmer, to save time and effort.1717+1818+ It's small and lean, designed to work on embedded systems all1919+ the way to large and powerful multi-cpu workstations. It2020+ serialises all system signals, events etc. into a single event2121+ queue, that is easily processed without needing to worry about2222+ concurrency. A properly written, event-driven program using this2323+ kind of programming doesn't need threads, nor has to worry about2424+ concurrency. It turns a program into a state machine, and makes2525+ it very robust and easy to follow.2626+ '';2727+ homepage = http://enlightenment.org/;2828+ license = stdenv.lib.licenses.bsd2; # not sure2929+ };3030+}
+24
pkgs/desktops/e17/edje/default.nix
···11+{ stdenv, fetchurl, pkgconfig, lua, eina, eet, evas, ecore, embryo }:22+stdenv.mkDerivation rec {33+ name = "edje-${version}";44+ version = "1.0.1";55+ src = fetchurl {66+ url = "http://download.enlightenment.org/releases/${name}.tar.gz";77+ sha256 = "0z7gjj4ccjr36ba763ijmjkya58fc173vpdw1m298zwhy8n4164j";88+ };99+ buildInputs = [ pkgconfig lua eina eet evas ecore embryo ];1010+ meta = {1111+ description = "Enlightenment's abstract GUI layout and animation object library";1212+ longDescription = ''1313+ Enlightenment's Edje is a complex graphical design & layout1414+ library based on Evas that provides an abstraction layer between1515+ the application code and the interface, while allowing extremely1616+ flexible dynamic layouts and animations.1717+1818+ In more popular terms, Edje makes every application that uses it1919+ "skinable".2020+ '';2121+ homepage = http://enlightenment.org/;2222+ license = stdenv.lib.licenses.bsd2; # not sure2323+ };2424+}
+29
pkgs/desktops/e17/eet/default.nix
···11+{ stdenv, fetchurl, pkgconfig, eina, zlib, libjpeg }:22+stdenv.mkDerivation rec {33+ name = "eet-${version}";44+ version = "1.4.1";55+ src = fetchurl {66+ url = "http://download.enlightenment.org/releases/${name}.tar.gz";77+ sha256 = "1hlznlmgkgzxnkmc3qgqjrc62bmwqj5af8lsh59vac2gf4jnymnc";88+ };99+ buildInputs = [ pkgconfig eina zlib libjpeg ];1010+ meta = {1111+ description = "Enlightenment's data encode/decode and storage library";1212+ longDescription = ''1313+ Enlightenment's EET is a tiny library designed to write an1414+ arbitary set of chunks of data to a file and optionally compress1515+ each chunk (very much like a zip file) and allow fast1616+ random-access reading of the file later on. EET files are1717+ perfect for storing data that is written once (or rarely) and1818+ read many times, especially when the program does not want to1919+ have to read all the data in at once.2020+2121+ Use this library when you need to pack C structure and you want2222+ to retrieve it quickly with as few as possible memory use. You2323+ can also use it to serialize data quickly and exchange them2424+ between two program over ipc or network link.2525+ '';2626+ homepage = http://enlightenment.org/;2727+ license = stdenv.lib.licenses.bsd2; # not sure2828+ };2929+}
+23
pkgs/desktops/e17/eeze/default.nix
···11+{ stdenv, fetchurl, pkgconfig, eina, ecore, udev }:22+stdenv.mkDerivation rec {33+ name = "eeze-${version}";44+ version = "1.0.2";55+ src = fetchurl {66+ url = "http://download.enlightenment.org/releases/${name}.tar.gz";77+ sha256 = "0g6afhnl862clj1rfh0s4nzdnhdikylbalfp8zmsw56dj0zncynq";88+ };99+ buildInputs = [ pkgconfig eina ecore ];1010+ propagatedBuildInputs = [ udev ];1111+ meta = {1212+ description = "Enlightenment's device abstraction library";1313+ longDescription = ''1414+ Enlightenment's Eeze is a library for manipulating devices1515+ through udev with a simple and fast api. It interfaces directly1616+ with libudev, avoiding such middleman daemons as udisks/upower1717+ or hal, to immediately gather device information the instant it1818+ becomes known to the system.1919+ '';2020+ homepage = http://enlightenment.org/;2121+ license = stdenv.lib.licenses.bsd2; # not sure2222+ };2323+}
+29
pkgs/desktops/e17/efreet/default.nix
···11+{ stdenv, fetchurl, pkgconfig, eina, eet, ecore }:22+stdenv.mkDerivation rec {33+ name = "efreet-${version}";44+ version = "1.0.1";55+ src = fetchurl {66+ url = "http://download.enlightenment.org/releases/${name}.tar.gz";77+ sha256 = "0fakczsrr1idyvrp04mxw51ww017kn65xa77vq8wka4js8y0nagi";88+ };99+ buildInputs = [ pkgconfig eina eet ecore ];1010+ meta = {1111+ description = "Enlightenment's standards handling for freedesktop.org standards";1212+ longDescription = ''1313+ Enlightenment's Efreet is a library designed to help apps work1414+ several of the Freedesktop.org standards regarding Icons,1515+ Desktop files and Menus. To that end it implements the following1616+ specifications:1717+1818+ * XDG Base Directory Specification1919+ * Icon Theme Specification2020+ * Desktop Entry Specification2121+ * Desktop Menu Specification2222+ * FDO URI Specification2323+ * Shared Mime Info Specification2424+ * Trash Specification 2525+ '';2626+ homepage = http://enlightenment.org/;2727+ license = stdenv.lib.licenses.bsd2; # not sure2828+ };2929+}
+18
pkgs/desktops/e17/eina/default.nix
···11+{ stdenv, fetchurl }:22+stdenv.mkDerivation rec {33+ name = "eina-${version}";44+ version = "1.0.1";55+ src = fetchurl {66+ url = "http://download.enlightenment.org/releases/${name}.tar.gz";77+ sha256 = "1v2z1l6nqr7hnp5gki3972kprlvylpalp5wq9xdppm250z91kaas";88+ };99+ meta = {1010+ description = "Enlightenment's core data structure library";1111+ longDescription = ''1212+ Enlightenment's Eina is a core data structure and common utility1313+ library.1414+ '';1515+ homepage = http://enlightenment.org/;1616+ license = stdenv.lib.licenses.lgpl21;1717+ };1818+}
+21
pkgs/desktops/e17/embryo/default.nix
···11+{ stdenv, fetchurl }:22+stdenv.mkDerivation rec {33+ name = "embryo-${version}";44+ version = "1.0.0";55+ src = fetchurl {66+ url = "http://download.enlightenment.org/releases/${name}.tar.gz";77+ sha256 = "0ch9vps83s892vda1ss1cf1fbgzff9p51df2fip7fqlj8y1shvvx";88+ };99+ meta = {1010+ description = "Enlightenment's small Pawn based virtual machine and compiler";1111+ longDescription = ''1212+ Enlightenment's Embryo is a tiny library designed to interpret1313+ limited Small programs compiled by the included compiler,1414+ embryo_cc. It is mostly a cleaned up and smaller version of the1515+ original Small abstract machine. The compiler is mostly1616+ untouched.1717+ '';1818+ homepage = http://enlightenment.org/;1919+ license = with stdenv.lib.licenses; [ bsd2 bsd3 ]; # not sure2020+ };2121+}
+29
pkgs/desktops/e17/enlightenment/default.nix
···11+{ stdenv, fetchurl, pkgconfig, eina, eet, evas, ecore, edje, efreet, e_dbus, embryo }:22+stdenv.mkDerivation rec {33+ name = "enlightenment-0.16.999.55225";44+ src = fetchurl {55+ url = "http://download.enlightenment.org/snapshots/2010-12-03/${name}.tar.gz";66+ sha256 = "1cv701fidp9mx3g5m9klmzsp0fj149rb133v1w76rzms3a0wljl1";77+ };88+ buildInputs = [ pkgconfig eina eet ecore evas edje efreet e_dbus embryo ];99+ configureFlags = ''1010+ --with-profile=FAST_PC1111+ --disable-illume1212+ --disable-illume21313+ '';1414+ meta = {1515+ description = "Enlightenment, the window manager";1616+ longDescription = ''1717+ The Enlightenment Desktop shell provides an efficient yet1818+ breathtaking window manager based on the Enlightenment1919+ Foundation Libraries along with other essential desktop2020+ components like a file manager, desktop icons and widgets.2121+2222+ It boasts a un-precedented level of theme-ability while still2323+ being capable of performing on older hardware or embedded2424+ devices.2525+ '';2626+ homepage = http://enlightenment.org/;2727+ license = stdenv.lib.licenses.bsd2; # not sure2828+ };2929+}
+25
pkgs/desktops/e17/evas/default.nix
···11+{ stdenv, fetchurl, pkgconfig, freetype, fontconfig, libpng, libjpeg22+, libX11, libXext, eina, eet }:33+stdenv.mkDerivation rec {44+ name = "evas-${version}";55+ version = "1.0.1";66+ src = fetchurl {77+ url = "http://download.enlightenment.org/releases/${name}.tar.gz";88+ sha256 = "0xkwyvxy32dwja0i3j8r8bzlybjwlrgmrhcri1bscp3aaj75x2rx";99+ };1010+ buildInputs = [ pkgconfig freetype fontconfig libpng libjpeg1111+ libX11 libXext eina eet1212+ ];1313+ meta = {1414+ description = "Enlightenment's canvas and scenegraph rendering library";1515+ longDescription = ''1616+ Enlightenment's Evas is a clean display canvas API that1717+ implements a scene graph, not an immediate-mode rendering1818+ target, is cross-platform, for several target display systems1919+ that can draw anti-aliased text, smooth super and sub-sampled2020+ scaled images, alpha-blend objects and much more.2121+ '';2222+ homepage = http://enlightenment.org/;2323+ license = stdenv.lib.licenses.bsd2; # not sure2424+ };2525+}
···11+https://bugzilla.redhat.com/attachment.cgi?id=26509122+33+This fixes somewhat reversed logic of trying to connect to WHOIS server.44+Tue Nov 20 2007, Lubomir Kundrak <lkundrak@redhat.com>55+66+--- jwhois-4.0/src/utils.c.connect 2007-06-26 09:00:20.000000000 +020077++++ jwhois-4.0/src/utils.c 2007-11-20 17:05:33.000000000 +010088+@@ -247,7 +247,7 @@ make_connect(const char *host, int port)99+ {1010+ return -1;1111+ }1212+- while (res)1313++ for (; res; res = res->ai_next)1414+ {1515+ sa = res->ai_addr;1616+ sockfd = socket(res->ai_family, res->ai_socktype, res->ai_protocol);1717+@@ -266,15 +266,15 @@ make_connect(const char *host, int port)1818+ flags = fcntl(sockfd, F_GETFL, 0);1919+ if (fcntl(sockfd, F_SETFL, flags|O_NONBLOCK) == -1)2020+ {2121++ close (sockfd);2222+ return -1;2323+ }2424+2525+-2626+ error = connect(sockfd, res->ai_addr, res->ai_addrlen);2727+-2828+ if (error < 0 && errno != EINPROGRESS)2929+ {3030+- break;3131++ close (sockfd);3232++ continue;3333+ }3434+3535+ FD_ZERO(&fdset);3636+@@ -283,18 +283,20 @@ make_connect(const char *host, int port)3737+ error = select(FD_SETSIZE, NULL, &fdset, NULL, &timeout);3838+ if (error == 0)3939+ {4040+- break;4141++ close (sockfd);4242++ return -1;4343+ }4444+4545+ retlen = sizeof(retval);4646+ error = getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &retval, &retlen);4747+ if (error < 0 || retval)4848+ {4949+- break;5050++ close (sockfd);5151++ return -1;5252+ }5353+- res = res->ai_next;5454++5555++ break;5656+ }5757+- if (error < 0 || retval) return -1;5858+ #endif5959+6060+ return sockfd;
+2
pkgs/tools/networking/jwhois/default.nix
···10101111 postInstall = "ln -s jwhois $out/bin/whois";12121313+ patches = [ ./connect.patch ];1414+1315 meta = {1416 description = "A client for the WHOIS protocol allowing you to query the owner of a domain name";1517 homepage = http://www.gnu.org/software/jwhois/;
+1-1
pkgs/tools/networking/p2p/bit-tornado/default.nix
···11{stdenv,fetchurl,python, wxPython, makeWrapper, 22 ssl}:33stdenv.mkDerivation {44- name = "bit-tornado";44+ name = "bit-tornado-0.3.18";5566 src = fetchurl {77 url = http://download2.bittornado.com/download/BitTornado-0.3.18.tar.gz;
+2
pkgs/tools/networking/p2p/rtorrent/default.nix
···14141515 buildInputs = [ libtorrent ncurses pkgconfig libsigcxx curl zlib openssl ];16161717+ postInstall = "install -D -m 444 doc/rtorrent.1 $out/share/man/man1/rtorrent.1";1818+1719 meta = {1820 homepage = "http://libtorrent.rakshasa.no/";1921 description = "An ncurses client for libtorrent, ideal for use with screen or dtach";