-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
129 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
prelude: | ||
- |- | ||
export FEATURES="-sandbox -usersandbox -ipc-sandbox -pid-sandbox -network-sandbox" && \ | ||
export JOBS={{ ( index .Values.labels "jobs" ) | default "3" }} && \ | ||
eval 'mkdir -p /var/cache/portage/distfiles || true' && \ | ||
chown portage:portage -R /var/cache/portage/ && \ | ||
{{- if .Values.use_flags }} | ||
USE="{{ join " " .Values.use_flags }}" emerge {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \ | ||
{{- else }} | ||
emerge -j ${JOBS} {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \ | ||
{{- end }} | ||
{{- if .Values.use_flags }} | ||
USE="{{ join " " .Values.use_flags }}" emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }} | ||
{{- else }} | ||
emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }} | ||
{{- end }} | ||
- export LUET_PORTAGE_CACHE_PACKAGES="/var/cache/portage/packages" && export LUET_PORTAGE_IGNORE_TAR_WARNING=1 | ||
&& export LUET_PORTAGE_PKGMETA=1 && export LUET_PORTAGE_PKGFILES=1 && eval 'rm -rf | ||
/pkgdir/ || true' && mkdir -p /pkgdir/{{ .Values.name }} && luet-portage --dir /pkgdir/{{ | ||
.Values.name }} {{ ( index .Values.labels "emerge.packages" ) }} && eval 'rm -v | ||
/var/cache/distfiles/* ${LUET_PORTAGE_CACHE_PACKAGES}/* || true' | ||
package_dir: /pkgdir/{{ .Values.name }} | ||
excludes: | ||
- ^/var/cache/portage/ | ||
- ^/var/git/ | ||
requires: | ||
- name: eselect-postgresql | ||
version: '>=0' | ||
category: app-eselect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
name: postgresql | ||
version: "11.20" | ||
category: dev-db-11 | ||
use_flags: | ||
- -elibc_musl | ||
- -kerberos | ||
- -ldap | ||
- -llvm | ||
- -perl | ||
- -python_single_target_python3_10 | ||
- -python_single_target_python3_7 | ||
- -python_single_target_python3_8 | ||
- -selinux | ||
- -tcl | ||
- -uuid | ||
- elibc_glibc | ||
- icu | ||
- nls | ||
- pam | ||
- python | ||
- python_single_target_python3_9 | ||
- readline | ||
- ssl | ||
- xml | ||
- zlib | ||
- python_single_target_python3_9 | ||
- server | ||
requires: | ||
- name: eselect-postgresql | ||
version: '>=0' | ||
category: app-eselect | ||
- name: python | ||
version: '>=0' | ||
category: dev-lang-3.9 | ||
- name: python-exec | ||
version: '>=0' | ||
category: dev-lang-2 | ||
- name: libxslt | ||
version: '>=0' | ||
category: dev-libs | ||
- name: less | ||
version: '>=0' | ||
category: sys-apps | ||
- name: pam | ||
version: '>=0' | ||
category: sys-libs | ||
- name: entities-catalog | ||
version: '>=0' | ||
category: macaroni | ||
annotations: | ||
subsets: | ||
rules: | ||
devel: | ||
- ^/usr/include/ | ||
portage: | ||
- ^/var/db/pkg/ | ||
description: PostgreSQL RDBMS | ||
uri: | ||
- https://www.postgresql.org/ | ||
license: POSTGRESQL GPL-2 | ||
labels: | ||
DEPEND: '>=app-eselect/eselect-postgresql-2.0 sys-apps/less virtual/libintl icu? | ||
( dev-libs/icu:= ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap:= ) llvm? | ||
( sys-devel/llvm:= sys-devel/clang:= ) pam? ( sys-libs/pam ) perl? ( >=dev-lang/perl-5.8:= | ||
) python? ( python_single_target_python3_7? ( dev-lang/python:3.7 >=dev-lang/python-exec-2:=[python_targets_python3_7] | ||
) python_single_target_python3_9? ( dev-lang/python:3.9 >=dev-lang/python-exec-2:=[python_targets_python3_9] | ||
) python_single_target_python3_8? ( dev-lang/python:3.8 >=dev-lang/python-exec-2:=[python_targets_python3_8] | ||
) python_single_target_python3_10? ( dev-lang/python:3.10 >=dev-lang/python-exec-2:=[python_targets_python3_10] | ||
) ) readline? ( sys-libs/readline:0= ) ssl? ( >=dev-libs/openssl-0.9.6-r1:0= ) | ||
tcl? ( >=dev-lang/tcl-8:0= ) xml? ( dev-libs/libxml2 dev-libs/libxslt ) zlib? | ||
( sys-libs/zlib ) uuid? ( elibc_glibc? ( sys-apps/util-linux ) elibc_musl? ( sys-apps/util-linux | ||
) !elibc_glibc? ( !elibc_musl? ( dev-libs/ossp-uuid ) ) ) sys-devel/bison sys-devel/flex | ||
nls? ( sys-devel/gettext ) xml? ( virtual/pkgconfig ) sys-apps/shadow' | ||
IUSE: debug doc icu kerberos ldap llvm nls pam perl python +readline selinux +server | ||
ssl static-libs tcl threads uuid xml zlib kernel_linux python_single_target_python3_7 | ||
python_single_target_python3_9 python_single_target_python3_8 python_single_target_python3_10 | ||
python_targets_python3_7 python_targets_python3_9 python_targets_python3_8 python_targets_python3_10 | ||
RDEPEND: '>=app-eselect/eselect-postgresql-2.0 sys-apps/less virtual/libintl icu? | ||
( dev-libs/icu:= ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap:= ) llvm? | ||
( sys-devel/llvm:= sys-devel/clang:= ) pam? ( sys-libs/pam ) perl? ( >=dev-lang/perl-5.8:= | ||
) python? ( python_single_target_python3_7? ( dev-lang/python:3.7 >=dev-lang/python-exec-2:=[python_targets_python3_7] | ||
) python_single_target_python3_9? ( dev-lang/python:3.9 >=dev-lang/python-exec-2:=[python_targets_python3_9] | ||
) python_single_target_python3_8? ( dev-lang/python:3.8 >=dev-lang/python-exec-2:=[python_targets_python3_8] | ||
) python_single_target_python3_10? ( dev-lang/python:3.10 >=dev-lang/python-exec-2:=[python_targets_python3_10] | ||
) ) readline? ( sys-libs/readline:0= ) ssl? ( >=dev-libs/openssl-0.9.6-r1:0= ) | ||
tcl? ( >=dev-lang/tcl-8:0= ) xml? ( dev-libs/libxml2 dev-libs/libxslt ) zlib? | ||
( sys-libs/zlib ) uuid? ( elibc_glibc? ( sys-apps/util-linux ) elibc_musl? ( sys-apps/util-linux | ||
) !elibc_glibc? ( !elibc_musl? ( dev-libs/ossp-uuid ) ) ) selinux? ( sec-policy/selinux-postgresql | ||
)' | ||
emerge.packages: dev-db/postgresql:11 | ||
kit: core-server-kit | ||
original.package.name: dev-db/postgresql | ||
original.package.slot: "11" | ||
original.package.version: "11.20" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
shell: | ||
- /bin/bash | ||
- -c | ||
install: | ||
- eval 'mkdir -p /var/lib/postgresql || true' && entities merge --specs-dir /usr/share/macaroni/entities/ | ||
-e postgres |