parent
e36cf5fd92
commit
5f2728b8e9
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST kontrast-20.12.3.tar.xz 122468 BLAKE2B 4e29c034ba87781ffef03a37ecc7219eed488585bc47b0b3420950cdfe8fa92e9f4fd2a35dea76ac296318cb8c8be38fcf92061bca105fcfafa9dc9121afbabe SHA512 d6a4b60416f43bc1e9ba2539b13f33233c988417c7e8f05dd295d7e4946301943db9493123a07c48b0844c7aa55a22a3f1b898c3a00cccc6f6aae295d89d90c8
|
||||
DIST kontrast-21.04.0.tar.xz 122760 BLAKE2B f68006f325c7d6c1cf292b48b2bebca09939cd51c1a16a31df80b57dcf03f95c3336707f2d9d21b6dc5cbef092e5efe739598d0939566b71212067d05012a97d SHA512 0df076b365353b916206748801641805a674ac1a0420ce26f197a7083f77c70550a8728d4f5f6f98ae79e162bfb611f4ce4b4171897c002718785c77aa9a693e
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
KDE_GEAR="true"
|
||||
KFMIN=5.80.0
|
||||
QTMIN=5.15.2
|
||||
inherit ecm kde.org
|
||||
|
||||
DESCRIPTION="Tool to check contrast for colors to verify they are correctly accessible"
|
||||
HOMEPAGE="https://apps.kde.org/en/kontrast"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtdbus-${QTMIN}:5
|
||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtquickcontrols2-${QTMIN}:5
|
||||
>=dev-qt/qtsql-${QTMIN}:5
|
||||
>=dev-qt/qtsvg-${QTMIN}:5
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kdeclarative-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kirigami-${KFMIN}:5
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
kde-plasma/xdg-desktop-portal-kde
|
||||
"
|
Binary file not shown.
@ -1,20 +0,0 @@
|
||||
#!/bin/sh
|
||||
# consolelog.sh
|
||||
# For metalog -- log to a console
|
||||
|
||||
set -f
|
||||
|
||||
. /etc/conf.d/metalog
|
||||
if [ -z "${CONSOLE}" ] ; then
|
||||
CONSOLE="/dev/console"
|
||||
fi
|
||||
|
||||
if [ -z "${FORMAT}" ] ; then
|
||||
FORMAT='$1 [$2] $3'
|
||||
fi
|
||||
|
||||
for d in ${CONSOLE} ; do
|
||||
eval echo ${FORMAT} > ${d}
|
||||
done
|
||||
|
||||
exit 0
|
@ -1,41 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
extra_started_commands="buffer unbuffer"
|
||||
|
||||
PIDFILE=/var/run/metalog.pid
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
use clock hostname
|
||||
after bootmisc
|
||||
provide logger
|
||||
}
|
||||
|
||||
ssd() { start-stop-daemon --exec /usr/sbin/metalog --pidfile "${PIDFILE}" "$@" ; }
|
||||
|
||||
start() {
|
||||
ebegin "Starting metalog"
|
||||
ssd --start -- \
|
||||
--daemonize --pidfile="${PIDFILE}" ${METALOG_OPTS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping metalog"
|
||||
ssd --stop
|
||||
eend $?
|
||||
}
|
||||
|
||||
buffer() {
|
||||
ebegin "Enabling log buffering"
|
||||
ssd --signal USR2
|
||||
eend $?
|
||||
}
|
||||
|
||||
unbuffer() {
|
||||
ebegin "Disabling log buffering"
|
||||
ssd --signal USR1
|
||||
eend $?
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools systemd
|
||||
|
||||
DESCRIPTION="A highly configurable replacement for syslogd/klogd"
|
||||
HOMEPAGE="https://github.com/hvisage/metalog"
|
||||
SRC_URI="https://github.com/hvisage/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin"
|
||||
IUSE="unicode"
|
||||
|
||||
RDEPEND=">=dev-libs/libpcre-3.4"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/autoconf-archive
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.9-metalog-conf.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with unicode)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS ChangeLog README NEWS metalog.conf
|
||||
|
||||
into /
|
||||
dosbin "${FILESDIR}"/consolelog.sh
|
||||
|
||||
newinitd "${FILESDIR}"/metalog.initd-r1 metalog
|
||||
newconfd "${FILESDIR}"/metalog.confd metalog
|
||||
systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -d "${ROOT}"/etc/metalog ]] && [[ ! -e "${ROOT}"/etc/metalog.conf ]] ; then
|
||||
mv -f "${ROOT}"/etc/metalog/metalog.conf "${ROOT}"/etc/metalog.conf
|
||||
rmdir "${ROOT}"/etc/metalog
|
||||
export MOVED_METALOG_CONF=true
|
||||
else
|
||||
export MOVED_METALOG_CONF=false
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ${MOVED_METALOG_CONF} ; then
|
||||
ewarn "The default metalog.conf file has been moved"
|
||||
ewarn "from /etc/metalog/metalog.conf to just"
|
||||
ewarn "/etc/metalog.conf. If you had a standard"
|
||||
ewarn "setup, the file has been moved for you."
|
||||
fi
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="A highly configurable replacement for syslogd/klogd"
|
||||
HOMEPAGE="http://metalog.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
|
||||
IUSE="unicode"
|
||||
|
||||
RDEPEND=">=dev-libs/libpcre-3.4"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-arch/xz-utils"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.9-metalog-conf.patch )
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with unicode)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS ChangeLog README NEWS metalog.conf
|
||||
|
||||
into /
|
||||
dosbin "${FILESDIR}"/consolelog.sh
|
||||
|
||||
newinitd "${FILESDIR}"/metalog.initd metalog
|
||||
newconfd "${FILESDIR}"/metalog.confd metalog
|
||||
systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -d "${ROOT}"/etc/metalog ]] && [[ ! -e "${ROOT}"/etc/metalog.conf ]] ; then
|
||||
mv -f "${ROOT}"/etc/metalog/metalog.conf "${ROOT}"/etc/metalog.conf
|
||||
rmdir "${ROOT}"/etc/metalog
|
||||
export MOVED_METALOG_CONF=true
|
||||
else
|
||||
export MOVED_METALOG_CONF=false
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ${MOVED_METALOG_CONF} ; then
|
||||
ewarn "The default metalog.conf file has been moved"
|
||||
ewarn "from /etc/metalog/metalog.conf to just"
|
||||
ewarn "/etc/metalog.conf. If you had a standard"
|
||||
ewarn "setup, the file has been moved for you."
|
||||
fi
|
||||
}
|
@ -0,0 +1,484 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit autotools linux-info python-any-r1 systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||
HOMEPAGE="https://www.rsyslog.com/"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git"
|
||||
|
||||
DOC_REPO_URI="https://github.com/rsyslog/${PN}-doc.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
|
||||
|
||||
SRC_URI="
|
||||
https://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||
doc? ( https://www.rsyslog.com/files/download/${PN}/${PN}-doc-${PV}.tar.gz )
|
||||
"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="clickhouse curl dbi debug doc elasticsearch +gcrypt gnutls imhttp"
|
||||
IUSE+=" impcap jemalloc kafka kerberos kubernetes libressl mdblookup"
|
||||
IUSE+=" mongodb mysql normalize omhttp omhttpfs omudpspoof +openssl"
|
||||
IUSE+=" postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp +ssl"
|
||||
IUSE+=" systemd test usertools +uuid xxhash zeromq"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="
|
||||
kubernetes? ( normalize )
|
||||
ssl? ( || ( gnutls openssl ) )
|
||||
"
|
||||
|
||||
BDEPEND=">=sys-devel/autoconf-archive-2015.02.24
|
||||
virtual/pkgconfig
|
||||
elibc_musl? ( sys-libs/queue-standalone )
|
||||
test? (
|
||||
jemalloc? ( <sys-libs/libfaketime-0.9.7 )
|
||||
!jemalloc? ( sys-libs/libfaketime )
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libfastjson-0.99.8:=
|
||||
>=dev-libs/libestr-0.1.9
|
||||
>=sys-libs/zlib-1.2.5
|
||||
curl? ( >=net-misc/curl-7.35.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||
imhttp? ( www-servers/civetweb )
|
||||
impcap? ( net-libs/libpcap )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.3.1:= )
|
||||
kafka? ( >=dev-libs/librdkafka-0.9.0.99:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kubernetes? ( >=net-misc/curl-7.35.0 )
|
||||
mdblookup? ( dev-libs/libmaxminddb:= )
|
||||
mongodb? ( >=dev-libs/mongo-c-driver-1.1.10:= )
|
||||
mysql? ( dev-db/mysql-connector-c:= )
|
||||
normalize? (
|
||||
>=dev-libs/liblognorm-2.0.3:=
|
||||
)
|
||||
clickhouse? ( >=net-misc/curl-7.35.0 )
|
||||
omhttpfs? ( >=net-misc/curl-7.35.0 )
|
||||
omudpspoof? ( >=net-libs/libnet-1.1.6 )
|
||||
postgres? ( >=dev-db/postgresql-8.4.20:= )
|
||||
rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= )
|
||||
redis? ( >=dev-libs/hiredis-0.11.0:= )
|
||||
relp? ( >=dev-libs/librelp-1.2.17:= )
|
||||
rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
|
||||
rfc5424hmac? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.8y:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
|
||||
ssl? (
|
||||
gnutls? ( >=net-libs/gnutls-2.12.23:0= )
|
||||
openssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
)
|
||||
systemd? ( >=sys-apps/systemd-234 )
|
||||
uuid? ( sys-apps/util-linux:0= )
|
||||
xxhash? ( dev-libs/xxhash:= )
|
||||
zeromq? (
|
||||
>=net-libs/czmq-4:=[drafts]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=dev-libs/liblogging-1.0.1[stdlog]
|
||||
)"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
BDEPEND+=" doc? ( >=dev-python/sphinx-1.1.3-r7 )"
|
||||
BDEPEND+=" >=sys-devel/flex-2.5.39-r1"
|
||||
BDEPEND+=" >=sys-devel/bison-2.4.3"
|
||||
BDEPEND+=" >=dev-python/docutils-0.12"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
WARNING_INOTIFY_USER="CONFIG_INOTIFY_USER isn't set. Imfile module on this system will only support polling mode!"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
local _EGIT_BRANCH=
|
||||
if [[ -n "${EGIT_BRANCH}" ]]; then
|
||||
# Cannot use rsyslog commits/branches for documentation repository
|
||||
_EGIT_BRANCH=${EGIT_BRANCH}
|
||||
unset EGIT_BRANCH
|
||||
fi
|
||||
|
||||
git-r3_fetch "${DOC_REPO_URI}"
|
||||
git-r3_checkout "${DOC_REPO_URI}" "${S}"/docs
|
||||
|
||||
if [[ -n "${_EGIT_BRANCH}" ]]; then
|
||||
# Restore previous EGIT_BRANCH information
|
||||
EGIT_BRANCH=${_EGIT_BRANCH}
|
||||
fi
|
||||
else
|
||||
cd "${S}" || die "Cannot change dir into '${S}'"
|
||||
mkdir docs || die "Failed to create docs directory"
|
||||
cd docs || die "Failed to change dir into '${S}/docs'"
|
||||
unpack ${PN}-doc-${PV}.tar.gz
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# https://github.com/rsyslog/rsyslog/issues/3626
|
||||
sed -i \
|
||||
-e '\|^#!/bin/bash$|a exit 77' \
|
||||
tests/mmkubernetes-cache-expir*.sh \
|
||||
|| die "Failed to disabled known test failure mmkubernetes-cache-expir*.sh"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * Guardtime support is missing because libgt isn't yet available
|
||||
# in portage.
|
||||
# * Hadoop's HDFS file system output module is currently not
|
||||
# supported in Gentoo because nobody is able to test it
|
||||
# (JAVA dependency).
|
||||
# * dev-libs/hiredis doesn't provide pkg-config (see #504614,
|
||||
# upstream PR 129 and 136) so we need to export HIREDIS_*
|
||||
# variables because rsyslog's build system depends on pkg-config.
|
||||
|
||||
if use redis; then
|
||||
export HIREDIS_LIBS="-L${EPREFIX}/usr/$(get_libdir) -lhiredis"
|
||||
export HIREDIS_CFLAGS="-I${EPREFIX}/usr/include"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-debug-symbols
|
||||
--disable-generate-man-pages
|
||||
--without-valgrind-testbench
|
||||
--disable-liblogging-stdlog
|
||||
$(use_enable test testbench)
|
||||
$(use_enable test libfaketime)
|
||||
$(use_enable test extended-tests)
|
||||
# Input Plugins without dependencies
|
||||
--enable-imbatchreport
|
||||
--enable-imdiag
|
||||
--enable-imfile
|
||||
--enable-improg
|
||||
--enable-impstats
|
||||
--enable-imptcp
|
||||
# Message Modificiation Plugins without dependencies
|
||||
--enable-mmanon
|
||||
--enable-mmaudit
|
||||
--enable-mmcount
|
||||
--enable-mmfields
|
||||
--enable-mmjsonparse
|
||||
--enable-mmpstrucdata
|
||||
--enable-mmrm1stspace
|
||||
--enable-mmsequence
|
||||
--enable-mmtaghostname
|
||||
--enable-mmutf8fix
|
||||
# Output Modification Plugins without dependencies
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omruleset
|
||||
--enable-omstdout
|
||||
--enable-omuxsock
|
||||
# Misc
|
||||
--enable-fmhash
|
||||
$(use_enable xxhash fmhash-xxhash)
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmciscoios
|
||||
--enable-pmcisconames
|
||||
--enable-pmdb2diag
|
||||
--enable-pmlastmsg
|
||||
$(use_enable normalize pmnormalize)
|
||||
--enable-pmnull
|
||||
--enable-pmpanngfw
|
||||
--enable-pmsnare
|
||||
# DB
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable mongodb ommongodb)
|
||||
$(use_enable mysql)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable redis imhiredis)
|
||||
$(use_enable redis omhiredis)
|
||||
# Debug
|
||||
$(use_enable debug)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug valgrind)
|
||||
# Misc
|
||||
$(use_enable clickhouse)
|
||||
$(use_enable curl fmhttp)
|
||||
$(use_enable elasticsearch)
|
||||
$(use_enable gcrypt libgcrypt)
|
||||
$(use_enable imhttp)
|
||||
$(use_enable impcap)
|
||||
$(use_enable jemalloc)
|
||||
$(use_enable kafka imkafka)
|
||||
$(use_enable kafka omkafka)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable kubernetes mmkubernetes)
|
||||
$(use_enable normalize mmnormalize)
|
||||
$(use_enable mdblookup mmdblookup)
|
||||
$(use_enable omhttp)
|
||||
$(use_enable omhttpfs)
|
||||
$(use_enable omudpspoof)
|
||||
$(use_enable rabbitmq omrabbitmq)
|
||||
$(use_enable relp)
|
||||
$(use_enable rfc3195)
|
||||
$(use_enable rfc5424hmac mmrfc5424addhmac)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable gnutls)
|
||||
$(use_enable openssl)
|
||||
$(use_enable systemd imjournal)
|
||||
$(use_enable systemd omjournal)
|
||||
$(use_enable usertools)
|
||||
$(use_enable uuid)
|
||||
$(use_enable zeromq imczmq)
|
||||
$(use_enable zeromq omczmq)
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc && [[ "${PV}" == "9999" ]]; then
|
||||
einfo "Building documentation ..."
|
||||
local doc_dir="${S}/docs"
|
||||
cd "${doc_dir}" || die "Cannot chdir into \"${doc_dir}\"!"
|
||||
sphinx-build -b html source build || die "Building documentation failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _has_increased_ulimit=
|
||||
|
||||
# Sometimes tests aren't executable (i.e. when added via patch)
|
||||
einfo "Adjusting permissions of test scripts ..."
|
||||
find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
|
||||
die "Failed to adjust test scripts permission"
|
||||
|
||||
if ulimit -n 3072; then
|
||||
_has_increased_ulimit="true"
|
||||
fi
|
||||
|
||||
if ! emake --jobs 1 check; then
|
||||
eerror "Test suite failed! :("
|
||||
|
||||
if [[ -z "${_has_increased_ulimit}" ]]; then
|
||||
eerror "Probably because open file limit couldn't be set to 3072."
|
||||
fi
|
||||
|
||||
if has userpriv ${FEATURES}; then
|
||||
eerror "Please try to reproduce the test suite failure with FEATURES=-userpriv " \
|
||||
"before you submit a bug report."
|
||||
fi
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
"${FILESDIR}"/README.gentoo
|
||||
)
|
||||
|
||||
use doc && local HTML_DOCS=( "${S}/docs/build/." )
|
||||
|
||||
default
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
|
||||
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
|
||||
|
||||
systemd_newunit "${FILESDIR}/${PN}.service" ${PN}.service
|
||||
|
||||
keepdir /var/empty/dev
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf" ${PN}.conf
|
||||
|
||||
insinto /etc/rsyslog.d/
|
||||
newins "${FILESDIR}/50-default-r1.conf" 50-default.conf
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}-r1.logrotate" ${PN}
|
||||
|
||||
if use mysql; then
|
||||
insinto /usr/share/${PN}/scripts/mysql
|
||||
doins plugins/ommysql/createDB.sql
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
insinto /usr/share/${PN}/scripts/pgsql
|
||||
doins plugins/ompgsql/createDB.sql
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local advertise_readme=0
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
|
||||
advertise_readme=1
|
||||
|
||||
if use mysql || use postgres; then
|
||||
echo
|
||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||
elog " /usr/share/doc/${PF}/scripts"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
echo
|
||||
elog "To create a default CA and certificates for your server and clients, run:"
|
||||
elog " emerge --config =${PF}"
|
||||
elog "on your logging server. You can run it several times,"
|
||||
elog "once for each logging client. The client certificates will be signed"
|
||||
elog "using the CA certificate generated during the first run."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${advertise_readme} -gt 0 ]]; then
|
||||
# We need to show the README file location
|
||||
|
||||
echo ""
|
||||
elog "Please read"
|
||||
elog ""
|
||||
elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
|
||||
elog ""
|
||||
elog "for more details."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use ssl; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl to build it."
|
||||
return 0
|
||||
fi
|
||||
|
||||
if ! hash certtool &>/dev/null; then
|
||||
die "certtool not found! Is net-libs/gnutls[tools] is installed?"
|
||||
fi
|
||||
|
||||
# Make sure the certificates directory exists
|
||||
local CERTDIR="${EROOT}/etc/ssl/${PN}"
|
||||
if [[ ! -d "${CERTDIR}" ]]; then
|
||||
mkdir "${CERTDIR}" || die
|
||||
fi
|
||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||
|
||||
# Create a default CA if needed
|
||||
if [[ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]]; then
|
||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = Portage automated CA
|
||||
ca
|
||||
cert_signing_key
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-self-signed \
|
||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
# Create the server certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for server ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_server
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
else
|
||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||
fi
|
||||
|
||||
# Create a client certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for client ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_client
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
rm -f "${T}/${PF}.$$"
|
||||
|
||||
echo
|
||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||
einfo " https://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
@ -1,407 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright 1995 Hrvoje Dogan, Croatia.
|
||||
# Copyright 2002, 2003, 2004 Stuart Winter, West Midlands, England, UK.
|
||||
# Copyright 2004 Slackware Linux, Inc., Concord, CA, USA
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
#
|
||||
##########################################################################
|
||||
# Program: /usr/sbin/adduser
|
||||
# Purpose: Interactive front end to /usr/sbin/useradd for Slackware Linux
|
||||
# Author : Stuart Winter <stuart@polplex.co.uk>
|
||||
# Based on the original Slackware adduser by Hrvoje Dogan
|
||||
# with modifications by Patrick Volkerding
|
||||
# Version: 1.09
|
||||
##########################################################################
|
||||
# Usage..: adduser [<new_user_name>]
|
||||
##########################################################################
|
||||
# History #
|
||||
###########
|
||||
# v1.09 - 07/06/04
|
||||
# * Added standard Slackware script licence to the head of this file.
|
||||
# v1.08 - 25/04/04
|
||||
# * Disallow user names that begin with a numeric because useradd
|
||||
# (from shadow v4.03) does not allow them. <sw>
|
||||
# v1.07 - 07/03/03
|
||||
# * When supplying a null string for the uid (meaning 'Choose next available'),
|
||||
# if there were file names in the range 'a-z' in the pwd then the
|
||||
# egrep command considered these files rather than the null string.
|
||||
# The egrep expression is now in quotes.
|
||||
# Reported & fixed by Vadim O. Ustiansky <sw>
|
||||
# v1.06 - 31/03/03
|
||||
# * Ask to chown user.group the home directory if it already exists.
|
||||
# This helps reduce later confusion when adding users whose home dir
|
||||
# already exists (mounted partition for example) and is owned
|
||||
# by a user other than the user to which the directory is being
|
||||
# assigned as home. Default is not to chown.
|
||||
# Brought to my attention by mRgOBLIN. <sw>
|
||||
# v1.05 - 04/01/03
|
||||
# * Advise & prevent users from creating logins with '.' characters
|
||||
# in the user name. <sw>
|
||||
# * Made pending account creation info look neater <sw>
|
||||
# v1.04 - 09/06/02
|
||||
# * Catered for shadow-4.0.3's 'useradd' binary that no longer
|
||||
# will let you create a user that has any uppercase chars in it
|
||||
# This was reported on the userlocal.org forums
|
||||
# by 'xcp' - thanks. <sw,pjv>
|
||||
# v1.03 - 20/05/02
|
||||
# * Support 'broken' (null lines in) /etc/passwd and
|
||||
# /etc/group files <sw>
|
||||
# * For recycling UIDs (default still 'off'), we now look in
|
||||
# /etc/login.defs for the UID_MIN value and use it
|
||||
# If not found then default to 1000 <sw>
|
||||
# v1.02 - 10/04/02
|
||||
# * Fix user-specified UID bug. <pjv>
|
||||
# v1.01 - 23/03/02
|
||||
# * Match Slackware indenting style, simplify. <pjv>
|
||||
# v1.00 - 22/03/02
|
||||
# * Created
|
||||
#######################################################################
|
||||
|
||||
# Path to files
|
||||
pfile=/etc/passwd
|
||||
gfile=/etc/group
|
||||
sfile=/etc/shells
|
||||
|
||||
# Paths to binaries
|
||||
useradd=/usr/sbin/useradd
|
||||
chfn=/usr/bin/chfn
|
||||
passwd=/usr/bin/passwd
|
||||
chmod=/bin/chmod
|
||||
|
||||
# Defaults
|
||||
defhome=/home
|
||||
defshell=/bin/bash
|
||||
defchmod=711 # home dir permissions - may be preferable to use 701, however.
|
||||
defgroup=users
|
||||
|
||||
# Determine what the minimum UID is (for UID recycling)
|
||||
# (we ignore it if it's not at the beginning of the line (i.e. commented out with #))
|
||||
export recycleUIDMIN="$(grep ^UID_MIN /etc/login.defs | awk '{print $2}' 2>/dev/null)"
|
||||
# If we couldn't find it, set it to the default of 1000
|
||||
if [[ -z "$recycleUIDMIN" ]]; then
|
||||
export recycleUIDMIN=1000 # this is the default from Slackware's /etc/login.defs
|
||||
fi
|
||||
|
||||
|
||||
# This setting enables the 'recycling' of older unused UIDs.
|
||||
# When you userdel a user, it removes it from passwd and shadow but it will
|
||||
# never get used again unless you specify it expliticly -- useradd (appears to) just
|
||||
# look at the last line in passwd and increment the uid. I like the idea of
|
||||
# recycling uids but you may have very good reasons not to (old forgotten
|
||||
# confidential files still on the system could then be owned by this new user).
|
||||
# We'll set this to no because this is what the original adduser shell script
|
||||
# did and it's what users expect.
|
||||
recycleuids=no
|
||||
|
||||
# Function to read keyboard input.
|
||||
# bash1 is broken (even ash will take read -ep!), so we work around
|
||||
# it (even though bash1 is no longer supported on Slackware).
|
||||
function get_input() {
|
||||
local output
|
||||
if [[ "`echo $BASH_VERSION | cut -b1`" = "1" ]]; then
|
||||
echo -n "${1} " >&2 # fudge for use with bash v1
|
||||
read output
|
||||
else # this should work with any other /bin/sh
|
||||
read -ep "${1} " output
|
||||
fi
|
||||
echo $output
|
||||
}
|
||||
|
||||
# Function to display the account info
|
||||
function display () {
|
||||
local goose
|
||||
goose="$(echo $2 | cut -d ' ' -f 2-)" # lop off the prefixed argument useradd needs
|
||||
echo -n "$1 "
|
||||
# If it's null then display the 'other' information
|
||||
if [ -z "$goose" -a ! -z "$3" ]; then
|
||||
echo "$3"
|
||||
else
|
||||
echo "$goose"
|
||||
fi
|
||||
}
|
||||
|
||||
# Function to check whether groups exist in the /etc/group file
|
||||
function check_group () {
|
||||
local got_error group
|
||||
if [[ ! -z "$@" ]]; then
|
||||
for group in $@ ; do
|
||||
local uid_not_named="" uid_not_num=""
|
||||
grep -v "$^" $gfile | awk -F: '{print $1}' | grep "^${group}$" >/dev/null 2>&1 || uid_not_named=yes
|
||||
grep -v "$^" $gfile | awk -F: '{print $3}' | grep "^${group}$" >/dev/null 2>&1 || uid_not_num=yes
|
||||
if [ ! -z "$uid_not_named" -a ! -z "$uid_not_num" ]; then
|
||||
echo "- Group '$group' does not exist"
|
||||
got_error=yes
|
||||
fi
|
||||
done
|
||||
fi
|
||||
# Return exit code of 1 if at least one of the groups didn't exist
|
||||
if [[ ! -z "$got_error" ]]; then
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
#: Read the login name for the new user :#
|
||||
#
|
||||
# Remember that most Mail Transfer Agents are case independant, so having
|
||||
# 'uSer' and 'user' may cause confusion/things to break. Because of this,
|
||||
# useradd from shadow-4.0.3 no longer accepts usernames containing uppercase,
|
||||
# and we must reject them, too.
|
||||
|
||||
# Set the login variable to the command line param
|
||||
echo
|
||||
LOGIN="$1"
|
||||
needinput=yes
|
||||
while [[ ! -z $needinput ]]; do
|
||||
if [[ -z "$LOGIN" ]]; then
|
||||
while [[ -z "$LOGIN" ]]; do LOGIN="$(get_input "Login name for new user []:")" ; done
|
||||
fi
|
||||
grep "^${LOGIN}:" $pfile >/dev/null 2>&1 # ensure it's not already used
|
||||
if [[ $? -eq 0 ]]; then
|
||||
echo "- User '$LOGIN' already exists; please choose another"
|
||||
unset LOGIN
|
||||
elif [[ ! -z "$( echo $LOGIN | grep "^[0-9]" )" ]]; then
|
||||
echo "- User names cannot begin with a number; please choose another"
|
||||
unset LOGIN
|
||||
elif [[ ! "$LOGIN" = "`echo $LOGIN | tr A-Z a-z`" ]]; then # useradd does not allow uppercase
|
||||
echo "- User '$LOGIN' contains illegal characters (uppercase); please choose another"
|
||||
unset LOGIN
|
||||
elif [[ ! -z "$( echo $LOGIN | grep '\.' )" ]]; then
|
||||
echo "- User '$LOGIN' contains illegal characters (period/dot); please choose another"
|
||||
unset LOGIN
|
||||
else
|
||||
unset needinput
|
||||
fi
|
||||
done
|
||||
|
||||
# Display the user name passed from the shell if it hasn't changed
|
||||
if [[ "$1" = "$LOGIN" ]]; then
|
||||
echo "Login name for new user: $LOGIN"
|
||||
fi
|
||||
|
||||
#: Get the UID for the user & ensure it's not already in use :#
|
||||
#
|
||||
# Whilst we _can_ allow users with identical UIDs, it's not a 'good thing' because
|
||||
# when you change password for the uid, it finds the first match in /etc/passwd
|
||||
# which isn't necessarily the correct user
|
||||
#
|
||||
echo
|
||||
needinput=yes
|
||||
while [[ ! -z "$needinput" ]]; do
|
||||
_UID="$(get_input "User ID ('UID') [ defaults to next available ]:")"
|
||||
grep -v "^$" $pfile | awk -F: '{print $3}' | grep "^${_UID}$" >/dev/null 2>&1
|
||||
if [[ $? -eq 0 ]]; then
|
||||
echo "- That UID is already in use; please choose another"
|
||||
elif [ ! -z "$(echo $_UID | egrep '[A-Za-z]')" ]; then
|
||||
echo "- UIDs are numerics only"
|
||||
else
|
||||
unset needinput
|
||||
fi
|
||||
done
|
||||
# If we were given a UID, then syntax up the variable to pass to useradd
|
||||
if [[ ! -z "$_UID" ]]; then
|
||||
U_ID="-u ${_UID}"
|
||||
else
|
||||
# Will we be recycling UIDs?
|
||||
if [[ "$recycleuids" = "yes" ]]; then
|
||||
U_ID="-u $(awk -F: '{uid[$3]=1} END { for (i=ENVIRON["recycleUIDMIN"];i in uid;i++);print i}' $pfile)"
|
||||
fi
|
||||
fi
|
||||
|
||||
#: Get the initial group for the user & ensure it exists :#
|
||||
#
|
||||
# We check /etc/group for both the text version and the group ID number
|
||||
echo
|
||||
needinput=yes
|
||||
while [[ ! -z "$needinput" ]]; do
|
||||
GID="$(get_input "Initial group [ ${defgroup} ]:")"
|
||||
check_group "$GID"
|
||||
if [[ $? -gt 0 ]]; then
|
||||
echo "- Please choose another"
|
||||
else
|
||||
unset needinput
|
||||
fi
|
||||
done
|
||||
# Syntax the variable ready for useradd
|
||||
if [[ -z "$GID" ]]; then
|
||||
GID="-g ${defgroup}"
|
||||
else
|
||||
GID="-g ${GID}"
|
||||
fi
|
||||
|
||||
#: Get additional groups for the user :#
|
||||
#
|
||||
echo
|
||||
needinput=yes
|
||||
while [[ ! -z "$needinput" ]]; do
|
||||
AGID="$(get_input "Additional groups (comma separated) []:")"
|
||||
AGID="$(echo "$AGID" | tr -d ' ' | tr , ' ')" # fix up for parsing
|
||||
if [[ ! -z "$AGID" ]]; then
|
||||
check_group "$AGID" # check all groups at once (treated as N # of params)
|
||||
if [[ $? -gt 0 ]]; then
|
||||
echo "- Please re-enter the group(s)"
|
||||
else
|
||||
unset needinput # we found all groups specified
|
||||
AGID="-G $(echo "$AGID" | tr ' ' ,)"
|
||||
fi
|
||||
else
|
||||
unset needinput # we don't *have* to have additional groups
|
||||
fi
|
||||
done
|
||||
|
||||
#: Get the new user's home dir :#
|
||||
#
|
||||
echo
|
||||
needinput=yes
|
||||
while [[ ! -z "$needinput" ]]; do
|
||||
HME="$(get_input "Home directory [ ${defhome}/${LOGIN} ]")"
|
||||
if [[ -z "$HME" ]]; then
|
||||
HME="${defhome}/${LOGIN}"
|
||||
fi
|
||||
# Warn the user if the home dir already exists
|
||||
if [[ -d "$HME" ]]; then
|
||||
echo "- Warning: '$HME' already exists !"
|
||||
getyn="$(get_input " Do you wish to change the home directory path ? (Y/n) ")"
|
||||
if [[ "$(echo $getyn | grep -i "n")" ]]; then
|
||||
unset needinput
|
||||
# You're most likely going to only do this if you have the dir *mounted* for this user's $HOME
|
||||
getyn="$(get_input " Do you want to chown $LOGIN.$( echo $GID | awk '{print $2}') $HME ? (y/N) ")"
|
||||
if [[ "$(echo $getyn | grep -i "y")" ]]; then
|
||||
CHOWNHOMEDIR=$HME # set this to the home directory
|
||||
fi
|
||||
fi
|
||||
else
|
||||
unset needinput
|
||||
fi
|
||||
done
|
||||
HME="-d ${HME}"
|
||||
|
||||
#: Get the new user's shell :#
|
||||
echo
|
||||
needinput=yes
|
||||
while [[ ! -z "$needinput" ]]; do
|
||||
unset got_error
|
||||
SHL="$(get_input "Shell [ ${defshell} ]")"
|
||||
if [[ -z "$SHL" ]]; then
|
||||
SHL="${defshell}"
|
||||
fi
|
||||
# Warn the user if the shell doesn't exist in /etc/shells or as a file
|
||||
if [[ -z "$(grep "^${SHL}$" $sfile)" ]]; then
|
||||
echo "- Warning: ${SHL} is not in ${sfile} (potential problem using FTP)"
|
||||
got_error=yes
|
||||
fi
|
||||
if [[ ! -f "$SHL" ]]; then
|
||||
echo "- Warning: ${SHL} does not exist as a file"
|
||||
got_error=yes
|
||||
fi
|
||||
if [[ ! -z "$got_error" ]]; then
|
||||
getyn="$(get_input " Do you wish to change the shell ? (Y/n) ")"
|
||||
if [[ "$(echo $getyn | grep -i "n")" ]]; then
|
||||
unset needinput
|
||||
fi
|
||||
else
|
||||
unset needinput
|
||||
fi
|
||||
done
|
||||
SHL="-s ${SHL}"
|
||||
|
||||
#: Get the expiry date :#
|
||||
echo
|
||||
needinput=yes
|
||||
while [[ ! -z "$needinput" ]]; do
|
||||
EXP="$(get_input "Expiry date (YYYY-MM-DD) []:")"
|
||||
if [[ ! -z "$EXP" ]]; then
|
||||
# Check to see whether the expiry date is in the valid format
|
||||
if [ -z "$(echo "$EXP" | grep "^[[:digit:]]\{4\}[-]\?[[:digit:]]\{2\}[-]\?[[:digit:]]\{2\}$")" ]; then
|
||||
echo "- That is not a valid expiration date"
|
||||
else
|
||||
unset needinput
|
||||
EXP="-e ${EXP}"
|
||||
fi
|
||||
else
|
||||
unset needinput
|
||||
fi
|
||||
done
|
||||
|
||||
# Display the info about the new impending account
|
||||
echo
|
||||
echo "New account will be created as follows:"
|
||||
echo
|
||||
echo "---------------------------------------"
|
||||
display "Login name.......: " "$LOGIN"
|
||||
display "UID..............: " "$_UID" "[ Next available ]"
|
||||
display "Initial group....: " "$GID"
|
||||
display "Additional groups: " "$AGID" "[ None ]"
|
||||
display "Home directory...: " "$HME"
|
||||
display "Shell............: " "$SHL"
|
||||
display "Expiry date......: " "$EXP" "[ Never ]"
|
||||
echo
|
||||
|
||||
echo "This is it... if you want to bail out, hit Control-C. Otherwise, press"
|
||||
echo "ENTER to go ahead and make the account."
|
||||
read junk
|
||||
|
||||
echo
|
||||
echo "Creating new account..."
|
||||
echo
|
||||
echo
|
||||
|
||||
# Add the account to the system
|
||||
CMD="$useradd "$HME" -m "$EXP" "$U_ID" "$GID" "$AGID" "$SHL" "$LOGIN""
|
||||
$CMD
|
||||
|
||||
if [[ $? -gt 0 ]]; then
|
||||
echo "- Error running useradd command -- account not created!"
|
||||
echo "(cmd: $CMD)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# chown the home dir ? We can only do this once the useradd has
|
||||
# completed otherwise the user name doesn't exist.
|
||||
if [[ ! -z "${CHOWNHOMEDIR}" ]]; then
|
||||
chown "$LOGIN"."$( echo $GID | awk '{print $2}')" "${CHOWNHOMEDIR}"
|
||||
fi
|
||||
|
||||
# Set the finger information
|
||||
$chfn "$LOGIN"
|
||||
if [[ $? -gt 0 ]]; then
|
||||
echo "- Warning: an error occurred while setting finger information"
|
||||
fi
|
||||
|
||||
# Set a password
|
||||
$passwd "$LOGIN"
|
||||
if [[ $? -gt 0 ]]; then
|
||||
echo "* WARNING: An error occured while setting the password for"
|
||||
echo " this account. Please manually investigate this *"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# If it was created (it should have been!), set the permissions for that user's dir
|
||||
HME="$(echo "$HME" | awk '{print $2}')" # We have to remove the -g prefix
|
||||
if [[ -d "$HME" ]]; then
|
||||
$chmod $defchmod "$HME"
|
||||
fi
|
||||
|
||||
echo
|
||||
echo
|
||||
echo "Account setup complete."
|
||||
exit 0
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Interactive adduser script from Slackware"
|
||||
HOMEPAGE="http://www.interlude.org.uk/unix/slackware/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-apps/shadow"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
dosbin "${FILESDIR}"/${PV}/superadduser
|
||||
doman "${FILESDIR}"/superadduser.8
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST system-tools-backends-2.10.2.tar.bz2 448939 BLAKE2B 2a9a957b1f5438dd40997eaa2efba634fc21a9b7c3d26c3a48ac714e62d80b0a782582325ef92a3309024f278d73ac93c7611e51eca62a210ab44436e6bf9129 SHA512 9ee3e0643122740493265e532350fed9056334de0ea3d6656daa1d42b97f76f0f85024ac87e732fe5122a1e31ad009a1d2f119720081673a06696b81452fb990
|
@ -1,47 +0,0 @@
|
||||
From 544d679c2796602ff277e78e238abd56d30ad633 Mon Sep 17 00:00:00 2001
|
||||
From: Gilles Dartiguelongue <eva@gentoo.org>
|
||||
Date: Mon, 14 Dec 2009 20:37:58 +0100
|
||||
Subject: [PATCH 3/4] Gentoo: fix CVE-2008-4311
|
||||
|
||||
commit fd648907e46017d46c367f59c62d0b0395830903
|
||||
Author: Simon McVittie <http://smcv.pseudorandom.co.uk/>
|
||||
Date: 2009-01-04 19:35:51 +0000
|
||||
|
||||
Allow root to send messages to all the system tools backends, so
|
||||
they work even when CVE-2008-4311 has been fixed.
|
||||
|
||||
Also disallow normal user access by destination, not by
|
||||
interface (fd.o #18961).
|
||||
---
|
||||
org.freedesktop.SystemToolsBackends.conf | 8 ++++----
|
||||
1 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/org.freedesktop.SystemToolsBackends.conf b/org.freedesktop.SystemToolsBackends.conf
|
||||
index 58972ee..537ef73 100644
|
||||
--- a/org.freedesktop.SystemToolsBackends.conf
|
||||
+++ b/org.freedesktop.SystemToolsBackends.conf
|
||||
@@ -22,8 +22,10 @@
|
||||
<allow send_interface="org.freedesktop.SystemToolsBackends.Platform" send_member="getPlatform"/>
|
||||
-->
|
||||
|
||||
- <!-- Only allow talking to the dispatcher -->
|
||||
- <allow send_destination="org.freedesktop.SystemToolsBackends"/>
|
||||
+ <!-- configuration modules can't be accessed directly... -->
|
||||
+ <deny send_destination="org.freedesktop.SystemToolsBackends"/>
|
||||
+ <deny send_destination="org.freedesktop.SystemToolsBackends.Platform"/>
|
||||
+ <deny send_destination="org.freedesktop.SystemToolsBackends"/>
|
||||
</policy>
|
||||
|
||||
<policy user="0">
|
||||
@@ -45,8 +47,6 @@
|
||||
|
||||
<!-- be able to speak to configuration modules,
|
||||
so any message to them has to go through the dispatcher -->
|
||||
- <allow send_interface="org.freedesktop.SystemToolsBackends"/>
|
||||
- <allow send_interface="org.freedesktop.SystemToolsBackends.Platform"/>
|
||||
<allow send_destination="org.freedesktop.SystemToolsBackends"/>
|
||||
<allow send_destination="org.freedesktop.SystemToolsBackends.Platform"/>
|
||||
<allow send_destination="org.freedesktop.SystemToolsBackends.GroupsConfig"/>
|
||||
--
|
||||
1.6.5.4
|
||||
|
@ -1,25 +0,0 @@
|
||||
From ea88120dac8ba2c2dabf4c393c283f69b3d33b5a Mon Sep 17 00:00:00 2001
|
||||
From: Gilles Dartiguelongue <eva@gentoo.org>
|
||||
Date: Mon, 14 Dec 2009 20:37:15 +0100
|
||||
Subject: [PATCH 2/4] Gentoo: restrict access to stb to users in stb-admin group
|
||||
|
||||
---
|
||||
org.freedesktop.SystemToolsBackends.conf | 4 ++++
|
||||
1 files changed, 4 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/org.freedesktop.SystemToolsBackends.conf b/org.freedesktop.SystemToolsBackends.conf
|
||||
index d031525..58972ee 100644
|
||||
--- a/org.freedesktop.SystemToolsBackends.conf
|
||||
+++ b/org.freedesktop.SystemToolsBackends.conf
|
||||
@@ -60,4 +60,8 @@
|
||||
<allow send_destination="org.freedesktop.SystemToolsBackends.UserConfig"/>
|
||||
<allow send_destination="org.freedesktop.SystemToolsBackends.UsersConfig"/>
|
||||
</policy>
|
||||
+ <policy group="stb-admin">
|
||||
+ <!-- be able to speak to the dispatcher -->
|
||||
+ <allow send_destination="org.freedesktop.SystemToolsBackends"/>
|
||||
+ </policy>
|
||||
</busconfig>
|
||||
--
|
||||
1.6.5.4
|
||||
|
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>lxqt@gentoo.org</email>
|
||||
<name>LXQt</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
The System Tools Backends are a set of cross-platform modules for Linux,
|
||||
FreeBSD, Solaris and other Unix systems. The backends provide an common DBus
|
||||
interface to all distros for modifying or reading the system configuration.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
|
||||
inherit epatch gnome2 readme.gentoo user
|
||||
|
||||
DESCRIPTION="Tools aimed to make easy the administration of UNIX systems"
|
||||
HOMEPAGE="https://projects.gnome.org/gst/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
!<app-admin/gnome-system-tools-1.1.91
|
||||
>=sys-apps/dbus-1.1.2
|
||||
>=dev-libs/dbus-glib-0.74
|
||||
>=dev-libs/glib-2.15.2:2
|
||||
>=dev-perl/Net-DBus-0.33.4
|
||||
dev-lang/perl
|
||||
>=sys-auth/polkit-0.94
|
||||
userland_GNU? ( sys-apps/shadow )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-util/intltool-0.40"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="You need to add yourself to the group stb-admin and
|
||||
add system-tools-backends to the default runlevel.
|
||||
You can do this as root like so:
|
||||
# rc-update add system-tools-backends default
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup stb-admin
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Change default permission, only people in stb-admin is allowed
|
||||
# to speak to the dispatcher.
|
||||
epatch "${FILESDIR}/${PN}-2.8.2-default-permissions.patch"
|
||||
|
||||
# Apply fix from ubuntu for CVE 2008 4311
|
||||
epatch "${FILESDIR}/${PN}-2.8.2-cve-2008-4311.patch"
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure --localstatedir=/var
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
readme.gentoo_print_elog
|
||||
}
|
Binary file not shown.
@ -1,165 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris"
|
||||
IUSE="abi_x86_x32 doc kde +pch rar static wxwidgets"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 )
|
||||
amd64? ( dev-lang/yasm )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
DOCS=( ChangeLog README TODO )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-darwin.patch
|
||||
"${FILESDIR}"/CVE-2016-9296.patch
|
||||
"${FILESDIR}"/CVE-2017-17969.patch
|
||||
"${FILESDIR}"/CVE-2018-5996.patch
|
||||
"${FILESDIR}"/CVE-2018-10115.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's|-m32 ||g' \
|
||||
-e 's|-m64 ||g' \
|
||||
-e 's|-pipe||g' \
|
||||
-e '/ALLFLAGS/s|-s ||' \
|
||||
-e "/OPTFLAGS=/s|=.*|=${CXXFLAGS}|" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed \
|
||||
-e '/Rar/d' \
|
||||
-e '/RAR/d' \
|
||||
-i makefile* CPP/7zip/Bundles/Format7zFree/makefile || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
fi
|
||||
|
||||
if use abi_x86_x32; then
|
||||
sed -i -e "/^ASM=/s:amd64:x32:" makefile* || die
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU
|
||||
# linker, it doesn't matter so much for bitwidth, for it doesn't
|
||||
# do anything with it
|
||||
cp -f makefile.macosx_llvm_64bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile.list \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile.list) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
setup-wxwidgets unicode
|
||||
einfo "Preparing dependency list"
|
||||
emake depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) -- 7zG
|
||||
# emake -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
# make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
# make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
# doexe bin/7z{G,FM}
|
||||
doexe bin/7zG
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/Lang
|
||||
doins -r DOC/MANUAL
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
rm GUI/kde4/p7zip_compress.desktop || die
|
||||
insinto /usr/share/kservices5/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
dodir /usr/share/kde4/services/ServiceMenus # drop these lines after konqueror:4/krusader:4 are gone
|
||||
for item in "${ED}"usr/share/kservices5/ServiceMenus/*.desktop; do
|
||||
item="$(basename ${item})"
|
||||
dosym "/usr/share/kservices5/ServiceMenus/${item}" "/usr/share/kde4/services/ServiceMenus/${item}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
|
||||
if use doc; then
|
||||
dodoc DOC/*.txt
|
||||
dohtml -r DOC/MANUAL/*
|
||||
fi
|
||||
}
|
@ -1,168 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris"
|
||||
IUSE="abi_x86_x32 doc kde +pch rar static wxwidgets"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 )
|
||||
amd64? ( dev-lang/yasm )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
DOCS=( ChangeLog README TODO )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-darwin.patch
|
||||
"${FILESDIR}"/CVE-2016-9296.patch
|
||||
"${FILESDIR}"/CVE-2017-17969.patch
|
||||
"${FILESDIR}"/CVE-2018-5996.patch
|
||||
"${FILESDIR}"/CVE-2018-10115.patch
|
||||
"${FILESDIR}"/WimHandler.cpp.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's|-m32 ||g' \
|
||||
-e 's|-m64 ||g' \
|
||||
-e 's|-pipe||g' \
|
||||
-e "/[ALL|OPT]FLAGS/s|-s||;/OPTIMIZE/s|-s||" \
|
||||
-e "/CFLAGS=/s|=|+=|" \
|
||||
-e "/CXXFLAGS=/s|=|+=|" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed \
|
||||
-e '/Rar/d' \
|
||||
-e '/RAR/d' \
|
||||
-i makefile* CPP/7zip/Bundles/Format7zFree/makefile || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
fi
|
||||
|
||||
if use abi_x86_x32; then
|
||||
sed -i -e "/^ASM=/s:amd64:x32:" makefile* || die
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU
|
||||
# linker, it doesn't matter so much for bitwidth, for it doesn't
|
||||
# do anything with it
|
||||
cp -f makefile.macosx_llvm_64bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile.list \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile.list) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
setup-wxwidgets unicode
|
||||
einfo "Preparing dependency list"
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) -- 7zG
|
||||
# emake CC=$(tc-getCC) CXX=$(tc-getCXX) -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
# make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
# make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
# doexe bin/7z{G,FM}
|
||||
doexe bin/7zG
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/Lang
|
||||
doins -r DOC/MANUAL
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
rm GUI/kde4/p7zip_compress.desktop || die
|
||||
insinto /usr/share/kservices5/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
dodir /usr/share/kde4/services/ServiceMenus # drop these lines after konqueror:4/krusader:4 are gone
|
||||
for item in "${ED}"/usr/share/kservices5/ServiceMenus/*.desktop; do
|
||||
item="$(basename ${item})"
|
||||
dosym "${EPREFIX}/usr/share/kservices5/ServiceMenus/${item}" "/usr/share/kde4/services/ServiceMenus/${item}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
|
||||
if use doc; then
|
||||
dodoc DOC/*.txt
|
||||
docinto html
|
||||
dodoc -r DOC/MANUAL/*
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST unrar-6.0.3.tar.gz 232331 BLAKE2B bcea5219daf8338cbb73fc43131d1c7e7a4c576164a30d79352d1bb3a96b3c66fd190dc40a5149b9bf38e723c0654bc5d5d45e246276c2ea18c1c8dc9904e555 SHA512 1ec20e7a122cb7f48936c691a8c3dc96b4dd989aa8416e6a96332733a0839490996baa22f709af3eb07be17e5987d871f995b5dbc36284cb951bed8047bdfb7c
|
||||
DIST unrar-6.0.4.tar.gz 232379 BLAKE2B 39382eeb71cafdeaa608ef497c44cd88d950d761e5c8395a224b2bdd530328a0060dec658aec943f9af8e135ce29cf86c3522ed17799f869cd0d84cbd7acc74a SHA512 9d2beb39fa0e3c60298b482967f1ae51d8a6531c88f5b8b053cc8905c033c0235cabb776d8449f9d96da6b81946167b84d19acdf93dda7ada14cc3c53bb7df19
|
||||
DIST unrar-6.0.5.tar.gz 232702 BLAKE2B 8e33d116ae9de06818379f4303241dd7f44ba319619829d0eb2c9257b3fd27e473b636d40edd6049a1ff096ea722fee0a71bf145456923b2664087dbf7d4554d SHA512 cd6d9b316a2daf2f3f81b28b4d6054cbe7ca9a7e39087a5dc7e4c554e5d5590b395243f03f019bf358e127be48dd219e827fdb6af7543305a52c3f87f6e32dd7
|
||||
|
@ -1,18 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>whissi@gentoo.org</email>
|
||||
<name>Thomas Deutschmann</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
<slots>
|
||||
<subslots>Reflect ABI of libunrar.so.</subslots>
|
||||
</slots>
|
||||
<upstream>
|
||||
<remote-id type="cpe">cpe:/a:rarlab:unrar</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>whissi@gentoo.org</email>
|
||||
<name>Thomas Deutschmann</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
<slots>
|
||||
<subslots>Reflect ABI of libunrar.so.</subslots>
|
||||
</slots>
|
||||
<upstream>
|
||||
<remote-id type="cpe">cpe:/a:rarlab:unrar</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PN="${PN}src"
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="https://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="unRAR"
|
||||
# subslot = soname version
|
||||
SLOT="0/6"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
|
||||
|
||||
S="${WORKDIR}/unrar"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.9.3-build.patch
|
||||
"${FILESDIR}"/${PN}-5.5.5-honor-flags.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
|
||||
else
|
||||
sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
|
||||
fi
|
||||
sed -i "${sed_args[@]}" makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mkdir -p build-{lib,bin}
|
||||
printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
|
||||
cp build-{lib,bin}/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unrar_make() {
|
||||
emake AR="$(tc-getAR)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
||||
}
|
||||
|
||||
unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
|
||||
|
||||
unrar_make -C build-bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build-bin/unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so build-lib/libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
|
||||
find "${ED}" -type f -name "*.a" -delete || die
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST dolphin-plugins-20.12.3.tar.xz 239340 BLAKE2B 141e5d2bb6190edaef98cec2a271e41b916966118300d69f4eb5e7da15e51730476f23a20312b76fca0fc1490501e83528b4f0cb62f9f6c64e4caf5ac5b2cd37 SHA512 1d5303e92d912bc80c5260263b081205d36372f1f15205ebd3e705697a114f8481edd1ad31004d7906c3088d43a74cb1e33dac6e1196c247e702a544d67db11b
|
||||
DIST dolphin-plugins-21.04.0.tar.xz 242608 BLAKE2B c12366f9a0d661e79b968ce375e2ea46dd8d90f322691755dc238d4dd08d07f6527711aa117fead2a3714d7f97c508e53c5ecd87a69c23c397e44033669fe5b1 SHA512 9f093133eba93615392a117f8184177f06bb117d4a3ad4691025ef26e4d83e251f966c157ae107f52447c78bf600ab586a175f57a02f78fec8e620aa5462138d
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ECM_HANDBOOK="false"
|
||||
KDE_GEAR="true"
|
||||
KDE_ORG_CATEGORY="sdk"
|
||||
KDE_ORG_NAME="dolphin-plugins"
|
||||
MY_PLUGIN_NAME="mountiso"
|
||||
KFMIN=5.80.0
|
||||
PVCUT=$(ver_cut 1-3)
|
||||
QTMIN=5.15.2
|
||||
inherit ecm kde.org
|
||||
|
||||
DESCRIPTION="Dolphin plugin for ISO loopback device mounting"
|
||||
HOMEPAGE="https://apps.kde.org/en/dolphin_plugins"
|
||||
|
||||
LICENSE="GPL-2" # TODO: CHECK
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtdbus-${QTMIN}:5
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=kde-apps/dolphin-${PVCUT}:5
|
||||
>=kde-frameworks/kcompletion-${KFMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kio-${KFMIN}:5
|
||||
>=kde-frameworks/ktextwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/solid-${KFMIN}:5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
ecm_src_prepare
|
||||
# kxmlgui, qtnetwork only required by dropbox
|
||||
ecm_punt_bogus_dep Qt5 Network
|
||||
ecm_punt_bogus_dep KF5 XmlGui
|
||||
# delete non-${PN} translations
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
find po -type f -name "*po" -and -not -name "*${MY_PLUGIN_NAME}plugin" -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_${MY_PLUGIN_NAME}=ON
|
||||
-DBUILD_bazaar=OFF
|
||||
-DBUILD_dropbox=OFF
|
||||
-DBUILD_git=OFF
|
||||
-DBUILD_hg=OFF
|
||||
-DBUILD_svn=OFF
|
||||
)
|
||||
ecm_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
ecm_src_install
|
||||
rm "${D}"/usr/share/metainfo/org.kde.dolphin-plugins.metainfo.xml || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
DIST ASV-1.3.zip 1579461 BLAKE2B 9c0564aa98936f6b0b44f5ef75af23da0a64f50430832ed707ad6e076e5f463bb14afaae93933cc66933289c8388c336ec01a79562ec4e6ca0105042e2b0de42 SHA512 3f1275dd4e95e61f5f2d0da7721a1ab2efd66f2bf8b72a34365a187b6a467be64a006f6769b5e562be7aa6499ab7c41954ffa90976ec81687de5d8e485d43bf9
|
||||
DIST ASV-2.0.zip 3285762 BLAKE2B 511be1fd95ca75fd013a65c344f49205588bbee02ccfcf8e17760096a3734e54de442dbf528083e08a11e2a8a7f5eb32a44f14cdeafc02332825976f981418cc SHA512 0566e21ee437d2f2f93d3b93f5ae466a91b44c9df62bb8cda169cf586dccbe461ef1fe039225219bce29bf155ede2d778518bf3faeeaf56fb677f9c42deb18a6
|
||||
|
@ -1,8 +1,9 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
SWORD_MODULE="ASV"
|
||||
|
||||
SWORD_MINIMUM_VERSION="1.5.9"
|
||||
|
||||
inherit sword-module
|
||||
|
@ -1 +1 @@
|
||||
DIST AraSVD-2.0.zip 1818327 BLAKE2B 07ee32f665ba580a2e31536c25346d5d5b10281acc4dd9bf6e21ca23aaf8a908f73062bffc035c0b64b0084975c3d5558af1c6c6e915ac408111aca9bf7309be SHA512 ebd5e3b2e0ff9c6a02c71891285bc6163f886d01f53ea703164f80cb03b8e379f0f1d13caa685928d5c2e463569ca87ada11db1699f8ec7d6b4698120d3a4ba5
|
||||
DIST AraSVD-2.1.zip 1820109 BLAKE2B d999b61b873481b11975b46a291a5bdb5f67f30f61e9308f528c9846255b79080a29ca2011e3e8dd99b44c1896029c41dbccce5429a161ccc1f3caebd938c0e7 SHA512 fe008dd4527cc6db222ea7f31d38a34880dda0bdca4c8bd377fe7ceb4d8f5b6940939842415142fa38c7a7f161d778cedfa0ca048202271b097f0891e90cae9a
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
@ -1 +1 @@
|
||||
DIST Byz-2.4.zip 972160 BLAKE2B 9d35520f1a98b9774a8262d21157eff661c11a8caf4624d8e8ccfc1314b73b115f9b982c032369c819b509a14c94986c92cfe2d2cfdd1dc01249e0593b1b3764 SHA512 5c33b20c471f827c625144abe559bc0c8168a2fa019b040c96fb0ef95353ae220069e2675fa7eced36b92163278939cfbbc855db38654ab1bf457aa5a1b6c39a
|
||||
DIST Byz-3.0.zip 967824 BLAKE2B 7aa27263a21c42ce618f075e706929741d8c587800b854418a051ad124b8fae66b9a3e9aaf22a775bf20c83348bf0fd6c11b88fc3f6f7eaf46e92486dcb22734 SHA512 3c561b3a38d64ebcd8cd1b5252b8e0c414d0f5cf565905169ac81d0621599a7c7019e25a70c83012c08d0a10d7801790365ca0ba745242509bb20d70b6bb39d1
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
SWORD_MINIMUM_VERSION="1.7.2"
|
||||
SWORD_MINIMUM_VERSION="1.5.9"
|
||||
|
||||
inherit sword-module
|
||||
|
@ -1 +1 @@
|
||||
DIST Che1860-1.2.zip 432000 BLAKE2B 69fcf4f252ae7c331c32f3f69df8cc5162947b760d71dae7a7f5acbc573fafd6bed26f9791afeeb63aaa1900af474306109abd69678ce38de1943d94054463a4 SHA512 59fb2ecbd010fa1b3e16bb0dd3643f81d34e042856ad94b433e761f63a366540fee4a2ac5f0d20bd75c6627fdf8296dd653dfee27398b54a635a549ca62f7808
|
||||
DIST Che1860-2.0.zip 848919 BLAKE2B 7304045fc5ef6bd0161d82e54bfa9ba41d85acbeb45d7218f2c8a6408d83e1cbe03cfa9e23094c608891ded097ef5ec9e57c278b985e67aea0df2b2c58710201 SHA512 d74782a723ea36986d5d9cc629fffe8272655db6a15fc878a833477b94280a431b11e0cb83fbb20a22ad2689419943fa9d4fb9aff1fa84a473462483af1ba68a
|
||||
|
@ -1 +1 @@
|
||||
DIST ChiNCVs-1.0.zip 1481101 BLAKE2B d9d9af5b59e719d883903f44cc286f03e1cddaf3a9b2b4afcece398c1eb1a593e4af947a000d3bddc79c2409f7084f9105dae65c6749de641f10c1a1b6d2467d SHA512 9ece73ee0484289d0d461989832ead759093ae671d904168c79d7ac036e1d082f6442e496dbcb61145b9528450016f47981edd2369ffdb306bad1108e43cc95b
|
||||
DIST ChiNCVs-1.1.zip 1651581 BLAKE2B f4b2b7bc008d0125cdcfed65f6faa0f6a935d1e0f9482159754300ee3efb42deeedcb1550e7233197d7e12f0616c880e0a4daa77a36f622d00b46a0e3d95891e SHA512 c7941e322d7059b1b341455cd0c34a9023e74abca86daca728364e5b569c36301f2f43cbab4dd956e299245391e17e82170e0d4bda5628f14c7515ffa592ca2b
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
SWORD_MINIMUM_VERSION="1.5.6"
|
||||
SWORD_MINIMUM_VERSION="1.6.0"
|
||||
|
||||
inherit sword-module
|
||||
|
@ -1 +1 @@
|
||||
DIST ChiNCVt-1.0.zip 1481334 BLAKE2B 97f00327bd9d528e72eff7b9f6efb92b312c8aa7318402a1ac0a92ec41c376af9a04e80d3e328fbfbe9d0226ffab5448ecb09fecf17e1e672c07c0c27b7e1af1 SHA512 5a392c595b7355cc407d5e8db124c550f66e46b6d9d21c1e945b1341f175add1e7098f350236e7c520fe1f8fc10a3e44ae497037308d84a6c9354ab2a430f86f
|
||||
DIST ChiNCVt-1.1.zip 1657319 BLAKE2B 9b6a99a9ebf14e64440a169110b04c2a275526546fde41b9e6e113a4af1adbf8aac5870c6f8d7dad5c204dd5f091e2b94ca886ac9649346657f6f216a6993e9f SHA512 6a4594e112bd7673522a9715f6b0a1167769a028ca7549c946970944bb9a561244ce7b99d3d169baeada4c73279877343190336a113ed27c97ddbc1884a48b73
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
SWORD_MINIMUM_VERSION="1.5.6"
|
||||
SWORD_MINIMUM_VERSION="1.5.9"
|
||||
|
||||
inherit sword-module
|
||||
|
@ -0,0 +1 @@
|
||||
DIST ChiSB-1.0.zip 1833918 BLAKE2B 51aa1d4b44746e84484b68a3c25b55586a553ece6164edd96d6ec14f30e657adf791fe8eef8e93247c8b5a4634f7b3682476340a7c7aa4b702a90083b6d52502 SHA512 fd29b24ae12ba15837a0cf80f5bd37c37cd25467fa02fb715ed40090207d3cf1341be79516da2ad02cb7610ae8d08d8f995ceaa072d2cbb14423528dac6adb2f
|
@ -0,0 +1,13 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
SWORD_MINIMUM_VERSION="1.6.2"
|
||||
|
||||
inherit sword-module
|
||||
|
||||
DESCRIPTION="The Studium Biblicum Version in traditional Chinese"
|
||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=ChiSB"
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
@ -1 +1 @@
|
||||
DIST ChiUn-2.6.zip 2990001 BLAKE2B a9f48d2dc9ed084343781f993e13dbf5e53bc58bfa7720f859be652ebfb89c95c6dbfebbf35a31757d1aed02affac37525a846c18f81323d56cb0be254907e94 SHA512 589b1c008f863ee324e0dd48565ba679cc56e5e8c352f215e00a6a82435a42d0c9c73a4b84babb6d9776f4c5f0682b3bf105121f8ad7737be214c1fc8b7f3d80
|
||||
DIST ChiUn-3.0.zip 3041500 BLAKE2B 8f16c8046f8e8d22aa315904b15e52f090a4e23d3c0ad9083131a17d3040989d95c1727d6dc2833e7605c5a24edbb3fe1786944784fcf226ce35d7108558cd46 SHA512 eb0ebb77e462532bdf450a0e9fb26a1a5744dbbcc6505b3c196283944870f27bcb8acf3b14c80567f3e23c905ec0600dd749ff55863ca5e56fa490f1cd623bb8
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
SWORD_MINIMUM_VERSION="1.5.9"
|
||||
SWORD_MINIMUM_VERSION="1.6.0"
|
||||
|
||||
inherit sword-module
|
||||
|
@ -1 +1 @@
|
||||
DIST ChiUns-2.5.2.zip 2985598 BLAKE2B 76906cc295a3df8b9d37a46ddecce91ccd7790fcc165774e598b352d47d3437ff714994205cc8eacc2ab075635d7c12b48867cddb6b1efb53fb52df363645f91 SHA512 4b1e3c016fec1b84eec8e546aa9e52e151eb1a16368924b7674618501d746e90714ae29cf518692c8b34ae8959994002076464c7bf653694c5e5287535af5634
|
||||
DIST ChiUns-3.0.zip 3045548 BLAKE2B 1643f7aac737fd5727d4a3244d605819cab7042b8f8b1eb556bd366b272de909a0b9d6273daff17d976ae4afef6f20456d257bc2f6cfa7808ab9177576c0656f SHA512 1184d9da002d345cc5b0275f948001bf4e03af31afb326a0b661db80d52bfc154c0ec4392e8844f9a1788adf9ee4c24d7327f6747d3aa7631bfdd54ec00403f3
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
@ -1 +1 @@
|
||||
DIST Darby-1.1.zip 1437387 BLAKE2B 9ad092707b159faf159b0f0570b01511740bc250f8a2267bc21b9c32374d0e01f6648796b0118f5b5195fa3d51788e2dce6bb79c63a65c48fa544ae2bdccf727 SHA512 3b0a053f43d6752830b60f1ccd9cd244774223ab6356c8f1e77859b1cebcda0cd5b1186e1db5f06c5e9e6dac96806fd9abd4f2a473537b7bbc461bd3b22b8365
|
||||
DIST Darby-2.0.zip 3095627 BLAKE2B d54e671442c5527a578ccb3d57bc466d2b026f7b469369b48f5622e490c683866493cb770d9704eabb8acb34cd9b8629258410394201499eb569e32f4544114b SHA512 6385a1d946417783c86c9e8ab73623cfea70509c5431b93815ba3ea0c18005bd5d3a0aeab16ca88f1228bdd99791ece1a1b3f279ac04508717552027766d1ba2
|
||||
|
@ -1,8 +1,9 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
SWORD_MODULE="Darby"
|
||||
|
||||
SWORD_MINIMUM_VERSION="1.5.9"
|
||||
|
||||
inherit sword-module
|
||||
|
@ -0,0 +1 @@
|
||||
DIST DutKingComm-1.0.zip 9610923 BLAKE2B 7709b7064539260e5008edb8853fb96e4d3aad14bde21ffe48f2a48542b210f5c8d26f6714d4dbfb2a604a8d7344fab0f00d1c23b2bd650fdff6ea5ed8d69816 SHA512 01c037ba0333761c68e56fdc16f579e2d998679337020ec4ae04a589ea1dcc514a7ee51e891bc58b8b895711775a91a3726371703cfdf4f864911da076d1a58d
|
@ -0,0 +1,13 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
SWORD_MINIMUM_VERSION="1.5.9"
|
||||
|
||||
inherit sword-module
|
||||
|
||||
DESCRIPTION="Kingcomments-NL, Commentaar op de hele Bijbel."
|
||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=DutKingComm"
|
||||
LICENSE="free-noncomm"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
@ -0,0 +1 @@
|
||||
DIST DutSVVA-1.0.zip 6988478 BLAKE2B 3becbb0e69f08b5a00542887242f612af52677c1ce2f4a12788f83b4e6ff9f33e1bf6d4c11def04bba56fd6f68400227243f7cdcae2f42807bac99446830e821 SHA512 3b03e06623433ae43dc4cd56f9177b28843c4daf60d04ee367497693f433ee96ff71096d63f4e1975ca407e547533a0b7879700bd6bcc81c3fb7977b6078f2aa
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>marecki@gentoo.org</email>
|
||||
<name>Marek Szuba</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
@ -0,0 +1,13 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
SWORD_MINIMUM_VERSION="1.6.0"
|
||||
|
||||
inherit sword-module
|
||||
|
||||
DESCRIPTION="Dutch Statenvertaling Bijbel including deuterocanonical books"
|
||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=DutSVVA"
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
@ -1 +1 @@
|
||||
DIST FreBDM1744-1.2.1.zip 1665215 BLAKE2B ba55b5c2803efc280161303d9588ba796808c462c8047bccfc3e483c7b4173dd0313b2940b291c3b1e00dfa37ace6271887c739778e26c3abc9237c0d34ca1c0 SHA512 59ab2d3ea36523ea4e01b5ac8bcaada71c4a3294229f554a4caf3ead71c33765e96cdae1e2ef9cf5c8439ecb8fdbaab920c61b5eda6295f42fcdb888817716f3
|
||||
DIST FreBDM1744-2.0.zip 1739567 BLAKE2B b1df31e8a3053553e55224bb2955546aa3603c0e66efc5ec01d49ce45633112016fc5a872072658e4433d55d5917a450b7e0b364fe09cbc1f6afe690fb6effae SHA512 c214f5f73f51ec0a38f8fb29eedcce901180aa02a5e8a0b5b8356ef4f365c6c156c5f90a40d5b9546d8031971bdaf5aee3d55699113ac0ec3899dbc0ca39a63f
|
||||
|
@ -1,13 +1,13 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
SWORD_MINIMUM_VERSION="1.5.9"
|
||||
SWORD_MINIMUM_VERSION="1.8.0"
|
||||
|
||||
inherit sword-module
|
||||
|
||||
DESCRIPTION="French Bible Martin (1744)"
|
||||
DESCRIPTION="Bible David Martin (1744)"
|
||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=FreBDM1744"
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
@ -1 +1 @@
|
||||
DIST FreDAW-1.2.zip 7336386 BLAKE2B b0cbb3f6f422d949155537982f7ea4488c15831055ef7e499da0c6c104512901bbe1b91f7f8dbadc2af62b0200c9c50ae921e119265b197826d18f69ed6a5ad9 SHA512 0cac392215afd3d31d022909389fea2f04611a4561aa2d3f0d40b092eca78e33caf0c4e86d3fb472d080c0884c24d332fbee073352c541b8fada3861db95050d
|
||||
DIST FreDAW-1.2.1.zip 7336441 BLAKE2B fa721bd02bacbf3b64d5d9244bb9c3a7505b9f3abc4df87fdab92a2c6aa581ed4f306909d8990d88c7dfab8496858b0d3104c7122b8777b77ea96e352da73bac SHA512 ee98a4c2cb171cf5a113c670723c6559c8e5727c41537269c543b783a8fb71922dfd210219f1e7c83b56eb4ccd1c93d742b7f4b192a049de2d63f01ad6a3d08e
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
@ -0,0 +1 @@
|
||||
DIST GerBoLut-3.0.zip 1538193 BLAKE2B d509adbc49e559aebc9d3d59daac5470fdc1513c8e0bd63bc67a8916df6a1d2d0c1bdf9fa65ffb4edb2b67e37cf34898d3da763a7474cc5b839cc26f17a389b1 SHA512 9bd00550020ea22d1565bfe67ddfcf9dfaf73d72a35c8e8ffbce7d5cefcdf44817246b1b10d088f9e5bda8ca542542c2d39428988e2b0855639c5585194d390f
|
@ -1 +1 @@
|
||||
DIST GerElb1905-1.5.zip 1538434 BLAKE2B a4ade05700e585e284eba30b7f57e79247b4db3ffe41fb10e5601d75a98a3a0ada8c53b823364a76d4095250a3e9331e9bb378f816e11f1d519930ff4b1fa7e0 SHA512 da125670e2429a773b56ebd128a5daad6a101f7d5d9065c84e0e64ee96b0ea358807a047bb27aeae650dfba315bb5006492db8ce940c1b1afbefe2e4fc8e0820
|
||||
DIST GerElb1905-1.6.zip 1585058 BLAKE2B b3e69615e60efa42d450579e810e5c15c87e9d459fbff1d3b0f20a84fdad19209ad8d9cddfe2db65e76175237f223eda2bbad5e6ee4517337109a7d1b1b3d0bb SHA512 85260d9e403c09c6d5653a60e11097306fed21fe653850678f17c357cc66303aba66b591e21bebba0b43dde92b1093c9bdcb5d7e3c63a34d3edac8e3497d6a8d
|
||||
|
@ -1,8 +1,9 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
SWORD_MODULE="GerElb1905"
|
||||
|
||||
SWORD_MINIMUM_VERSION="1.6.0"
|
||||
|
||||
inherit sword-module
|
||||
|
@ -0,0 +1 @@
|
||||
DIST GerKingComm-1.0.zip 6396345 BLAKE2B db1395beed3c08b76c0a70ef0d90eeab8e38839bbc9e35cc1ba09b7271898feb028b6503f64c8099a81cbd274065e8803e9f4c876a63a6b79f37f74a7bbca434 SHA512 0439bc349dd1b3c5e0b088ce258f867d251ee3eaf202716362b212f884b9c44128f2943de45ed2870b16e1f4043e86eb17c278f8804d8cdcedf61d32e1f62927
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>marecki@gentoo.org</email>
|
||||
<name>Marek Szuba</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
@ -0,0 +1,13 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
SWORD_MINIMUM_VERSION="1.5.9"
|
||||
|
||||
inherit sword-module
|
||||
|
||||
DESCRIPTION="Kingcomments (German), Kommentar zur ganzen Bibel."
|
||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=GerKingComm"
|
||||
LICENSE="free-noncomm"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
@ -0,0 +1 @@
|
||||
DIST GerMenge-1.0.zip 2600864 BLAKE2B cfaf21e14ef480775ecde5d79b38233a1d4972aa8609eba34d41548f5ea4bc1bbc7c4051af3db90865889dfd7837be0b3ebc65f4e8b6ee3d4d4f2c2c1b616349 SHA512 1b1f22bb940748bfc1acf99e3c731144ac11c7e4d49f26f2abd9b40e2fc37f27f263998b0ebba9a55b84a6c4bcecb58b1abbe06f604e8c1978a6898de1e1cae3
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>marecki@gentoo.org</email>
|
||||
<name>Marek Szuba</name>
|
||||
</maintainer>
|
||||
<longdescription lang="de">
|
||||
Die Bibel nach der Übersetzung von Hermann Menge. Die vorliegende elektronische Ausgabe gibt die letzte von Menge bearbeitete Textfassung von 1939 inklusive der Apokryphen wieder.
|
||||
</longdescription>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
@ -0,0 +1,13 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
SWORD_MINIMUM_VERSION="1.6.1"
|
||||
|
||||
inherit sword-module
|
||||
|
||||
DESCRIPTION="Menge-Bibel (1939)"
|
||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=GerMenge"
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
@ -0,0 +1 @@
|
||||
DIST GerOffBiSt-1.0.zip 1574702 BLAKE2B 0debd98307e4325612e9939c05d1823e297703e0622c79e0d4365aa010f7a8a2671bcc5a6955b7254822a82f0abb16af1bf7b6694285110e56ad9232e0a26cd1 SHA512 e2c39de56895b9b1bd22cac27fcb6c61cb2c77e8fa424eefa7aba696e33d9e2362446fe69d8fb7a765b2ccfd91d0e36af91b27fa7ceea2acf58b4487b85156cb
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue