diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-12-15 01:41:36 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-12-15 01:41:36 +0000 |
commit | 9643bc0f551e51e49b1c53007ec42634642df681 (patch) | |
tree | dc6ee0cddafcc6fcba3bc224063cb11094184772 /astro | |
parent | cc157687d3162d44e6c98cd985452bada05c5ddc (diff) | |
download | ports-9643bc0f551e51e49b1c53007ec42634642df681.tar.gz ports-9643bc0f551e51e49b1c53007ec42634642df681.zip |
Notes
Diffstat (limited to 'astro')
-rw-r--r-- | astro/Makefile | 1 | ||||
-rw-r--r-- | astro/squeuer/Makefile | 59 | ||||
-rw-r--r-- | astro/squeuer/distinfo | 3 | ||||
-rw-r--r-- | astro/squeuer/files/patch-etc::rc.d::S71squeuer.sh | 24 | ||||
-rw-r--r-- | astro/squeuer/files/patch-etc::squeuer.conf.unix | 22 | ||||
-rw-r--r-- | astro/squeuer/files/pkg-message.in | 18 | ||||
-rw-r--r-- | astro/squeuer/pkg-deinstall | 15 | ||||
-rw-r--r-- | astro/squeuer/pkg-descr | 18 | ||||
-rw-r--r-- | astro/squeuer/pkg-install | 34 | ||||
-rw-r--r-- | astro/squeuer/pkg-plist | 6 |
10 files changed, 0 insertions, 200 deletions
diff --git a/astro/Makefile b/astro/Makefile index e85d9d3b9821..63f7366954b0 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -48,7 +48,6 @@ SUBDIR += sattrack SUBDIR += sky2000 SUBDIR += spacechart - SUBDIR += squeuer SUBDIR += sscalc SUBDIR += stardates SUBDIR += starplot diff --git a/astro/squeuer/Makefile b/astro/squeuer/Makefile deleted file mode 100644 index 5ac34672a3b7..000000000000 --- a/astro/squeuer/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -# New ports collection makefile for: squeuer -# Date created: 6 August 2003 -# Whom: glewis@FreeBSD.org -# -# $FreeBSD$ -# - -PORTNAME= squeuer -PORTVERSION= 2.0.3 -CATEGORIES= astro net -MASTER_SITES= http://www.eyesbeyond.com/squeuer/ - -MAINTAINER= glewis@FreeBSD.org -COMMENT= A queueing proxy for Seti@Home - -NO_BUILD= yes -USE_REINPLACE= yes -USE_PERL5_RUN= yes - -MAN8= squeuer.8 -MAN5= squeuer.conf.5 - -PKGMESSAGE= ${WRKDIR}/pkg-message - -# These must be writeable by the user "squeuer" -SPOOLDIR?= /var/spool/squeuer -LOGDIR?= /var/spool/squeuer -PIDDIR?= /var/spool/squeuer - -do-configure: - for i in ${WRKSRC}/etc/squeuer.conf.unix ${WRKSRC}/etc/rc.d/S71squeuer.sh; do \ - ${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" \ - -e "s:%%SPOOLDIR%%:${SPOOLDIR}:g" \ - -e "s:%%LOGDIR%%:${LOGDIR}:g" \ - -e "s:%%PIDDIR%%:${PIDDIR}:g" $$i; \ - done - ${SED} -e "s:%%LOCALBASE%%:${LOCALBASE}:g" \ - ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} - -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/bin/squeuer.pl ${PREFIX}/sbin/squeuer - ${INSTALL_DATA} ${WRKSRC}/etc/squeuer.conf.unix ${PREFIX}/etc/squeuer.conf.sample - ${INSTALL_SCRIPT} ${WRKSRC}/etc/rc.d/S71squeuer.sh ${PREFIX}/etc/rc.d/squeuer.sh.sample - ${INSTALL_MAN} ${WRKSRC}/man/squeuer.8 ${MAN8PREFIX}/man/man8/ - ${INSTALL_MAN} ${WRKSRC}/man/squeuer.conf.5 ${MAN5PREFIX}/man/man5/ -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/README ${WRKSRC}/doc/TODO ${DOCSDIR} -.endif - -post-install: - ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} PRE-INSTALL - if [ ! -e ${SPOOLDIR} ]; then \ - ${MKDIR} ${SPOOLDIR}; \ - ${CHOWN} squeuer:squeuer ${SPOOLDIR}; \ - fi - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/astro/squeuer/distinfo b/astro/squeuer/distinfo deleted file mode 100644 index d06adfcbac44..000000000000 --- a/astro/squeuer/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (squeuer-2.0.3.tar.gz) = 8d4833c7ec4af7700e849f82ad7c37e6 -SHA256 (squeuer-2.0.3.tar.gz) = db72d424c4f919feae91a107a37b494affdc4e4f0b70c645391f0d1410f7c9e6 -SIZE (squeuer-2.0.3.tar.gz) = 17776 diff --git a/astro/squeuer/files/patch-etc::rc.d::S71squeuer.sh b/astro/squeuer/files/patch-etc::rc.d::S71squeuer.sh deleted file mode 100644 index ca63e77cfab6..000000000000 --- a/astro/squeuer/files/patch-etc::rc.d::S71squeuer.sh +++ /dev/null @@ -1,24 +0,0 @@ -$FreeBSD$ - ---- etc/rc.d/S71squeuer.sh.orig Thu Oct 31 20:38:18 2002 -+++ etc/rc.d/S71squeuer.sh Thu Aug 7 12:25:20 2003 -@@ -3,14 +3,16 @@ - # Squeuer - # - --squeuer=/usr/local/bin/squeuer.pl --pid_file=/var/run/squeuer.pid -+squeuer=%%PREFIX%%/sbin/squeuer -+squeuer_conf=%%PREFIX%%/etc/squeuer.conf -+pid_file=%%PIDDIR%%/squeuer.pid -+squeuer_user=squeuer - - SYSV3=1; export SYSV3 - - case $1 in - start) echo -n ' squeuer' -- su squeuer -c $squeuer > $pid_file & -+ su $squeuer_user -c "$squeuer -f $squeuer_conf" > $pid_file & - ;; - - stop) if [ -f $pid_file ]; then diff --git a/astro/squeuer/files/patch-etc::squeuer.conf.unix b/astro/squeuer/files/patch-etc::squeuer.conf.unix deleted file mode 100644 index 39088f51ade6..000000000000 --- a/astro/squeuer/files/patch-etc::squeuer.conf.unix +++ /dev/null @@ -1,22 +0,0 @@ -$FreeBSD$ - ---- etc/squeuer.conf.unix.orig Thu Aug 7 09:32:52 2003 -+++ etc/squeuer.conf.unix Thu Aug 7 11:26:29 2003 -@@ -12,7 +12,7 @@ - # Location of the work unit spooling directory - # This must be writable by the SQueuer process - # --spool_path = /var/spool/squeuer -+spool_path = %%SPOOLDIR%% - - # - # Do we write the pid out -@@ -52,7 +52,7 @@ - # warning - security problems or invalid data found - # alert - user must do something or squeuer won't work - # --log_method = /var/spool/squeuer/squeuer.log -+log_method = %%LOGDIR%%/squeuer.log - log_level = info,notice,warning,alert - - # diff --git a/astro/squeuer/files/pkg-message.in b/astro/squeuer/files/pkg-message.in deleted file mode 100644 index 8818725d4995..000000000000 --- a/astro/squeuer/files/pkg-message.in +++ /dev/null @@ -1,18 +0,0 @@ - -============================================================= -To use SQueuer with the setiathome port, the file - - %%LOCALBASE%%/etc/rc.setiathome.conf - -must be modified (specifically the seti_proxy_server setting) -and setiathome restarted. - -As an example, if you're running SQueuer on the same host as -the client then a line such as - - seti_proxy_server=localhost:17771 - -would be appropriate. If SQueuer is running on a different -host or SQueuer is configured to run on a different port -then please modify either localhost or 17771 as appropriate. -============================================================= diff --git a/astro/squeuer/pkg-deinstall b/astro/squeuer/pkg-deinstall deleted file mode 100644 index 7ec4b35277a9..000000000000 --- a/astro/squeuer/pkg-deinstall +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -# $FreeBSD$ -# - -if [ "$2" != "POST-DEINSTALL" ]; then - exit 0 -fi - -USER=squeuer - -if pw usershow "${USER}" 2>/dev/null 1>&2; then - echo "To delete SQueuer user permanently, use 'pw userdel ${USER}'" -fi - -exit 0 diff --git a/astro/squeuer/pkg-descr b/astro/squeuer/pkg-descr deleted file mode 100644 index 8dfb48ede026..000000000000 --- a/astro/squeuer/pkg-descr +++ /dev/null @@ -1,18 +0,0 @@ -SQueuer is a queueing proxy for Seti@Home with the following features: - - * Keeps a configurable sized queue of work units so that - the client will always be able to get a new work unit - immediately upon finishing one. - - * Queues results for uploading should the main Seti@Home - site be overloaded or down. Results are never lost and the - client is never delayed waiting to upload a result. - - * Can handle multiple users running the Seti@Home client - on multiple machines all connecting to SQueuer. - - * Platform independent. SQueuer has been tested and found - to work on different versions of Unix, MacOS and Windows. - All it requires is a Perl 5 interpreter. - -WWW: http://www.eyesbeyond.com/squeuer/ diff --git a/astro/squeuer/pkg-install b/astro/squeuer/pkg-install deleted file mode 100644 index c3581ba52389..000000000000 --- a/astro/squeuer/pkg-install +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/astro/squeuer/Attic/pkg-install,v 1.1 2003-08-13 17:35:21 glewis Exp $ -# - -if [ "$2" != "PRE-INSTALL" ]; then - exit 0 -fi - -USER=squeuer -GROUP=${USER} -UID=96 -GID=${UID} - -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 "/nonexistent" \ - -c "SQueuer Owner"; \ - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi -fi -exit 0 diff --git a/astro/squeuer/pkg-plist b/astro/squeuer/pkg-plist deleted file mode 100644 index f1a70751786b..000000000000 --- a/astro/squeuer/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -sbin/squeuer -etc/squeuer.conf.sample -etc/rc.d/squeuer.sh.sample -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%@dirrm %%DOCSDIR%% |