pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
beanstalkd: remove the package
Module Name: pkgsrc-wip
Committed By: Pierre Pronchery <khorben%defora.org@localhost>
Pushed By: khorben
Date: Fri Mar 19 00:03:09 2021 +0100
Changeset: 7156181e9856af144c412ef4c77436f4aa6d25d1
Modified Files:
Makefile
Removed Files:
beanstalkd/DESCR
beanstalkd/Makefile
beanstalkd/PLIST
beanstalkd/distinfo
beanstalkd/files/beanstalkd.sh
beanstalkd/patches/patch-Makefile
beanstalkd/patches/patch-darwin.c
Log Message:
beanstalkd: remove the package
This has now been imported in pkgsrc.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7156181e9856af144c412ef4c77436f4aa6d25d1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 -
beanstalkd/DESCR | 3 ---
beanstalkd/Makefile | 45 ---------------------------------------
beanstalkd/PLIST | 5 -----
beanstalkd/distinfo | 8 -------
beanstalkd/files/beanstalkd.sh | 42 ------------------------------------
beanstalkd/patches/patch-Makefile | 12 -----------
beanstalkd/patches/patch-darwin.c | 32 ----------------------------
8 files changed, 148 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index 7144a19e8b..66633d58d5 100644
--- a/Makefile
+++ b/Makefile
@@ -256,7 +256,6 @@ SUBDIR+= bastard
SUBDIR+= bats-core
SUBDIR+= bcftools
SUBDIR+= beads
-SUBDIR+= beanstalkd
SUBDIR+= beast
SUBDIR+= bedtools
SUBDIR+= beignet
diff --git a/beanstalkd/DESCR b/beanstalkd/DESCR
deleted file mode 100644
index 1d09a8f5bc..0000000000
--- a/beanstalkd/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-Beanstalk is a simple, fast work queue. Its interface is generic, but was
-originally designed for reducing the latency of page views in high-volume web
-applications by running time-consuming tasks asynchronously.
diff --git a/beanstalkd/Makefile b/beanstalkd/Makefile
deleted file mode 100644
index 33c0e4c3ab..0000000000
--- a/beanstalkd/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2014/06/01 12:49:34 thomasklausner Exp $
-
-DISTNAME= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
-PKGNAME= ${GITHUB_PROJECT}-1.12
-CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_GITHUB:=kr/}
-GITHUB_PROJECT= beanstalkd
-GITHUB_TAG= v${PKGVERSION_NOREV}
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://kr.github.io/beanstalkd/
-COMMENT= Simple, fast work queue
-LICENSE= mit
-
-USE_TOOLS+= gmake
-
-B_MANDIR= ${PKGMANDIR}/man1
-B_DOCDIR= share/doc/${PKGBASE}
-RCD_SCRIPTS+= beanstalkd
-INSTALLATION_DIRS+= ${B_MANDIR} ${B_DOCDIR} share/examples/rc.d
-
-PKG_GROUPS_VARS+= BEANSTALKD_GROUP
-PKG_USERS_VARS= BEANSTALKD_USER
-BUILD_DEFS+= BEANSTALKD_USER BEANSTALKD_GROUP BEANSTALKD_HOME VARBASE
-BEANSTALKD_USER?= beanstalkd
-FILES_SUBST+= BEANSTALK_USER=${BEANSTALKD_USER}
-BEANSTALKD_GROUP?= beanstalkd
-BEANSTALKD_HOME?= ${VARBASE}/chroot/beanstalkd
-PKG_HOME.beanstalkd?= ${BEANSTALKD_HOME}
-PLIST_SUBST+= BEANSTALK_HOME=${BEANSTALKD_HOME}
-PKG_GROUPS= ${BEANSTALKD_GROUP}
-PKG_GECOS.beanstalkd= beanstalk daemon
-PKG_USERS= ${BEANSTALKD_USER}:${BEANSTALKD_GROUP}
-OWN_DIRS_PERMS+= ${PKG_HOME.beanstalkd} ${PKG_USERS:S/:/ /1} 0700
-
-post-patch:
- ${CP} ${WRKSRC}/freebsd.c ${WRKSRC}/netbsd.c
-
-post-install:
- ${INSTALL_MAN} ${WRKSRC}/doc/beanstalkd.1 \
- ${DESTDIR}${PREFIX}/${B_MANDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/protocol.txt \
- ${DESTDIR}${PREFIX}/${B_DOCDIR}
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/beanstalkd/PLIST b/beanstalkd/PLIST
deleted file mode 100644
index 1d53264509..0000000000
--- a/beanstalkd/PLIST
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2014/01/09 19:30:42 othyro Exp $
-bin/beanstalkd
-man/man1/beanstalkd.1
-share/doc/beanstalkd/protocol.txt
-share/examples/rc.d/beanstalkd
diff --git a/beanstalkd/distinfo b/beanstalkd/distinfo
deleted file mode 100644
index 169c3bf68a..0000000000
--- a/beanstalkd/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.1 2014/01/03 05:31:52 othyro Exp $
-
-SHA1 (beanstalkd-1.12.tar.gz) = 09a6cbd7766f54875ee9b709ca64e245e58350c9
-RMD160 (beanstalkd-1.12.tar.gz) = 7d211fe9585c777dc988acc0ad8a754e20e7ad75
-SHA512 (beanstalkd-1.12.tar.gz) = 347f8cf29501d4bf1a01a472f8f6265d1211eadfaa4e5626c8fcab5b1f8116e1e0ddee2a0c82ac116ee60655a2e3b514d254f98c2154be76109a24d77f7d8210
-Size (beanstalkd-1.12.tar.gz) = 79592 bytes
-SHA1 (patch-Makefile) = dd5c0a9a278fd306e0b360fcfcf451111e099699
-SHA1 (patch-darwin.c) = 83db9922d20d12cff4f99c5214a45ffdc17285c2
diff --git a/beanstalkd/files/beanstalkd.sh b/beanstalkd/files/beanstalkd.sh
deleted file mode 100644
index 8f7f5b259a..0000000000
--- a/beanstalkd/files/beanstalkd.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: beanstalkd.sh,v 1.1 2014/01/09 19:30:43 othyro Exp $
-#
-# beanstalkd - simple, fast work queue daemon
-#
-# PROVIDE: beanstalkd
-# REQUIRE: DAEMON NETWORKING SERVERS
-#
-# You will need to set some variables in @PKG_SYSCONFDIR@/rc.conf to start beanstalkd:
-#
-# beanstalkd=YES
-
-. /etc/rc.subr
-
-name="beanstalkd"
-rcvar=${name}
-beanstalkd_user="@BEANSTALK_USER@"
-beanstalkd_host="127.0.0.1"
-beanstalkd_port="11300"
-start_cmd="beanstalkd_start"
-restart_cmd="beanstalkd_stop ; beanstalkd_start"
-stop_cmd="beanstalkd_stop"
-command="@PREFIX@/bin/${name}"
-command_args="-u ${beanstalkd_user} -l ${beanstalkd_host} -p ${beanstalkd_port}"
-
-beanstalkd_start()
-{
- ${command} ${command_args} &
-}
-
-beanstalkd_stop()
-{
- pkill -u @BEANSTALK_USER@ 2>/dev/null
-}
-
-if [ -f /etc/rc.subr ]; then
- load_rc_config $name
- run_rc_command "$1"
-else
- eval ${start_cmd}
-fi
diff --git a/beanstalkd/patches/patch-Makefile b/beanstalkd/patches/patch-Makefile
deleted file mode 100644
index 462b6c91c3..0000000000
--- a/beanstalkd/patches/patch-Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-Makefile,v 1.1 2014/01/03 05:31:52 othyro Exp $
-
-Add NetBSD support. Don't hardcode ${PREFIX}.
-
---- Makefile.orig 2020-06-04 19:54:32.000000000 +0000
-+++ Makefile
-@@ -120,3 +120,5 @@ doc/beanstalkd.1 doc/beanstalkd.1.html:
- ronn $<
-
- freebsd.o: darwin.c
-+
-+netbsd.o: darwin.c
diff --git a/beanstalkd/patches/patch-darwin.c b/beanstalkd/patches/patch-darwin.c
deleted file mode 100644
index fa6a77beda..0000000000
--- a/beanstalkd/patches/patch-darwin.c
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-darwin.c,v 1.1 2014/01/03 05:31:52 othyro Exp $
-
-Fix casting errors.
-
---- darwin.c.orig 2014-08-05 03:39:54.000000000 +0000
-+++ darwin.c
-@@ -79,7 +79,11 @@ sockwant(Socket *s, int rw)
- ev->data = Infinity;
- }
- ev->flags = EV_ADD;
-- ev->udata = s;
-+#if defined(__NetBSD__)
-+ ev->udata = (intptr_t) s;
-+#else
-+ ev->udata = s;
-+#endif
- s->added = ev->filter;
- ev++;
- n++;
-@@ -105,7 +109,11 @@ socknext(Socket **s, int64 timeout)
- }
-
- if (r > 0) {
-- *s = ev.udata;
-+#if defined(__NetBSD__)
-+ *s = (Socket *) ev.udata;
-+#else
-+ *s = ev.udata;
-+#endif
- if (ev.flags & EV_EOF) {
- return 'h';
- }
Home |
Main Index |
Thread Index |
Old Index