Commit c5785f87 authored by Rene Ladan's avatar Rene Ladan
Browse files

sysutils/apache-mesos: Remove expired port

2024-05-31 sysutils/apache-mesos: Marked BROKEN for over a year
parent cefa8184
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3452,3 +3452,4 @@ graphics/R-cran-rgdal||2024-09-01|Has expired: Fails to build and upstream recom
math/ploticus||2024-09-01|Has expired: Depends on expired graphics/ming
graphics/ming||2024-09-01|Has expired: SWF format is essentially dead after Flash Player's EoL
dns/adsuck||2024-09-01|Has expired: Obsolete, no longer relevant
sysutils/apache-mesos||2024-09-01|Has expired: Marked BROKEN for over a year
+0 −1
Original line number Diff line number Diff line
@@ -48,7 +48,6 @@
    SUBDIR += ansible-sshjail
    SUBDIR += ansible-sysrc
    SUBDIR += anvil
    SUBDIR += apache-mesos
    SUBDIR += apachetop
    SUBDIR += apcctrl
    SUBDIR += apcpwr

sysutils/apache-mesos/Makefile

deleted100644 → 0
+0 −117
Original line number Diff line number Diff line
PORTNAME=	mesos
PORTVERSION=	1.11.0
PORTREVISION=	16
CATEGORIES=	sysutils
MASTER_SITES=	APACHE/mesos/${PORTVERSION}:mesos
PKGNAMEPREFIX=	apache-
DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:mesos
DIST_SUBDIR=	${PKGNAMEPREFIX}${PORTNAME}

MAINTAINER=	james.wright@digital-chaos.com
COMMENT=	Cluster manager providing resource isolation and sharing
WWW=		https://mesos.apache.org/

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN=		fails to build, configure: error: Cannot find the ELFIO headers
DEPRECATED=	Marked BROKEN for over a year
EXPIRATION_DATE=2024-05-31

BUILD_DEPENDS=	boost-libs>0:devel/boost-libs \
		elfio>0:devel/elfio \
		http-parser>0:www/http-parser \
		leveldb>0:databases/leveldb \
		picojson>0:devel/picojson \
		protobuf>0:devel/protobuf \
		rapidjson>0:devel/rapidjson \
		libzookeeper>0:devel/libzookeeper
LIB_DEPENDS=	libapr-1.so:devel/apr1 \
		libcurl.so:ftp/curl \
		libgpr.so:devel/grpc \
		libglog.so:devel/glog \
		libhttp_parser.so:www/http-parser \
		libev.so:devel/libev \
		libleveldb.so:databases/leveldb \
		libprotobuf.so:devel/protobuf \
		libsasl2.so:security/cyrus-sasl2 \
		libzookeeper_mt.so:devel/libzookeeper
.if ${WITH_SUBVERSION_VER:U} == LTS
LIB_DEPENDS+=	libsvn_delta-1.so:devel/subversion-lts
LIB_DEPENDS+=	libsvn_subr-1.so:devel/subversion-lts
.else
LIB_DEPENDS+=	libsvn_delta-1.so:devel/subversion
LIB_DEPENDS+=	libsvn_subr-1.so:devel/subversion
.endif

USES=		cpe gmake libarchive libtool python:run shebangfix
CPE_VENDOR=	apache
USE_LDCONFIG=	yes
SHEBANG_FILES=	src/cli/mesos-cat \
		src/cli/mesos-ps \
		src/cli/mesos-scp \
		src/cli/mesos-tail

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-java \
		--disable-python \
		--disable-werror \
		--with-apr=${LOCALBASE} \
		--with-boost=${LOCALBASE} \
		--with-elfio=${LOCALBASE} \
		--with-glog=${LOCALBASE} \
		--with-grpc=${LOCALBASE} \
		--with-http_parser=${LOCALBASE} \
		--with-leveldb=${LOCALBASE} \
		--with-libarchive=${LOCALBASE} \
		--with-libev=${LOCALBASE} \
		--with-protobuf=${LOCALBASE} \
		--with-picojson=${LOCALBASE} \
		--with-rapidjson=${LOCALBASE} \
		--with-sasl=${LOCALBASE} \
		--with-svn=${LOCALBASE} \
		--with-zookeeper=${LOCALBASE}

INSTALL_TARGET=	install-strip

OPTIONS_DEFINE=	DEPLOY JAVA
OPTIONS_SUB=	yes

DEPLOY_DESC=	Install deploy scripts
JAVA_DESC=	Enable Java bindings

JAVA_CONFIGURE_ENABLE=	java
JAVA_USE=		java=yes
JAVA_BUILD_DEPENDS=	maven>0:devel/maven
JAVA_FETCH_DEPENDS=	maven>0:devel/maven
JAVA_CONFIGURE_ENV=	PROTOBUF_JAR="${MAVEN_REPO}/com/google/protobuf/protobuf-java/${PROTOBUF_VERSION}/protobuf-java-${PROTOBUF_VERSION}.jar"
JAVA_MAKE_ENV=		MAVEN_OPTS="${MAVEN_OPTS}"
JAVA_EXTRA_PATCHES=	${PATCHDIR}/extra-patch-src_java_mesos.pom.in

# REVIEW: Can we figure out the current Protobuf version in ports instead of hardcoding???
PROTOBUF_VERSION=	3.14.0

MAVEN_CMD=		mvn
MAVEN_REPO=		${WRKDIR}/mesos-maven-deps-${PORTVERSION}
MAVEN_OPTS=		-Dmaven.repo.local=${MAVEN_REPO}
MAVEN_ENV=		PROTOBUF_VERSION="${PROTOBUF_VERSION}" MAVEN_OPTS="${MAVEN_OPTS}"
MAVEN_POM=		${FILESDIR}/maven-deps.pom

DEV_BUILD_MODE=		no

.if (${DEV_BUILD_MODE} == "yes")
# Fetch Maven build dependencies upfront into local Maven Repo
# Needs to be after extract (as WRKDIR gets wiped) but before Configure
post-extract-JAVA-on:
	@${SETENV} ${MAVEN_ENV} \
	${MAVEN_CMD} -f ${MAVEN_POM} dependency:go-offline
.else
MASTER_SITES+=	https://github.com/Digital-Chaos/mesos-maven-deps/archive/${DISTVERSION}/:maven
DISTFILES+=	mesos-maven-deps-${DISTVERSION}${EXTRACT_SUFX}:maven
.endif

# Replace Protobuf version in src/java/mesos.pom.in
do-patch-JAVA-on:
	@${REINPLACE_CMD} -e 's|@PROTOBUF_VERSION@|${PROTOBUF_VERSION}|g' ${WRKSRC}/src/java/mesos.pom.in

.include <bsd.port.mk>

sysutils/apache-mesos/distinfo

deleted100644 → 0
+0 −5
Original line number Diff line number Diff line
TIMESTAMP = 1615762466
SHA256 (apache-mesos/mesos-1.11.0.tar.gz) = ce08cb648a21502a4a0c45d240a596d9ac860fcaf717f9a3dc986da9d406fe34
SIZE (apache-mesos/mesos-1.11.0.tar.gz) = 72210031
SHA256 (apache-mesos/mesos-maven-deps-1.11.0.tar.gz) = 98acd50b2d22018f5c79127ea14245e863c4c1bd0092c65c85ef9a147d488def
SIZE (apache-mesos/mesos-maven-deps-1.11.0.tar.gz) = 36003620
+0 −20
Original line number Diff line number Diff line
--- src/java/mesos.pom.in.orig	2020-06-16 03:05:20 UTC
+++ src/java/mesos.pom.in
@@ -36,7 +36,7 @@
     <dependency>
       <artifactId>protobuf-java</artifactId>
       <groupId>com.google.protobuf</groupId>
-      <version>3.5.0</version>
+      <version>@PROTOBUF_VERSION@</version>
     </dependency>
   </dependencies>
   <build>
@@ -168,7 +168,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
-        <version>2.8</version>
+        <version>3.1.2</version>
         <executions>
           <execution>
             <id>copy-dependencies</id>
Loading