aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2010-09-11 20:32:25 +0800
committerwxs <wxs@FreeBSD.org>2010-09-11 20:32:25 +0800
commit59e087e9aae70f4a7ed3cf11568ee066f19d1631 (patch)
tree84a6cc1dec8e6de213aa18f0f42977962e766ace
parent82e01bfccde4fca787010aa923d8fff5349c9ca5 (diff)
downloadfreebsd-ports-gnome-59e087e9aae70f4a7ed3cf11568ee066f19d1631.tar.gz
freebsd-ports-gnome-59e087e9aae70f4a7ed3cf11568ee066f19d1631.tar.zst
freebsd-ports-gnome-59e087e9aae70f4a7ed3cf11568ee066f19d1631.zip
Remove databases/mongodb-devel. It was older than the non -devel and was
not going to be updated by the maintainer. Remove conflicts that no longer apply in databases/mongodb. PR: ports/148966 Submitted by: wxs@ Approved by: ivoras@ (maintainer of databases/mongodb-devel)
-rw-r--r--MOVED1
-rw-r--r--databases/Makefile1
-rw-r--r--databases/mongodb-devel/Makefile62
-rw-r--r--databases/mongodb-devel/distinfo3
-rw-r--r--databases/mongodb-devel/files/mongod.in39
-rw-r--r--databases/mongodb-devel/pkg-deinstall15
-rw-r--r--databases/mongodb-devel/pkg-descr5
-rw-r--r--databases/mongodb-devel/pkg-install43
-rw-r--r--databases/mongodb-devel/pkg-plist12
-rw-r--r--databases/mongodb/Makefile2
10 files changed, 1 insertions, 182 deletions
diff --git a/MOVED b/MOVED
index 65958006f022..f8804cf19e13 100644
--- a/MOVED
+++ b/MOVED
@@ -4554,3 +4554,4 @@ net-p2p/javadc||2010-09-08|Has expired: is ancient, unmaintained, works only wit
net/pathchar||2010-09-08|Has expired: has been broken for 2+ years, no sources available
www/linux-nvu|www/kompozer|2010-09-08|Has expired: NVU 1.0 last release June 2005, use www/kompozer instead
print/cupsddk||2010-09-09|Now part of print/cups-base
+databases/mongodb-devel||2010-09-11|Older than databases/mongodb
diff --git a/databases/Makefile b/databases/Makefile
index 518546786c0c..80017857300a 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -184,7 +184,6 @@
SUBDIR += metakit
SUBDIR += mird
SUBDIR += mongodb
- SUBDIR += mongodb-devel
SUBDIR += mrtg-mysql-load
SUBDIR += msql
SUBDIR += msql3
diff --git a/databases/mongodb-devel/Makefile b/databases/mongodb-devel/Makefile
deleted file mode 100644
index b020568a3ea4..000000000000
--- a/databases/mongodb-devel/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-# New ports collection makefile for: mongodb-devel
-# Date created: 3 November 2009
-# Whom: ivoras
-#
-# $FreeBSD$
-#
-
-PORTNAME= mongodb
-PORTVERSION= 1.3.1
-CATEGORIES= databases net
-MASTER_SITES= http://downloads.mongodb.org/src/
-PKGNAMESUFFIX= -devel
-DISTNAME= mongodb-src-r${PORTVERSION}
-
-MAINTAINER= ivoras@FreeBSD.org
-COMMENT= A NOSQL distributed document-oriented database
-
-LIB_DEPENDS= boost_system:${PORTSDIR}/devel/boost-libs \
- js:${PORTSDIR}/lang/spidermonkey \
- pcre:${PORTSDIR}/devel/pcre \
- nspr4:${PORTSDIR}/devel/nspr \
- execinfo.1:${PORTSDIR}/devel/libexecinfo
-
-CONFLICTS= mongodb-[0-9]*
-DEPRECATED= Outdated: Please use devel/mongodb instead.
-EXPIRATION_DATE= 2010-09-10
-
-ONLY_FOR_ARCHS= i386 amd64
-ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64"
-
-USE_SCONS= yes
-SCONS_TARGET= all
-USE_RC_SUBR= mongod
-
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 700042
-BROKEN= Does not build
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e 's#/usr/local#${PREFIX}#g' ${WRKSRC}/SConstruct
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mongo ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/mongod ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/mongodump ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/mongoexport ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/mongofiles ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/mongoimport ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/mongorestore ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/mongos ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/mongosniff ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/libmongoclient.a ${PREFIX}/lib
-
-post-install:
- @if [ ! -f ${PREFIX}/etc/mongodb.conf ]; then \
- ${TOUCH} ${PREFIX}/etc/mongodb.conf ; \
- fi
-
- PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
-
-.include <bsd.port.post.mk>
diff --git a/databases/mongodb-devel/distinfo b/databases/mongodb-devel/distinfo
deleted file mode 100644
index 86588697b9b8..000000000000
--- a/databases/mongodb-devel/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (mongodb-src-r1.3.1.tar.gz) = a08c5e2a75d5316e2efcc22dbe924a70
-SHA256 (mongodb-src-r1.3.1.tar.gz) = ef65bd34a534be67b12a72a979054a6d8584ed5e46d7e69c50b197ab83662640
-SIZE (mongodb-src-r1.3.1.tar.gz) = 3924642
diff --git a/databases/mongodb-devel/files/mongod.in b/databases/mongodb-devel/files/mongod.in
deleted file mode 100644
index 8d00bd03b098..000000000000
--- a/databases/mongodb-devel/files/mongod.in
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: mongod
-# REQUIRE: NETWORK
-#
-# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
-# to enable this service:
-#
-# mongod_enable (bool): Set to NO by default.
-# Set it to YES to enable mongod.
-#
-# Additional configurable variables:
-# mongod_config (path): Set to %%PREFIX%%/etc/mongod.conf
-# by default. Additional configuration. You
-# can also use mongod_flags for additional
-# command line arguments.
-# mongod_dbpath (path): Set to /var/db/mongod by default
-# mongod_user (username): Set to "mongod" by default
-
-. /etc/rc.subr
-
-name="mongod"
-rcvar=${name}_enable
-
-command=%%PREFIX%%/bin/${name}
-
-load_rc_config $name
-
-: ${mongod_enable="NO"}
-: ${mongod_config="%%PREFIX%%/etc/mongodb.conf"}
-: ${mongod_dbpath="/var/db/mongodb"}
-: ${mongod_user="mongodb"}
-
-command_args="-f $mongod_config --dbpath $mongod_dbpath --logappend --logpath $mongod_dbpath/mongod.log --fork"
-
-required_dirs=${mongod_dbpath}
-
-run_rc_command "$1"
-
diff --git a/databases/mongodb-devel/pkg-deinstall b/databases/mongodb-devel/pkg-deinstall
deleted file mode 100644
index 1c7a5bf2805d..000000000000
--- a/databases/mongodb-devel/pkg-deinstall
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-#
-
-if [ "$2" != "POST-DEINSTALL" ]; then
- exit 0
-fi
-
-USER=mongodb
-
-if pw usershow "${USER}" 2>/dev/null 1>&2; then
- echo "To delete mongodb user permanently, use 'pw userdel ${USER}'"
-fi
-
-exit 0
diff --git a/databases/mongodb-devel/pkg-descr b/databases/mongodb-devel/pkg-descr
deleted file mode 100644
index 24f53e80363b..000000000000
--- a/databases/mongodb-devel/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Mongo (from "humongous") is a high-performance, open source,
-schema-free, document-oriented database. A common name in the
-"NOSQL" community.
-
-WWW: http://www.mongodb.org/
diff --git a/databases/mongodb-devel/pkg-install b/databases/mongodb-devel/pkg-install
deleted file mode 100644
index 3faf828e0b3c..000000000000
--- a/databases/mongodb-devel/pkg-install
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-#
-
-if [ "$2" != "PRE-INSTALL" ]; then
- exit 0
-fi
-
-USER=mongodb
-GROUP=${USER}
-UID=922
-GID=${UID}
-DBDIR=/var/db/mongodb
-
-#touch ${PREFIX}/etc/mongodb.conf
-
-if ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then
- if pw groupadd ${GROUP} -g ${GID}; then
- echo "Added group \"${GROUP}\"."
- else
- echo "Adding group \"${GROUP}\" failed..."
- exit 1
- fi
-fi
-
-if ! pw usershow "${USER}" 2>/dev/null 1>&2; then
- if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
- -s "/bin/sh" -d "/var/db/mongodb" \
- -c "mongodb pseudo-user"; \
- then
- echo "Added user \"${USER}\"."
- if [ ! -d ${DBDIR} ]
- then
- echo "Creating \"${DBDIR}\"."
- mkdir ${DBDIR}
- chown ${USER}:${GROUP} ${DBDIR}
- fi
- else
- echo "Adding user \"${USER}\" failed..."
- exit 1
- fi
-fi
-exit 0
diff --git a/databases/mongodb-devel/pkg-plist b/databases/mongodb-devel/pkg-plist
deleted file mode 100644
index 76df6ff964ee..000000000000
--- a/databases/mongodb-devel/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-@unexec if [ ! -s %D/etc/mongodb.conf ]; then /bin/rm -f %D/etc/mongodb.conf; fi
-bin/mongo
-bin/mongod
-bin/mongodump
-bin/mongoexport
-bin/mongofiles
-bin/mongoimport
-bin/mongorestore
-bin/mongos
-bin/mongosniff
-lib/libmongoclient.a
-@exec if [ ! -f %D/etc/mongodb.conf ]; then /usr/bin/touch %D/etc/mongodb.conf; fi
diff --git a/databases/mongodb/Makefile b/databases/mongodb/Makefile
index 1925bad9b4c3..fec10c11f316 100644
--- a/databases/mongodb/Makefile
+++ b/databases/mongodb/Makefile
@@ -21,8 +21,6 @@ LIB_DEPENDS= boost_system:${PORTSDIR}/devel/boost-libs \
nspr4:${PORTSDIR}/devel/nspr \
execinfo.1:${PORTSDIR}/devel/libexecinfo
-CONFLICTS= mongodb-devel-[0-9]*
-
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64"