Compare commits

..

15 Commits

Author SHA1 Message Date
34399f6ca6 Remove unused license file 2023-12-15 11:04:11 +03:00
6c5c7024a9 x11-plugins/cairo-dock-plugins: disable obsolete USE=kde 2023-05-29 10:04:17 +03:00
6cd6fbfe12 dev-libs/libb64: update Manifest hashes with new algorithms 2023-03-27 13:11:09 +03:00
3ab1e7eb8e net-analyzer/lightsquid: bump EAPI to 8, migrate from user.eclass to acct/ 2023-03-27 13:07:15 +03:00
134aa1c690 net-misc/sgopherd: drop unused package 2023-02-16 12:34:59 +03:00
25a3b593d6 net-misc/openvpn-radiusplugin: drop unused package 2023-02-16 12:33:18 +03:00
b476b598f9 net-im/jitsi-bin: drop unused package 2023-02-16 12:32:47 +03:00
9d6cf98057 net-ftp/tftp-hpa: drop unused package 2023-02-16 12:30:38 +03:00
f7304a7e7d x11-plugins/cairo-dock-plugins: update to snapshot version to prevent build failures
Disable broken weather plugin
2022-08-29 11:53:31 +03:00
b85752b9fc games-util/ttyhlauncher: bump EAPI to 8, migrate from abandoned cmake-utils eclass to cmake 2022-08-17 12:07:42 +03:00
6310092bc1 Drop net-analyzer/playcap as i did not use it anymore 2022-08-17 12:01:39 +03:00
456c91ebb3 Bump EAPI in cairo-dock and cairo-dock-plugins ebuilds. Migrate from abandoned cmake-utils eclass to cmake
Reported-by: J <progman3k@gmail.com>
2022-08-03 11:26:14 +03:00
2fb3e0f128 dev-libs/libb64: bump EAPI to 8 2022-08-01 10:04:32 +03:00
022bc5a46c Drop old media-libs/sdl-net package as i did not use ipv6 patch from it anymore 2022-08-01 10:00:56 +03:00
ca940e4072 Drop x11-apps/spotlighter as i did not use it anymore 2022-08-01 10:00:03 +03:00
36 changed files with 112 additions and 2051 deletions

View File

@ -0,0 +1,11 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit acct-user
ACCT_USER_ID=750
ACCT_USER_GROUPS=( squid )
acct-user_add_deps

View File

@ -1 +1 @@
DIST libb64-1.2.1.zip 23316 SHA256 20106f0ba95cfd9c35a13c71206643e3fb3e46512df3e2efb2fdbf87116314b2 SHA512 8b1e5c8086a38be82471b5f37393f3f236c923f4a2bb737209a297cbab32a9f0a5c4af4ac912c695f0f7d8ff9458d97ce0d01092fbacbfe7181e4fd816e2153d WHIRLPOOL c31b8581adaa8516527f35e63aafe8ca93a6cef783fe416063cee2313bcc6ae41b7dd8efd75bba778954cafeaad250090b18df706ba349b684c84908387abe26 DIST libb64-1.2.1.zip 23316 BLAKE2B 1e3aa08679e363d61b7a0a77bfe909c0fc80411bf2c7b0f35e7a8a692a25585a37303ea0f010600c0e07e0419f016fe60f88851eebb26d044e7dbaf3d02726a0 SHA512 8b1e5c8086a38be82471b5f37393f3f236c923f4a2bb737209a297cbab32a9f0a5c4af4ac912c695f0f7d8ff9458d97ce0d01092fbacbfe7181e4fd816e2153d

View File

@ -1,10 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5 EAPI=8
inherit eutils multilib toolchain-funcs inherit multilib toolchain-funcs
DESCRIPTION="C/C++ routines for fast encoding/decoding data into and from a base64-encoded format" DESCRIPTION="C/C++ routines for fast encoding/decoding data into and from a base64-encoded format"
HOMEPAGE="http://libb64.sourceforge.net" HOMEPAGE="http://libb64.sourceforge.net"
@ -17,14 +16,16 @@ KEYWORDS="~amd64 ~x86"
DEPEND="app-arch/unzip" DEPEND="app-arch/unzip"
RDEPEND="" RDEPEND=""
#PATCHES=( "${FILESDIR}/${P}-build-shared-lib.patch" )
src_prepare() { src_prepare() {
# Respect compiler environment # Respect compiler environment
tc-export CC CXX tc-export CC CXX
# Build shared library instead of static # Build shared library instead of static
epatch "${FILESDIR}/${P}-build-shared-lib.patch" eapply -p0 "${FILESDIR}/${P}-build-shared-lib.patch"
epatch_user eapply_user
} }
src_compile() { src_compile() {

View File

@ -1,10 +1,10 @@
# Copyright 1999-2019 Gentoo Authors # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
EGIT_REPO_URI="https://github.com/dngulin/ttyhlauncher.git" EGIT_REPO_URI="https://github.com/dngulin/ttyhlauncher.git"
inherit cmake-utils git-r3 xdg-utils inherit cmake git-r3 xdg-utils
DESCRIPTION="ttyh.ru minecraft launcher" DESCRIPTION="ttyh.ru minecraft launcher"
HOMEPAGE="https://ttyh.ru" HOMEPAGE="https://ttyh.ru"

View File

@ -1,7 +0,0 @@
------------------------------------------------------------------
"THE PIZZA-WARE LICENSE" (Revision 42):
Peter Hofmann <pcode@uninformativ.de> wrote these files. As long as you
retain this notice you can do whatever you want with this stuff. If we
meet some day, and you think this stuff is worth it, you can buy me a
pizza in return.
------------------------------------------------------------------

View File

@ -1 +0,0 @@
DIST SDL_net-1.2.7.tar.gz 373866 BLAKE2B 4ba9aa62e9358d491983a452960059a3d3d01cb1d28233ed9e925f6bb7fb937c6d9582827b159f57f01c575bc060d0ea727f7ff7fa0eee2a3092f16a0279dec1 SHA512 d255297df97bda4ab27710120404254aba83418a62899210df36d228d0dc61324cda5910e61520c6fda8c4d6104966da7f6af9311564a2180dbcd0a007cbe069

File diff suppressed because it is too large Load Diff

View File

@ -1,45 +0,0 @@
# Copyright 1999-2021 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
# Pinkbyte: needed for eautoreconf, epatch
inherit autotools eutils
MY_P=${P/sdl-/SDL_}
DESCRIPTION="Simple Direct Media Layer Network Support Library"
HOMEPAGE="http://www.libsdl.org/projects/SDL_net/index.html"
SRC_URI="http://www.libsdl.org/projects/SDL_net/release/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="ipv6 static-libs"
DEPEND=">=media-libs/libsdl-1.2.5"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
src_prepare() {
# Pinkbyte: patch for IPv6
use ipv6 && epatch "${FILESDIR}/${P}-ipv6-new.patch"
eautoreconf
}
src_configure() {
econf \
--disable-dependency-tracking \
$(use_enable static-libs static) \
$(use_enable ipv6)
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc CHANGES README
if ! use static-libs ; then
find "${D}" -type f -name '*.la' -exec rm {} + \
|| die "la removal failed"
fi
}

View File

@ -1 +1 @@
DIST lightsquid-1.8.tgz 60868 SHA256 691ec0167f1d12f9a9038f734921c30b4578b57e5e627ce61e7d4107154be073 SHA512 7f4f9361896db386a3d95323349ab51f7eb3d367a7df275cd47168a826bfdaa39f1ef29b4ffad60fd5c604b59a8b788f4f3d0cb6ce6e363a0d6add1206a3cbae WHIRLPOOL 3e7f97e1afa7ed535fff7970837383d332412c55895355ed3da2ef72b58619d31ae42816f2d4dc2034663904df133d2c522a5b6f806b5e00a621512992b51a9a DIST lightsquid-1.8.tgz 60868 BLAKE2B 6d66a1b65aa7da0d8bf49aad63b6c16e69723281dc8652598a214decd90ed36299f75fb988e7b0c5954e5dbbd7877780a7fcc999eb6397a1668473ec500dfee1 SHA512 7f4f9361896db386a3d95323349ab51f7eb3d367a7df275cd47168a826bfdaa39f1ef29b4ffad60fd5c604b59a8b788f4f3d0cb6ce6e363a0d6add1206a3cbae

View File

@ -1,5 +1,5 @@
--- lightparser.pl.orig 2013-12-25 13:06:21.375580481 +0400 --- a/lightparser.pl 2013-12-25 13:06:21.375580481 +0400
+++ lightparser.pl 2013-12-25 13:07:04.339580830 +0400 +++ b/lightparser.pl 2013-12-25 13:07:04.339580830 +0400
@@ -32,11 +32,11 @@ @@ -32,11 +32,11 @@
push (@INC,(fileparse($0))[1]); push (@INC,(fileparse($0))[1]);

View File

@ -1,10 +1,10 @@
# Copyright 1999-2021 Gentoo Foundation # Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $ # $Header: $
EAPI=7 EAPI=8
inherit eutils systemd user inherit tmpfiles
DESCRIPTION="Lite and fast log analyzer for Squid" DESCRIPTION="Lite and fast log analyzer for Squid"
HOMEPAGE="http://lightsquid.sourceforge.net/" HOMEPAGE="http://lightsquid.sourceforge.net/"
@ -14,15 +14,12 @@ LICENSE="GPL-2+"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
RDEPEND="net-proxy/squid RDEPEND="acct-user/lightsquid
net-proxy/squid
dev-perl/GD[truetype] dev-perl/GD[truetype]
dev-perl/CGI" dev-perl/CGI"
DEPEND="" DEPEND=""
pkg_setup() {
enewuser lightsquid -1 -1 /var/lib/lightsquid squid
}
src_prepare() { src_prepare() {
sed -i \ sed -i \
-e '/^$cfgpath/s:/var/www/html/lightsquid:/etc/lightsquid:' \ -e '/^$cfgpath/s:/var/www/html/lightsquid:/etc/lightsquid:' \
@ -38,9 +35,9 @@ src_prepare() {
-e 's:common.pl:/usr/share/lightsquid/common.pl:' \ -e 's:common.pl:/usr/share/lightsquid/common.pl:' \
*.cgi || die *.cgi || die
epatch "${FILESDIR}/${P}-path-fix.patch" eapply "${FILESDIR}/${P}-path-fix.patch"
epatch_user eapply_user
} }
src_install() { src_install() {
@ -68,5 +65,9 @@ src_install() {
keepdir /var/lib/lightsquid keepdir /var/lib/lightsquid
fowners lightsquid:squid /var/lib/lightsquid fowners lightsquid:squid /var/lib/lightsquid
systemd_dotmpfilesd "${FILESDIR}/${PN}.conf" dotmpfiles "${FILESDIR}/${PN}.conf"
}
pkg_postinst() {
tmpfiles_process "${PN}.conf"
} }

View File

@ -1 +0,0 @@
DIST PlayCap-0.1.1-Source.tar.gz 97512 SHA256 26265279de9fb602f5108df42fc01bcb571270f02c1a7c9295fe54219004b141 SHA512 02c0fb710e287843aaba7f13c777b4692c5fcb34e6b2229a752d337723b30919b229dbe34ca3de30caa6cc4dc80f540239944f819e7f173620c0317364bda005 WHIRLPOOL d8c5b57963ff36d59fd7cefd3d66d964206d6e30e396f1c1a7e0e22da12479e21dc5a9fcdcbd7729e172c334f9e19b8d2a6a58e52a52ab84c9d51e214e8d82f0

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>pinkbyte@gentoo.org</email>
<name>Sergey Popov</name>
</maintainer>
</pkgmetadata>

View File

@ -1,36 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
MY_PN="PlayCap"
MY_P="${MY_PN}-${PV}"
inherit cmake-utils eutils
DESCRIPTION="Plays back captures made from wireshark, tcpdump, or any libpcap-based application"
HOMEPAGE="http://www.signal11.us/oss/playcap/"
SRC_URI="mirror://github/signal11/${MY_PN}/${MY_P}-Source.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="net-libs/libpcap
x11-libs/fox:1.6[png]
"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}-Source"
src_prepare() {
sed -i -e 's/fox-config/fox-1.6-config/' CMakeLists.txt || die
sed -i -e '/#include <stdio.h>/a#include <unistd.h>' PlaybackWindow.cpp || die
cmake-utils_src_prepare
}
#src_install() {
# cmake-utils_src_install
# doicon famfamfam/*.png
#}

View File

@ -1 +0,0 @@
DIST tftp-hpa-5.2.tar.xz 89564 BLAKE2B 45917ca3d710f8a4b584dbe1e9a912e06fd181e4ffcfd8fba13008f08dbbce0fe339b61fb6f97236b8012e755025d05700214e365adac81dfce42b0edd636e80 SHA512 a5198e923a6e58281f749dc77b3f3ed8579e56b6f0fd6a17482cc88bdc8d34b6702c7c709717885b9b937ecae459d9a832328a49a2e3536dc7432cdb39d2a394

View File

@ -1,15 +0,0 @@
# /etc/init.d/in.tftpd
# Path to server files from
# Depending on your application you may have to change this.
# This is commented out to force you to look at the file!
#INTFTPD_PATH="/var/tftp/"
#INTFTPD_PATH="/tftpboot/"
#INTFTPD_PATH="/tftproot/"
# For more options, see in.tftpd(8)
# -R 4096:32767 solves problems with ARC firmware, and obsoletes
# the /proc/sys/net/ipv4/ip_local_port_range hack.
# -s causes $INTFTPD_PATH to be the root of the TFTP tree.
# -l is passed by the init script in addition to these options.
INTFTPD_OPTS="-R 4096:32767 -s ${INTFTPD_PATH}"

View File

@ -1,19 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
need net
}
start() {
ebegin "Starting tftpd"
/usr/sbin/in.tftpd -l ${INTFTPD_OPTS}
eend $?
}
stop() {
ebegin "Stopping tftpd"
start-stop-daemon --stop --exec /usr/sbin/in.tftpd
eend $?
}

View File

@ -1,91 +0,0 @@
--- tftp-hpa-5.1/tftpd/tftpd.c.orig 2009-12-26 13:17:35.000000000 +0300
+++ tftp-hpa-5.1/tftpd/tftpd.c 2009-12-26 13:19:01.000000000 +0300
@@ -46,6 +46,7 @@
#include <pwd.h>
#include <limits.h>
#include <syslog.h>
+#include <dirent.h>
#include "common/tftpsubs.h"
#include "recvfrom.h"
@@ -975,6 +976,8 @@
static int validate_access(char *, int, const struct formats *, const char **);
static void tftp_sendfile(const struct formats *, struct tftphdr *, int);
static void tftp_recvfile(const struct formats *, struct tftphdr *, int);
+int lookup_entry(const char *comp, char *dest);
+void lookup_file(char *filename);
struct formats {
const char *f_mode;
@@ -1353,6 +1356,62 @@
}
#endif
+int lookup_entry(const char *comp, char *dest)
+{
+ DIR *dirp;
+ struct dirent *dptr;
+ dirp = opendir(dest[0] ? dest : ".");
+ if (!dirp) return 0;
+ while ((dptr = readdir(dirp)))
+ {
+ if (!strcasecmp(dptr->d_name, comp))
+ {
+ if (dest[0]) strcat(dest, "/");
+ strcat(dest, dptr->d_name);
+ closedir(dirp);
+ return 1;
+ }
+ }
+ closedir(dirp);
+ return 0;
+}
+
+
+void lookup_file(char *filename)
+{
+ int found = 0;
+ int len = 0;
+ char dest[1024];
+ char comp[1024];
+ char *check = filename;
+ char *seek = NULL;
+
+ dest[0] = 0;
+ check++;
+ while (*check)
+ {
+ seek = strchr(check, '\\');
+ if (!seek)
+ {
+ if ((*check) && (lookup_entry(check, dest)))
+ found = 1;
+ break;
+ }
+ len = seek - check;
+ memcpy(comp, check, len);
+ comp[len]=0;
+ if (!lookup_entry(comp, dest))
+ break;
+ check += len + 1;
+ }
+
+ if (found)
+ {
+ filename[0] = 0;
+ strcat(filename, dest);
+ }
+}
+
static FILE *file;
/*
* Validate file access. Since we
@@ -1378,6 +1437,8 @@
tsize_ok = 0;
*errmsg = NULL;
+ if (*filename == '\\') lookup_file(filename);
+
if (!secure) {
if (*filename != '/') {
*errmsg = "Only absolute filenames allowed";

View File

@ -1,42 +0,0 @@
From 7afd5aa65fdabaa4583f6e1a84936eb9bdd33c65 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Tue, 21 Jan 2020 23:10:46 +0000
Subject: [PATCH] tftp-hpa: fix build failure against gcc-10
On gcc-10 (and gcc-9 -fno-common) build fails as:
```
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu tftp.o main.o ../common/libcommon.a -lreadline -liberty -o tftp
ld: main.o:(.bss+0x40):
multiple definition of `toplevel'; tftp.o:(.bss+0x100): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:12: tftp] Error 1
```
gcc-10 will change the default from -fcommon to fno-common:
https://gcc.gnu.org/PR85678.
The error also happens if CFLAGS=-fno-common passed explicitly.
Bug: https://bugs.gentoo.org/705834
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
tftp/tftp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tftp/tftp.c b/tftp/tftp.c
index d15da22..d067f96 100644
--- a/tftp/tftp.c
+++ b/tftp/tftp.c
@@ -48,7 +48,7 @@ extern int maxtimeout;
#define PKTSIZE SEGSIZE+4
char ackbuf[PKTSIZE];
int timeout;
-sigjmp_buf toplevel;
+extern sigjmp_buf toplevel;
sigjmp_buf timeoutbuf;
static void nak(int, const char *);
--
2.25.0

View File

@ -1,83 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit systemd toolchain-funcs
DESCRIPTION="Port of the OpenBSD TFTP server"
HOMEPAGE="https://www.kernel.org/pub/software/network/tftp/"
SRC_URI="https://www.kernel.org/pub/software/network/tftp/${PN}/${P}.tar.xz"
LICENSE="BSD-4"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~ppc-macos"
IUSE="ipv6 readline selinux tcpd +client +server"
DEPEND="
readline? ( sys-libs/readline:0= )
tcpd? ( sys-apps/tcp-wrappers )
"
RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-tftp )
!net-ftp/atftp
server? (
!net-misc/iputils[tftpd(+)]
!net-ftp/uftpd
)
"
PATCHES=(
"${FILESDIR}"/tftp-hpa-5.2-gcc-10.patch
)
src_prepare() {
default
# Pinkbyte: additional patch for Windows clients
eapply "${FILESDIR}"/${P}-filecase.patch
#
sed -i "/^AR/s:ar:$(tc-getAR):" MCONFIG.in || die
}
src_configure() {
local myconf=(
ac_cv_search_bsd_signal=no
$(use_with ipv6)
$(use_with tcpd tcpwrappers)
$(use_with readline)
)
econf "${myconf[@]}"
}
src_compile() {
emake version.h
emake -C lib
emake -C common
if use client; then
emake -C tftp
fi
if use server; then
emake -C tftpd
fi
}
src_install() {
dodoc README* CHANGES tftpd/sample.rules
if use client; then
emake INSTALLROOT="${D}" -C tftp install
fi
if use server; then
emake INSTALLROOT="${D}" -C tftpd install
newconfd "${FILESDIR}"/in.tftpd.confd-0.44 in.tftpd
newinitd "${FILESDIR}"/in.tftpd.rc6 in.tftpd
systemd_dounit "${FILESDIR}"/tftp.service
systemd_dounit "${FILESDIR}"/tftp.socket
insinto /etc/xinetd.d
newins "${FILESDIR}"/tftp.xinetd tftp
fi
}

View File

@ -1,2 +0,0 @@
DIST jitsi-2.10-5550.i686.rpm 46488540 BLAKE2B c2348c1e8c5cb9a527e3d77ece3ab3795bf0ec118c820e10628f79cf7aaa5904ca3a94b3ec7424adb65c11dc24222198e59ab916ea32a2b25e92e092850045f9 SHA512 f18c1ce639ddde638efa35c7a71cbc7c589e42b01930b7f08ab0fbcaed2f9f69ef918458e2f94601a01b055cc69f0e06de2575bff1e4c60a571b814be64bdbca
DIST jitsi-2.10-5550.x86_64.rpm 46491220 BLAKE2B bbbf7b380a6f0c6b6d89ddb9bd03ae2e19d34f7be4756e28ccfe45d21b8aaab5eac9f78e4fafaed80bf9b7b1ca7e4d5ad3b47a078d436f04d3740d9afa8d0ad7 SHA512 781d77675c727691ae0f7150a1d1d72ef9d639e0f1f10357ec7daa6671e150fc2241b91fce855a3fac68591223b00a377771ed4addfd82f8403a224cea80b40d

View File

@ -1,36 +0,0 @@
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit rpm
PV_RAND="5550"
DESCRIPTION="Secure IM communicator that supports SIP, XMPP, AIM/ICQ, Windows Live, Yahoo"
HOMEPAGE="https://jitsi.org/"
SRC_URI="
x86? ( https://download.jitsi.org/jitsi/rpm/jitsi-${PV}-${PV_RAND}.i686.rpm )
amd64? ( https://download.jitsi.org/jitsi/rpm/jitsi-${PV}-${PV_RAND}.x86_64.rpm )"
RESTRICT="strip"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/rpm2targz"
RDEPEND="virtual/jre"
QA_PREBUILT="usr/share/jitsi/lib/native/*"
S="${WORKDIR}"
src_unpack() {
rpm_unpack
}
src_install() {
cp -pPR "${S}/usr" "${D}"/
}

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>admin@pinkbyte.ru</email>
<name>Sergey Popov</name>
</maintainer>
</pkgmetadata>

View File

@ -1 +0,0 @@
DIST radiusplugin_v2.1.tar.gz 239270 SHA256 d858e9c26a2f71390ca2c0229eb3205fbe407876a6efda3f30433d20044ace88 SHA512 21d5fcb5f3aa607445d28cef1bed357a5027d4c54e0003d8e7d05874182c791031802703cb481e1f127a9582867d677452102df0b4eff6b2f6a5ea5a201d7738 WHIRLPOOL 75c8f106a98ae91f7e2cc8b51aa53bc3a0a0a010f22390f6c3edbb28e02ea194ee4f55061b763d6d3e5ea0cd45ba5f58b8de36647c89fdc32a04040fac80c5cb

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>pinkbyte@gentoo.org</email>
<name>Sergey Popov</name>
</maintainer>
</pkgmetadata>

View File

@ -1,59 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
MY_PN="radiusplugin"
MY_P="${MY_PN}_v${PV}"
inherit flag-o-matic multilib toolchain-funcs
DESCRIPTION="Radiusplugin for OpenVPN"
HOMEPAGE="http://www.nongnu.org/radiusplugin/index.html"
SRC_URI="http://www.nongnu.org/radiusplugin/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# TODO: handle with optional doxygen documentation generation
#IUSE="doc"
IUSE=""
DEPEND="dev-libs/libgcrypt:="
RDEPEND="${DEPEND}
net-vpn/openvpn"
S="${WORKDIR}/${MY_PN}"
src_prepare() {
# Make compilation process verbose
# Respect CFLAGS, LDFLAGS and compiler
sed -i \
-e 's:@$(CC):$(CC):g' \
-e '/^CFLAGS/d' \
-e '/^LDFLAGS/d' \
Makefile || die 'sed on Makefile failed'
# needed for proper compilation
append-cflags -shared -fPIC -DPIC
eapply_user
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
insinto /etc/openvpn
doins "${MY_PN}.cnf"
exeinto "/usr/$(get_libdir)/openvpn"
doexe "${MY_PN}.so"
dodoc README ToDo
}
pkg_postinst() {
elog "Radiusplugin is installed into '/usr/$(get_libdir)/openvpn'"
elog "Path for it should be set in your openvpn.conf"
}

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>admin@pinkbyte.ru</email>
<name>Sergey Popov</name>
</maintainer>
</pkgmetadata>

View File

@ -1,41 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGIT_REPO_URI="https://www.uninformativ.de/git/sgopherd.git"
inherit git-r3
DESCRIPTION="Small Gopher Server written in GNU Bash"
HOMEPAGE="https://www.uninformativ.de/git/sgopherd/file/README.html"
SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
DEPEND=""
RDEPEND="app-shells/bash
sys-apps/sed
sys-apps/xinetd"
src_prepare() {
# Set default user to run sgopherd
sed -i -e '/user/s/http/nobody/' xinetd/xinetd-example.conf || die 'sed failed'
default
}
src_install() {
dodoc README
doman man8/"${PN}".8
dobin "${PN}"
insinto /etc/xinetd.d
newins xinetd/xinetd-example.conf "${PN}"
# TODO: add installation of systemd-related files
}
pkg_postinst() {
elog "${PN} can be launched through xinetd"
elog "Configuration options are in /etc/xinetd.d/${PN}"
}

View File

@ -1 +0,0 @@
DIST spotlighter-0.3.tar.gz 432482 SHA256 a40062230ec66b5312d59c84a26a1a183f7bd5b02dfd9ddbc98189466dcfa92b SHA512 9773747981ff02a39999410883c94cd794b64b48f348fdac1bcae33ab4816328e411a528b0aa2c27e94cee72347657d8e19185d65d238d29d5127fa372243cfc WHIRLPOOL f6de353d99713fa40ac67487591237095ec043fbc25d1295e16f2db4bd101a7e46b2dfed1b202984adc91b4a2bb057343a26d70b49138f6b0365e3fee180d894

View File

@ -1,56 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# TODO: Check for work with new cairo
# with current stable - it segfaults
# Also this deps possibly not needed:
# sci-libs/gsl
EAPI=5
inherit eutils
DESCRIPTION="Shows a movable and resizable spotlight on the screen"
HOMEPAGE="http://code.google.com/p/ardesia/"
SRC_URI="http://ardesia.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
COMMON_DEPEND="sys-devel/gettext
x11-libs/gtk+:3"
DEPEND="${COMMON_DEPEND}
dev-util/intltool"
RDEPEND="${COMMON_DEPEND}
dev-libs/atk
media-libs/fontconfig"
src_prepare() {
# Upstream test is broken in case when
# both GTK+-2 and GTK+-3 installed
sed -i -e '/pkg_config_args=/s/gthread-2.0//' configure || die 'sed on configure failed'
# Fix desktop file
sed -i \
-e '/Version/d' \
-e '/Icon/s/.svg//' \
-e '/Categories/s/$/;/' \
desktop/spotlighter.desktop.in || die 'sed on desktop/spotlighter.desktop.in failed'
sed -i -e '/#ifdef ENABLE_NLS/a#include <locale.h>/' src/spotlighter.h || die 'sed on spotlighter.h failed'
epatch_user
}
src_configure() {
# Disable compiling GTK+ test program
econf --disable-gtktest
}
src_install() {
# --docdir in configure does not work, so - use it here
emake DESTDIR="${D}" spotlighterdocdir="${EPREFIX}/usr/share/doc/${PF}" install
dodoc TODO
}

View File

@ -1 +1 @@
DIST cairo-dock-3.4.1.tar.gz 2663098 SHA256 dcadbbe089487f22b112f25a91d1c966275b245f248f950c6987de787eb95137 SHA512 427bb11fe447e76d4b82c89023321cfa3ebb3fcc5f1309f5454fd43b650404acfd53d576ff4f46765c51d5360bb32bac1bf454e2762547d3de031baa9c081345 WHIRLPOOL b9c5406f450aea586ed9fd0578bc1d5adba28cd789535904e2ef7182eedd62033cf81229278f59dc30676964bc11e2e51b105ff2093b17215cc56ef287e0fac7 DIST cairo-dock-3.4.1.tar.gz 2663098 BLAKE2B ef2dc3d5f61c82245f91f6209ff0620009b9cd18bc1f5fe61a562ab7a7c5084ecd76245b2c2e77ebd0e91e100b5bb88e51797bad4b24b4e4d151f50385696c66 SHA512 427bb11fe447e76d4b82c89023321cfa3ebb3fcc5f1309f5454fd43b650404acfd53d576ff4f46765c51d5360bb32bac1bf454e2762547d3de031baa9c081345

View File

@ -1,12 +1,12 @@
# Copyright 1999-2017 Gentoo Foundation # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI="6" EAPI=8
inherit cmake-utils eutils versionator inherit cmake
MY_PN="${PN}-core" MY_PN="${PN}-core"
MM_PV=$(get_version_component_range '1-2') MM_PV=$(ver_cut '1-2')
DESCRIPTION="Cairo-dock is a fast, responsive, Mac OS X-like dock." DESCRIPTION="Cairo-dock is a fast, responsive, Mac OS X-like dock."
HOMEPAGE="http://www.glx-dock.org" HOMEPAGE="http://www.glx-dock.org"
@ -15,7 +15,7 @@ SRC_URI="http://launchpad.net/${MY_PN}/${MM_PV}/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-3" LICENSE="GPL-3"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
IUSE="crypt xcomposite desktop_manager gtk3" IUSE="crypt xcomposite desktop_manager"
RDEPEND=" RDEPEND="
dev-libs/dbus-glib dev-libs/dbus-glib
@ -26,10 +26,9 @@ RDEPEND="
sys-apps/dbus sys-apps/dbus
x11-libs/cairo x11-libs/cairo
x11-libs/pango x11-libs/pango
!gtk3? ( x11-libs/gtk+:2 )
x11-libs/gtkglext x11-libs/gtkglext
x11-libs/libXrender x11-libs/libXrender
gtk3? ( x11-libs/gtk+:3 ) x11-libs/gtk+:3
crypt? ( sys-libs/glibc ) crypt? ( sys-libs/glibc )
xcomposite? ( xcomposite? (
x11-libs/libXcomposite x11-libs/libXcomposite
@ -43,12 +42,24 @@ DEPEND="${RDEPEND}
sys-devel/gettext sys-devel/gettext
" "
src_prepare() {
# We will install man files manually
sed -i -e '/add_subdirectory(man)/d' data/CMakeLists.txt || die
cmake_src_prepare
}
src_configure() { src_configure() {
mycmakeargs=( local mycmakeargs=(
`use gtk3 && echo "-Dforce-gtk2=OFF" || echo "-Dforce-gtk2=ON"` $(use desktop_manager && echo "-Denable-desktop-manager=ON" || echo "-Denable-desktop-manager=OFF")
`use desktop_manager && echo "-Denable-desktop-manager=ON" || echo "-Denable-desktop-manager=OFF"` -DCMAKE_INSTALL_MANDIR="/usr/share/man/${PV}"
) )
cmake-utils_src_configure cmake_src_configure
}
src_install() {
newman data/man/cairo-dock_en.1 cairo-dock_en.1
cmake_src_install
} }
pkg_postinst() { pkg_postinst() {

View File

@ -1 +1 @@
DIST cairo-dock-plug-ins-3.4.1.tar.gz 6827195 BLAKE2B 7944a92ca0b70c92e3974e6201da22a5a718aeb3e250cec1ee9204e7a6eb0a51f5658e84aac484c81f2b5fb01be3ffc9e0c0a45d93faeadd1014ade916ac9f30 SHA512 0b6ab8f06f8e7f24787a6b87531434286276a3a626fcd31a136ff1e256241fbea96a72b673fd8a05bd5be772f6c3abcb7c593e30784c183f7be0c5b373e96f03 DIST cairo-dock-plugins-3.4.1_p20210730.zip 8474825 BLAKE2B 37ca7fa7d572305a004eefe03f27d5d7034cb4ecfa9c2b5a0a8817fb06cadf2d13428628b8c5fd4100912f1ff9859bdf35ab758fd36d26942a3986ab8e1d1b6b SHA512 e2fabd380ce25d418b40a857b645759f897d77801eb5018e37a0bb77fc65e9c3b31f30aa781e91ab76645a09421cdb1db315f8e435791d622921b960249fe90e

View File

@ -1,21 +1,21 @@
# Copyright 1999-2020 Gentoo Authors # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
inherit cmake-utils eutils inherit cmake
MY_PN="${PN/plugins/plug-ins}" MY_PN="${PN/plugins/plug-ins}"
MM_PV=$(ver_cut 1-2) MM_PV=$(ver_cut 1-2)
DESCRIPTION="Official plugins for cairo-dock" DESCRIPTION="Official plugins for cairo-dock"
HOMEPAGE="http://www.glx-dock.org" HOMEPAGE="http://www.glx-dock.org"
SRC_URI="http://launchpad.net/${MY_PN}/${MM_PV}/${PV}/+download/${MY_PN}-${PV}.tar.gz" SRC_URI="http://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.zip"
LICENSE="GPL-3" LICENSE="GPL-3"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
IUSE="alsa exif gmenu kde terminal gnote vala webkit xfce xgamma xklavier twitter indicator3 zeitgeist mail" IUSE="alsa exif gmenu terminal gnote vala webkit xfce xgamma xklavier twitter indicator3 zeitgeist mail"
RDEPEND=" RDEPEND="
dev-libs/dbus-glib dev-libs/dbus-glib
@ -25,12 +25,11 @@ RDEPEND="
sys-apps/dbus sys-apps/dbus
x11-libs/cairo x11-libs/cairo
x11-libs/gtkglext x11-libs/gtkglext
~x11-misc/cairo-dock-${PV} >=x11-misc/cairo-dock-3.4.1
x11-libs/gtk+:3 x11-libs/gtk+:3
alsa? ( media-libs/alsa-lib ) alsa? ( media-libs/alsa-lib )
exif? ( media-libs/libexif ) exif? ( media-libs/libexif )
gmenu? ( gnome-base/gnome-menus ) gmenu? ( gnome-base/gnome-menus )
kde? ( kde-frameworks/kdelibs )
terminal? ( x11-libs/vte:= ) terminal? ( x11-libs/vte:= )
vala? ( dev-lang/vala:= ) vala? ( dev-lang/vala:= )
webkit? ( >=net-libs/webkit-gtk-1.4.0:3 ) webkit? ( >=net-libs/webkit-gtk-1.4.0:3 )
@ -51,12 +50,24 @@ DEPEND="${RDEPEND}
dev-libs/libdbusmenu[gtk3] dev-libs/libdbusmenu[gtk3]
" "
S="${WORKDIR}/cairo-dock-plug-ins-master"
src_prepare() {
# fix version to compile with cairo-dock-3.4.1
sed -i -e '/set (VERSION/s/3.4.99.alpha1/3.4.1/' CMakeLists.txt || die
# disable broken weather plugin
eapply "${FILESDIR}/${P}-disable-weather.patch"
cmake_src_prepare
}
src_configure() { src_configure() {
local mycmakeargs=( local mycmakeargs=(
"-Denable-alsa-mixer=$(usex alsa)" -Denable-alsa-mixer=$(usex alsa)
"-Denable-sound-effects=$(usex alsa)" -Denable-sound-effects=$(usex alsa)
# broken with 0.99.x (as of cairo-dock 3.3.2) # broken with 0.99.x (as of cairo-dock 3.3.2)
"-Denable-upower-support=OFF" -Denable-upower-support=OFF
) )
cmake-utils_src_configure cmake_src_configure
} }

View File

@ -1,24 +0,0 @@
diff -ru cairo-dock-plugins-2.3.0~2.orig//Dbus/interfaces/bash/BashInstall.cmake.in cairo-dock-plugins-2.3.0~2/Dbus/interfaces/bash/BashInstall.cmake.in
--- cairo-dock-plugins-2.3.0~2.orig//Dbus/interfaces/bash/BashInstall.cmake.in 2011-10-03 07:51:28.000000000 -0700
+++ cairo-dock-plugins-2.3.0~2/Dbus/interfaces/bash/BashInstall.cmake.in 2012-01-27 18:31:33.714287648 -0800
@@ -1,7 +1,7 @@
IF("@ROOT_PREFIX@" STREQUAL "")
EXEC_PROGRAM("@PYTHON_EXECUTABLE@" "${CMAKE_CURRENT_BINARY_DIR}" ARGS
"setup.py" "install"
- "--prefix=${CMAKE_INSTALL_PREFIX}"
+ "--prefix=$ENV{D}${CMAKE_INSTALL_PREFIX}"
"@DEBIAN_INSTALL_LAYOUT@")
ELSEIF(NOT "@ROOT_PREFIX@" STREQUAL "" AND "@python_no_deb_layout@" STREQUAL "")
EXEC_PROGRAM("@PYTHON_EXECUTABLE@" "${CMAKE_CURRENT_BINARY_DIR}" ARGS
diff -ru cairo-dock-plugins-2.3.0~2.orig//Dbus/interfaces/python/PythonInstall.cmake.in cairo-dock-plugins-2.3.0~2/Dbus/interfaces/python/PythonInstall.cmake.in
--- cairo-dock-plugins-2.3.0~2.orig//Dbus/interfaces/python/PythonInstall.cmake.in 2011-10-03 07:51:28.000000000 -0700
+++ cairo-dock-plugins-2.3.0~2/Dbus/interfaces/python/PythonInstall.cmake.in 2012-01-27 18:31:43.582287380 -0800
@@ -1,7 +1,7 @@
IF("@ROOT_PREFIX@" STREQUAL "")
EXEC_PROGRAM("@PYTHON_EXECUTABLE@" "${CMAKE_CURRENT_BINARY_DIR}" ARGS
"setup.py" "install"
- "--prefix=${CMAKE_INSTALL_PREFIX}"
+ "--prefix=$ENV{D}${CMAKE_INSTALL_PREFIX}"
"@DEBIAN_INSTALL_LAYOUT@")
ELSEIF(NOT "@ROOT_PREFIX@" STREQUAL "" AND "@python_no_deb_layout@" STREQUAL "")
EXEC_PROGRAM("@PYTHON_EXECUTABLE@" "${CMAKE_CURRENT_BINARY_DIR}" ARGS

View File

@ -0,0 +1,29 @@
--- a/CMakeLists.txt 2022-08-29 11:47:42.214319853 +0300
+++ b/CMakeLists.txt 2022-08-29 11:47:52.078319128 +0300
@@ -1391,26 +1391,6 @@
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Toons/data/Toons.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Toons/data/Toons.conf)
add_subdirectory (Toons)
-############# WEATHER #################
-message (STATUS "> Weather:")
-set (with_weather no)
-set (WEATHER_MODULE openssl)
-pkg_check_modules (WEATHER ${WEATHER_MODULE})
-if (NOT WEATHER_FOUND)
- message (STATUS "Could not find ${WEATHER_MODULE}; Cairo-Dock won't be built with Weather applet.")
- message (WARNING "This module is required to compile Weather applet: ${WEATHER_MODULE}")
- set (MODULES_MISSING "${MODULES_MISSING} ${WEATHER_MODULE}")
-else()
- set (GETTEXT_WEATHER ${GETTEXT_PLUGINS})
- set (VERSION_WEATHER "2.1.0")
- set (PACKAGE_WEATHER "cd-weather")
- set (weatherdatadir "${pluginsdatadir}/weather")
- set (weatheruserdirname "weather")
- configure_file (${CMAKE_CURRENT_SOURCE_DIR}/weather/data/weather.conf.in ${CMAKE_CURRENT_BINARY_DIR}/weather/data/weather.conf)
- add_subdirectory (weather)
- set (with_weather yes)
-endif()
-
############# WEBLETS #################
message (STATUS "> Weblets:")
set (with_weblets no)