summaryrefslogtreecommitdiff
path: root/app-admin/cygwin-rebase
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-25 13:30:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-25 13:30:01 +0100
commite564f1661521043bc9e03e613c3cd8c79d5d7713 (patch)
tree15a54c918d3a6a7de74cc56ce001856a561165ab /app-admin/cygwin-rebase
parente59b99df9503539c0231e655a17bccf83f8a270d (diff)
gentoo auto-resync : 25:06:2023 - 13:30:01
Diffstat (limited to 'app-admin/cygwin-rebase')
-rw-r--r--app-admin/cygwin-rebase/Manifest5
-rw-r--r--app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild80
-rw-r--r--app-admin/cygwin-rebase/cygwin-rebase-9999.ebuild80
-rw-r--r--app-admin/cygwin-rebase/metadata.xml22
4 files changed, 0 insertions, 187 deletions
diff --git a/app-admin/cygwin-rebase/Manifest b/app-admin/cygwin-rebase/Manifest
deleted file mode 100644
index 4d8b2c6ef7d3..000000000000
--- a/app-admin/cygwin-rebase/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST cygwin-rebase-4.4.4.tar.gz 114445 BLAKE2B f0741513fb3b636876ce6e33b882e4075d41606118ec1c663939b2e9a9d8690360011352f27ebfeffc49a644b5de8c5026bcab0fb7fb9b41ff36ee6cd6c031c8 SHA512 d155b05f663fab971c70b6618755ac528d49b96e17017c0fcabf26332e4a50c46ee346705fc59490f741bf37625e94a2bba8cc36d41c23f5643d54d08eb1051b
-DIST cygwin-rebase-4.4.4_merge-files-flag-0.patch 15409 BLAKE2B 6f8061903439c9baa508eb130f43fe5e9fe8b71725ab5efe92d6d8a667b71c467f2f0fddd8b4ca22c68087e24bbafc2db6c288ef87d125b23c8f8d35bb1b5a37 SHA512 b067751218026867681c24003a4f224599b5fd6a29920c3662b7964a3447db8b6b680acfaab637de911ecea08c3196bf268eba3237b92830dcbf531e05842fb2
-EBUILD cygwin-rebase-4.4.4.ebuild 2157 BLAKE2B 1880f897bdaef855f10339b077e08556c91886dbe779c0c9e7a4854c5f712ecdfd36896a45110e265f6b4f42f26241a653a630cfae8691239983e1c3a45b1db6 SHA512 eb2f318eb0014f96fd38a83f9b2be825b1184ffd342ad08fd6c62969d4a9272ad4590ea53aba2ecba847a1eeb7efc1d8053856912ec70fe7a638c553abc1feaf
-EBUILD cygwin-rebase-9999.ebuild 2157 BLAKE2B 1880f897bdaef855f10339b077e08556c91886dbe779c0c9e7a4854c5f712ecdfd36896a45110e265f6b4f42f26241a653a630cfae8691239983e1c3a45b1db6 SHA512 eb2f318eb0014f96fd38a83f9b2be825b1184ffd342ad08fd6c62969d4a9272ad4590ea53aba2ecba847a1eeb7efc1d8053856912ec70fe7a638c553abc1feaf
-MISC metadata.xml 781 BLAKE2B 7f562e3d6797cabb7cd94f74eb0c28249a9c6e0ae9db21b29a6795a5df5da70c25203651dd9f55ec5161cbbd1273aeccaf1d9a9300d38a60b2a8f4edcedd311a SHA512 472736f31550f45f394c6979f762baafc2ae36cc9b4d5f5e22f1181e898cca3efc27f9e15b961633adccf9b542e85649daa18f508f52c9d0debed6af6684c28c
diff --git a/app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild b/app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild
deleted file mode 100644
index 58f015a80713..000000000000
--- a/app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 2019-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Core of the automatic rebase facility during postinstall on Cygwin"
-HOMEPAGE="https://cygwin.com"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE=""
-
-inherit autotools
-
-if [[ ${PV} == 9999 ]]
-then
- EGIT_REPO_URI="https://sourceware.org/git/cygwin-apps/rebase.git"
- EGIT_REPO_URI="https://github.com/haubi/cygwin-rebase.git"
- EGIT_BRANCH="gentoo"
- inherit git-r3
-else
- # Upstream does not provide archived source tarballs from git release tags,
- # only non archived cygwin distro packages with embedded source tarballs.
- # For now, we download from haubi's github mirror repo, having
- # repo name "cygwin-rebase" and tag names like "rebase-4-4-4".
- MY_PN=cygwin-rebase-rebase
- MY_PV=${PV//./-}
- S="${WORKDIR}/${MY_PN}-${MY_PV}"
- SRC_URI="
- https://github.com/haubi/cygwin-rebase/archive/rebase-${MY_PV}.tar.gz -> ${P}.tar.gz
- https://github.com/haubi/cygwin-rebase/compare/rebase-${MY_PV}...rebase-${MY_PV}_merge-files-flag-0.patch -> ${P}_merge-files-flag-0.patch
- "
- PATCHES=( "${DISTDIR}/${P}_merge-files-flag-0.patch" )
- KEYWORDS=""
-fi
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_prepare() {
- default
- # do not bother upstream with bug reports yet
- sed -e "/AC_INIT/{s|rebase|${PN}|;s|cygwin@cygwin.com|https://bugs.gentoo.org/|}" \
- -i configure.ac || die
- eautoreconf
-}
-
-src_configure() {
- econf --with-posix-shell="${BASH}"
-}
-
-src_install() {
- default
- # do not work nor make so much sense in Gentoo Prefix
- rm -f "${ED}"/usr/bin/{rebase,peflags}all || die
-}
-
-pkg_preinst() {
- local rebasedb
- local baseaddr
- case ${CHOST} in
- i686-*-cygwin*)
- rebasedb=/etc/rebase.db.i386
- baseaddr=0x70000000
- ;;
- x86_64-*-cygwin*)
- rebasedb=/etc/rebase.db.x86_64
- baseaddr=0x1000000000
- ;;
- esac
- [[ ${rebasedb} ]] || die "CHOST ${CHOST} is not supported for ${PN}."
-
- [[ -s ${EROOT}${rebasedb} ]] && return 0
-
- einfo "Creating initial rebase database with default base address ${baseaddr}..."
- cp /bin/cygwin1.dll "${T}/initial.dll" || die
- "${ED}/usr/bin/rebase" --verbose "--base=${baseaddr}" --database "${T}/initial.dll" || die
- eend $?
-}
diff --git a/app-admin/cygwin-rebase/cygwin-rebase-9999.ebuild b/app-admin/cygwin-rebase/cygwin-rebase-9999.ebuild
deleted file mode 100644
index 58f015a80713..000000000000
--- a/app-admin/cygwin-rebase/cygwin-rebase-9999.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 2019-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Core of the automatic rebase facility during postinstall on Cygwin"
-HOMEPAGE="https://cygwin.com"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE=""
-
-inherit autotools
-
-if [[ ${PV} == 9999 ]]
-then
- EGIT_REPO_URI="https://sourceware.org/git/cygwin-apps/rebase.git"
- EGIT_REPO_URI="https://github.com/haubi/cygwin-rebase.git"
- EGIT_BRANCH="gentoo"
- inherit git-r3
-else
- # Upstream does not provide archived source tarballs from git release tags,
- # only non archived cygwin distro packages with embedded source tarballs.
- # For now, we download from haubi's github mirror repo, having
- # repo name "cygwin-rebase" and tag names like "rebase-4-4-4".
- MY_PN=cygwin-rebase-rebase
- MY_PV=${PV//./-}
- S="${WORKDIR}/${MY_PN}-${MY_PV}"
- SRC_URI="
- https://github.com/haubi/cygwin-rebase/archive/rebase-${MY_PV}.tar.gz -> ${P}.tar.gz
- https://github.com/haubi/cygwin-rebase/compare/rebase-${MY_PV}...rebase-${MY_PV}_merge-files-flag-0.patch -> ${P}_merge-files-flag-0.patch
- "
- PATCHES=( "${DISTDIR}/${P}_merge-files-flag-0.patch" )
- KEYWORDS=""
-fi
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_prepare() {
- default
- # do not bother upstream with bug reports yet
- sed -e "/AC_INIT/{s|rebase|${PN}|;s|cygwin@cygwin.com|https://bugs.gentoo.org/|}" \
- -i configure.ac || die
- eautoreconf
-}
-
-src_configure() {
- econf --with-posix-shell="${BASH}"
-}
-
-src_install() {
- default
- # do not work nor make so much sense in Gentoo Prefix
- rm -f "${ED}"/usr/bin/{rebase,peflags}all || die
-}
-
-pkg_preinst() {
- local rebasedb
- local baseaddr
- case ${CHOST} in
- i686-*-cygwin*)
- rebasedb=/etc/rebase.db.i386
- baseaddr=0x70000000
- ;;
- x86_64-*-cygwin*)
- rebasedb=/etc/rebase.db.x86_64
- baseaddr=0x1000000000
- ;;
- esac
- [[ ${rebasedb} ]] || die "CHOST ${CHOST} is not supported for ${PN}."
-
- [[ -s ${EROOT}${rebasedb} ]] && return 0
-
- einfo "Creating initial rebase database with default base address ${baseaddr}..."
- cp /bin/cygwin1.dll "${T}/initial.dll" || die
- "${ED}/usr/bin/rebase" --verbose "--base=${baseaddr}" --database "${T}/initial.dll" || die
- eend $?
-}
diff --git a/app-admin/cygwin-rebase/metadata.xml b/app-admin/cygwin-rebase/metadata.xml
deleted file mode 100644
index abddd2ee172c..000000000000
--- a/app-admin/cygwin-rebase/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription lang="en">
- The rebaseall utility is a convenient way for users that suffer from the
- Cygwin rebase problem to rebase their entire system (i.e., all of their
- DLLs). The following is a list of known Cygwin applications that are
- affected by the rebase problem:
-
- Apache
- Perl
- Python
-
- The rebase problem is due to fork() failing when it is unable to load
- DLLs in the child at the same address as in the parent. This is caused
- by DLLs which have conflicting base addresses.
- </longdescription>
- <upstream>
- <remote-id type="github">haubi/cygwin-rebase</remote-id>
- </upstream>
-</pkgmetadata>