Compare commits
6 Commits
9eb046a477
...
eb85bebd60
| Author | SHA1 | Date | |
|---|---|---|---|
|
eb85bebd60
|
|||
|
c57fe87eab
|
|||
|
10f08799f6
|
|||
|
85c27068a0
|
|||
|
814fb98dce
|
|||
|
768d9e1417
|
11
app-admin/webapp-config/metadata.xml
Normal file
11
app-admin/webapp-config/metadata.xml
Normal 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>
|
||||
32
app-admin/webapp-config/webapp-config-2.ebuild
Normal file
32
app-admin/webapp-config/webapp-config-2.ebuild
Normal 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
|
||||
}
|
||||
67
app-admin/webapp-config/webapp-config-9999.ebuild
Normal file
67
app-admin/webapp-config/webapp-config-9999.ebuild
Normal 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."
|
||||
}
|
||||
50
app-eselect/eselect-php/eselect-php-2.ebuild
Normal file
50
app-eselect/eselect-php/eselect-php-2.ebuild
Normal 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
|
||||
}
|
||||
12
app-eselect/eselect-php/metadata.xml
Normal file
12
app-eselect/eselect-php/metadata.xml
Normal 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>
|
||||
1
profiles/linux/arch/amd64/busybox/eapi
Normal file
1
profiles/linux/arch/amd64/busybox/eapi
Normal file
@@ -0,0 +1 @@
|
||||
5
|
||||
1
profiles/linux/arch/amd64/busybox/make.defaults
Normal file
1
profiles/linux/arch/amd64/busybox/make.defaults
Normal file
@@ -0,0 +1 @@
|
||||
USE="-udev -pam"
|
||||
1
profiles/linux/arch/amd64/busybox/musl/eapi
Normal file
1
profiles/linux/arch/amd64/busybox/musl/eapi
Normal file
@@ -0,0 +1 @@
|
||||
5
|
||||
2
profiles/linux/arch/amd64/busybox/musl/parent
Normal file
2
profiles/linux/arch/amd64/busybox/musl/parent
Normal file
@@ -0,0 +1,2 @@
|
||||
..
|
||||
gentoo:features/musl
|
||||
2
profiles/linux/arch/amd64/busybox/package.use
Normal file
2
profiles/linux/arch/amd64/busybox/package.use
Normal file
@@ -0,0 +1,2 @@
|
||||
sys-apps/busybox -static syslog mdev math make-symlinks
|
||||
sys-apps/util-linux -cramfs -hardlink -logger -su -suid
|
||||
2
profiles/linux/arch/amd64/busybox/packages
Normal file
2
profiles/linux/arch/amd64/busybox/packages
Normal file
@@ -0,0 +1,2 @@
|
||||
*sys-apps/baselayout
|
||||
*sys-apps/busybox
|
||||
6
profiles/linux/arch/amd64/busybox/parent
Normal file
6
profiles/linux/arch/amd64/busybox/parent
Normal file
@@ -0,0 +1,6 @@
|
||||
../../../gentoo/base
|
||||
../../../gentoo/default
|
||||
gentoo:arch/amd64
|
||||
gentoo:arch/amd64/no-multilib
|
||||
gentoo:features/merged-usr
|
||||
../../../minimal
|
||||
1
profiles/linux/arch/amd64/gnu/eapi
Normal file
1
profiles/linux/arch/amd64/gnu/eapi
Normal file
@@ -0,0 +1 @@
|
||||
5
|
||||
1
profiles/linux/arch/amd64/gnu/make.defaults
Normal file
1
profiles/linux/arch/amd64/gnu/make.defaults
Normal file
@@ -0,0 +1 @@
|
||||
USE="${USE} cxx"
|
||||
1
profiles/linux/arch/amd64/gnu/musl/eapi
Normal file
1
profiles/linux/arch/amd64/gnu/musl/eapi
Normal file
@@ -0,0 +1 @@
|
||||
5
|
||||
1
profiles/linux/arch/amd64/gnu/musl/make.defaults
Normal file
1
profiles/linux/arch/amd64/gnu/musl/make.defaults
Normal file
@@ -0,0 +1 @@
|
||||
CHOST="x86_64-pc-linux-musl"
|
||||
1
profiles/linux/arch/amd64/gnu/musl/packages
Normal file
1
profiles/linux/arch/amd64/gnu/musl/packages
Normal file
@@ -0,0 +1 @@
|
||||
*sys-libs/musl
|
||||
2
profiles/linux/arch/amd64/gnu/musl/parent
Normal file
2
profiles/linux/arch/amd64/gnu/musl/parent
Normal file
@@ -0,0 +1,2 @@
|
||||
..
|
||||
gentoo:features/musl
|
||||
15
profiles/linux/arch/amd64/gnu/packages
Normal file
15
profiles/linux/arch/amd64/gnu/packages
Normal 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
|
||||
6
profiles/linux/arch/amd64/gnu/parent
Normal file
6
profiles/linux/arch/amd64/gnu/parent
Normal file
@@ -0,0 +1,6 @@
|
||||
../../../gentoo/base
|
||||
../../../gentoo/default
|
||||
gentoo:arch/amd64
|
||||
gentoo:arch/amd64/no-multilib
|
||||
gentoo:features/merged-usr
|
||||
../../../minimal
|
||||
1
profiles/linux/gentoo/base/README
Normal file
1
profiles/linux/gentoo/base/README
Normal file
@@ -0,0 +1 @@
|
||||
Same as gentoo:base, but without packages
|
||||
1
profiles/linux/gentoo/base/eapi
Normal file
1
profiles/linux/gentoo/base/eapi
Normal file
@@ -0,0 +1 @@
|
||||
5
|
||||
1
profiles/linux/gentoo/base/packages
Normal file
1
profiles/linux/gentoo/base/packages
Normal file
@@ -0,0 +1 @@
|
||||
-*
|
||||
1
profiles/linux/gentoo/base/parent
Normal file
1
profiles/linux/gentoo/base/parent
Normal file
@@ -0,0 +1 @@
|
||||
gentoo:base
|
||||
1
profiles/linux/gentoo/default/README
Normal file
1
profiles/linux/gentoo/default/README
Normal file
@@ -0,0 +1 @@
|
||||
Same as gentoo:default/linux, but without packages
|
||||
1
profiles/linux/gentoo/default/eapi
Normal file
1
profiles/linux/gentoo/default/eapi
Normal file
@@ -0,0 +1 @@
|
||||
5
|
||||
1
profiles/linux/gentoo/default/packages
Normal file
1
profiles/linux/gentoo/default/packages
Normal file
@@ -0,0 +1 @@
|
||||
-*
|
||||
1
profiles/linux/gentoo/default/parent
Normal file
1
profiles/linux/gentoo/default/parent
Normal file
@@ -0,0 +1 @@
|
||||
gentoo:default/linux
|
||||
1
profiles/linux/minimal/eapi
Normal file
1
profiles/linux/minimal/eapi
Normal file
@@ -0,0 +1 @@
|
||||
5
|
||||
7
profiles/linux/minimal/make.defaults
Normal file
7
profiles/linux/minimal/make.defaults
Normal file
@@ -0,0 +1,7 @@
|
||||
# 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"
|
||||
|
||||
INSTALL_MASK="/usr/share/doc /usr/share/man /usr/share/locale /usr/lib64/pkgconfig /usr/include /usr/share/info /usr/lib*/python*/test"
|
||||
1
profiles/linux/minimal/package.use
Normal file
1
profiles/linux/minimal/package.use
Normal file
@@ -0,0 +1 @@
|
||||
app-arch/xz-utils -extra-filters
|
||||
2
profiles/linux/minimal/package.use.force
Normal file
2
profiles/linux/minimal/package.use.force
Normal file
@@ -0,0 +1,2 @@
|
||||
app-shells/bash:0 -readline
|
||||
sys-libs/glibc -static-libs
|
||||
1
profiles/linux/minimal/packages
Normal file
1
profiles/linux/minimal/packages
Normal file
@@ -0,0 +1 @@
|
||||
*virtual/gcc-libs
|
||||
7
profiles/profiles.desc
Normal file
7
profiles/profiles.desc
Normal file
@@ -0,0 +1,7 @@
|
||||
# Copyright 2003-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
amd64 linux/arch/amd64/gnu exp
|
||||
amd64 linux/arch/amd64/gnu/musl exp
|
||||
amd64 linux/arch/amd64/busybox exp
|
||||
amd64 linux/arch/amd64/busybox/musl exp
|
||||
34
sys-libs/gcc-libs/gcc-libs-15.ebuild
Normal file
34
sys-libs/gcc-libs/gcc-libs-15.ebuild
Normal 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
|
||||
}
|
||||
8
sys-libs/gcc-libs/metadata.xml
Normal file
8
sys-libs/gcc-libs/metadata.xml
Normal 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>
|
||||
13
virtual/gcc-libs/gcc-libs-15.ebuild
Normal file
13
virtual/gcc-libs/gcc-libs-15.ebuild
Normal 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}
|
||||
)"
|
||||
8
virtual/gcc-libs/metadata.xml
Normal file
8
virtual/gcc-libs/metadata.xml
Normal 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>
|
||||
Reference in New Issue
Block a user