Byla vydána (𝕏) nová verze 24.7 open source firewallové a routovací platformy OPNsense (Wikipedie). Jedná se o fork pfSense postavený na FreeBSD. Kódový název OPNsense 24.7 je Thriving Tiger. Přehled novinek v příspěvku na fóru.
Binarly REsearch upozorňuje na bezpečnostní problém PKFail (YouTube) v ekosystému UEFI. Stovky modelů zařízení používají pro Secure Boot testovací Platform Key vygenerovaný American Megatrends International (AMI) a jeho privátní část byla při úniku dat prozrazena. Do milionů zařízení (seznam v pdf) po celém světě tak útočníci mohou do Secure Bootu vložit podepsaný malware. Otestovat firmware si lze na stránce pk.fail. Ukázka PoC na Linuxu na Windows na YouTube.
Mobilní operační systém /e/OS (Wikipedie) založený na Androidu / LineageOS, ale bez aplikací a služeb od Googlu, byl vydán ve verzi 2.2 (Mastodon, 𝕏). Přehled novinek na GitLabu. Vypíchnuta je rodičovská kontrola.
Společnost OpenAI představila vyhledávač SearchGPT propojující OpenAI modely umělé inteligence a informace z webů v reálném čase. Zatím jako prototyp pro vybrané uživatele. Zapsat se lze do pořadníku čekatelů.
Distribuce Linux Mint 22 „Wilma“ byla vydána. Je založená na Ubuntu 24.04 LTS, ale s desktopovým prostředím Cinnamon (aktuálně verze 6.2), příp. MATE nebo Xfce, balíkem aplikací XApp, integrací balíčků Flatpak a dalšími změnami. Více v přehledu novinek a poznámkách k vydání.
Příspěvek na blogu Truffle Security: Kdokoli může přistupovat ke smazaným a privátním repozitářům na GitHubu.
Byla vydána nová verze 14 integrovaného vývojového prostředí (IDE) Qt Creator. Podrobný přehled novinek v cgitu. Vypíchnout lze podporu rozšíření v Lua.
Byla vydána verze 1.80.0 programovacího jazyka Rust (Wikipedie). Podrobnosti v poznámkách k vydání. Vyzkoušet Rust lze například na stránce Rust by Example.
Apple oznámil, že v beta verzi spustil své Apple Maps na webu. Podporován je také webový prohlížeč Chrome. Ne však na Linuxu.
Portál Stack Overflow po roce opět vyzpovídal své uživatele, jedná se především o vývojáře softwaru, a zveřejnil detailní výsledky průzkumu. Průzkumu se letos zúčastnilo více než 65 tisíc vývojářů. Z Česka jich bylo 710. Ze Slovenska 246.
libjingle
a můj kód vypadá zatím takto: # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="" HOMEPAGE="https://sourceforge.net/projects/libjingle/" SRC_URI="http://kent.dl.sourceforge.net/sourceforge/libjingle/libjingle-0.1.0.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="speex ilbc" DEPEND="net-libs/ortp" RDEPEND=" speex? ( >=media-libs/speex-1.1.6 ) ilbc? ( dev-libs/ilbc-rfc3951 ) " src_compile() { use speex && myconf="--with-speex=/usr/include/speex" use ilbc && myconf="--with-ilbc=/usr/include/ilbc" econf ${myconf} || die emake || die }a při kompilaci mi to vypisuje chybu:
>>> emerge (1 of 1) net-libs/libjingle-0.1.0 to / >>> md5 filestak bych se chtěl zeptat jak jí předejít. Chyb je tam více: 1. Nejde podpora pro speexlibjingle-0.1.0.ebuild >>> md5 files
files/digest-libjingle-0.1.0 >>> md5 src_uri
libjingle-0.1.0.tar.gz >>> Unpacking source... >>> Unpacking libjingle-0.1.0.tar.gz to /var/tmp/portage/libjingle-0.1.0/work >>> Source unpacked. * econf: updating libjingle-0.1.0/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libjingle-0.1.0/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --with-ilbc=/usr/include/ilbc checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking if i686-pc-linux-gnu-gcc static flag works... yes checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for a BSD-compatible install... /bin/install -c checking for XML_ParserCreate in -lexpat... yes checking alsa/asoundlib.h usability... yes checking alsa/asoundlib.h presence... yes checking for alsa/asoundlib.h... yes checking for snd_pcm_open in -lasound... yes checking for pkg-config... /usr/bin/pkg-config checking for glib-2.0 gmodule-2.0... yes checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking GLIB_LIBS... -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0 checking for ortp... yes checking ORTP_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking ORTP_LIBS... -pthread -lortp -lgthread-2.0 -lglib-2.0 checking speex.h usability... no checking speex.h presence... no checking for speex.h... no configure: WARNING: Could not find a libspeex version that have the speex_encode_int() function. Please install libspeex=1.0.5 or libspeex>=1.1.6 from http://www.speex.org/ checking iLBC_decode.h usability... no checking iLBC_decode.h presence... no checking for iLBC_decode.h... no configure: WARNING: Could not find ilbc headers or libs. Please install ilbc package from http://www.linphone.org if you want iLBC codec support in libjingle. configure: creating ./config.status config.status: creating Makefile config.status: creating talk/Makefile config.status: creating talk/base/Makefile config.status: creating talk/third_party/Makefile config.status: creating talk/third_party/mediastreamer/Makefile config.status: creating talk/examples/Makefile config.status: creating talk/examples/login/Makefile config.status: creating talk/examples/call/Makefile config.status: creating talk/p2p/Makefile config.status: creating talk/p2p/base/Makefile config.status: creating talk/p2p/client/Makefile config.status: creating talk/session/Makefile config.status: creating talk/session/phone/Makefile config.status: creating talk/xmllite/Makefile config.status: creating talk/xmpp/Makefile config.status: creating config.h config.status: executing depfiles commands libjingle 0.1.0 Supported Codecs: Speex: no iLBC: no MULAW: yes cd . && /bin/sh /var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/missing --run aclocal-1.6 cd . && \ /bin/sh /var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/missing --run automake-1.6 --gnu Makefile cd . && /bin/sh /var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/missing --run autoconf /bin/sh ./config.status --recheck running /bin/sh ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --with-ilbc=/usr/include/ilbc CFLAGS=-march=pentium4 -O3 -pipe -fomit-frame-pointer CXXFLAGS=-march=pentium4 -O3 -pipe -fomit-frame-pointer build_alias=i686-pc-linux-gnu host_alias=i686-pc-linux-gnu --no-create --no-recursion checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for correct ltmain.sh version... no *** [Gentoo] sanity check failed! *** *** libtool.m4 and ltmain.sh have a version mismatch! *** *** (libtool.m4 = 1.5.20, ltmain.sh = 1.5) *** Please run: libtoolize --copy --force if appropriate, please contact the maintainer of this package (or your distribution) for help. make: *** [config.status] Error 1
libtoolize --copy --force
tak to jde, ale bez toho spexu a iLBC.
src_compile()
na src_compile() { use speex && myconf="--with-speex=/usr/include/speex" use ilbc && myconf="--with-ilbc=/usr/include/ilbc" libtoolize --copy --force econf ${myconf} || die emake || die }, ale teď mi kompilace padá na (i při manuálním kompilování):
depmode=gcc3 /bin/sh ../../../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DPOSIX -march=pentium4 -O3 -pipe -fomit-frame-pointer -c -o relayserver_main.o `test -f 'relayserver_main.cc' || echo './'`relayserver_main.cc relayserver_main.cc: In function `int main(int, char**)': relayserver_main.cc:47: error: `assert' undeclared (first use this function) relayserver_main.cc:47: error: (Each undeclared identifier is reported only once for each function it appears in.) make[4]: *** [relayserver_main.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/talk/p2p/base' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/talk/p2p' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0/talk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libjingle-0.1.0/work/libjingle-0.1.0' make: *** [all] Error 2
Dobrý den píšu (svůj první) e-build prolibjingle
a můj kód vypadá zatím takto:SRC_URI="http://kent.dl.sourceforge.net/sourceforge/libjingle/libjingle-0.1.0.tar.gz"
SRC_URI="mirror://sourceforge/libjingle/libjingle-0.1.0.tar.gz"
, iirc
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
Fuj, vyhod to, co nepouzivas.
Precti si dokumentaci...
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"^_~
NM="mac-port" DESCRIPTION="APE commandline converter" HOMEPAGE="http://sourceforge.net/projects/${NM}/" SRC_URI="http://jaist.dl.sourceforge.net/sourceforge/${NM}/${PV}-u4-b4.tar.gz" RESTRICT="nomirror" LICENSE="LGPL" KEYWORDS="~x86 ~amd64" S="${WORKDIR}/mac-3.99-u4-b4"Můžete pojmenovat třeba
mac-3.99-r4.ebuild
. Zkompiluje se se vším všady a pak když se provádí ebuild ... qmerge
, čili merge do /, tak to tam nevyhodí nic... :/
Nevíte na co jsem zapomněl?
NM="mac-port"Co to je?
HOMEPAGE="http://sourceforge.net/projects/${NM}/"fuj.
S="${WORKDIR}/mac-3.99-u4-b4"Viz manual...
Co to je?To jsem okoukal...
fuj.To už jsem taky někde viděl...
Viz manual...Co tam mám hledat? Kdybych tu cestu napsal špatně, ani se to nezkompiluje a hodí to chybu.
PromennouViz manual...Co tam mám hledat? Kdybych tu cestu napsal špatně, ani se to nezkompiluje a hodí to chybu.
$S
?
Buď si to neumím správně přeložit, nechápu to, nebo si nejsem vědom toho, co jsem udělal špatně...
/usr/portage/profiles/default-linux/amd64/2005.1/make.defaults
. Fakt díky moc! :o)
use speex && myconf="--with-speex"
use ilbc && myconf="--with-ilbc"
libtoolize --copy --force
econf ${myconf} || die
Hmmm, a co když
USE="speex ilbc" emerge libjingle
?
Podle tohoto kódu se to zkompiluje jen s ilbc.
Tiskni
Sdílej: