summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-08-15 23:38:26 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-08-15 23:38:26 +0000
commit00a7d88ac18b001864e5e9507e340aaf872db25c (patch)
treed20ead3b588609ee8e9784cbed2e5a69d902dad7 /sys-cluster/torque
parentAdd SCP flag for torque. (diff)
downloadgentoo-2-00a7d88ac18b001864e5e9507e340aaf872db25c.tar.gz
gentoo-2-00a7d88ac18b001864e5e9507e340aaf872db25c.tar.bz2
gentoo-2-00a7d88ac18b001864e5e9507e340aaf872db25c.zip
Remove old 1.2.0_p1 ebuilds so we can ditch their overly large patch, and the tree gets ~40k smaller.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-cluster/torque')
-rw-r--r--sys-cluster/torque/ChangeLog10
-rw-r--r--sys-cluster/torque/files/1.2.0_p1-respect-destdir.patch491
-rw-r--r--sys-cluster/torque/files/1.2.0_p1-respect-ldflags.patch60
-rw-r--r--sys-cluster/torque/files/digest-torque-1.2.0_p11
-rw-r--r--sys-cluster/torque/files/digest-torque-1.2.0_p1-r11
-rw-r--r--sys-cluster/torque/files/digest-torque-1.2.0_p1-r21
-rw-r--r--sys-cluster/torque/files/digest-torque-1.2.0_p1-r33
-rw-r--r--sys-cluster/torque/torque-1.2.0_p1-r1.ebuild64
-rw-r--r--sys-cluster/torque/torque-1.2.0_p1-r2.ebuild80
-rw-r--r--sys-cluster/torque/torque-1.2.0_p1-r3.ebuild129
-rw-r--r--sys-cluster/torque/torque-1.2.0_p1.ebuild77
11 files changed, 9 insertions, 908 deletions
diff --git a/sys-cluster/torque/ChangeLog b/sys-cluster/torque/ChangeLog
index 5b4d127179da..a08902d8a907 100644
--- a/sys-cluster/torque/ChangeLog
+++ b/sys-cluster/torque/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-cluster/torque
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/ChangeLog,v 1.21 2005/08/13 06:36:06 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/ChangeLog,v 1.22 2005/08/15 23:38:26 robbat2 Exp $
+
+ 15 Aug 2005; Robin H. Johnson <robbat2@gentoo.org>
+ -files/1.2.0_p1-respect-destdir.patch,
+ -files/1.2.0_p1-respect-ldflags.patch, -torque-1.2.0_p1.ebuild,
+ -torque-1.2.0_p1-r1.ebuild, -torque-1.2.0_p1-r2.ebuild,
+ -torque-1.2.0_p1-r3.ebuild:
+ Remove old 1.2.0_p1 ebuilds so we can ditch their overly large patch, and
+ the tree gets ~40k smaller.
13 Aug 2005; Robin H. Johnson <robbat2@gentoo.org>
torque-1.2.0_p5-r1.ebuild:
diff --git a/sys-cluster/torque/files/1.2.0_p1-respect-destdir.patch b/sys-cluster/torque/files/1.2.0_p1-respect-destdir.patch
deleted file mode 100644
index b68407ed5a46..000000000000
--- a/sys-cluster/torque/files/1.2.0_p1-respect-destdir.patch
+++ /dev/null
@@ -1,491 +0,0 @@
-diff -urN torque-1.2.0p1.orig/buildutils/mkincludes/lib.mk.in torque-1.2.0p1/buildutils/mkincludes/lib.mk.in
---- torque-1.2.0p1.orig/buildutils/mkincludes/lib.mk.in 2005-02-07 18:57:06.000000000 -0800
-+++ torque-1.2.0p1/buildutils/mkincludes/lib.mk.in 2005-06-30 15:47:51.000000000 -0700
-@@ -16,7 +16,7 @@
-
- install:: $(TARGET)
- @# a two step process is best to work around broken installs
-- $(INSTALL) -d $(libdir) && \
-- $(INSTALL) -m 644 $(TARGET) $(libdir)/$(TARGET)
-+ $(INSTALL) -d $(DESTDIR)$(libdir) && \
-+ $(INSTALL) -m 644 $(TARGET) $(DESTDIR)$(libdir)/$(TARGET)
-
- # END lib.mk
-diff -urN torque-1.2.0p1.orig/buildutils/pbs_mkdirs.in torque-1.2.0p1/buildutils/pbs_mkdirs.in
---- torque-1.2.0p1.orig/buildutils/pbs_mkdirs.in 2005-02-14 14:01:39.000000000 -0800
-+++ torque-1.2.0p1/buildutils/pbs_mkdirs.in 2005-06-30 16:59:10.000000000 -0700
-@@ -140,6 +140,7 @@
- # dlist will contain a list of directory names to make
- id_dlist=""
-
-+ id_dname=${DESTDIR}$id_dname
- while [ ! \( -z "$id_dname" -o "$id_dname" = / -o \
- "$id_dname" = "." \) ]; do
-
-@@ -194,9 +195,9 @@
- elif [ ! -d $idv_dname ] ; then
- test -n "$verbose" && echo Creating $idv_dname
- install_dir `dirname $idv_dname` 755 $idv_owner && \
-- mkdir $idv_dname && chmod $idv_mode $idv_dname || return 1
-+ mkdir ${DESTDIR}$idv_dname && chmod $idv_mode ${DESTDIR}$idv_dname || return 1
- if test -n "$idv_owner"; then
-- chown $idv_owner $idv_name || return 1
-+ chown $idv_owner ${DESTDIR}$idv_name || return 1
- fi
-
- fi
-diff -urN torque-1.2.0p1.orig/doc/Makefile.in torque-1.2.0p1/doc/Makefile.in
---- torque-1.2.0p1.orig/doc/Makefile.in 2005-02-07 18:57:06.000000000 -0800
-+++ torque-1.2.0p1/doc/Makefile.in 2005-06-30 16:02:50.000000000 -0700
-@@ -192,44 +192,44 @@
-
- install1: ${MAN1}
- @echo Installing section 1 man pages
-- @$(INSTALL) -d -m 755 $(PBS_MAN) && \
-- $(INSTALL) -d -m 755 $(PBS_MAN1) && \
-+ @$(INSTALL) -d -m 755 $(DESTDIR)$(PBS_MAN) && \
-+ $(INSTALL) -d -m 755 $(DESTDIR)$(PBS_MAN1) && \
- for t in $?; do \
- tt=`basename $$t B`; \
-- ${SOELIM} -d $(DOCSRC)/ers $$t | sed -e 's/^\.Sh/.SH/' >${PBS_MAN1}/$${tt}$(MAN_SUFFIX); \
-- chmod 644 ${PBS_MAN1}/$${tt}$(MAN_SUFFIX); \
-+ ${SOELIM} -d $(DOCSRC)/ers $$t | sed -e 's/^\.Sh/.SH/' >$(DESTDIR)${PBS_MAN1}/$${tt}$(MAN_SUFFIX); \
-+ chmod 644 $(DESTDIR)${PBS_MAN1}/$${tt}$(MAN_SUFFIX); \
- done
-
- install3: $(MAN3)
- @echo Installing section 3 man pages
-- @$(INSTALL) -d -m 755 $(PBS_MAN) && \
-- $(INSTALL) -d -m 755 $(PBS_MAN3) && \
-+ @$(INSTALL) -d -m 755 $(DESTDIR)$(PBS_MAN) && \
-+ $(INSTALL) -d -m 755 $(DESTDIR)$(PBS_MAN3) && \
- for t in $?; do \
- tt=`basename $$t B`; \
-- ${SOELIM} -d $(DOCSRC)/ers $$t | sed -e 's/^\.Sh/.SH/' >${PBS_MAN3}/$${tt}$(MAN_SUFFIX); \
-- chmod 644 ${PBS_MAN3}/$${tt}$(MAN_SUFFIX); \
-+ ${SOELIM} -d $(DOCSRC)/ers $$t | sed -e 's/^\.Sh/.SH/' >$(DESTDIR)${PBS_MAN3}/$${tt}$(MAN_SUFFIX); \
-+ chmod 644 $(DESTDIR)${PBS_MAN3}/$${tt}$(MAN_SUFFIX); \
- done
-
- install7: $(MAN7)
- @echo Installing section 7 man pages
-- @$(INSTALL) -d -m 755 $(PBS_MAN) && \
-- $(INSTALL) -d -m 755 $(PBS_MAN7) && \
-+ @$(INSTALL) -d -m 755 $(DESTDIR)$(PBS_MAN) && \
-+ $(INSTALL) -d -m 755 $(DESTDIR)$(PBS_MAN7) && \
- for t in $?; do \
- tt=`basename $$t B`; \
-- ${SOELIM} -d $(DOCSRC)/ers $$t | sed -e 's/^\.Sh/.SH/' >${PBS_MAN7}/$${tt}$(MAN_SUFFIX); \
-- chmod 644 ${PBS_MAN7}/$${tt}$(MAN_SUFFIX); \
-+ ${SOELIM} -d $(DOCSRC)/ers $$t | sed -e 's/^\.Sh/.SH/' >$(DESTDIR)${PBS_MAN7}/$${tt}$(MAN_SUFFIX); \
-+ chmod 644 $(DESTDIR)${PBS_MAN7}/$${tt}$(MAN_SUFFIX); \
- done
-- @rm -f ${PBS_MAN7}/pbs_resources.7$(MAN_SUFFIX)
-- @ln ${PBS_MAN7}/pbs_resources_$(DEFAULT_MAN_RESOURCE_TYPE).7$(MAN_SUFFIX) ${PBS_MAN7}/pbs_resources.7$(MAN_SUFFIX)
-+ @rm -f $(DESTDIR)${PBS_MAN7}/pbs_resources.7$(MAN_SUFFIX)
-+ @( cd $(DESTDIR)${PBS_MAN7} && ln pbs_resources_$(DEFAULT_MAN_RESOURCE_TYPE).7$(MAN_SUFFIX) pbs_resources.7$(MAN_SUFFIX) )
-
- install8: $(MAN8)
- @echo Installing section 8 man pages
-- @$(INSTALL) -d -m 755 $(PBS_MAN) && \
-- $(INSTALL) -d -m 755 $(PBS_MAN8) && \
-+ @$(INSTALL) -d -m 755 $(DESTDIR)$(PBS_MAN) && \
-+ $(INSTALL) -d -m 755 $(DESTDIR)$(PBS_MAN8) && \
- for t in $?; do \
- tt=`basename $$t B`; \
-- ${SOELIM} -d $(DOCSRC)/ers $$t | sed -e 's/^\.Sh/.SH/' >${PBS_MAN8}/$${tt}$(MAN_SUFFIX); \
-- chmod 644 ${PBS_MAN8}/$${tt}$(MAN_SUFFIX); \
-+ ${SOELIM} -d $(DOCSRC)/ers $$t | sed -e 's/^\.Sh/.SH/' >$(DESTDIR)${PBS_MAN8}/$${tt}$(MAN_SUFFIX); \
-+ chmod 644 $(DESTDIR)${PBS_MAN8}/$${tt}$(MAN_SUFFIX); \
- done
-
- depend::
-diff -urN torque-1.2.0p1.orig/src/cmds/Makefile.in torque-1.2.0p1/src/cmds/Makefile.in
---- torque-1.2.0p1.orig/src/cmds/Makefile.in 2005-02-07 18:57:06.000000000 -0800
-+++ torque-1.2.0p1/src/cmds/Makefile.in 2005-06-30 15:51:45.000000000 -0700
-@@ -135,12 +135,12 @@
- $(PBS_MKDIRS) clients
- $(PBS_MKDIRS) aux
- $(PBS_MKDIRS) default
-- $(INSTALL) -d -m 755 $(bindir) && \
-+ $(INSTALL) -d -m 755 $(DESTDIR)$(bindir) && \
- for f in $(USER) $(OPER) $(ADMN) $(SCRIPTS) ; do \
-- $(INSTALL) -m 755 $$f $(bindir)/$$f ; \
-+ $(INSTALL) -m 755 $$f $(DESTDIR)$(bindir)/$$f ; \
- done
- for f in $(SUPP) ; do \
-- $(INSTALL) -m 755 $$f $(sbindir)/$$f ; \
-+ $(INSTALL) -m 755 $$f $(DESTDIR)$(sbindir)/$$f ; \
- done
-
- #
-diff -urN torque-1.2.0p1.orig/src/gui/Ccode/Makefile.in torque-1.2.0p1/src/gui/Ccode/Makefile.in
---- torque-1.2.0p1.orig/src/gui/Ccode/Makefile.in 2005-02-07 18:57:06.000000000 -0800
-+++ torque-1.2.0p1/src/gui/Ccode/Makefile.in 2005-06-30 16:03:14.000000000 -0700
-@@ -115,9 +115,9 @@
- build: $(TARGETS)
-
- install: build
-- -test -d $(XPBS_LIB)/bin || $(INSTALL) -d $(XPBS_LIB)/bin
-+ -test -d $(DESTDIR)$(XPBS_LIB)/bin || $(INSTALL) -d $(DESTDIR)$(XPBS_LIB)/bin
- for f in $(TARGETS); do \
-- $(INSTALL) -m 755 $$f $(XPBS_LIB)/bin; \
-+ $(INSTALL) -m 755 $$f $(DESTDIR)$(XPBS_LIB)/bin; \
- done
-
- DFLT_ACTION = $(CC) $(CFLAGS) $@.o -o $@ $(LIBRARIES)
-diff -urN torque-1.2.0p1.orig/src/gui/Makefile.in torque-1.2.0p1/src/gui/Makefile.in
---- torque-1.2.0p1.orig/src/gui/Makefile.in 2005-02-14 13:46:19.000000000 -0800
-+++ torque-1.2.0p1/src/gui/Makefile.in 2005-06-30 15:53:03.000000000 -0700
-@@ -133,34 +133,34 @@
- @MAKE_POSIX_PLUS@@echo Making in Ccode for xpbs; cd Ccode; $(MAKE) all
-
- install: build
-- test -d $(XPBS_LIB) || $(INSTALL) -m 755 -d $(XPBS_LIB)
-- test -d $(XPBS_LIB)/bitmaps || $(INSTALL) -m 755 -d $(XPBS_LIB)/bitmaps
-- test -d $(XPBS_LIB)/help || $(INSTALL) -m 755 -d $(XPBS_LIB)/help
-+ test -d $(DESTDIR)$(XPBS_LIB) || $(INSTALL) -m 755 -d $(DESTDIR)$(XPBS_LIB)
-+ test -d $(DESTDIR)$(XPBS_LIB)/bitmaps || $(INSTALL) -m 755 -d $(DESTDIR)$(XPBS_LIB)/bitmaps
-+ test -d $(DESTDIR)$(XPBS_LIB)/help || $(INSTALL) -m 755 -d $(DESTDIR)$(XPBS_LIB)/help
- #
- for f in $(srcdir)/bitmaps/*; do \
-- test -f $$f && $(INSTALL) -m 644 $$f $(XPBS_LIB)/bitmaps; \
-+ test -f $$f && $(INSTALL) -m 644 $$f $(DESTDIR)$(XPBS_LIB)/bitmaps; \
- done
- #
- for f in $(srcdir)/help/*.hlp; do \
-- $(INSTALL) -m 644 $$f $(XPBS_LIB)/help; \
-+ $(INSTALL) -m 644 $$f $(DESTDIR)$(XPBS_LIB)/help; \
- done
- #
- @cd Ccode; $(MAKE) install
- #
- for f in $(srcdir)/*.tcl $(srcdir)/*.tk; do \
-- $(INSTALL) -m 644 $$f $(XPBS_LIB); \
-+ $(INSTALL) -m 644 $$f $(DESTDIR)$(XPBS_LIB); \
- done
- #
- # install xpbs changing the location of libdir and appdefdir
- #
- @echo Install xpbs
-- $(INSTALL) -m 755 xpbs $(bindir)/xpbs
-+ $(INSTALL) -m 755 xpbs $(DESTDIR)$(bindir)/xpbs
- @chmod 755 $(bindir)/xpbs 2> /dev/null
- #
-- $(INSTALL) -m 755 buildindex $(XPBS_LIB)
-- $(INSTALL) -m 644 xpbsrc $(XPBS_LIB)
-+ $(INSTALL) -m 755 buildindex $(DESTDIR)$(XPBS_LIB)
-+ $(INSTALL) -m 644 xpbsrc $(DESTDIR)$(XPBS_LIB)
- #
-- cd $(XPBS_LIB) && ./buildindex $(XPBS_LIB) && chmod 644 tclIndex
-+ cd $(DESTDIR)$(XPBS_LIB) && ./buildindex $(DESTDIR)$(XPBS_LIB) && chmod 644 tclIndex
-
-
- distclean clean::
-diff -urN torque-1.2.0p1.orig/src/iff/Makefile.in torque-1.2.0p1/src/iff/Makefile.in
---- torque-1.2.0p1.orig/src/iff/Makefile.in 2005-02-07 18:57:06.000000000 -0800
-+++ torque-1.2.0p1/src/iff/Makefile.in 2005-06-30 16:13:54.000000000 -0700
-@@ -110,8 +110,8 @@
- build: $(TARGET)
-
- install: $(TARGET)
-- @$(INSTALL) -d -m 755 $(sbindir) && \
-- $(INSTALL) -m 4755 $(TARGET) $(sbindir)
-+ @$(INSTALL) -d -m 755 $(DESTDIR)$(sbindir) && \
-+ $(INSTALL) -m 4755 $(TARGET) $(DESTDIR)$(sbindir)
-
- pbs_iff: $(OBJS) $(PBS_LIBS)
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(PBS_LIBS) $(LIBS)
-diff -urN torque-1.2.0p1.orig/src/include/Makefile.in torque-1.2.0p1/src/include/Makefile.in
---- torque-1.2.0p1.orig/src/include/Makefile.in 2005-02-07 18:57:06.000000000 -0800
-+++ torque-1.2.0p1/src/include/Makefile.in 2005-06-30 15:53:38.000000000 -0700
-@@ -146,9 +146,9 @@
-
-
- install:
-- @$(INSTALL) -d -m 755 $(includedir) && \
-+ @$(INSTALL) -d -m 755 $(DESTDIR)$(includedir) && \
- for f in $(USERH); do \
-- $(INSTALL) -m 444 $$f $(includedir); \
-+ $(INSTALL) -m 444 $$f $(DESTDIR)$(includedir); \
- done
-
- clean::
-diff -urN torque-1.2.0p1.orig/src/mom_rcp/Makefile.in torque-1.2.0p1/src/mom_rcp/Makefile.in
---- torque-1.2.0p1.orig/src/mom_rcp/Makefile.in 2005-02-07 18:57:06.000000000 -0800
-+++ torque-1.2.0p1/src/mom_rcp/Makefile.in 2005-06-30 15:54:04.000000000 -0700
-@@ -111,8 +111,8 @@
- build: $(TARGET)
-
- install: $(TARGET)
-- $(INSTALL) -d $(sbindir)
-- $(INSTALL) -m 4755 $(TARGET) $(sbindir)
-+ $(INSTALL) -d $(DESTDIR)$(sbindir)
-+ $(INSTALL) -m 4755 $(TARGET) $(DESTDIR)$(sbindir)
-
- $(TARGET): $(OBJS)
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
-diff -urN torque-1.2.0p1.orig/src/resmom/Makefile.in torque-1.2.0p1/src/resmom/Makefile.in
---- torque-1.2.0p1.orig/src/resmom/Makefile.in 2005-02-07 18:57:07.000000000 -0800
-+++ torque-1.2.0p1/src/resmom/Makefile.in 2005-06-30 15:54:21.000000000 -0700
-@@ -142,8 +142,8 @@
- install: build
- $(PBS_MKDIRS) mom
- $(PBS_MKDIRS) aux
-- @$(INSTALL) -d -m 755 $(sbindir) && \
-- $(INSTALL) -m 700 $(TARGET) $(sbindir)
-+ @$(INSTALL) -d -m 755 $(DESTDIR)$(sbindir) && \
-+ $(INSTALL) -m 700 $(TARGET) $(DESTDIR)$(sbindir)
-
- pbs_mom: $(OBJS) $(PBSLIBS)
- $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(PBSLIBS) $(LIBS) $(MOMLIBS)
-diff -urN torque-1.2.0p1.orig/src/scheduler.basl/Makefile.in torque-1.2.0p1/src/scheduler.basl/Makefile.in
---- torque-1.2.0p1.orig/src/scheduler.basl/Makefile.in 2005-02-07 18:57:07.000000000 -0800
-+++ torque-1.2.0p1/src/scheduler.basl/Makefile.in 2005-06-30 15:50:37.000000000 -0700
-@@ -124,10 +124,10 @@
- build: $(TARGETS)
-
- install: build
-- $(INSTALL) -d -m 755 $(bindir) && \
-- $(INSTALL) -m 755 basl2c $(bindir) ; \
-- $(INSTALL) -d -m 755 $(sbindir) && \
-- $(INSTALL) -m 700 pbs_sched $(sbindir)
-+ $(INSTALL) -d -m 755 $(DESTDIR)$(bindir) && \
-+ $(INSTALL) -m 755 basl2c $(DESTDIR)$(bindir) ; \
-+ $(INSTALL) -d -m 755 $(DESTDIR)$(sbindir) && \
-+ $(INSTALL) -m 700 pbs_sched $(DESTDIR)$(sbindir)
-
- basl2c: $(OBJS_COMMON) $(OBJS_COMP)
- $(CC) $(CFLAGS) -o $@ $(OBJS_COMMON) $(OBJS_COMP) $(LIBRARIES)
-diff -urN torque-1.2.0p1.orig/src/scheduler.cc/Makefile.in torque-1.2.0p1/src/scheduler.cc/Makefile.in
---- torque-1.2.0p1.orig/src/scheduler.cc/Makefile.in 2005-02-07 18:57:07.000000000 -0800
-+++ torque-1.2.0p1/src/scheduler.cc/Makefile.in 2005-06-30 15:51:13.000000000 -0700
-@@ -123,8 +123,8 @@
-
- install: build
- @MAKE_POSIX_PLUS@@cd $(SCHD_BUILD) && $(MAKE) install
-- @$(INSTALL) -d -m 755 $(sbindir) && \
-- $(INSTALL) -m 700 $(TARGET) $(sbindir)
-+ @$(INSTALL) -d -m 755 $(DESTDIR)$(sbindir) && \
-+ $(INSTALL) -m 700 $(TARGET) $(DESTDIR)$(sbindir)
-
- $(TARGET): $(OBJS) $(SCHEDLIB)
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(SCHEDLIB) $(PBSLIBS) $(LIBS)
-diff -urN torque-1.2.0p1.orig/src/scheduler.cc/samples/cray_t3e/Makefile.in torque-1.2.0p1/src/scheduler.cc/samples/cray_t3e/Makefile.in
---- torque-1.2.0p1.orig/src/scheduler.cc/samples/cray_t3e/Makefile.in 2005-02-07 18:57:07.000000000 -0800
-+++ torque-1.2.0p1/src/scheduler.cc/samples/cray_t3e/Makefile.in 2005-06-30 17:02:28.000000000 -0700
-@@ -161,11 +161,11 @@
-
- install:: $(TARGET)
- @# a two step process is best to work around broken installs
-- $(INSTALL) -d $(libdir) && \
-- $(INSTALL) -m 644 $(TARGET) $(libdir)/$(TARGET)
-+ $(INSTALL) -d $(DESTDIR)$(libdir) && \
-+ $(INSTALL) -m 644 $(TARGET) $(DESTDIR)$(libdir)/$(TARGET)
- @for f in $(SCHD_CONFIGS); do \
-- test -f $(PBS_SERVER_HOME)/sched_priv/$$f || \
-- $(INSTALL) -m 644 $(srcdir)/$$f $(PBS_SERVER_HOME)/sched_priv; \
-+ test -f $(DESTDIR)$(PBS_SERVER_HOME)/sched_priv/$$f || \
-+ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(PBS_SERVER_HOME)/sched_priv; \
- done
-
- @mk_cleanup@
-diff -urN torque-1.2.0p1.orig/src/scheduler.cc/samples/dec_cluster/Makefile.in torque-1.2.0p1/src/scheduler.cc/samples/dec_cluster/Makefile.in
---- torque-1.2.0p1.orig/src/scheduler.cc/samples/dec_cluster/Makefile.in 2005-02-07 18:57:07.000000000 -0800
-+++ torque-1.2.0p1/src/scheduler.cc/samples/dec_cluster/Makefile.in 2005-06-30 17:02:47.000000000 -0700
-@@ -109,8 +109,8 @@
- install::
- @echo Installing scheduler config file
- @for f in $(SCHD_CONFIG); do \
-- test -f $(PBS_SERVER_HOME)/sched_priv/$$f || \
-- $(INSTALL) -m 644 $(srcdir)/$$f $(PBS_SERVER_HOME)/sched_priv; \
-+ test -f $(DESTDIR)$(PBS_SERVER_HOME)/sched_priv/$$f || \
-+ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(PBS_SERVER_HOME)/sched_priv; \
- done
-
- @mk_cleanup@
-diff -urN torque-1.2.0p1.orig/src/scheduler.cc/samples/fifo/Makefile.in torque-1.2.0p1/src/scheduler.cc/samples/fifo/Makefile.in
---- torque-1.2.0p1.orig/src/scheduler.cc/samples/fifo/Makefile.in 2005-02-07 18:57:07.000000000 -0800
-+++ torque-1.2.0p1/src/scheduler.cc/samples/fifo/Makefile.in 2005-06-30 17:03:00.000000000 -0700
-@@ -110,8 +110,8 @@
- install::
- @echo Installing other scheduler config files
- @for f in $(SCHD_CONFIGS); do \
-- test -f $(PBS_SERVER_HOME)/sched_priv/$$f || \
-- $(INSTALL) -m 644 $(srcdir)/$$f $(PBS_SERVER_HOME)/sched_priv; \
-+ test -f $(DESTDIR)$(PBS_SERVER_HOME)/sched_priv/$$f || \
-+ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(PBS_SERVER_HOME)/sched_priv; \
- done
-
- @mk_cleanup@
-diff -urN torque-1.2.0p1.orig/src/scheduler.cc/samples/msic_cluster/Makefile.in torque-1.2.0p1/src/scheduler.cc/samples/msic_cluster/Makefile.in
---- torque-1.2.0p1.orig/src/scheduler.cc/samples/msic_cluster/Makefile.in 2005-02-07 18:57:07.000000000 -0800
-+++ torque-1.2.0p1/src/scheduler.cc/samples/msic_cluster/Makefile.in 2005-06-30 17:03:13.000000000 -0700
-@@ -130,8 +130,8 @@
- install::
- @echo Installing scheduler config file
- @for f in $(SCHD_CONFIG); do \
-- test -f $(PBS_SERVER_HOME)/sched_priv/$$f || \
-- $(INSTALL) -m 644 $(srcdir)/$$f $(PBS_SERVER_HOME)/sched_priv; \
-+ test -f $(DESTDIR)$(PBS_SERVER_HOME)/sched_priv/$$f || \
-+ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(PBS_SERVER_HOME)/sched_priv; \
- done
-
- @mk_cleanup@
-diff -urN torque-1.2.0p1.orig/src/scheduler.cc/samples/sgi_origin/Makefile.in torque-1.2.0p1/src/scheduler.cc/samples/sgi_origin/Makefile.in
---- torque-1.2.0p1.orig/src/scheduler.cc/samples/sgi_origin/Makefile.in 2005-02-07 18:57:07.000000000 -0800
-+++ torque-1.2.0p1/src/scheduler.cc/samples/sgi_origin/Makefile.in 2005-06-30 17:03:30.000000000 -0700
-@@ -165,11 +165,11 @@
-
- install:: $(TARGET)
- @# a two step process is best to work around broken installs
-- $(INSTALL) -d $(libdir) && \
-- $(INSTALL) -m 644 $(TARGET) $(libdir)/$(TARGET)
-+ $(INSTALL) -d $(DESTDIR)$(libdir) && \
-+ $(INSTALL) -m 644 $(TARGET) $(DESTDIR)$(libdir)/$(TARGET)
- @for f in $(SCHD_CONFIGS); do \
-- test -f $(PBS_SERVER_HOME)/sched_priv/$$f || \
-- $(INSTALL) -m 644 $(srcdir)/$$f $(PBS_SERVER_HOME)/sched_priv; \
-+ test -f $(DESTDIR)$(PBS_SERVER_HOME)/sched_priv/$$f || \
-+ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(PBS_SERVER_HOME)/sched_priv; \
- done
-
- @mk_cleanup@
-diff -urN torque-1.2.0p1.orig/src/scheduler.cc/samples/umn_cluster/Makefile.in torque-1.2.0p1/src/scheduler.cc/samples/umn_cluster/Makefile.in
---- torque-1.2.0p1.orig/src/scheduler.cc/samples/umn_cluster/Makefile.in 2005-02-07 18:57:07.000000000 -0800
-+++ torque-1.2.0p1/src/scheduler.cc/samples/umn_cluster/Makefile.in 2005-06-30 17:03:46.000000000 -0700
-@@ -120,8 +120,8 @@
- install::
- @echo Installing scheduler config file
- @for f in $(SCHD_CONFIG); do \
-- test -f $(PBS_SERVER_HOME)/sched_priv/$$f || \
-- $(INSTALL) -m 644 $(srcdir)/$$f $(PBS_SERVER_HOME)/sched_priv; \
-+ test -f $(DESTDIR)$(PBS_SERVER_HOME)/sched_priv/$$f || \
-+ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(PBS_SERVER_HOME)/sched_priv; \
- done
-
- qschedule:
-diff -urN torque-1.2.0p1.orig/src/scheduler.tcl/Makefile.in torque-1.2.0p1/src/scheduler.tcl/Makefile.in
---- torque-1.2.0p1.orig/src/scheduler.tcl/Makefile.in 2005-02-07 18:57:07.000000000 -0800
-+++ torque-1.2.0p1/src/scheduler.tcl/Makefile.in 2005-06-30 15:54:37.000000000 -0700
-@@ -115,8 +115,8 @@
-
-
- install: build
-- @$(INSTALL) -d -m 755 $(sbindir) && \
-- $(INSTALL) -m 700 $(TARGET) $(sbindir)
-+ @$(INSTALL) -d -m 755 $(DESTDIR)$(sbindir) && \
-+ $(INSTALL) -m 700 $(TARGET) $(DESTDIR)$(sbindir)
-
- $(TARGET): $(OBJS)
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBRARIES)
-diff -urN torque-1.2.0p1.orig/src/server/Makefile.in torque-1.2.0p1/src/server/Makefile.in
---- torque-1.2.0p1.orig/src/server/Makefile.in 2005-02-07 18:57:06.000000000 -0800
-+++ torque-1.2.0p1/src/server/Makefile.in 2005-06-30 15:49:27.000000000 -0700
-@@ -168,8 +168,8 @@
- install: build
- $(PBS_MKDIRS) server
- $(PBS_MKDIRS) aux
-- @$(INSTALL) -d -m 755 $(sbindir) && \
-- $(INSTALL) -m 700 $(TARGET) $(sbindir)
-+ @$(INSTALL) -d -m 755 $(DESTDIR)$(sbindir) && \
-+ $(INSTALL) -m 700 $(TARGET) $(DESTDIR)$(sbindir)
-
- pbs_server: $(OBJS) $(PBSLIBS)
- $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(PBSLIBS) $(LIBS)
-diff -urN torque-1.2.0p1.orig/src/tools/Makefile.in torque-1.2.0p1/src/tools/Makefile.in
---- torque-1.2.0p1.orig/src/tools/Makefile.in 2005-02-07 18:57:06.000000000 -0800
-+++ torque-1.2.0p1/src/tools/Makefile.in 2005-06-30 15:55:05.000000000 -0700
-@@ -130,9 +130,9 @@
- build: $(TARGETS)
-
- install: build
-- test -d $(bindir) || $(INSTALL) -m 755 -d $(bindir)
-+ test -d $(bindir) || $(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
- for f in $(TARGETS); do \
-- $(INSTALL) -m 755 $$f $(bindir); \
-+ $(INSTALL) -m 755 $$f $(DESTDIR)$(bindir); \
- done
- @MAKE_POSIX_PLUS@@if test -n "$(TK_VER)"; then { cd xpbsmon && $(MAKE) install;} ; fi
-
-diff -urN torque-1.2.0p1.orig/src/tools/xpbsmon/Makefile.in torque-1.2.0p1/src/tools/xpbsmon/Makefile.in
---- torque-1.2.0p1.orig/src/tools/xpbsmon/Makefile.in 2005-02-14 13:47:13.000000000 -0800
-+++ torque-1.2.0p1/src/tools/xpbsmon/Makefile.in 2005-06-30 15:56:11.000000000 -0700
-@@ -129,33 +129,33 @@
-
-
- install: build
-- test -d $(XPBSMON_LIB) || $(INSTALL) -m 755 -d $(XPBSMON_LIB)
-- test -d $(XPBSMON_LIB)/bitmaps || \
-- $(INSTALL) -m 755 -d $(XPBSMON_LIB)/bitmaps
-- test -d $(XPBSMON_LIB)/help || \
-- $(INSTALL) -m 755 -d $(XPBSMON_LIB)/help
-+ test -d $(DESTDIR)$(XPBSMON_LIB) || $(INSTALL) -m 755 -d $(DESTDIR)$(XPBSMON_LIB)
-+ test -d $(DESTDIR)$(XPBSMON_LIB)/bitmaps || \
-+ $(INSTALL) -m 755 -d $(DESTDIR)$(XPBSMON_LIB)/bitmaps
-+ test -d $(DESTDIR)$(XPBSMON_LIB)/help || \
-+ $(INSTALL) -m 755 -d $(DESTDIR)$(XPBSMON_LIB)/help
- #
- for f in $(srcdir)/bitmaps/*; do \
-- test -f $$f && $(INSTALL) -m 644 $$f $(XPBSMON_LIB)/bitmaps; \
-+ test -f $$f && $(INSTALL) -m 644 $$f $(DESTDIR)$(XPBSMON_LIB)/bitmaps; \
- done
- #
- for f in $(srcdir)/help/*.hlp; do \
-- $(INSTALL) -m 644 $$f $(XPBSMON_LIB)/help; \
-+ $(INSTALL) -m 644 $$f $(DESTDIR)$(XPBSMON_LIB)/help; \
- done
- #
- for f in $(srcdir)/*.tcl $(srcdir)/*.tk; do \
-- $(INSTALL) -m 644 $$f $(XPBSMON_LIB); \
-+ $(INSTALL) -m 644 $$f $(DESTDIR)$(XPBSMON_LIB); \
- done
- #
- # install xpbsmon changing the location of pbs_tclsh and libdir
- #
-- $(INSTALL) -m 755 xpbsmon $(bindir)/xpbsmon
-- chmod 755 $(bindir)/xpbsmon 2> /dev/null
-+ $(INSTALL) -m 755 xpbsmon $(DESTDIR)$(bindir)/xpbsmon
-+ chmod 755 $(DESTDIR)$(bindir)/xpbsmon 2> /dev/null
- #
-- $(INSTALL) -m 755 buildindex $(XPBSMON_LIB)
-- $(INSTALL) -m 644 xpbsmonrc $(XPBSMON_LIB)
-+ $(INSTALL) -m 755 buildindex $(DESTDIR)$(XPBSMON_LIB)
-+ $(INSTALL) -m 644 xpbsmonrc $(DESTDIR)$(XPBSMON_LIB)
- #
-- cd $(XPBSMON_LIB) && ./buildindex $(XPBSMON_LIB) && chmod 644 tclIndex
-+ cd $(DESTDIR)$(XPBSMON_LIB) && ./buildindex $(DESTDIR)$(XPBSMON_LIB) && chmod 644 tclIndex
-
- clean::
- $(RM) tclIndex; exit 0
---- torque-1.2.0p1/buildutils/pbs_mkdirs.in.old 2005-07-04 17:55:12.000000000 -0700
-+++ torque-1.2.0p1/buildutils/pbs_mkdirs.in 2005-07-04 17:57:37.000000000 -0700
-@@ -325,6 +325,7 @@
- # if default already exists, leave alone
-
- # solaris fails on '-e', use '-f'
-+ PBS_DEFAULT_FILE="${DESTDIR}${PBS_DEFAULT_FILE}"
- if [ ! -f $PBS_DEFAULT_FILE ]; then
- rm -f $PBS_DEFAULT_FILE > /dev/null 2>&1
- echo $PBS_DEFAULT_SERVER > $PBS_DEFAULT_FILE && \
---- torque-1.2.0p1/buildutils/pbs_mkdirs.in.old 2005-07-04 18:02:05.000000000 -0700
-+++ torque-1.2.0p1/buildutils/pbs_mkdirs.in 2005-07-04 18:03:56.000000000 -0700
-@@ -189,8 +189,8 @@
- echo $idv_dvarname exists and is not a directory 1>&2
- return 1
- elif [ -d $idv_dname ] ; then
-- chmod $idv_mode $idv_dname > /dev/null 2>&1
-- test -n "$idv_owner" && chown $idv_owner $idv_dname > /dev/null 2>&1
-+ chmod $idv_mode ${DESTDIR}$idv_dname > /dev/null 2>&1
-+ test -n "$idv_owner" && chown $idv_owner ${DESTDIR}$idv_dname > /dev/null 2>&1
- return 0
- elif [ ! -d $idv_dname ] ; then
- test -n "$verbose" && echo Creating $idv_dname
-@@ -208,6 +208,7 @@
- check_env()
- {
- test -n "$verbose" && echo Making environment file
-+ PBS_ENVIRON="${DESTDIR}${PBS_ENVIRON}"
- if [ ! -f $PBS_ENVIRON ] ; then
- install_dir `dirname $PBS_ENVIRON`
- echo "PATH=/bin:/usr/bin" > $PBS_ENVIRON
diff --git a/sys-cluster/torque/files/1.2.0_p1-respect-ldflags.patch b/sys-cluster/torque/files/1.2.0_p1-respect-ldflags.patch
deleted file mode 100644
index 8bdab247646e..000000000000
--- a/sys-cluster/torque/files/1.2.0_p1-respect-ldflags.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-diff -urN torque-1.2.0p1.orig/src/iff/Makefile.in torque-1.2.0p1/src/iff/Makefile.in
---- torque-1.2.0p1.orig/src/iff/Makefile.in 2005-02-07 18:57:06.000000000 -0800
-+++ torque-1.2.0p1/src/iff/Makefile.in 2005-02-20 00:54:58.444042744 -0800
-@@ -114,7 +114,7 @@
- $(INSTALL) -m 4755 $(TARGET) $(sbindir)
-
- pbs_iff: $(OBJS) $(PBS_LIBS)
-- $(CC) $(CFLAGS) -o $@ $(OBJS) $(PBS_LIBS) $(LIBS)
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(PBS_LIBS) $(LIBS)
-
- @mk_cleanup@
- @mk_tail@
-diff -urN torque-1.2.0p1.orig/src/mom_rcp/Makefile.in torque-1.2.0p1/src/mom_rcp/Makefile.in
---- torque-1.2.0p1.orig/src/mom_rcp/Makefile.in 2005-02-07 18:57:06.000000000 -0800
-+++ torque-1.2.0p1/src/mom_rcp/Makefile.in 2005-02-20 00:55:10.253247472 -0800
-@@ -115,7 +115,7 @@
- $(INSTALL) -m 4755 $(TARGET) $(sbindir)
-
- $(TARGET): $(OBJS)
-- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
-
-
- # needed for make depend
-diff -urN torque-1.2.0p1.orig/src/scheduler.basl/Makefile.in torque-1.2.0p1/src/scheduler.basl/Makefile.in
---- torque-1.2.0p1.orig/src/scheduler.basl/Makefile.in 2005-02-07 18:57:07.000000000 -0800
-+++ torque-1.2.0p1/src/scheduler.basl/Makefile.in 2005-02-20 01:11:02.760444368 -0800
-@@ -133,7 +133,7 @@
- $(CC) $(CFLAGS) -o $@ $(OBJS_COMMON) $(OBJS_COMP) $(LIBRARIES)
-
- pbs_sched: $(OBJS_COMMON) $(OBJS_SCHED)
-- $(CC) $(CFLAGS) -o $@ $(OBJS_COMMON) $(OBJS_SCHED) $(LIBRARIES)
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS_COMMON) $(OBJS_SCHED) $(LIBRARIES)
-
- pbs_sched.o: $(SCHD_SRC) $(srcdir)/af_system.h $(srcdir)/af_server.h basl2c
- @if expr $(SCHD_SRC) : '.*\.basl$$' > /dev/null 2>&1; then \
-diff -urN torque-1.2.0p1.orig/src/scheduler.cc/Makefile.in torque-1.2.0p1/src/scheduler.cc/Makefile.in
---- torque-1.2.0p1.orig/src/scheduler.cc/Makefile.in 2005-02-07 18:57:07.000000000 -0800
-+++ torque-1.2.0p1/src/scheduler.cc/Makefile.in 2005-02-20 01:11:17.845151144 -0800
-@@ -127,7 +127,7 @@
- $(INSTALL) -m 700 $(TARGET) $(sbindir)
-
- $(TARGET): $(OBJS) $(SCHEDLIB)
-- $(CC) $(CFLAGS) -o $@ $(OBJS) $(SCHEDLIB) $(PBSLIBS) $(LIBS)
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(SCHEDLIB) $(PBSLIBS) $(LIBS)
-
- distclean::
- -(cd $(SCHD_BUILD) && $(MAKE) $@; exit 0) > /dev/null 2>&1
-diff -urN torque-1.2.0p1.orig/src/scheduler.tcl/Makefile.in torque-1.2.0p1/src/scheduler.tcl/Makefile.in
---- torque-1.2.0p1.orig/src/scheduler.tcl/Makefile.in 2005-02-07 18:57:07.000000000 -0800
-+++ torque-1.2.0p1/src/scheduler.tcl/Makefile.in 2005-02-20 01:11:37.748125432 -0800
-@@ -119,7 +119,7 @@
- $(INSTALL) -m 700 $(TARGET) $(sbindir)
-
- $(TARGET): $(OBJS)
-- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBRARIES)
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LIBRARIES)
-
- @mk_cleanup@
- @mk_tail@
diff --git a/sys-cluster/torque/files/digest-torque-1.2.0_p1 b/sys-cluster/torque/files/digest-torque-1.2.0_p1
deleted file mode 100644
index d072639ecf37..000000000000
--- a/sys-cluster/torque/files/digest-torque-1.2.0_p1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7555d85cf2bacda2725e04d1efcf70ff torque-1.2.0p1.tar.gz 2202860
diff --git a/sys-cluster/torque/files/digest-torque-1.2.0_p1-r1 b/sys-cluster/torque/files/digest-torque-1.2.0_p1-r1
deleted file mode 100644
index d072639ecf37..000000000000
--- a/sys-cluster/torque/files/digest-torque-1.2.0_p1-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7555d85cf2bacda2725e04d1efcf70ff torque-1.2.0p1.tar.gz 2202860
diff --git a/sys-cluster/torque/files/digest-torque-1.2.0_p1-r2 b/sys-cluster/torque/files/digest-torque-1.2.0_p1-r2
deleted file mode 100644
index d072639ecf37..000000000000
--- a/sys-cluster/torque/files/digest-torque-1.2.0_p1-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7555d85cf2bacda2725e04d1efcf70ff torque-1.2.0p1.tar.gz 2202860
diff --git a/sys-cluster/torque/files/digest-torque-1.2.0_p1-r3 b/sys-cluster/torque/files/digest-torque-1.2.0_p1-r3
deleted file mode 100644
index f05fca975f41..000000000000
--- a/sys-cluster/torque/files/digest-torque-1.2.0_p1-r3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 7555d85cf2bacda2725e04d1efcf70ff torque-1.2.0p1.tar.gz 2202860
-MD5 d92cc9e8b1d5af38457abc6137bf1b4d torque-1.2.0_p1-respect-destdir.patch.gz 3456
-MD5 a1b825dcf759b97ca78cd5a00d5ecbf0 torque-1.2.0_p1-respect-ldflags.patch.gz 717
diff --git a/sys-cluster/torque/torque-1.2.0_p1-r1.ebuild b/sys-cluster/torque/torque-1.2.0_p1-r1.ebuild
deleted file mode 100644
index a3a3549c86d7..000000000000
--- a/sys-cluster/torque/torque-1.2.0_p1-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/torque-1.2.0_p1-r1.ebuild,v 1.1 2005/07/05 01:11:23 robbat2 Exp $
-
-inherit flag-o-matic eutils
-
-MY_P="${P/_}"
-DESCRIPTION="A freely downloadable cluster resource manager and queuing system based on OpenPBS"
-HOMEPAGE="http://www.supercluster.org/torque/"
-SRC_URI="http://supercluster.org/downloads/torque/${MY_P}.tar.gz"
-LICENSE="openpbs"
-
-SLOT="0"
-KEYWORDS="~x86 ~amd64 ~ppc"
-IUSE="doc tcltk X"
-
-# ed is used by makedepend-sh
-DEPEND="virtual/libc
- X? ( virtual/x11 )
- tcltk? ( dev-lang/tcl )
- sys-apps/ed"
-RDEPEND="net-misc/openssh"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- append-ldflags -Wl,-z,now
-
- unpack ${A}
- EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${PV}-respect-ldflags.patch || die "Failed to fix ldflags"
- EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${PV}-respect-destdir.patch || die "Failed to fix Makefiles for DESTDIR"
-
- # Tries to use absolute /tmp/ for tempfiles which fails miserably.
- sed -i -e "s|/tmp/|\${TMPDIR}/|g" ${S}/buildutils/makedepend-sh || die "Failed TMPDIR change"
-}
-
-src_compile() {
-# local myconf
-# use X || myconf="--disable-gui"
-# use tcltk && myconf="${myconf} --with-tcl"
-# use doc && myconf="${myconf} --enable-docs"
-
- ./configure \
- $(use_enable X gui) \
- $(use_with tcltk tcl) \
- $(use_enable doc docs) \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --libdir="\${exec_prefix}/$(get_libdir)/torque" \
- --enable-server \
- --enable-mom \
- --enable-clients \
- --set-server-home=/usr/spool/PBS \
- --set-environ=/etc/pbs_environment || die "./configure failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc INSTALL PBS_License.txt README.torque Release_Notes
- exeinto /etc/init.d ; newexe ${FILESDIR}/pbs.rc pbs
-}
diff --git a/sys-cluster/torque/torque-1.2.0_p1-r2.ebuild b/sys-cluster/torque/torque-1.2.0_p1-r2.ebuild
deleted file mode 100644
index 2c5cd033ce2d..000000000000
--- a/sys-cluster/torque/torque-1.2.0_p1-r2.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/torque-1.2.0_p1-r2.ebuild,v 1.6 2005/07/12 09:36:19 robbat2 Exp $
-
-inherit flag-o-matic eutils
-
-MY_P="${P/_}"
-DESCRIPTION="A freely downloadable cluster resource manager and queuing system based on OpenPBS"
-HOMEPAGE="http://www.supercluster.org/torque/"
-SRC_URI="http://supercluster.org/downloads/torque/${MY_P}.tar.gz"
-LICENSE="openpbs"
-
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="doc tcltk X"
-PROVIDE="virtual/pbs"
-
-# ed is used by makedepend-sh
-DEPEND_COMMON="virtual/libc
- X? ( virtual/x11 )
- tcltk? ( dev-lang/tcl )
- !virtual/pbs"
-DEPEND="${DEPEND_COMMON}
- sys-apps/ed"
-RDEPEND="${DEPEND_COMMON}
- net-misc/openssh"
-PDEPEND="sys-cluster/openpbs-common"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- append-ldflags -Wl,-z,now
-
- unpack ${A}
- EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${PV}-respect-ldflags.patch || die "Failed to fix ldflags"
- EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${PV}-respect-destdir.patch || die "Failed to fix Makefiles for DESTDIR"
-
- # Tries to use absolute /tmp/ for tempfiles which fails miserably.
- sed -i -e "s|/tmp/|\${TMPDIR}/|g" ${S}/buildutils/makedepend-sh || die "Failed TMPDIR change"
-}
-
-src_compile() {
-# local myconf
-# use X || myconf="--disable-gui"
-# use tcltk && myconf="${myconf} --with-tcl"
-# use doc && myconf="${myconf} --enable-docs"
-
- ./configure \
- $(use_enable X gui) \
- $(use_with tcltk tcl) \
- $(use_enable doc docs) \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --libdir="\${exec_prefix}/$(get_libdir)/pbs" \
- --enable-server \
- --enable-mom \
- --enable-clients \
- --set-server-home=/usr/spool/PBS \
- --set-environ=/etc/pbs_environment || die "./configure failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc INSTALL PBS_License.txt README.torque Release_Notes
- # Init scripts come from openpbs-common
- #newinitd ${FILESDIR}/pbs-init.d pbs
- #newconfd ${FILESDIR}/pbs-conf.d pbs
- dosym /usr/$(get_libdir)/pbs/libpbs.a /usr/$(get_libdir)/libpbs.a
-
-}
-
-pkg_postinst() {
- # this file MUST exist for PBS/Torque to work
- touch ${ROOT}/etc/pbs_environment
- # likewise for these directories
- mkdir -p ${ROOT}/usr/spool/PBS/{aux,spool,mom_{priv/jobs,logs},sched_{priv,logs},server_priv/{jobs,queues,accounting}}
-}
diff --git a/sys-cluster/torque/torque-1.2.0_p1-r3.ebuild b/sys-cluster/torque/torque-1.2.0_p1-r3.ebuild
deleted file mode 100644
index 0995ed70b59d..000000000000
--- a/sys-cluster/torque/torque-1.2.0_p1-r3.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/torque-1.2.0_p1-r3.ebuild,v 1.3 2005/08/11 18:09:57 robbat2 Exp $
-
-inherit flag-o-matic eutils
-
-MY_P="${P/_}"
-DESCRIPTION="A freely downloadable cluster resource manager and queuing system based on OpenPBS"
-HOMEPAGE="http://www.supercluster.org/torque/"
-SRC_URI="http://supercluster.org/downloads/torque/${MY_P}.tar.gz
- mirror://gentoo/${P}-respect-destdir.patch.gz
- mirror://gentoo/${P}-respect-ldflags.patch.gz"
-LICENSE="openpbs"
-
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="doc tcltk X"
-PROVIDE="virtual/pbs"
-
-# ed is used by makedepend-sh
-DEPEND_COMMON="virtual/libc
- X? ( virtual/x11 )
- tcltk? ( dev-lang/tcl )
- !virtual/pbs"
-DEPEND="${DEPEND_COMMON}
- sys-apps/ed"
-RDEPEND="${DEPEND_COMMON}
- net-misc/openssh"
-PDEPEND=">=sys-cluster/openpbs-common-1.1.0"
-
-S="${WORKDIR}/${MY_P}"
-
-SPOOL_LOCATION="/usr/spool" # this needs to move to /var later on
-PBS_SERVER_HOME="${SPOOL_LOCATION}/PBS/"
-
-src_unpack() {
- append-ldflags -Wl,-z,now
-
- unpack ${A}
- EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${P}-respect-ldflags.patch.gz || die "Failed to fix ldflags"
- EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${P}-respect-destdir.patch.gz || die "Failed to fix Makefiles for DESTDIR"
-
- # Tries to use absolute /tmp/ for tempfiles which fails miserably.
- sed -i -e "s|/tmp/|\${TMPDIR}/|g" ${S}/buildutils/makedepend-sh || die "Failed TMPDIR change"
-}
-
-src_compile() {
-# local myconf
-# use X || myconf="--disable-gui"
-# use tcltk && myconf="${myconf} --with-tcl"
-# use doc && myconf="${myconf} --enable-docs"
-
- ./configure \
- $(use_enable X gui) \
- $(use_with tcltk tcl) \
- $(use_enable doc docs) \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --libdir="\${exec_prefix}/$(get_libdir)/pbs" \
- --enable-server \
- --enable-mom \
- --enable-clients \
- --set-server-home=${PBS_SERVER_HOME} \
- --set-environ=/etc/pbs_environment || die "./configure failed"
-
- emake || die "emake failed"
-}
-
-# WARNING
-# OpenPBS is extremely stubborn about directory permissions. Sometimes it will
-# just fall over with the error message, but in some spots it will just ignore
-# you and fail strangely. Likewise it also barfs on our .keep files!
-pbs_createspool() {
- root="$1"
- s="${SPOOL_LOCATION}"
- h="${PBS_SERVER_HOME}"
- sp="${h}/server_priv"
-
- for a in \
- 0755:${h} 0755:${h}/aux 0700:${h}/checkpoint \
- 0755:${h}/mom_logs 0751:${h}/mom_priv 0751:${h}/mom_priv/jobs \
- 0755:${h}/sched_logs 0750:${h}/sched_priv \
- 0755:${h}/server_logs \
- 0750:${h}/server_priv 0755:${h}/server_priv/accounting \
- 0750:${h}/server_priv/acl_groups 0750:${h}/server_priv/acl_hosts \
- 0750:${h}/server_priv/acl_svr 0750:${h}/server_priv/acl_users \
- 0750:${h}/server_priv/jobs 0750:${h}/server_priv/queues \
- 1777:${h}/spool 1777:${h}/undelivered ;
- do
- d="${a/*:}"
- m="${a/:*}"
- if [ ! -d "${d}" ]; then
- install -d -m${m} ${root}${d}
- else
- chmod ${m} ${root}${d}
- fi
- done
-}
-
-src_install() {
- # Make directories first
- pbs_createspool "${D}"
-
- make DESTDIR=${D} install || die
-
- dodoc INSTALL PBS_License.txt README.torque Release_Notes
- # Init scripts come from openpbs-common
- #newinitd ${FILESDIR}/pbs-init.d pbs
- #newconfd ${FILESDIR}/pbs-conf.d pbs
- dosym /usr/$(get_libdir)/pbs/libpbs.a /usr/$(get_libdir)/libpbs.a
-
- # this file MUST exist for PBS/Torque to work
- # but try to preserve any customatizations that the user has made
- dodir /etc
- if [ -f ${ROOT}/etc/pbs_environment ]; then
- cp ${ROOT}/etc/pbs_environment ${D}/etc/pbs_environment
- else
- touch ${D}/etc/pbs_environment
- fi
-
- if [ -f "${ROOT}/usr/spool/PBS/server_name" ]; then
- cp "${ROOT}/usr/spool/PBS/server_name" "${D}/usr/spool/PBS/server_name"
- fi
-}
-
-pkg_postinst() {
- # make sure the damn directories exist
- pbs_createspool "${ROOT}"
-}
diff --git a/sys-cluster/torque/torque-1.2.0_p1.ebuild b/sys-cluster/torque/torque-1.2.0_p1.ebuild
deleted file mode 100644
index f2376ccd7e60..000000000000
--- a/sys-cluster/torque/torque-1.2.0_p1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/torque-1.2.0_p1.ebuild,v 1.2 2005/06/10 20:13:41 robbat2 Exp $
-
-inherit flag-o-matic
-
-MY_P="${P/_}"
-DESCRIPTION="A freely downloadable cluster resource manager and queuing system based on OpenPBS"
-HOMEPAGE="http://www.supercluster.org/torque/"
-SRC_URI="http://supercluster.org/downloads/torque/${MY_P}.tar.gz"
-LICENSE="openpbs"
-
-SLOT="0"
-KEYWORDS="~x86 ~amd64 ~ppc"
-IUSE="doc tcltk X"
-
-# ed is used by makedepend-sh
-DEPEND="virtual/libc
- X? ( virtual/x11 )
- tcltk? ( dev-lang/tcl )
- sys-apps/ed"
-RDEPEND="net-misc/openssh"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- append-ldflags -Wl,-z,now
-
- unpack ${A}
- epatch ${FILESDIR}/${PV}-respect-ldflags.patch || die "Failed to fix ldflags"
-
- # this thing doesn't use make install, but rather it's own install script
- # fix it here so the install dirs are set to the ${D} directory
- cd ${S}/buildutils && \
- mv pbs_mkdirs.in pbs_mkdirs.in-orig && \
- sed -e "s|prefix=@prefix@|prefix=\${D}@prefix@| ; \
- s|PBS_SERVER_HOME=@PBS_SERVER_HOME@|PBS_SERVER_HOME=\${D}@PBS_SERVER_HOME@| ; \
- s|PBS_DEFAULT_FILE=@PBS_DEFAULT_FILE@|PBS_DEFAULT_FILE=\${D}@PBS_DEFAULT_FILE@| ; \
- s|PBS_ENVIRON=@PBS_ENVIRON@|PBS_ENVIRON=\${D}@PBS_ENVIRON@|" \
- pbs_mkdirs.in-orig > pbs_mkdirs.in || \
- die 'Failed to set build to use $D'
-
- # Tries to use absolute /tmp/ for tempfiles which fails miserably.
- sed -i -e "s|/tmp/|\${TMPDIR}/|g" makedepend-sh || die "Failed TMPDIR change"
-}
-
-src_compile() {
-# local myconf
-# use X || myconf="--disable-gui"
-# use tcltk && myconf="${myconf} --with-tcl"
-# use doc && myconf="${myconf} --enable-docs"
-
-# ./configure ${myconf} \
- ./configure \
- $(use_enable X gui) \
- $(use_with tcltk tcl) \
- $(use_enable doc docs) \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --enable-server \
- --enable-mom \
- --enable-clients \
- --set-server-home=/usr/spool/PBS \
- --set-environ=/etc/pbs_environment || die "./configure failed"
-
- emake || die
-}
-
-src_install() {
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- PBS_SERVER_HOME=${D}/usr/spool/PBS \
- install || die
-
- dodoc INSTALL PBS_License.txt README.torque Release_Notes
- exeinto /etc/init.d ; newexe ${FILESDIR}/pbs.rc pbs
-}