Arhipkin Ilya | 29 Aug 14:04 2015

hack 5800

Dear all developers!!!
 
Today there was an attack on the server developer from the company http://www.servercentral.com/ I warned them and calculated at the internet by checking the transport protocol. I think this is one of our developers. Who thinks, and to what end break and count the consumption of toilet paper per month?
ftp://net.arhipkin.com/pub/hack5800.png
-- 
http://www.arhipkin.com
 
Facebook: http://www.facebook.com/ilya.arhipkin
 
 
 
_______________________________________________
oi-dev mailing list
oi-dev <at> openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev
ilya | 30 Jul 13:16 2015

Re: System programming on Solaris

Hello all developers!!!

Found on the Internet a simple program explain how to write a program, 
and device programs.
First you have to set a variable that is displayed if the tether 
main.cpp write in C ++
So we call file hello.cpp
#include <iostream>
#include "functions.h"

using namespace std;

void print_hello () {
   cout << "Hello World!";
}
Then write the header file connectivity oistream
// - * - C ++ - * -
/ *
 * File: iostream.
 * Author: Ilya Arhipkin
 *
 * Created on July 16, 2015, 8:20
 * /

/ *
 * Copyright (c) 1999
 * Boris Fomitchev
 *
 * This material is provided "as is", with absolutely no warranty 
expressed
 * Or implied. Any use is at your own risk.
 *
 * Permission to use or copy this software for any purpose is hereby 
granted
 * Without fee, provided the above notices are retained on all copies.
 * Permission to modify the code and to distribute modified code is 
granted,
 * Provided the above notices are retained, and a notice that the code 
was
 * Modified is included with the above copyright notice.
 *
 * /

#ifndef _STLP_IOSTREAM_H
#define _STLP_IOSTREAM_H

#ifndef _STLP_OUTERMOST_HEADER_ID
# Define _STLP_OUTERMOST_HEADER_ID 0x2035
# Include <stl / _prolog.h>
#endif

#include <iostream>

// Those should be included all separately, as they do contain using 
declarations
#include <streambuf.h>
#include <ostream.h>
#include <istream.h>

#ifndef _STLP_HAS_NO_NAMESPACES

# Ifdef _STLP_BROKEN_USING_DIRECTIVE
_STLP_USING_NAMESPACE (Stlport)
# Else
using _STLP_STD :: cin;
using _STLP_STD :: cout;
using _STLP_STD :: clog;
using _STLP_STD :: cerr;
using _STLP_STD :: iostream;
# Ifndef _STLP_NO_WCHAR_T
using _STLP_STD :: wcin;
using _STLP_STD :: wcout;
using _STLP_STD :: wclog;
using _STLP_STD :: wcerr;
# Endif
# Endif
#endif / * _STLP_HAS_NO_NAMESPACES * /

// Obsolete classes for old-style backwards compatibility

class istream_withassign: public istream {
 public:
  istream_withassign (): istream ((streambuf *) 0) {}
  ~ Istream_withassign () {}

  istream_withassign & operator = (istream & __s) {
    ios :: init (__ s.rdbuf ());
    return * this;
  }
  istream_withassign & operator = (streambuf * __s) {
    ios :: init (__ s);
    return * this;
  }
};

class ostream_withassign: public ostream {
 public:
  ostream_withassign (): ostream ((streambuf *) 0) {}
  ~ Ostream_withassign () {}

  ostream_withassign & operator = (ostream & __s) {
    ios :: init (__ s.rdbuf ());
    return * this;
  }
  ostream_withassign & operator = (streambuf * __s) {
    ios :: init (__ s);
    return * this;
  }
};

class iostream_withassign: public iostream {
 public:
  iostream_withassign (): iostream ((streambuf *) 0) {}
  ~ Iostream_withassign () {}
  iostream_withassign & operator = (ios & __i) {
    ios :: init (__ i.rdbuf ());
    return * this;
  }
  iostream_withassign & operator = (streambuf * __s) {
    ios :: init (__ s);
    return * this;
  }
};

#if (_STLP_OUTERMOST_HEADER_ID == 0x2035)
# Include <_epilog.h>
# Undef _STLP_OUTERMOST_HEADER_ID
#endif

#endif / * _STLP_IOSTREAM_H * /

// Local Variables:
// Mode: C ++
// End:
function.h
/ *
 * File: functions.h
 * Author: Ilya Arhipkin
 *
 * Created on July 16, 2015 8:17
 * /

void print_hello ();
int factorial (int n);
This header file describes variable print_hello
and variable factorial
Writing software factorial
factorial.cpp

#include "functions.h"

int factorial (int n) {
    if (n! = 1) {
    return (n * factorial (n-1));
    }
    else return 1;
}
Finally, the file main.cpp
#include <iostream>
#include "functions.h"

using namespace std;

int main () {
    print_hello ();
    cout << endl;
    cout << "The factorial of 5 is" << factorial (5) << endl;
    return 0;
}
--
http://www.arhipkin.com

_______________________________________________
oi-dev mailing list
oi-dev <at> openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev
Aurélien Larcher | 29 Jul 23:22 2015
Picon

Perl 5.22 XML::Parser

Hi,
one plain stupid question:  is Perl XML::Parser supposed to be upgraded automatically together with 5.22 update ?
Thank you

Aurelien

_______________________________________________
oi-dev mailing list
oi-dev <at> openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev
Aurélien Larcher | 29 Jul 03:58 2015
Picon

LibreOffice: libmspub, libwps

Hi,
these 2 libraries are in the pipe.
I also tried to compile libcdr but it requires lcms2 to be added first, if there is any interest.

Wiki updated: http://wiki.openindiana.org/oi/LibreOffice

Best,

Aurelien
_______________________________________________
oi-dev mailing list
oi-dev <at> openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev
Aurélien Larcher | 28 Jul 03:30 2015
Picon

LibreOffice: librevenge, libodfgen, libwpd, libwpg

Hi,
I submitted the PRs for the aforementioned libraries compiled in 32bit only as LibreOffice will certainly be their only consumer: they can be added as 64bit later on if needed.

The Wiki was updated accordingly: http://wiki.openindiana.org/oi/LibreOffice

If someone wants to contribute one of the remaining libs please drop me a line.
Best

Aurelien

_______________________________________________
oi-dev mailing list
oi-dev <at> openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev
Aurélien Larcher | 28 Jul 01:01 2015
Picon

Hipster News 2015W31: First issue !

Hello,
this message is the first instance of the Hipster News Bi-weekly.

Every two weeks, we will try to give a comprehensive overview of the recent progress:

- developments,
- new and updated packages,
- current known issues,
- works-in-progress and future goals.

This will hopefully allow you to get better understanding of the current activity and give you the opportunity to provide insights and feedback.
We will also post these news to a blog entry (yet to be defined).

There has been a lot of activity in the past weeks in oi-userland [1], summarized below: most notable being the encumbered repository.

 

1. Hipster encumbered repository

The encumbered repository for Hipster [2] was created to provide multimedia software which used to be part of sfe-encumbered.
As a first step ffmpeg 2.7.2 and dependencies were added.

You can find a list of components which ought to be added in the coming weeks, on the Wiki page [3].

Contributing new components is as easy as:

- forking + cloning the oi-userland repository,
- copying one subdirectory of components/encumbered to get started,
- modify the Makefile and add patches if necessary such that ‘gmake install’ succeeds,
- generating a manifest with ‘gmake sample-manifest’ and modifying it if necessary,
- creating a pull-request.

 

2. Summary of oi-userland activity

Additions:

- encumbered: ffmpeg 2.7.2 + dependent libraries
- openal 1.16.0
- bullet 2.83
- inkscape 0.48.5

Updates:

- Apache 2.4.16
- Lighttpd 1.4.36
- Perl 5.22 (in progress)
- PHP 5.5.27, 5.4.43
- freetype 2.5.5
- libdrm to 2.4.62
- nodejs 0.12.7
- several X11 components and libraries, in sync with x-s12-clone
- Boost 1.58 with MPI support
- Compiz Fusion 8.10

Deprecations:

- Apache 1.3
- MySQL 5.1
- Perl 5.10 (see Heads-up below !)

Current goals:

- add GTK3: requires atk, gobject-introspection update first
- port of LibreOffice 4.4.x: warm thanks to Apostolos Syroupolos for contributing the librevenge component, any help is appreciated ! [4]
- update Pulseaudio to 6.0: in progress
- add more components to hipster-encumbered, priority being VLC and gstreamer bad/ugly codecs

 

 3. Heads-up: Perl 5.10 deprecation

Removal of Perl 5.10 means that default illumos.sh will not work any longer and you need to add :

 export PERL_VERSION="5.22";
 export PERL_PKGVERS="-522"

to illumos.sh  while compiling illumos-gate.

 

Thank you for reading us !

[1] https://github.com/OpenIndiana/oi-userland


_______________________________________________
oi-dev mailing list
oi-dev <at> openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev
Alexander Pyhalov | 28 Jul 00:36 2015
Picon

[HEADSUP] Perl 5.22 integration in OpenIndiana Hipster

We now have Perl 5.22 as our main Perl version. During Perl 5.22 
integration
some old packages, including Apache 1.3, MySQL 5.1 and Perl 5.10, were 
removed.

We deliver all perl 5.22 modules which were delivered for Perl 5.16 
earlier. Almost all perl 5.16 modules and Perl 5.16 are kept (the only 
removed module is graphviz perl module, which had conflicts with Perl 
5.22 module).

Removal of Apache 1.3 means that you can't longer build old illumos-gate 
versions. Luckily, illumos-gate builds nicely with Apache 2.2 since 
February.

We suggest you to use either percona-server or mariadb instead of mysql.

Removal of Perl 5.10 is more important. It was a relict inherited from 
OI /dev and still is used in OI /dev to build illumos-gate. This means 
that to build illumos-gate
1) you should have runtime/perl-522/module/sun-solaris and 
library/perl-5/xml-parser-522 installed (they will be installed 
automatically on pkg update),
2) you should set
export PERL_VERSION="5.22"
export PERL_PKGVERS="-522"

in your illumos.sh.

--

-- 
System Administrator of Southern Federal University Computer Center
bentahyr | 27 Jul 06:19 2015

Effort focus

Hi,

I've been trying for the last 2 month to get some updates to OI in particular Hipster.
I tried to update the DE by compiling MATE, then I tried to get an alternative browser to work copnsidering
the issue with Firefox and started to compile Midori.

Of course, MATE is a hell to compile as it is fragmented all over the place with each modules having its on
dependencies. But I reach an interesting point where quite a lot of application were compile but not the
main modules (panel, ...)

Midori is hard on dependencies as well (GTK+3 <- Glib <- automake,....)

I have a very limited time to dedicate (and skills, I have to admit) and would like to make the best out of it so I
ask you.
Does it make sense to try to get MATE up and running to replace GNOME 2, or get another type desktop, or keep the
current one ?
Midori has already moved to GTK+3 and more and more applications are designed on top of it, does it make sense
to focus the effort on building a functionnal GTK+3 on OI as a starting point ?

In other words, what would be the most interesting thing ?

Ben
Aurélien Larcher | 25 Jul 02:45 2015
Picon

ImageMagick *.pc issue

Hi,
as I built Inkscape I had to patch the Makefile due to

make[3]: Entering directory `/scratch/alarcher/oi-userland/components/inkscape/build/i86/src'
echo "  CXXLD " inkscape;/usr/gcc/4.8/bin/g++  -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter  -m32 -fopenmp -DSOLARIS=11   -m32 -o inkscape main.o  libinkscape.a dom/libdom.a libcroco/libcroco.a libavoid/libavoid.a libgdl/libgdl.a libcola/libcola.a libvpsc/libvpsc.a livarot/libvarot.a 2geom/lib2geom.a  libinkversion.a -lgtkmm-2.4 -lgtk-x11-2.0 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lxslt -lxml2 -lm -lxml2 -lsigc-2.0 -lgtkspell -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lgio-2.0 -R/usr/lib -lXrender -R/usr/lib -lXinerama -R/usr/lib -lXrandr -R/usr/lib -lXcursor -R/usr/lib -lXcomposite -R/usr/lib -lXdamage -R/usr/lib -lXfixes -lX11 -R/usr/lib -lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lpthread -lglib-2.0 -lpng14 -lgsl -lgslcblas -lm  -lX11 -lpng -lz -lxml2 -ldl -lgomp -lpopt -laspell -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lpthread -lgmodule-2.0 -lpthread -lgobject-2.0 -lglib-2.0   -lfreetype        -lMagick\+\+6-Q16 -lm -lMagickCore-6.Q16  -lgc   -llcms  -lpoppler  -lpoppler-glib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcairo 
  CXXLD  inkscape
ld: fatal: library -lMagick++6-Q16: not found
ld: fatal: file processing errors. No output written to inkscape
collect2: error: ld returned 1 exit status

I figured now that the problem lies in

usr/lib/*/pkgconfig/ImageMagick++-6.Q16.pc
usr/lib/*/pkgconfig/ImageMagick++.pc
usr/lib/*/pkgconfig/Magick++-6.Q16.pc
usr/lib/*/pkgconfig/Magick++.pc

which read

Libs: -L${libdir} -lMagick++6-Q16

instead of

Libs: -L${libdir} -lMagick++-6.Q16

Consequently I am now rebuilding imagemagick to fix it and the archive URL is broken.

I am changing now to the official mirror:

http://www.imagemagick.org/download/releases/ImageMagick-6.8.3-10.tar.xz

Best

Aurélien

--
-------------------------------------------------------------------------------
LARCHER Aurélien          | KTH, School of Computer Science and Communication
Work: +46 (0) 8 790 71 42 | Lindstedtsvägen 5, Plan 4, 100 44 Stockholm, SWEDEN
-------------------------------------------------------------------------------
_______________________________________________
oi-dev mailing list
oi-dev <at> openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev
Aurélien Larcher | 25 Jul 02:30 2015
Picon

ImageMagick .pc issue

Hi,
earlier I had to patch inkscape because of this:

make[3]: Entering directory `/scratch/alarcher/oi-userland/components/inkscape/build/i86/src'
echo "  CXXLD " inkscape;/usr/gcc/4.8/bin/g++  -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter  -m32 -fopenmp -DSOLARIS=11   -m32 -o inkscape main.o  libinkscape.a dom/libdom.a libcroco/libcroco.a libavoid/libavoid.a libgdl/libgdl.a libcola/libcola.a libvpsc/libvpsc.a livarot/libvarot.a 2geom/lib2geom.a  libinkversion.a -lgtkmm-2.4 -lgtk-x11-2.0 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lxslt -lxml2 -lm -lxml2 -lsigc-2.0 -lgtkspell -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lgio-2.0 -R/usr/lib -lXrender -R/usr/lib -lXinerama -R/usr/lib -lXrandr -R/usr/lib -lXcursor -R/usr/lib -lXcomposite -R/usr/lib -lXdamage -R/usr/lib -lXfixes -lX11 -R/usr/lib -lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lpthread -lglib-2.0 -lpng14 -lgsl -lgslcblas -lm  -lX11 -lpng -lz -lxml2 -ldl -lgomp -lpopt -laspell -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lpthread -lgmodule-2.0 -lpthread -lgobject-2.0 -lglib-2.0   -lfreetype        -lMagick++6-Q16 -lm -lMagickCore-6.Q16  -lgc   -llcms  -lpoppler  -lpoppler-glib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcairo 
  CXXLD  inkscape
ld: fatal: library -lMagick++6-Q16: not found
ld: fatal: file processing errors. No output written to inkscape
collect2: error: ld returned 1 exit status

 and now figured out that the issue lies in the delivered with our package:




--
-------------------------------------------------------------------------------
LARCHER Aurélien          | KTH, School of Computer Science and Communication
Work: +46 (0) 8 790 71 42 | Lindstedtsvägen 5, Plan 4, 100 44 Stockholm, SWEDEN
-------------------------------------------------------------------------------
_______________________________________________
oi-dev mailing list
oi-dev <at> openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev
Alexander Pyhalov | 22 Jul 21:03 2015
Picon

Perl 5.22 integration

Hello.
As Perl 5.16 is becoming more and more old, I have plans to integrate 
Perl 5.22.

The component itself is ready (but not committed to oi-userland yet), 
it's an easy part.
Now I'm working on Perl modules.

After modules are ready I'll look if illumos-gate (and sun-solaris Perl 
module) can be built with new Perl. If it's OK, I plan to integrate new 
perl and modules.

Then we'll have to rebuild perl dependencies so that they required 
either Perl 5.16 and Perl 5.22.

Then I'm going to make Perl 5.22 the default one, drop Perl 5.10 (which 
we had for building unpatched illumos-gate, and which is not necessary 
now) and
some old packages dependent on perl on the way, including mysql 5.1 (we 
have MariaDB 5.5 and Percona Server 5.5/5.6) and apache 1.3 (which was 
required to build illumos-gate earlier).

I think Perl 5.16 and 5.22 can coexist for some time, later we'll drop 
5.16.

If someone knows why it's a bad idea, it's good time to speak.
--

-- 
System Administrator of Southern Federal University Computer Center

Gmane