Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/htcondor/files/, sys-cluster/htcondor/
Date: Wed, 30 Dec 2020 23:24:37
Message-Id: 1609370574.45cd6c9621fa2179c614f07223e01cb8002d95aa.epsilon-0@gentoo
1 commit: 45cd6c9621fa2179c614f07223e01cb8002d95aa
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Wed Dec 30 23:22:54 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Wed Dec 30 23:22:54 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=45cd6c96
7
8 sys-cluster/htcondor: drop broken package
9
10 really broken, needs systemd only or major changes
11 to make it work with elogind (which are not
12 supported by upstream)
13 Needs a lot of dependencies not in tree
14
15 Suggested replacement sys-cluster/slurm
16 or use binary packages or local compilations
17
18 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
19
20 ...ser-s-condor_config-last-rather-than-firs.patch | 90 --------
21 sys-cluster/htcondor/files/condor.confd | 2 -
22 sys-cluster/htcondor/files/condor.initd | 63 -----
23 .../htcondor/files/condor_config.generic.patch | 257 ---------------------
24 sys-cluster/htcondor/files/condor_config.local | 11 -
25 .../files/condor_shadow_dlopen-8.0.0.patch | 11 -
26 .../files/fix_sandbox_violations-8.0.0.patch | 31 ---
27 ...sers-condor_config-last-rather-than-first.patch | 29 ---
28 .../htcondor-8.3.2-condor_config.generic.patch | 47 ----
29 .../htcondor-8.3.2-packaging_directories.patch | 36 ---
30 .../files/htcondor-8.3.2-shadow_dlopen.patch | 14 --
31 .../files/packaging_directories-8.0.0.patch | 32 ---
32 sys-cluster/htcondor/htcondor-8.0.0.ebuild | 114 ---------
33 sys-cluster/htcondor/htcondor-8.3.2.ebuild | 112 ---------
34 sys-cluster/htcondor/metadata.xml | 34 ---
35 15 files changed, 883 deletions(-)
36
37 diff --git a/sys-cluster/htcondor/files/0001-Apply-the-user-s-condor_config-last-rather-than-firs.patch b/sys-cluster/htcondor/files/0001-Apply-the-user-s-condor_config-last-rather-than-firs.patch
38 deleted file mode 100644
39 index 0664fe764..000000000
40 --- a/sys-cluster/htcondor/files/0001-Apply-the-user-s-condor_config-last-rather-than-firs.patch
41 +++ /dev/null
42 @@ -1,90 +0,0 @@
43 ---- a/src/condor_utils/condor_config.cpp
44 -+++ b/src/condor_utils/condor_config.cpp
45 -@@ -110,6 +110,7 @@ void check_params();
46 - // External variables
47 - extern int ConfigLineNo;
48 - } /* End extern "C" */
49 -+bool find_user_file(std::string &);
50 -
51 - // Global variables
52 - BUCKET *ConfigTab[TABLESIZE];
53 -@@ -654,6 +655,14 @@ real_config(char* host, int wantsQuiet, bool wantExtraInfo)
54 - if(dirlist) { free(dirlist); dirlist = NULL; }
55 - if(newdirlist) { free(newdirlist); newdirlist = NULL; }
56 -
57 -+ // Now, insert overrides from the user config file
58 -+ std::string file_location;
59 -+ if (find_user_file(file_location))
60 -+ {
61 -+ process_config_source( file_location.c_str(), "user local source", host, false );
62 -+ local_config_sources.append(file_location.c_str());
63 -+ }
64 -+
65 - // Now, insert any macros defined in the environment.
66 - char **my_environ = GetEnviron();
67 - for( int i = 0; my_environ[i]; i++ ) {
68 -@@ -996,6 +1005,38 @@ find_global()
69 - }
70 -
71 -
72 -+// Find user-specific location of a file
73 -+// Returns true if found, and puts the location in the file_location argument.
74 -+// If not found, returns false. The contents of file_location are undefined.
75 -+bool
76 -+find_user_file(std::string &file_location)
77 -+{
78 -+#ifdef UNIX
79 -+ // $HOME/.condor/condor_config
80 -+ struct passwd *pw = getpwuid( geteuid() );
81 -+ std::stringstream ss;
82 -+ if ( can_switch_ids() || !pw || !pw->pw_dir ) {
83 -+ return false;
84 -+ }
85 -+ ss << pw->pw_dir << "/." << myDistro->Get() << "/" << myDistro->Get() << "_config";
86 -+ file_location = ss.str();
87 -+
88 -+ int fd;
89 -+ if ((fd = safe_open_wrapper_follow(file_location.c_str(), O_RDONLY)) < 0) {
90 -+ return false;
91 -+ } else {
92 -+ close(fd);
93 -+ dprintf(D_FULLDEBUG, "Reading condor configuration from '%s'\n", file_location.c_str());
94 -+ }
95 -+
96 -+ return true;
97 -+#else
98 -+ // To get rid of warnings...
99 -+ file_location = "";
100 -+ return false;
101 -+#endif
102 -+}
103 -+
104 - // Find location of specified file
105 - char*
106 - find_file(const char *env_name, const char *file_name)
107 -@@ -1052,21 +1093,15 @@ find_file(const char *env_name, const char *file_name)
108 - if (!config_source) {
109 - // List of condor_config file locations we'll try to open.
110 - // As soon as we find one, we'll stop looking.
111 -- const int locations_length = 4;
112 -+ const int locations_length = 3;
113 - MyString locations[locations_length];
114 -- // 1) $HOME/.condor/condor_config
115 -- struct passwd *pw = getpwuid( geteuid() );
116 -- if ( !can_switch_ids() && pw && pw->pw_dir ) {
117 -- formatstr( locations[0], "%s/.%s/%s", pw->pw_dir, myDistro->Get(),
118 -- file_name );
119 -- }
120 - // 2) /etc/condor/condor_config
121 -- locations[1].formatstr( "/etc/%s/%s", myDistro->Get(), file_name );
122 -+ locations[0].formatstr( "/etc/%s/%s", myDistro->Get(), file_name );
123 - // 3) /usr/local/etc/condor_config (FreeBSD)
124 -- locations[2].formatstr( "/usr/local/etc/%s", file_name );
125 -+ locations[1].formatstr( "/usr/local/etc/%s", file_name );
126 - if (tilde) {
127 - // 4) ~condor/condor_config
128 -- locations[3].formatstr( "%s/%s", tilde, file_name );
129 -+ locations[2].formatstr( "%s/%s", tilde, file_name );
130 - }
131 -
132 - int ctr;
133
134 diff --git a/sys-cluster/htcondor/files/condor.confd b/sys-cluster/htcondor/files/condor.confd
135 deleted file mode 100644
136 index bbb955811..000000000
137 --- a/sys-cluster/htcondor/files/condor.confd
138 +++ /dev/null
139 @@ -1,2 +0,0 @@
140 -CONDOR_CENTRAL_MANAGER="$(cat /etc/condor/central_manager)"
141 -CONDOR_OPTS=""
142
143 diff --git a/sys-cluster/htcondor/files/condor.initd b/sys-cluster/htcondor/files/condor.initd
144 deleted file mode 100644
145 index a9904536f..000000000
146 --- a/sys-cluster/htcondor/files/condor.initd
147 +++ /dev/null
148 @@ -1,63 +0,0 @@
149 -#!/sbin/openrc-run
150 -# Copyright 1999-2017 Gentoo Foundation
151 -# Distributed under the terms of the GNU General Public License v2
152 -
153 -CONDOR_USER=condor
154 -
155 -CONDOR_CONFIG_LOCAL=$(condor_config_val LOCAL_CONFIG_FILE)
156 -CONDOR_MASTER=$(condor_config_val MASTER)
157 -CONDOR_RUN=$(condor_config_val RUN)
158 -CONDOR_LOCK=$(condor_config_val LOCK)
159 -
160 -depend() {
161 - need net
162 - use logger
163 -}
164 -
165 -setup_central_manager() {
166 - # delete current condor host, replace it with central manager
167 - sed -e '/CONDOR_HOST/d' \
168 - /etc/condor/condor_config.local > ${CONDOR_CONFIG_LOCAL}
169 - echo "CONDOR_HOST=${CONDOR_CENTRAL_MANAGER}" >> ${CONDOR_CONFIG_LOCAL}
170 - chown ${CONDOR_USER}:${CONDOR_USER} ${CONDOR_CONFIG_LOCAL}
171 -}
172 -
173 -# set up condor ccb if only private networking is available (assumes ifconfig)
174 -setup_ccb() {
175 - /sbin/ifconfig | grep "inet addr" | egrep -v "addr:127.|addr:192.|addr:172.|addr:10." > /dev/null
176 - retval=$?
177 - if [ ${retval} -ne 0 ]; then # all addresses are local
178 - echo \
179 - "$(/sbin/ifconfig | grep "inet addr" | grep -v 127. | awk '{print $2}' | sed s/addr://)" \
180 - "$(hostname)" \
181 - "# Added for Condor CCB" \
182 - >> /etc/hosts
183 - fi
184 -}
185 -
186 -cleanup_ccb() {
187 - sed -i '/# Added for Condor CCB/d' /etc/hosts
188 -}
189 -
190 -start() {
191 - ebegin "Starting condor"
192 - setup_central_manager
193 - setup_ccb
194 - start-stop-daemon --start --quiet --user ${CONDOR_USER} \
195 - --pidfile ${CONDOR_RUN}/condor.pid \
196 - --exec ${CONDOR_MASTER} -- ${CONDOR_OPTS}
197 - retval=$?
198 - [ $retval -eq 0 ] && touch /var/lock/subsys/condor
199 - eend ${retval}
200 -}
201 -
202 -stop() {
203 - ebegin "Stopping condor"
204 - cleanup_ccb
205 - start-stop-daemon --stop --quiet \
206 - --pidfile ${CONDOR_RUN}/condor.pid \
207 - --exec ${CONDOR_MASTER}
208 - retval=$?
209 - [ ${retval} -eq 0 ] && rm -f /var/lock/subsys/condor
210 - eend ${retval}
211 -}
212
213 diff --git a/sys-cluster/htcondor/files/condor_config.generic.patch b/sys-cluster/htcondor/files/condor_config.generic.patch
214 deleted file mode 100644
215 index 5a986227c..000000000
216 --- a/sys-cluster/htcondor/files/condor_config.generic.patch
217 +++ /dev/null
218 @@ -1,257 +0,0 @@
219 ---- a/src/condor_examples/condor_config.generic
220 -+++ b/src/condor_examples/condor_config.generic
221 -@@ -1,12 +1,31 @@
222 - ######################################################################
223 -+######################################################################
224 -+### ###
225 -+### N O T I C E: D O N O T E D I T T H I S F I L E ###
226 -+### ###
227 -+### Customization should be done via the LOCAL_CONFIG_DIR. ###
228 -+### ###
229 -+######################################################################
230 -+######################################################################
231 -+
232 -+
233 -+######################################################################
234 - ##
235 - ## condor_config
236 - ##
237 - ## This is the global configuration file for condor. Any settings
238 --## made here may potentially be overridden in the local configuration
239 --## file. KEEP THAT IN MIND! To double-check that a variable is
240 --## getting set from the configuration file that you expect, use
241 --## condor_config_val -v <variable name>
242 -+## found here * * s h o u l d b e c u s t o m i z e d i n
243 -+## a l o c a l c o n f i g u r a t i o n f i l e. * *
244 -+##
245 -+## The local configuration files are located in LOCAL_CONFIG_DIR, set
246 -+## below.
247 -+##
248 -+## For a basic configuration, you may only want to start by
249 -+## customizing CONDOR_HOST and DAEMON_LIST.
250 -+##
251 -+## Note: To double-check where a configuration variable is set from
252 -+## you can use condor_config_val -v -config <variable name>,
253 -+## e.g. condor_config_val -v -config CONDOR_HOST.
254 - ##
255 - ## The file is divided into four main parts:
256 - ## Part 1: Settings you likely want to customize
257 -@@ -53,7 +72,7 @@
258 - ## Pathnames:
259 - ##--------------------------------------------------------------------
260 - ## Where have you installed the bin, sbin and lib condor directories?
261 --RELEASE_DIR = /usr/local/condor
262 -+RELEASE_DIR = /usr
263 -
264 - ## Where is the local condor directory for each host?
265 - ## This is where the local config file(s), logs and
266 -@@ -61,17 +80,20 @@
267 - LOCAL_DIR = $(TILDE)
268 - #LOCAL_DIR = $(RELEASE_DIR)/hosts/$(HOSTNAME)
269 -
270 --## Where is the machine-specific local config file for each host?
271 --LOCAL_CONFIG_FILE = $(LOCAL_DIR)/condor_config.local
272 --#LOCAL_CONFIG_FILE = $(RELEASE_DIR)/etc/$(HOSTNAME).local
273 -+## Looking for LOCAL_CONFIG_FILE? You will not find it here. Instead
274 -+## put a file in the LOCAL_CONFIG_DIR below. It is a more extensible
275 -+## means to manage configuration. The order in which configuration
276 -+## files are read from the LOCAL_CONFIG_DIR is lexicographic. For
277 -+## instance, config in 00MyConfig will be overridden by config in
278 -+## 97MyConfig.
279 -
280 - ## Where are optional machine-specific local config files located?
281 - ## Config files are included in lexicographic order.
282 --LOCAL_CONFIG_DIR = $(LOCAL_DIR)/config
283 --#LOCAL_CONFIG_DIR = $(LOCAL_DIR)/config
284 -+## No default.
285 -+LOCAL_CONFIG_DIR = $(ETC)/config.d
286 -
287 - ## Blacklist for file processing in the LOCAL_CONFIG_DIR
288 --## LOCAL_CONFIG_DIR_EXCLUDE_REGEXP = ^((\..*)|(.*~)|(#.*)|(.*\.rpmsave)|(.*\.rpmnew))$
289 -+LOCAL_CONFIG_DIR_EXCLUDE_REGEXP = ^((\..*)|(.*~)|(#.*)|(.*\.rpmsave)|(.*\.rpmnew))$
290 -
291 - ## If the local config file is not present, is it an error?
292 - ## WARNING: This is a potential security issue.
293 -@@ -409,7 +431,22 @@
294 - ## condor account, it's probably condor. Otherwise, it's whatever
295 - ## you've set in the CONDOR_IDS environment variable. See the Admin
296 - ## manual for details on this.
297 --LOCK = $(LOG)
298 -+LOCK = /var/lock/condor
299 -+
300 -+# Condor allows for creating surrogate lock files that always live on
301 -+# local disk. This is useful for the times when Condor would otherwise
302 -+# lock a file on a network filesystem, such as a UserLog.
303 -+# CREATE_LOCKS_ON_LOCAL_DISK controls this feature, and
304 -+# LOCAL_DISK_LOCK_DIR controls where the lock files are created. The
305 -+# local dir must have tmp-like permissions (1777), because multiple
306 -+# users, e.g. via condor_submit or condor_dagman, will need to
307 -+# add/remove lock files.
308 -+# NOTE: This will not provide proper locking if a shared file is
309 -+# simultaneously accessed from multiple machines. However, that is not
310 -+# a common event. One example where it is possible is remote
311 -+# submission with condor_submit -remote.
312 -+#CREATE_LOCKS_ON_LOCAL_DISK = TRUE
313 -+LOCAL_DISK_LOCK_DIR = $(LOCK)/local
314 -
315 - ## If you don't use a fully qualified name in your /etc/hosts file
316 - ## (or NIS, etc.) for either your official hostname or as an alias,
317 -@@ -475,7 +512,8 @@
318 - ## the execute machine and just make sure the two strings match. The
319 - ## default for this setting is False, since it is more secure this
320 - ## way.
321 --#TRUST_UID_DOMAIN = False
322 -+## Default is False
323 -+TRUST_UID_DOMAIN = True
324 -
325 - ## If you would like to be informed in near real-time via condor_q when
326 - ## a vanilla/standard/java job is in a suspension state, set this attribute to
327 -@@ -514,8 +552,9 @@
328 - ## just disable it).
329 - #NEGOTIATOR_IGNORE_USER_PRIORITIES = False
330 -
331 --## This is a list of libraries containing ClassAd plug-in functions.
332 --#CLASSAD_USER_LIBS =
333 -+## These are the directories used to locate classad plug-in functions
334 -+#CLASSAD_SCRIPT_DIRECTORY =
335 -+#CLASSAD_LIB_PATH =
336 -
337 - ## This setting tells Condor whether to delegate or copy GSI X509
338 - ## credentials when sending them over the wire between daemons.
339 -@@ -605,6 +644,9 @@
340 - MAX_HDFS_LOG = 1000000
341 - HDFS_DEBUG =
342 -
343 -+MAX_TRIGGERD_LOG = 1000000
344 -+TRIGGERD_DEBUG =
345 -+
346 - # High Availability Logs
347 - MAX_HAD_LOG = 1000000
348 - HAD_DEBUG =
349 -@@ -932,14 +974,18 @@ TESTINGMODE_CLAIM_WORKLIFE = 1200
350 - ######################################################################
351 -
352 - ## Pathnames
353 --LOG = $(LOCAL_DIR)/log
354 -+LOG = /var/log/condor
355 - SPOOL = $(LOCAL_DIR)/spool
356 - EXECUTE = $(LOCAL_DIR)/execute
357 - BIN = $(RELEASE_DIR)/bin
358 - LIB = $(RELEASE_DIR)/lib
359 --INCLUDE = $(RELEASE_DIR)/include
360 -+INCLUDE = $(RELEASE_DIR)/include/condor
361 - SBIN = $(RELEASE_DIR)/sbin
362 --LIBEXEC = $(RELEASE_DIR)/libexec
363 -+SHARE = $(RELEASE_DIR)/share/condor
364 -+RUN = /var/run/condor
365 -+DATA = $(SPOOL)
366 -+ETC = /etc/condor
367 -+LIBEXEC = $(RELEASE_DIR)/libexec/condor
368 -
369 - ## If you leave HISTORY undefined (comment it out), no history file
370 - ## will be created.
371 -@@ -963,6 +1009,7 @@ HAD_LOG = $(LOG)/HADLog
372 - REPLICATION_LOG = $(LOG)/ReplicationLog
373 - TRANSFERER_LOG = $(LOG)/TransfererLog
374 - HDFS_LOG = $(LOG)/HDFSLog
375 -+TRIGGERD_LOG = $(LOG)/TriggerLog
376 -
377 - ## Lock files
378 - SHADOW_LOCK = $(LOCK)/ShadowLock
379 -@@ -1084,7 +1131,7 @@ DAEMON_LIST = MASTER, STARTD, SCHEDD
380 - #MASTER, STARTD, SCHEDD, KBDD, COLLECTOR, NEGOTIATOR, EVENTD, \
381 - #VIEW_SERVER, CONDOR_VIEW, VIEW_COLLECTOR, HAWKEYE, CREDD, HAD, \
382 - #DBMSD, QUILL, JOB_ROUTER, ROOSTER, LEASEMANAGER, HDFS, SHARED_PORT, \
383 --#DEFRAG
384 -+#DEFRAG TRIGGERD
385 -
386 -
387 - ## Where are the binaries for these daemons?
388 -@@ -1094,7 +1141,6 @@ SCHEDD = $(SBIN)/condor_schedd
389 - KBDD = $(SBIN)/condor_kbdd
390 - NEGOTIATOR = $(SBIN)/condor_negotiator
391 - COLLECTOR = $(SBIN)/condor_collector
392 --CKPT_SERVER = $(SBIN)/condor_ckpt_server
393 - STARTER_LOCAL = $(SBIN)/condor_starter
394 - JOB_ROUTER = $(LIBEXEC)/condor_job_router
395 - ROOSTER = $(LIBEXEC)/condor_rooster
396 -@@ -1102,6 +1148,7 @@ HDFS = $(SBIN)/condor_hdfs
397 - SHARED_PORT = $(LIBEXEC)/condor_shared_port
398 - TRANSFERER = $(LIBEXEC)/condor_transferer
399 - DEFRAG = $(LIBEXEC)/condor_defrag
400 -+TRIGGERD = $(sbin)/condor_triggerd
401 -
402 - ## When the master starts up, it can place it's address (IP and port)
403 - ## into a file. This way, tools running on the local machine don't
404 -@@ -1178,11 +1225,13 @@ PREEN_ARGS = -m -r
405 - ##--------------------------------------------------------------------
406 - ## Address to which Condor will send a weekly e-mail with output of
407 - ## condor_status.
408 --#CONDOR_DEVELOPERS = condor-admin@×××××××.edu
409 -+## Default is condor-admin@×××××××.edu
410 -+CONDOR_DEVELOPERS = NONE
411 -
412 - ## Global Collector to periodically advertise basic information about
413 - ## your pool.
414 --#CONDOR_DEVELOPERS_COLLECTOR = condor.cs.wisc.edu
415 -+## Default is condor.cs.wisc.edu
416 -+CONDOR_DEVELOPERS_COLLECTOR = NONE
417 -
418 - ## When the collector starts up, it can place it's address (IP and port)
419 - ## into a file. This way, tools running on the local machine don't
420 -@@ -1199,6 +1248,7 @@ COLLECTOR_ADDRESS_FILE = $(LOG)/.collector_address
421 - ## Determine if the Negotiator will honor SlotWeight attributes, which
422 - ## may be used to give a slot greater weight when calculating usage.
423 - #NEGOTIATOR_USE_SLOT_WEIGHTS = True
424 -+NEGOTIATOR_USE_SLOT_WEIGHTS = True
425 -
426 -
427 - ## How often the Negotaitor starts a negotiation cycle, defined in
428 -@@ -1668,7 +1718,7 @@ QUEUE_SUPER_USERS = root, condor
429 - ## Such as when when Condor is running as a service.
430 - ## /s is delete subdirectories
431 - ## /c is continue on error
432 --WINDOWS_RMDIR = $(SBIN)\condor_rmdir.exe
433 -+#WINDOWS_RMDIR = $(SBIN)\condor_rmdir.exe
434 - #WINDOWS_RMDIR_OPTIONS = /s /c
435 -
436 - ##--------------------------------------------------------------------
437 -@@ -1689,13 +1739,15 @@ PROCD = $(SBIN)/condor_procd
438 - # UNIX); the name will be something like:
439 - # \\.\pipe\condor_procd
440 - #
441 --PROCD_ADDRESS = $(LOCK)/procd_pipe
442 -+PROCD_ADDRESS = $(RUN)/procd_pipe
443 -
444 --# Note that in other Condor daemons, turning on D_PROCFAMILY will
445 --# result in that daemon logging all of its interactions with the
446 --# ProcD.
447 -+# The procd currently uses a very simplistic logging system. Since this
448 -+# log will not be rotated like other Condor logs, it is only recommended
449 -+# to set PROCD_LOG when attempting to debug a problem. In other Condor
450 -+# daemons, turning on D_PROCFAMILY will result in that daemon logging
451 -+# all of its interactions with the ProcD.
452 - #
453 --PROCD_LOG = $(LOG)/ProcLog
454 -+#PROCD_LOG = $(LOG)/ProcLog
455 -
456 - # This is the maximum period that the procd will use for taking
457 - # snapshots (the actual period may be lower if a condor daemon registers
458 -@@ -1788,7 +1840,7 @@ JAVA = /usr/bin/java
459 - ## them here. However, do not remove the existing entries, as Condor
460 - ## needs them.
461 -
462 --JAVA_CLASSPATH_DEFAULT = $(LIB) $(LIB)/scimark2lib.jar .
463 -+JAVA_CLASSPATH_DEFAULT = $(SHARE) $(SHARE)/scimark2lib.jar .
464 -
465 - ## JAVA_CLASSPATH_ARGUMENT describes the command-line parameter
466 - ## used to introduce a new classpath:
467 -@@ -2458,7 +2510,7 @@ KBDD_ADDRESS_FILE = $(LOG)/.kbdd_address
468 - #SSH_TO_JOB_SSHD_ARGS = "-i -e -f %f"
469 -
470 - # sshd configuration template used by condor_ssh_to_job_sshd_setup.
471 --#SSH_TO_JOB_SSHD_CONFIG_TEMPLATE = $(LIB)/condor_ssh_to_job_sshd_config_template
472 -+SSH_TO_JOB_SSHD_CONFIG_TEMPLATE = $(ETC)/condor_ssh_to_job_sshd_config_template
473 -
474 - # Path to ssh-keygen
475 - #SSH_TO_JOB_SSH_KEYGEN = /usr/bin/ssh-keygen
476
477 diff --git a/sys-cluster/htcondor/files/condor_config.local b/sys-cluster/htcondor/files/condor_config.local
478 deleted file mode 100644
479 index cada046bd..000000000
480 --- a/sys-cluster/htcondor/files/condor_config.local
481 +++ /dev/null
482 @@ -1,11 +0,0 @@
483 -CONDOR_DEVELOPERS = NONE
484 -CONDOR_HOST = $(FULL_HOSTNAME)
485 -COLLECTOR_NAME = Personal Condor
486 -START = TRUE
487 -SUSPEND = FALSE
488 -CONTINUE = TRUE
489 -PREEMPT = FALSE
490 -KILL = FALSE
491 -DAEMON_LIST = COLLECTOR, MASTER, NEGOTIATOR, SCHEDD, STARTD
492 -NEGOTIATOR_INTERVAL = 20
493 -TRUST_UID_DOMAIN = TRUE
494
495 diff --git a/sys-cluster/htcondor/files/condor_shadow_dlopen-8.0.0.patch b/sys-cluster/htcondor/files/condor_shadow_dlopen-8.0.0.patch
496 deleted file mode 100644
497 index 50a4556da..000000000
498 --- a/sys-cluster/htcondor/files/condor_shadow_dlopen-8.0.0.patch
499 +++ /dev/null
500 @@ -1,11 +0,0 @@
501 ---- build/cmake/CondorConfigure.cmake.orig 2013-06-17 19:49:16.067968000 +0100
502 -+++ build/cmake/CondorConfigure.cmake 2013-06-17 19:51:27.105306000 +0100
503 -@@ -704,7 +704,7 @@
504 - set (CONDOR_TOOL_LIBS "condor_utils;${CLASSADS_FOUND};${VOMS_FOUND};${GLOBUS_FOUND};${EXPAT_FOUND};${PCRE_FOUND};${COREDUMPER_FOUND}")
505 - set (CONDOR_SCRIPT_PERMS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
506 - if (LINUX OR DARWIN)
507 -- set (CONDOR_LIBS_FOR_SHADOW "condor_utils_s;classads;${VOMS_FOUND};${GLOBUS_FOUND};${EXPAT_FOUND};${PCRE_FOUND};${OPENSSL_FOUND};${KRB5_FOUND};${POSTGRESQL_FOUND};${COREDUMPER_FOUND};${IOKIT_FOUND};${COREFOUNDATION_FOUND}")
508 -+ set (CONDOR_LIBS_FOR_SHADOW "condor_utils_s;classads;${VOMS_FOUND};${GLOBUS_FOUND};${EXPAT_FOUND};${PCRE_FOUND};${OPENSSL_FOUND};${KRB5_FOUND};${POSTGRESQL_FOUND};${COREDUMPER_FOUND};${IOKIT_FOUND};${COREFOUNDATION_FOUND};dl")
509 - if (DARWIN)
510 - set (CONDOR_LIBS_FOR_SHADOW "${CONDOR_LIBS_FOR_SHADOW};resolv" )
511 - endif (DARWIN)
512 \ No newline at end of file
513
514 diff --git a/sys-cluster/htcondor/files/fix_sandbox_violations-8.0.0.patch b/sys-cluster/htcondor/files/fix_sandbox_violations-8.0.0.patch
515 deleted file mode 100644
516 index cb4629993..000000000
517 --- a/sys-cluster/htcondor/files/fix_sandbox_violations-8.0.0.patch
518 +++ /dev/null
519 @@ -1,31 +0,0 @@
520 ---- src/condor_scripts/CMakeLists.txt.orig 2013-06-17 23:02:02.815939000 +0100
521 -+++ src/condor_scripts/CMakeLists.txt 2013-06-17 23:02:34.476727000 +0100
522 -@@ -27,9 +27,6 @@
523 - install ( FILES condor_configure DESTINATION ${C_SBIN} PERMISSIONS ${CONDOR_SCRIPT_PERMS} )
524 - install ( FILES condor_configure DESTINATION ${C_SBIN} RENAME condor_install PERMISSIONS ${CONDOR_SCRIPT_PERMS} )
525 - install ( FILES condor_configure DESTINATION ${C_SBIN} RENAME bosco_install PERMISSIONS ${CONDOR_SCRIPT_PERMS} )
526 -- install ( CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink ./sbin/bosco_install \${CMAKE_INSTALL_PREFIX}/bosco_install)" )
527 -- install ( CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink ./sbin/condor_install \${CMAKE_INSTALL_PREFIX}/condor_install)" )
528 -- install ( CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink ./sbin/condor_configure \${CMAKE_INSTALL_PREFIX}/condor_configure)" )
529 - endif(WANT_FULL_DEPLOYMENT)
530 -
531 - install ( FILES condor_ssh sshd.sh DESTINATION ${C_LIBEXEC} PERMISSIONS ${CONDOR_SCRIPT_PERMS} )
532 ---- src/condor_tools/CMakeLists.txt.orig 2013-06-17 22:50:20.459572000 +0100
533 -+++ src/condor_tools/CMakeLists.txt 2013-06-17 22:52:59.841733000 +0100
534 -@@ -102,13 +102,13 @@
535 - if ( LINUX AND NOT CONDOR_PACKAGE_BUILD )
536 - set( SRC_DIR ${CMAKE_SOURCE_DIR} )
537 - set( BIN_DIR ${CMAKE_BINARY_DIR} )
538 -- install( CODE "execute_process(COMMAND mkdir -p ${CMAKE_INSTALL_PREFIX}/lib/condor)" )
539 -+ install( CODE "execute_process(COMMAND mkdir -p \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/lib/condor)" )
540 - install( CODE "execute_process(COMMAND ${SRC_DIR}/src/condor_scripts/print-libs ${BIN_DIR}/src/condor_tools/condor_version ${SRC_DIR}/src/condor_scripts/syslib-patterns
541 -- COMMAND xargs -isrc cp src ${CMAKE_INSTALL_PREFIX}/lib/condor
542 -+ COMMAND xargs -isrc cp src \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/lib/condor
543 - )" )
544 - # This is required for opensuse, where the system's libssl and
545 - # libcrypto files don't have owner write permission.
546 -- install( CODE "execute_process(COMMAND chmod -R u+w ${CMAKE_INSTALL_PREFIX}/lib/condor/)" )
547 -+ install( CODE "execute_process(COMMAND chmod -R u+w \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/lib/condor/)" )
548 - endif()
549 -
550 - ############################################################
551
552 diff --git a/sys-cluster/htcondor/files/htcondor-8.3.2-Apply-the-users-condor_config-last-rather-than-first.patch b/sys-cluster/htcondor/files/htcondor-8.3.2-Apply-the-users-condor_config-last-rather-than-first.patch
553 deleted file mode 100644
554 index f906ec89e..000000000
555 --- a/sys-cluster/htcondor/files/htcondor-8.3.2-Apply-the-users-condor_config-last-rather-than-first.patch
556 +++ /dev/null
557 @@ -1,29 +0,0 @@
558 -Apply the users condor_config last, rather than first.
559 -Ported patch from htcondor-8.0.0 to 8.3.2
560 -
561 -Patch by Marius Brehler.
562 ---- src/condor_utils/condor_config.cpp
563 -+++ src/condor_utils/condor_config.cpp
564 -@@ -1454,18 +1454,14 @@ find_file(const char *env_name, const ch
565 - if (!config_source) {
566 - // List of condor_config file locations we'll try to open.
567 - // As soon as we find one, we'll stop looking.
568 -- const int locations_length = 4;
569 -+ const int locations_length = 3;
570 - MyString locations[locations_length];
571 -- // 1) $HOME/.condor/condor_config
572 -- // $HOME/.condor/condor_config was added for BOSCO and never used, We are removing it in 8.3.1, but may put it back if users complain.
573 -- //find_user_file(locations[0], file_name, false);
574 -- // 2) /etc/condor/condor_config
575 -- locations[1].formatstr( "/etc/%s/%s", myDistro->Get(), file_name );
576 -+ locations[0].formatstr( "/etc/%s/%s", myDistro->Get(), file_name );
577 - // 3) /usr/local/etc/condor_config (FreeBSD)
578 -- locations[2].formatstr( "/usr/local/etc/%s", file_name );
579 -+ locations[1].formatstr( "/usr/local/etc/%s", file_name );
580 - if (tilde) {
581 - // 4) ~condor/condor_config
582 -- locations[3].formatstr( "%s/%s", tilde, file_name );
583 -+ locations[2].formatstr( "%s/%s", tilde, file_name );
584 - }
585 -
586 - int ctr;
587
588 diff --git a/sys-cluster/htcondor/files/htcondor-8.3.2-condor_config.generic.patch b/sys-cluster/htcondor/files/htcondor-8.3.2-condor_config.generic.patch
589 deleted file mode 100644
590 index 7b6d337aa..000000000
591 --- a/sys-cluster/htcondor/files/htcondor-8.3.2-condor_config.generic.patch
592 +++ /dev/null
593 @@ -1,47 +0,0 @@
594 -Adjust the generic condor_config to Gentoo's needs.
595 -Ported patch from htcondor-8.0.0 to 8.3.2
596 -
597 -Patch by Marius Brehler.
598 ---- b/src/condor_examples/condor_config.generic
599 -+++ a/src/condor_examples/condor_config.generic
600 -@@ -19,7 +19,7 @@
601 - ######################################################################
602 -
603 - ## Where have you installed the bin, sbin and lib condor directories?
604 --RELEASE_DIR = /usr/local/condor
605 -+RELEASE_DIR = /usr
606 -
607 - ## Where is the local condor directory for each host? This is where the local config file(s), logs and
608 - ## spool/execute directories are located. this is the default for Linux and Unix systems.
609 -@@ -27,18 +27,22 @@ RELEASE_DIR = /usr/local/condor
610 - ## this is the default on Windows sytems
611 - #LOCAL_DIR = $(RELEASE_DIR)
612 -
613 --## Where is the machine-specific local config file for each host?
614 --LOCAL_CONFIG_FILE = $(LOCAL_DIR)/condor_config.local
615 --## If your configuration is on a shared file system, then this might be a better default
616 --#LOCAL_CONFIG_FILE = $(RELEASE_DIR)/etc/$(HOSTNAME).local
617 -+## Looking for LOCAL_CONFIG_FILE? You will not find it here. Instead
618 -+## put a file in the LOCAL_CONFIG_DIR below. It is a more extensible
619 -+## means to manage configuration. The order in which configuration
620 -+## files are read from the LOCAL_CONFIG_DIR is lexicographic. For
621 -+## instance, config in 00MyConfig will be overridden by config in
622 -+## 97MyConfig.
623 - ## If the local config file is not present, is it an error? (WARNING: This is a potential security issue.)
624 --#REQUIRE_LOCAL_CONFIG_FILE = true
625 -+REQUIRE_LOCAL_CONFIG_FILE = false
626 -
627 --## The normal way to do configuration with RPMs is to read all of the
628 --## files in a given directory that don't match a regex as configuration files.
629 -+## Where are optional machine-specific local config files located?
630 - ## Config files are read in lexicographic order.
631 --LOCAL_CONFIG_DIR = $(LOCAL_DIR)/config
632 --#LOCAL_CONFIG_DIR_EXCLUDE_REGEXP = ^((\..*)|(.*~)|(#.*)|(.*\.rpmsave)|(.*\.rpmnew))$
633 -+## No default.
634 -+LOCAL_CONFIG_DIR = $(ETC)/config.d
635 -+
636 -+## Blacklist for file processing in the LOCAL_CONFIG_DIR
637 -+LOCAL_CONFIG_DIR_EXCLUDE_REGEXP = ^((\..*)|(.*~)|(#.*)|(.*\.rpmsave)|(.*\.rpmnew))$
638 -
639 - ## Use a host-based security policy. By default CONDOR_HOST and the local machine will be allowed
640 - use SECURITY : HOST_BASED
641
642 diff --git a/sys-cluster/htcondor/files/htcondor-8.3.2-packaging_directories.patch b/sys-cluster/htcondor/files/htcondor-8.3.2-packaging_directories.patch
643 deleted file mode 100644
644 index 8acd7c7e0..000000000
645 --- a/sys-cluster/htcondor/files/htcondor-8.3.2-packaging_directories.patch
646 +++ /dev/null
647 @@ -1,36 +0,0 @@
648 -Adjust the package directories.
649 -Ported patch from htcondor-8.0.0 to 8.3.2
650 -
651 -Patch by Marius Brehler.
652 ---- b/build/cmake/CondorPackageConfig.cmake
653 -+++ a/build/cmake/CondorPackageConfig.cmake
654 -@@ -406,6 +406,29 @@ elseif( ${OS_NAME} STREQUAL "LINUX" AND
655 - set(CMAKE_INSTALL_PREFIX "")
656 - set(CPACK_SET_DESTDIR "ON")
657 -
658 -+ else()
659 -+
660 -+ #Directory overrides
661 -+ set( C_BIN usr/bin )
662 -+ set( C_LIB usr/lib\${LIB_SUFFIX}/condor )
663 -+ set( C_LIB_PUBLIC usr/lib\${LIB_SUFFIX} )
664 -+ set( C_LIB32 usr/lib\${LIB_SUFFIX}/condor )
665 -+ set( C_SBIN usr/sbin )
666 -+ set( C_INCLUDE usr/include/condor )
667 -+ set( C_INCLUDE_PUBLIC usr/include )
668 -+ set( C_MAN usr/share/man )
669 -+ set( C_SRC usr/src)
670 -+ set( C_SQL usr/share/condor/sql)
671 -+ set( C_INIT etc/init.d )
672 -+ set( C_ETC etc/condor )
673 -+ set( C_CONFIGD etc/condor/config.d )
674 -+
675 -+ set( C_ETC_EXAMPLES usr/share/doc/htcondor-${VERSION}/etc/examples )
676 -+ set( C_SHARE_EXAMPLES usr/share/doc/htcondor-${VERSION} )
677 -+ set( C_DOC usr/share/doc/htcondor-${VERSION} )
678 -+ set( C_LIBEXEC usr/lib\${LIB_SUFFIX}/condor/libexec )
679 -+ set( C_SYSCONFIG etc/default )
680 -+
681 - endif()
682 -
683 - set( EXTERNALS_LIB "${C_LIB}" )
684
685 diff --git a/sys-cluster/htcondor/files/htcondor-8.3.2-shadow_dlopen.patch b/sys-cluster/htcondor/files/htcondor-8.3.2-shadow_dlopen.patch
686 deleted file mode 100644
687 index 010adbd55..000000000
688 --- a/sys-cluster/htcondor/files/htcondor-8.3.2-shadow_dlopen.patch
689 +++ /dev/null
690 @@ -1,14 +0,0 @@
691 -Ported patch from htcondor-8.0.0 to 8.3.2
692 -
693 -Patch by Marius Brehler.
694 --- b/build/cmake/CondorConfigure.cmake
695 -+++ a/build/cmake/CondorConfigure.cmake
696 -@@ -841,7 +841,7 @@ set (CONDOR_LIBS "condor_utils;${RT_FOUN
697 - set (CONDOR_TOOL_LIBS "condor_utils;${RT_FOUND};${CLASSADS_FOUND};${SECURITY_LIBS};${PCRE_FOUND};${COREDUMPER_FOUND}")
698 - set (CONDOR_SCRIPT_PERMS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
699 - if (LINUX OR DARWIN)
700 -- set (CONDOR_LIBS_FOR_SHADOW "condor_utils_s;classads;${SECURITY_LIBS};${RT_FOUND};${PCRE_FOUND};${OPENSSL_FOUND};${KRB5_FOUND};${POSTGRESQL_FOUND};${COREDUMPER_FOUND};${IOKIT_FOUND};${COREFOUNDATION_FOUND}")
701 -+ set (CONDOR_LIBS_FOR_SHADOW "condor_utils_s;classads;${SECURITY_LIBS};${RT_FOUND};${PCRE_FOUND};${OPENSSL_FOUND};${KRB5_FOUND};${POSTGRESQL_FOUND};${COREDUMPER_FOUND};${IOKIT_FOUND};${COREFOUNDATION_FOUND};dl")
702 - if (DARWIN)
703 - set (CONDOR_LIBS_FOR_SHADOW "${CONDOR_LIBS_FOR_SHADOW};resolv" )
704 - endif (DARWIN)
705
706 diff --git a/sys-cluster/htcondor/files/packaging_directories-8.0.0.patch b/sys-cluster/htcondor/files/packaging_directories-8.0.0.patch
707 deleted file mode 100644
708 index d0882644c..000000000
709 --- a/sys-cluster/htcondor/files/packaging_directories-8.0.0.patch
710 +++ /dev/null
711 @@ -1,32 +0,0 @@
712 ---- build/cmake/CondorPackageConfig.cmake.orig 2013-06-29 22:54:28.964316000 +0100
713 -+++ build/cmake/CondorPackageConfig.cmake 2013-06-29 22:56:26.258961000 +0100
714 -@@ -401,6 +401,29 @@
715 - set(CMAKE_INSTALL_PREFIX "")
716 - set(CPACK_SET_DESTDIR "ON")
717 -
718 -+ else()
719 -+
720 -+ #Directory overrides
721 -+ set( C_BIN usr/bin )
722 -+ set( C_LIB usr/lib\${LIB_SUFFIX}/condor )
723 -+ set( C_LIB_PUBLIC usr/lib\${LIB_SUFFIX} )
724 -+ set( C_LIB32 usr/lib\${LIB_SUFFIX}/condor )
725 -+ set( C_SBIN usr/sbin )
726 -+ set( C_INCLUDE usr/include/condor )
727 -+ set( C_INCLUDE_PUBLIC usr/include )
728 -+ set( C_MAN usr/share/man )
729 -+ set( C_SRC usr/src)
730 -+ set( C_SQL usr/share/condor/sql)
731 -+ set( C_INIT etc/init.d )
732 -+ set( C_ETC etc/condor )
733 -+ set( C_CONFIGD etc/condor/config.d )
734 -+
735 -+ set( C_ETC_EXAMPLES usr/share/doc/htcondor-${VERSION}/etc/examples )
736 -+ set( C_SHARE_EXAMPLES usr/share/doc/htcondor-${VERSION} )
737 -+ set( C_DOC usr/share/doc/htcondor-${VERSION} )
738 -+ set( C_LIBEXEC usr/lib\${LIB_SUFFIX}/condor/libexec )
739 -+ set( C_SYSCONFIG etc/default )
740 -+
741 - endif()
742 -
743 - set( EXTERNALS_LIB "${C_LIB}" )
744
745 diff --git a/sys-cluster/htcondor/htcondor-8.0.0.ebuild b/sys-cluster/htcondor/htcondor-8.0.0.ebuild
746 deleted file mode 100644
747 index bc2cde521..000000000
748 --- a/sys-cluster/htcondor/htcondor-8.0.0.ebuild
749 +++ /dev/null
750 @@ -1,114 +0,0 @@
751 -# Copyright 1999-2020 Gentoo Authors
752 -# Distributed under the terms of the GNU General Public License v2
753 -
754 -EAPI=5
755 -
756 -CMAKE_MIN_VERSION=2.8
757 -
758 -PYTHON_COMPAT=( python3_{6..9} )
759 -
760 -inherit cmake-utils python-single-r1 user
761 -
762 -DESCRIPTION="Workload management system for compute-intensive jobs"
763 -HOMEPAGE="http://www.cs.wisc.edu/htcondor/"
764 -SRC_URI="https://github.com/${PN}/${PN}/archive/V${PV//./_}.tar.gz -> ${P}.tar.gz"
765 -#SRC_URI="condor_src-${PV}-all-all.tar.gz"
766 -
767 -LICENSE="Apache-2.0"
768 -SLOT="0"
769 -KEYWORDS="~amd64 ~x86"
770 -IUSE="boinc cgroup contrib curl doc kerberos libvirt minimal postgres python soap ssl test X xml"
771 -
772 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
773 -
774 -CDEPEND="
775 - sys-libs/zlib
776 - >=dev-libs/libpcre-7.6
777 - $(python_gen_cond_dep '
778 - dev-libs/boost[${PYTHON_USEDEP}]
779 - ')
780 - net-nds/openldap
781 - boinc? ( sci-misc/boinc )
782 - cgroup? ( >=dev-libs/libcgroup-0.37 )
783 - curl? ( >=net-misc/curl-7.19.7[ssl?] )
784 - libvirt? ( >=app-emulation/libvirt-0.6.2 )
785 - kerberos? ( virtual/krb5 )
786 - X? ( x11-libs/libX11 )
787 - postgres? ( >=dev-db/postgresql-8.2.4:= )
788 - python? ( ${PYTHON_DEPS} )
789 - soap? ( >=net-libs/gsoap-2.7.11[ssl?] )
790 - ssl? ( >=dev-libs/openssl-0.9.8i:0 )
791 - xml? ( >=dev-libs/libxml2-2.7.3 )"
792 -
793 -DEPEND="${CDEPEND}
794 - test? ( dev-util/valgrind )"
795 -
796 -RDEPEND="${CDEPEND}
797 - mail-client/mailx"
798 -
799 -S="${WORKDIR}/condor-${PV}"
800 -PATCHES=(
801 - "${FILESDIR}"/condor_shadow_dlopen-${PV}.patch
802 - "${FILESDIR}"/condor_config.generic.patch
803 - "${FILESDIR}"/0001-Apply-the-user-s-condor_config-last-rather-than-firs.patch
804 - "${FILESDIR}"/packaging_directories-${PV}.patch
805 - "${FILESDIR}"/fix_sandbox_violations-${PV}.patch
806 -)
807 -
808 -pkg_setup() {
809 - enewgroup condor
810 - enewuser condor -1 "${ROOT}"bin/bash "${ROOT}var/lib/condor" condor
811 -}
812 -
813 -src_configure() {
814 - # All the hard coded -DWITH_X=OFF flags are for packages that aren't in portage
815 - # I also haven't included support for HAVE_VMWARE because I don't know what it requires
816 - local mycmakeargs="
817 - -DCONDOR_PACKAGE_BUILD=ON
818 - -DCMAKE_INSTALL_PREFIX=/
819 - -DWITH_BLAHP=OFF
820 - -DWITH_CAMPUSFACTORY=OFF
821 - -DWITH_CLUSTER_RA=OFF
822 - -DWITH_COREDUMPER=OFF
823 - -DWITH_CREAM=OFF
824 - -DWITH_GLOBUS=OFF
825 - -DWITH_LIBDELTACLOUD=OFF
826 - -DWITH_BLAHP=OFF
827 - -DWITH_QPID=OFF
828 - -DWITH_UNICOREGAHP=OFF
829 - -DWITH_VOMS=OFF
830 - -DWITH_WSO2=OFF
831 - -DWITH_MANAGEMENT=OFF
832 - $(cmake-utils_use_has boinc BACKFILL)
833 - $(cmake-utils_use_has boinc)
834 - $(cmake-utils_use_with cgroup LIBCGROUP)
835 - $(cmake-utils_use_want contrib)
836 - $(cmake-utils_use_with curl)
837 - $(cmake-utils_use_want doc MAN_PAGES)
838 - $(cmake-utils_use_with libvirt)
839 - $(cmake-utils_use_has X KBDD)
840 - $(cmake-utils_use_with kerberos KRB5)
841 - $(cmake-utils_use_with postgres POSTGRESQL)
842 - $(cmake-utils_use_with python PYTHON_BINDINGS)
843 - $(cmake-utils_use minimal CLIPPED)
844 - $(cmake-utils_use_with soap AVIARY)
845 - $(cmake-utils_use_with soap GSOAP)
846 - $(cmake-utils_use_with ssl OPENSSL)
847 - $(cmake-utils_use_build test TESTING)
848 - $(cmake-utils_use_with xml LIBXML2)"
849 - cmake-utils_src_configure
850 -}
851 -
852 -src_install() {
853 - cmake-utils_src_install
854 -
855 - dodir /var/lib/condor
856 - dodir /var/log/condor
857 - dodir /var/run/condor
858 - dodir /var/lock/condor
859 -
860 - fperms 750 /var/lib/condor /var/log/condor
861 - fperms 755 /var/run/condor
862 - fperms 0775 /var/lock/condor
863 - fowners condor:condor /var/lib/condor /var/log/condor /var/run/condor
864 -}
865
866 diff --git a/sys-cluster/htcondor/htcondor-8.3.2.ebuild b/sys-cluster/htcondor/htcondor-8.3.2.ebuild
867 deleted file mode 100644
868 index f15bda520..000000000
869 --- a/sys-cluster/htcondor/htcondor-8.3.2.ebuild
870 +++ /dev/null
871 @@ -1,112 +0,0 @@
872 -# Copyright 1999-2020 Gentoo Authors
873 -# Distributed under the terms of the GNU General Public License v2
874 -
875 -EAPI=5
876 -
877 -CMAKE_MIN_VERSION=2.8
878 -
879 -PYTHON_COMPAT=( python3_{6..9} )
880 -
881 -inherit cmake-utils python-single-r1 user vcs-snapshot
882 -
883 -DESCRIPTION="Workload management system for compute-intensive jobs"
884 -HOMEPAGE="http://htcondorproject.org/"
885 -SRC_URI="https://github.com/${PN}/${PN}/archive/V${PV//./_}.tar.gz -> ${P}.tar.gz"
886 -
887 -LICENSE="Apache-2.0"
888 -SLOT="0"
889 -#KEYWORDS="~amd64 ~x86"
890 -IUSE="boinc cgroup contrib curl dmtcp doc kerberos libvirt minimal postgres python soap ssl test X xml"
891 -
892 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
893 -
894 -CDEPEND="sys-libs/zlib
895 - >=dev-libs/libpcre-7.6
896 - $(python_gen_cond_dep '
897 - dev-libs/boost[${PYTHON_USEDEP}]
898 - ')
899 - net-nds/openldap
900 - boinc? ( sci-misc/boinc )
901 - cgroup? ( >=dev-libs/libcgroup-0.37 )
902 - curl? ( >=net-misc/curl-7.19.7[ssl?] )
903 - dmtcp? ( sys-apps/dmtcp )
904 - libvirt? ( >=app-emulation/libvirt-0.6.2 )
905 - kerberos? ( virtual/krb5 )
906 - X? ( x11-libs/libX11 )
907 - postgres? ( >=dev-db/postgresql-8.2.4:= )
908 - python? ( ${PYTHON_DEPS} )
909 - soap? ( >=net-libs/gsoap-2.7.11[ssl?] )
910 - ssl? ( >=dev-libs/openssl-0.9.8i:0 )
911 - xml? ( >=dev-libs/libxml2-2.7.3 )"
912 -
913 -DEPEND="${CDEPEND}
914 - test? ( dev-util/valgrind )"
915 -
916 -RDEPEND="${CDEPEND}
917 - virtual/mailx"
918 -
919 -PATCHES=(
920 - "${FILESDIR}"/${P}-shadow_dlopen.patch
921 - "${FILESDIR}"/${P}-condor_config.generic.patch
922 - "${FILESDIR}"/${P}-Apply-the-users-condor_config-last-rather-than-first.patch
923 - "${FILESDIR}"/${P}-packaging_directories.patch
924 - "${FILESDIR}"/fix_sandbox_violations-8.0.0.patch
925 -)
926 -
927 -pkg_setup() {
928 - enewgroup condor
929 - enewuser condor -1 "${ROOT}"bin/bash "${ROOT}var/lib/condor" condor
930 -}
931 -
932 -src_configure() {
933 - # All the hard coded -DWITH_X=OFF flags are for packages that aren't in portage
934 - # I also haven't included support for HAVE_VMWARE because I don't know what it requires
935 - local mycmakeargs="
936 - -DCONDOR_PACKAGE_BUILD=ON
937 - -DCMAKE_INSTALL_PREFIX=/
938 - -DWITH_BLAHP=OFF
939 - -DWITH_CAMPUSFACTORY=OFF
940 - -DWITH_CLUSTER_RA=OFF
941 - -DWITH_COREDUMPER=OFF
942 - -DWITH_CREAM=OFF
943 - -DWITH_GLOBUS=OFF
944 - -DWITH_LIBDELTACLOUD=OFF
945 - -DWITH_BLAHP=OFF
946 - -DWITH_QPID=OFF
947 - -DWITH_UNICOREGAHP=OFF
948 - -DWITH_VOMS=OFF
949 - -DWITH_WSO2=OFF
950 - -DWITH_MANAGEMENT=OFF
951 - $(cmake-utils_use_has boinc BACKFILL)
952 - $(cmake-utils_use_has boinc)
953 - $(cmake-utils_use_with cgroup LIBCGROUP)
954 - $(cmake-utils_use_want contrib)
955 - $(cmake-utils_use_with curl)
956 - $(cmake-utils_use_want doc MAN_PAGES)
957 - $(cmake-utils_use_with libvirt)
958 - $(cmake-utils_use_has X KBDD)
959 - $(cmake-utils_use_with kerberos KRB5)
960 - $(cmake-utils_use_with postgres POSTGRESQL)
961 - $(cmake-utils_use_with python PYTHON_BINDINGS)
962 - $(cmake-utils_use minimal CLIPPED)
963 - $(cmake-utils_use_with soap AVIARY)
964 - $(cmake-utils_use_with soap GSOAP)
965 - $(cmake-utils_use_with ssl OPENSSL)
966 - $(cmake-utils_use_build test TESTING)
967 - $(cmake-utils_use_with xml LIBXML2)"
968 - cmake-utils_src_configure
969 -}
970 -
971 -src_install() {
972 - cmake-utils_src_install
973 -
974 - dodir /var/lib/condor
975 - dodir /var/log/condor
976 - dodir /var/run/condor
977 - dodir /var/lock/condor
978 -
979 - fperms 750 /var/lib/condor /var/log/condor
980 - fperms 755 /var/run/condor
981 - fperms 0775 /var/lock/condor
982 - fowners condor:condor /var/lib/condor /var/log/condor /var/run/condor
983 -}
984
985 diff --git a/sys-cluster/htcondor/metadata.xml b/sys-cluster/htcondor/metadata.xml
986 deleted file mode 100644
987 index 360f4388f..000000000
988 --- a/sys-cluster/htcondor/metadata.xml
989 +++ /dev/null
990 @@ -1,34 +0,0 @@
991 -<?xml version="1.0" encoding="UTF-8"?>
992 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
993 -<pkgmetadata>
994 - <maintainer type="person">
995 - <email>cjk34@××××××.uk</email>
996 - </maintainer>
997 - <maintainer type="project">
998 - <email>cluster@g.o</email>
999 - <name>Gentoo Cluster Project</name>
1000 - </maintainer>
1001 - <longdescription lang="en">
1002 - HTCondor is a open-source, specialized workload management system for
1003 - compute-intensive jobs. Like other full-featured batch systems, HTCondor
1004 - provides a job queueing mechanism, scheduling policy, priority scheme,
1005 - resource monitoring, and resource management. Users submit their serial
1006 - or parallel jobs to HTCondor, HTCondor places them into a queue, chooses
1007 - when and where to run the jobs based upon a policy, carefully monitors
1008 - their progress, and ultimately informs the user upon completion. HTCondor
1009 - also contains mechanisms to submit jobs to grid-sites and supports many
1010 - different grid toolkits.
1011 - </longdescription>
1012 - <use>
1013 - <flag name="boinc">Enable backfill with BOINC jobs when the cluster is not being used</flag>
1014 - <flag name="cgroup">Use <pkg>dev-libs/libcgroup</pkg> for kernel control groups</flag>
1015 - <flag name="contrib">Build contrib modules</flag>
1016 - <flag name="dmtcp">Use dmtcp for checkpointing</flag>
1017 - <flag name="libvirt">Use <pkg>app-emulation/libvirt</pkg> for virtualisation</flag>
1018 - <flag name="minimal">Don't support standard universe jobs</flag>
1019 - <flag name="X">Enable the HTCondor Keyboard Daemon to monitor logged in X users for activity</flag>
1020 - </use>
1021 - <upstream>
1022 - <remote-id type="github">htcondor/htcondor</remote-id>
1023 - </upstream>
1024 -</pkgmetadata>