Compare commits

...

8 Commits

51 changed files with 482 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ceamac@gentoo.org</email>
<name>Viorel Munteanu</name>
</maintainer>
<use>
<flag name="portage">Propagate python_targets dependencies to <pkg>sys-apps/portage</pkg></flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,32 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Gentoo config file for missing webapp-config"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
S="${WORKDIR}"
LICENSE="GPL-2+"
SLOT="ceamac"
KEYWORDS="~amd64"
RESTRICT="bindist"
BDEPEND="app-admin/webapp-config:0"
pkg_setup() {
[[ ${ROOT} != ${BROOT} ]] && export MAKELINKS=1
}
src_install() {
if [[ -n ${MAKELINKS} ]]; then
dodir /etc/vhosts
dodir /usr/sbin
keepdir /var/www/
# Ugly, but intentional. This is supposed to point outside of ${ROOT}.
dosym "${BROOT}"/etc/vhosts/webapp-config /etc/vhosts/webapp-config
dosym "${BROOT}"/usr/sbin/webapp-config /usr/sbin/webapp-config
fi
}

View File

@@ -0,0 +1,67 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 prefix
if [[ ${PV} = 9999* ]]
then
EGIT_REPO_URI="/home/viorel/src/webapp-config/"
EGIT_BRANCH="fixes"
inherit git-r3
else
SRC_URI="https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${P}.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
DESCRIPTION="Gentoo's installer for web-based applications"
HOMEPAGE="https://wiki.gentoo.org/wiki/Webapp-config"
LICENSE="GPL-2"
SLOT="0"
IUSE="+portage"
DEPEND="app-text/xmlto
sys-apps/gentoo-functions"
RDEPEND="
portage? ( sys-apps/portage[${PYTHON_USEDEP}] )"
python_prepare_all() {
distutils-r1_python_prepare_all
eprefixify WebappConfig/eprefix.py config/webapp-config
}
python_compile_all() {
emake -C doc/
}
python_test() {
PYTHONPATH="." "${EPYTHON}" WebappConfig/tests/external.py -v ||
die "Testing failed with ${EPYTHON}"
}
python_install_all() {
distutils-r1_python_install_all
# distutils-r1 installs the scripts in /usr/bin in PEP517 mode
mv "${ED}"/usr/bin "${ED}"/usr/sbin || die "Cannot rename scripts directory to /usr/sbin"
insinto /etc/vhosts
doins config/webapp-config
keepdir /usr/share/webapps
keepdir /var/db/webapps
dodoc AUTHORS
doman doc/*.[58]
}
pkg_postinst() {
elog "Now that you have upgraded webapp-config, you **must** update your"
elog "config files in /etc/vhosts/webapp-config before you emerge any"
elog "packages that use webapp-config."
}

View File

@@ -0,0 +1,50 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
TMPFILES_OPTIONAL="yes"
inherit tmpfiles
DESCRIPTION="Gentoo config file for missing eselect-php"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
S="${WORKDIR}"
LICENSE="GPL-2+"
SLOT="ceamac"
KEYWORDS="~amd64"
IUSE="fpm apache2"
RESTRICT="bindist"
RDEPEND="fpm? ( virtual/tmpfiles )"
BDEPEND="app-eselect/eselect-php:0[fpm?,apache2?]"
pkg_setup() {
[[ ${ROOT} != ${BROOT} ]] && export COPYFILES=1
}
src_install() {
if [[ -n ${COPYFILES} ]]; then
local files_to_copy=(
/etc/apache2/modules.d/70_mod_php.conf
/etc/conf.d/php-fpm
/etc/init.d/php-fpm
/etc/logrotate.d/php-fpm.logrotate
/usr/lib/tmpfiles.d/php-fpm.conf
/usr/libexec/php-fpm-launcher
)
local i
for i in "${files_to_copy[@]}"; do
if [[ -e "${BROOT}"/"${i}" ]]; then
dodir "$(dirname "${i}")"
cp -p "${BROOT}"/"${i}" "${ED}"/"${i}" || die
fi
done
fi
}
pkg_postinst() {
use fpm && tmpfiles_process php-fpm.conf
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ceamac@gentoo.org</email>
<name>Viorel Munteanu</name>
</maintainer>
<use>
<flag name="fpm">Enable the FastCGI Process Manager SAPI</flag>
</use>
<stabilize-allarches/>
</pkgmetadata>

View File

@@ -1,3 +1,4 @@
DIST cin_5.1.20250331-src.tgz 188966149 BLAKE2B 2653204e8ddd8a3a3cac61fa572bd63ee81a3bbff364221e98a2a03ea7789742145a0f4a4a99f4725e7a4343a06e88df505c02d7ef1d66d106a21f4263006688 SHA512 c1eec9dedd0cbcf413fa28432e4286fa3c66dfb981832dfbd56c5c2bf385cd699bd61f9a12d9eb96ea19ac091afabe2cd17b81ebd784012b9ce2a4acecb2ab08
DIST cin_5.1.20250620-src.tgz 194810706 BLAKE2B 0acf42e1c73387c46eda7fce2d7c8e3e2d257f14ade4c172d918b8dfc9a41fc25b08de694fe8c96ba2eab9a070c13da0b28fb69caf7cb56bdd6245ff245caf45 SHA512 230bf070db34a9985a90f842d9c69a36aae3373dfe4c728f66cd3d734b1c80731a1af8aed706c74249d74a39e3360c6dc3508182289d7220945f0e482a3078e2
DIST cin_5.1.20251231-src.tgz 395729135 BLAKE2B 9ac8f3874cbf8b1ed9b20ebcac590d04cf044337e99a95f6c80050521d10092c8279911490ba90ed6ea8a594986a8bf5e8174a201a56cbcc2eb2a8047ec925ac SHA512 06fd0ab43b22d4e2a477fe52716a689d75dc84ad2ab346ed5cce5e9b765bfd0e7d969451324a33e3845b05c16f40e01caf9a8f6aff62d8c81c28df425e30c8d0
DIST cin_5.1.20260202-src.tgz 182599290 BLAKE2B b015d3a1b272082d04c3d161ac26e750419eea37beccf3385c14594196549aea3fbca5be01e155f7d1f636dd2ff7f4332ef681f6a62daa42c939f603c9981664 SHA512 68d248be829e074ba58385be813e72dd4d58ff7702e9c22d833ced555e01d9f998943581bb9b75695f26687976492862668822d5a53661e0f2e76bfea3e0aa7f

View File

@@ -0,0 +1,131 @@
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic xdg
MY_PV=${PV//./}
DESCRIPTION="The most advanced non-linear video editor and compositor"
HOMEPAGE="https://www.cinelerra-gg.org/"
SRC_URI="
https://download.cinelerra-gg.org/download.php?file=src/cin_5.1.${MY_PV}-src.tgz
"
S="${WORKDIR}/cinelerra-5.1"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa debug dvb ieee1394 lv2 oss shuttle usb v4l vdpau"
RESTRICT="mirror"
RDEPEND="
app-arch/bzip2
app-arch/xz-utils
dev-libs/imath:3=
media-libs/libjpeg-turbo:=
media-libs/dav1d:=
media-libs/flac:=
>=media-libs/freetype-2
media-libs/fontconfig
media-libs/jbigkit:=
media-libs/libaom:=
media-libs/libdv
>=media-libs/libogg-1.2
media-libs/libpng:0=
media-libs/libpulse
media-libs/libsndfile
>=media-libs/libtheora-1.2:=
>=media-libs/libvorbis-1.3
media-libs/giflib:=
media-libs/libva:=
media-libs/libvpx:=
media-libs/libwebp:=
media-libs/openexr:=
media-libs/opus
media-libs/tiff:=
sci-libs/fftw:3.0=
sys-libs/zlib
sys-process/numactl
x11-libs/libX11
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXft
x11-libs/libXinerama
x11-libs/libXv
virtual/glu
virtual/opengl
virtual/libusb:1
alsa? ( media-libs/alsa-lib )
ieee1394? (
media-libs/libiec61883:=
>=sys-libs/libavc1394-0.5.0:=
>=sys-libs/libraw1394-1.2.0:=
)
lv2? (
app-accessibility/at-spi2-core:2
dev-libs/glib:2
dev-libs/serd
dev-libs/sord
media-libs/harfbuzz:=
media-libs/lilv
media-libs/sratom
media-libs/suil
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
x11-libs/pango
)
vdpau? (
x11-libs/libvdpau
)
"
DEPEND="${RDEPEND}"
BDEPEND="
app-arch/xz-utils
dev-lang/yasm
virtual/pkgconfig
"
src_prepare() {
cp "${FILESDIR}"/mjpegtools-2.1.0.patch9 thirdparty/src/ || die
default
eautoreconf
}
src_configure() {
# bug #924419
append-ldflags "-Wl,--copy-dt-needed-entries"
local myconf=(
--enable-ffmpeg
--without-esound
--with-gl
--with-xft
--with-dv
--with-openexr
$(use_with oss)
$(use_with alsa)
$(use_with ieee1394 firewire)
$(use_with dvb)
$(use_with v4l video4linux2)
$(use_with vdpau)
$(use_with usb shuttle_usb)
$(use_with shuttle)
$(use_with lv2)
--with-plugin-dir="${EPREFIX}/usr/$(get_libdir)/${PN}"
)
use debug && myconf+=( '--enable-x-error-output' )
econf "${myconf[@]}"
}
src_install() {
emake -j1 DESTDIR="${D}" install
dodoc README
docinto html
dodoc -r doc/*.png doc/*.html doc/*.texi doc/*.pdf
}

View File

@@ -0,0 +1 @@
5

View File

@@ -0,0 +1 @@
5

View File

@@ -0,0 +1,2 @@
..
../../features/musl

View File

@@ -0,0 +1,2 @@
..
../../../features/busybox

View File

@@ -0,0 +1 @@
5

View File

@@ -0,0 +1,10 @@
# Copyright 1999-2018 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License v2
CHOST="x86_64-pc-linux-musl"
# Anthony G. Basile <blueness@gentoo.org> (2014-07-01)
# Multilib-related setup, bug #515130
MULTILIB_ABIS="amd64"
CHOST_amd64="${CHOST}"
LIBDIR_amd64="lib"

View File

@@ -0,0 +1,15 @@
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Sam James <sam@gentoo.org> (2022-10-08)
# openjdk-bin is available on amd64 musl
-dev-java/openjdk-bin
dev-java/openjdk-bin:8
# Georgy Yakovlev <gyakovlev@gentoo.org> (2020-01-28)
# rust-bin is available on amd64 musl
-dev-lang/rust-bin
# Sebastian Parborg <darkdefende@gmail.com> (2025-01-21)
# blender-bin is only compatible with glibc
media-gfx/blender-bin

View File

@@ -0,0 +1,6 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Georgy Yakovlev <gyakovlev@gentoo.org> (2020-01-28)
# upstream does not provide docs in musl tarball
dev-lang/rust-bin doc

View File

@@ -0,0 +1,2 @@
../../../../features/musl
../../../../features/installmask

View File

@@ -0,0 +1 @@
5

View File

@@ -0,0 +1 @@
5

View File

@@ -0,0 +1,2 @@
..
../../features/musl

View File

@@ -0,0 +1,2 @@
..
../../../features/gnu

View File

@@ -0,0 +1,7 @@
../../gentoo/base
../../gentoo/default
gentoo:arch/amd64
gentoo:arch/amd64/no-multilib
gentoo:features/merged-usr
../../features/minimal
../../features/installmask

View File

@@ -0,0 +1 @@
5

View File

@@ -0,0 +1 @@
USE="-udev -pam"

View File

@@ -0,0 +1,2 @@
sys-apps/busybox -static syslog mdev math make-symlinks
sys-apps/util-linux -cramfs -hardlink -logger -su -suid

View File

@@ -0,0 +1,2 @@
*sys-apps/baselayout
*sys-apps/busybox

View File

@@ -0,0 +1 @@
5

View File

@@ -0,0 +1 @@
USE="${USE} cxx"

View File

@@ -0,0 +1,15 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
*>=sys-apps/baselayout-2
*app-alternatives/awk
*app-alternatives/bzip2
*app-alternatives/gzip
*app-alternatives/sh
*app-alternatives/tar
*app-arch/xz-utils
*sys-apps/coreutils
*>=sys-apps/findutils-4.4
*sys-apps/grep
*sys-apps/sed
*virtual/libc

View File

@@ -0,0 +1 @@
5

View File

@@ -0,0 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
INSTALL_MASK="${INSTALL_MASK} /usr/share/doc /usr/share/man /usr/share/locale /usr/lib64/pkgconfig /usr/include /usr/share/info /usr/lib*/python*/test"

View File

@@ -0,0 +1 @@
5

View File

@@ -0,0 +1,5 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
USE="pam pcre zlib ipv6 minimal ssl"
USE="${USE} -acl -xattr -fortran -ncurses -readline -static-libs -nls -multiarch -kmod -seccomp"

View File

@@ -0,0 +1 @@
app-arch/xz-utils -extra-filters

View File

@@ -0,0 +1,2 @@
app-shells/bash:0 -readline
sys-libs/glibc -static-libs

View File

@@ -0,0 +1 @@
*virtual/gcc-libs

View File

@@ -0,0 +1 @@
5

View File

@@ -0,0 +1,4 @@
-*app-misc/pax-utils
-*sys-apps/sandbox
*sys-libs/musl

View File

@@ -0,0 +1 @@
gentoo:features/musl

View File

@@ -0,0 +1 @@
Same as gentoo:base, but without packages

View File

@@ -0,0 +1 @@
5

View File

@@ -0,0 +1 @@
-*

View File

@@ -0,0 +1 @@
gentoo:base

View File

@@ -0,0 +1 @@
Same as gentoo:default/linux, but without packages

View File

@@ -0,0 +1 @@
5

View File

@@ -0,0 +1 @@
-*

View File

@@ -0,0 +1 @@
gentoo:default/linux

10
profiles/profiles.desc Normal file
View File

@@ -0,0 +1,10 @@
# Copyright 2003-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Minimal profiles
amd64 linux/arch/amd64/gnu exp
amd64 linux/arch/amd64/busybox exp
# Minimal musl profiles
amd64 linux/arch/amd64/gnu/musl exp
amd64 linux/arch/amd64/busybox/musl exp

View File

@@ -0,0 +1,34 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Shared libs provided by gcc for use in embedded systems"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
S="${WORKDIR}"
LICENSE="|| ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 )"
SLOT="0"
KEYWORDS="amd64"
IUSE="cxx"
COMMON_DEPEND="virtual/libc"
DEPEND="
${COMMON_DEPEND}
!!sys-devel/gcc
"
RDEPEND="
${COMMON_DEPEND}
!sys-devel/gcc
"
BDEPEND="sys-devel/gcc:${PV}[cxx?]"
QA_PREBUILT="*"
src_install() {
dodir /usr/$(get_libdir)
cp -r "${BROOT}"/usr/lib/gcc/${CHOST}/${PV}/libgcc_s.so* "${ED}"/usr/$(get_libdir)/ || die
if use cxx; then
cp -r "${BROOT}"/usr/lib/gcc/${CHOST}/${PV}/libstdc++.so* "${ED}"/usr/$(get_libdir)/ || die
fi
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>ceamac@gentoo.org</email>
<name>Viorel Munteanu</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,13 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Virtual for gcc-libs"
SLOT="0"
KEYWORDS="amd64"
RDEPEND="|| (
~sys-libs/gcc-libs-${PV}
sys-devel/gcc:${PV}
)"

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>ceamac@gentoo.org</email>
<name>Viorel Munteanu</name>
</maintainer>
</pkgmetadata>