mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 17:36:59 +02:00
dev-vcs/git: Sync with Gentoo
It's from Gentoo commit 0f438ccc5002f2c4cf1e2a4d7c9a9b26fcf1bb7a.
This commit is contained in:
parent
c547d0af07
commit
286c5b95c7
@ -58,7 +58,7 @@ S="${WORKDIR}"/${MY_P}
|
|||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki mediawiki-experimental +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
||||||
|
|
||||||
# Common to both DEPEND and RDEPEND
|
# Common to both DEPEND and RDEPEND
|
||||||
DEPEND="
|
DEPEND="
|
||||||
@ -136,7 +136,6 @@ REQUIRED_USE="
|
|||||||
cgi? ( perl )
|
cgi? ( perl )
|
||||||
cvs? ( perl )
|
cvs? ( perl )
|
||||||
mediawiki? ( perl )
|
mediawiki? ( perl )
|
||||||
mediawiki-experimental? ( mediawiki )
|
|
||||||
perforce? ( ${PYTHON_REQUIRED_USE} )
|
perforce? ( ${PYTHON_REQUIRED_USE} )
|
||||||
subversion? ( perl )
|
subversion? ( perl )
|
||||||
webdav? ( curl )
|
webdav? ( curl )
|
||||||
@ -250,16 +249,6 @@ src_unpack() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# Add experimental patches to improve mediawiki support,
|
|
||||||
# see patches for origin.
|
|
||||||
if use mediawiki-experimental ; then
|
|
||||||
PATCHES+=(
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-namespaces.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-subpages.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-500pages.patch
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use safe-directory ; then
|
if ! use safe-directory ; then
|
||||||
# This patch neuters the "safe directory" detection.
|
# This patch neuters the "safe directory" detection.
|
||||||
# bugs #838271, #838223
|
# bugs #838271, #838223
|
||||||
@ -652,6 +641,4 @@ pkg_postinst() {
|
|||||||
optfeature_header "Some scripts require additional dependencies:"
|
optfeature_header "Some scripts require additional dependencies:"
|
||||||
optfeature git-quiltimport dev-util/quilt
|
optfeature git-quiltimport dev-util/quilt
|
||||||
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
||||||
|
|
||||||
use mediawiki-experimental && ewarn "Using experimental git-mediawiki patches. The stability of cloned wiki filesystems is not guaranteed."
|
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ S="${WORKDIR}"/${MY_P}
|
|||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki mediawiki-experimental +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
||||||
|
|
||||||
# Common to both DEPEND and RDEPEND
|
# Common to both DEPEND and RDEPEND
|
||||||
DEPEND="
|
DEPEND="
|
||||||
@ -136,7 +136,6 @@ REQUIRED_USE="
|
|||||||
cgi? ( perl )
|
cgi? ( perl )
|
||||||
cvs? ( perl )
|
cvs? ( perl )
|
||||||
mediawiki? ( perl )
|
mediawiki? ( perl )
|
||||||
mediawiki-experimental? ( mediawiki )
|
|
||||||
perforce? ( ${PYTHON_REQUIRED_USE} )
|
perforce? ( ${PYTHON_REQUIRED_USE} )
|
||||||
subversion? ( perl )
|
subversion? ( perl )
|
||||||
webdav? ( curl )
|
webdav? ( curl )
|
||||||
@ -250,16 +249,6 @@ src_unpack() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# Add experimental patches to improve mediawiki support,
|
|
||||||
# see patches for origin.
|
|
||||||
if use mediawiki-experimental ; then
|
|
||||||
PATCHES+=(
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-namespaces.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-subpages.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-500pages.patch
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use safe-directory ; then
|
if ! use safe-directory ; then
|
||||||
# This patch neuters the "safe directory" detection.
|
# This patch neuters the "safe directory" detection.
|
||||||
# bugs #838271, #838223
|
# bugs #838271, #838223
|
||||||
@ -652,6 +641,4 @@ pkg_postinst() {
|
|||||||
optfeature_header "Some scripts require additional dependencies:"
|
optfeature_header "Some scripts require additional dependencies:"
|
||||||
optfeature git-quiltimport dev-util/quilt
|
optfeature git-quiltimport dev-util/quilt
|
||||||
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
||||||
|
|
||||||
use mediawiki-experimental && ewarn "Using experimental git-mediawiki patches. The stability of cloned wiki filesystems is not guaranteed."
|
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ S="${WORKDIR}"/${MY_P}
|
|||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki mediawiki-experimental +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
||||||
|
|
||||||
# Common to both DEPEND and RDEPEND
|
# Common to both DEPEND and RDEPEND
|
||||||
DEPEND="
|
DEPEND="
|
||||||
@ -136,7 +136,6 @@ REQUIRED_USE="
|
|||||||
cgi? ( perl )
|
cgi? ( perl )
|
||||||
cvs? ( perl )
|
cvs? ( perl )
|
||||||
mediawiki? ( perl )
|
mediawiki? ( perl )
|
||||||
mediawiki-experimental? ( mediawiki )
|
|
||||||
perforce? ( ${PYTHON_REQUIRED_USE} )
|
perforce? ( ${PYTHON_REQUIRED_USE} )
|
||||||
subversion? ( perl )
|
subversion? ( perl )
|
||||||
webdav? ( curl )
|
webdav? ( curl )
|
||||||
@ -250,16 +249,6 @@ src_unpack() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# Add experimental patches to improve mediawiki support,
|
|
||||||
# see patches for origin.
|
|
||||||
if use mediawiki-experimental ; then
|
|
||||||
PATCHES+=(
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-namespaces.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-subpages.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-500pages.patch
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use safe-directory ; then
|
if ! use safe-directory ; then
|
||||||
# This patch neuters the "safe directory" detection.
|
# This patch neuters the "safe directory" detection.
|
||||||
# bugs #838271, #838223
|
# bugs #838271, #838223
|
||||||
@ -652,6 +641,4 @@ pkg_postinst() {
|
|||||||
optfeature_header "Some scripts require additional dependencies:"
|
optfeature_header "Some scripts require additional dependencies:"
|
||||||
optfeature git-quiltimport dev-util/quilt
|
optfeature git-quiltimport dev-util/quilt
|
||||||
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
||||||
|
|
||||||
use mediawiki-experimental && ewarn "Using experimental git-mediawiki patches. The stability of cloned wiki filesystems is not guaranteed."
|
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ S="${WORKDIR}"/${MY_P}
|
|||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki mediawiki-experimental +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
||||||
|
|
||||||
# Common to both DEPEND and RDEPEND
|
# Common to both DEPEND and RDEPEND
|
||||||
DEPEND="
|
DEPEND="
|
||||||
@ -136,7 +136,6 @@ REQUIRED_USE="
|
|||||||
cgi? ( perl )
|
cgi? ( perl )
|
||||||
cvs? ( perl )
|
cvs? ( perl )
|
||||||
mediawiki? ( perl )
|
mediawiki? ( perl )
|
||||||
mediawiki-experimental? ( mediawiki )
|
|
||||||
perforce? ( ${PYTHON_REQUIRED_USE} )
|
perforce? ( ${PYTHON_REQUIRED_USE} )
|
||||||
subversion? ( perl )
|
subversion? ( perl )
|
||||||
webdav? ( curl )
|
webdav? ( curl )
|
||||||
@ -250,16 +249,6 @@ src_unpack() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# Add experimental patches to improve mediawiki support,
|
|
||||||
# see patches for origin.
|
|
||||||
if use mediawiki-experimental ; then
|
|
||||||
PATCHES+=(
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-namespaces.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-subpages.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-500pages.patch
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use safe-directory ; then
|
if ! use safe-directory ; then
|
||||||
# This patch neuters the "safe directory" detection.
|
# This patch neuters the "safe directory" detection.
|
||||||
# bugs #838271, #838223
|
# bugs #838271, #838223
|
||||||
@ -652,6 +641,4 @@ pkg_postinst() {
|
|||||||
optfeature_header "Some scripts require additional dependencies:"
|
optfeature_header "Some scripts require additional dependencies:"
|
||||||
optfeature git-quiltimport dev-util/quilt
|
optfeature git-quiltimport dev-util/quilt
|
||||||
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
||||||
|
|
||||||
use mediawiki-experimental && ewarn "Using experimental git-mediawiki patches. The stability of cloned wiki filesystems is not guaranteed."
|
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ S="${WORKDIR}"/${MY_P}
|
|||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki mediawiki-experimental +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
||||||
|
|
||||||
# Common to both DEPEND and RDEPEND
|
# Common to both DEPEND and RDEPEND
|
||||||
DEPEND="
|
DEPEND="
|
||||||
@ -136,7 +136,6 @@ REQUIRED_USE="
|
|||||||
cgi? ( perl )
|
cgi? ( perl )
|
||||||
cvs? ( perl )
|
cvs? ( perl )
|
||||||
mediawiki? ( perl )
|
mediawiki? ( perl )
|
||||||
mediawiki-experimental? ( mediawiki )
|
|
||||||
perforce? ( ${PYTHON_REQUIRED_USE} )
|
perforce? ( ${PYTHON_REQUIRED_USE} )
|
||||||
subversion? ( perl )
|
subversion? ( perl )
|
||||||
webdav? ( curl )
|
webdav? ( curl )
|
||||||
@ -250,16 +249,6 @@ src_unpack() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# Add experimental patches to improve mediawiki support,
|
|
||||||
# see patches for origin.
|
|
||||||
if use mediawiki-experimental ; then
|
|
||||||
PATCHES+=(
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-namespaces.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-subpages.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-500pages.patch
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use safe-directory ; then
|
if ! use safe-directory ; then
|
||||||
# This patch neuters the "safe directory" detection.
|
# This patch neuters the "safe directory" detection.
|
||||||
# bugs #838271, #838223
|
# bugs #838271, #838223
|
||||||
@ -652,6 +641,4 @@ pkg_postinst() {
|
|||||||
optfeature_header "Some scripts require additional dependencies:"
|
optfeature_header "Some scripts require additional dependencies:"
|
||||||
optfeature git-quiltimport dev-util/quilt
|
optfeature git-quiltimport dev-util/quilt
|
||||||
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
||||||
|
|
||||||
use mediawiki-experimental && ewarn "Using experimental git-mediawiki patches. The stability of cloned wiki filesystems is not guaranteed."
|
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ S="${WORKDIR}"/${MY_P}
|
|||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki mediawiki-experimental +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
||||||
|
|
||||||
# Common to both DEPEND and RDEPEND
|
# Common to both DEPEND and RDEPEND
|
||||||
DEPEND="
|
DEPEND="
|
||||||
@ -136,7 +136,6 @@ REQUIRED_USE="
|
|||||||
cgi? ( perl )
|
cgi? ( perl )
|
||||||
cvs? ( perl )
|
cvs? ( perl )
|
||||||
mediawiki? ( perl )
|
mediawiki? ( perl )
|
||||||
mediawiki-experimental? ( mediawiki )
|
|
||||||
perforce? ( ${PYTHON_REQUIRED_USE} )
|
perforce? ( ${PYTHON_REQUIRED_USE} )
|
||||||
subversion? ( perl )
|
subversion? ( perl )
|
||||||
webdav? ( curl )
|
webdav? ( curl )
|
||||||
@ -250,16 +249,6 @@ src_unpack() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# Add experimental patches to improve mediawiki support,
|
|
||||||
# see patches for origin.
|
|
||||||
if use mediawiki-experimental ; then
|
|
||||||
PATCHES+=(
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-namespaces.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-subpages.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-500pages.patch
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use safe-directory ; then
|
if ! use safe-directory ; then
|
||||||
# This patch neuters the "safe directory" detection.
|
# This patch neuters the "safe directory" detection.
|
||||||
# bugs #838271, #838223
|
# bugs #838271, #838223
|
||||||
@ -652,6 +641,4 @@ pkg_postinst() {
|
|||||||
optfeature_header "Some scripts require additional dependencies:"
|
optfeature_header "Some scripts require additional dependencies:"
|
||||||
optfeature git-quiltimport dev-util/quilt
|
optfeature git-quiltimport dev-util/quilt
|
||||||
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
||||||
|
|
||||||
use mediawiki-experimental && ewarn "Using experimental git-mediawiki patches. The stability of cloned wiki filesystems is not guaranteed."
|
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ S="${WORKDIR}"/${MY_P}
|
|||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki mediawiki-experimental +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
IUSE="+blksha1 +curl cgi doc gnome-keyring +gpg highlight +iconv mediawiki +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
||||||
|
|
||||||
# Common to both DEPEND and RDEPEND
|
# Common to both DEPEND and RDEPEND
|
||||||
DEPEND="
|
DEPEND="
|
||||||
@ -136,7 +136,6 @@ REQUIRED_USE="
|
|||||||
cgi? ( perl )
|
cgi? ( perl )
|
||||||
cvs? ( perl )
|
cvs? ( perl )
|
||||||
mediawiki? ( perl )
|
mediawiki? ( perl )
|
||||||
mediawiki-experimental? ( mediawiki )
|
|
||||||
perforce? ( ${PYTHON_REQUIRED_USE} )
|
perforce? ( ${PYTHON_REQUIRED_USE} )
|
||||||
subversion? ( perl )
|
subversion? ( perl )
|
||||||
webdav? ( curl )
|
webdav? ( curl )
|
||||||
@ -250,16 +249,6 @@ src_unpack() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# Add experimental patches to improve mediawiki support,
|
|
||||||
# see patches for origin.
|
|
||||||
if use mediawiki-experimental ; then
|
|
||||||
PATCHES+=(
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-namespaces.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-subpages.patch
|
|
||||||
"${FILESDIR}"/git-2.7.0-mediawiki-500pages.patch
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use safe-directory ; then
|
if ! use safe-directory ; then
|
||||||
# This patch neuters the "safe directory" detection.
|
# This patch neuters the "safe directory" detection.
|
||||||
# bugs #838271, #838223
|
# bugs #838271, #838223
|
||||||
@ -652,6 +641,4 @@ pkg_postinst() {
|
|||||||
optfeature_header "Some scripts require additional dependencies:"
|
optfeature_header "Some scripts require additional dependencies:"
|
||||||
optfeature git-quiltimport dev-util/quilt
|
optfeature git-quiltimport dev-util/quilt
|
||||||
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
||||||
|
|
||||||
use mediawiki-experimental && ewarn "Using experimental git-mediawiki patches. The stability of cloned wiki filesystems is not guaranteed."
|
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
<flag name="gpg">Pull in gnupg for signing -- without gnupg, attempts at signing will fail at runtime!</flag>
|
<flag name="gpg">Pull in gnupg for signing -- without gnupg, attempts at signing will fail at runtime!</flag>
|
||||||
<flag name="highlight">GitWeb support for <pkg>app-text/highlight</pkg></flag>
|
<flag name="highlight">GitWeb support for <pkg>app-text/highlight</pkg></flag>
|
||||||
<flag name="mediawiki">Support pulling and pushing from MediaWiki</flag>
|
<flag name="mediawiki">Support pulling and pushing from MediaWiki</flag>
|
||||||
<flag name="mediawiki-experimental">Add experimental patches for improved MediaWiki support</flag>
|
|
||||||
<flag name="perforce">Add support for Perforce version control system (requires manual installation of Perforce client)</flag>
|
<flag name="perforce">Add support for Perforce version control system (requires manual installation of Perforce client)</flag>
|
||||||
<flag name="safe-directory">Respect the safe.directory setting</flag>
|
<flag name="safe-directory">Respect the safe.directory setting</flag>
|
||||||
<flag name="subversion">Include git-svn for <pkg>dev-vcs/subversion</pkg> support</flag>
|
<flag name="subversion">Include git-svn for <pkg>dev-vcs/subversion</pkg> support</flag>
|
||||||
|
Loading…
Reference in New Issue
Block a user