aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/uschedule/Makefile13
-rw-r--r--sysutils/uschedule/distinfo2
-rw-r--r--sysutils/uschedule/files/patch-src-docheck11
3 files changed, 20 insertions, 6 deletions
diff --git a/sysutils/uschedule/Makefile b/sysutils/uschedule/Makefile
index 47be5c5f86a1..638bcfd2e24f 100644
--- a/sysutils/uschedule/Makefile
+++ b/sysutils/uschedule/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= uschedule
-PORTVERSION= 0.7.0
+PORTVERSION= 0.7.1
CATEGORIES= sysutils
MASTER_SITES= http://www.ohse.de/uwe/uschedule/
@@ -20,18 +20,21 @@ NO_SIZE= yes
WRKSRC= ${WRKDIR}/admin/${DISTNAME}
MAN1= uschedule.1 uschedulecmd.1 uscheduleconf.1 uschedulecp.1 \
- uscheduleedit.1 uschedulelist.1 uschedulerm.1
+ uscheduleedit.1 uschedulelist.1 uschedulerm.1 \
+ uscheduleruntimelimit.1
MAN7= uschedule_intro.7
MAN8= uscheduled.8
PORTDOCS= ChangeLog NEWS SECURITY-BUG
bin= uschedule uschedulecmd uscheduleconf uschedulecp \
- uscheduleedit uschedulelist uschedulerm
+ uscheduleedit uschedulelist uschedulerm uscheduleruntimelimit
sbin= uscheduled
PLIST_FILES= ${bin:S,^,bin/,}
PLIST_FILES+= ${sbin:S,^,sbin/,}
do-build:
- cd ${WRKSRC} && package/compile && package/check
+ ${ECHO_CMD} ${CC} > ${WRKSRC}/src/conf-cc
+ ${ECHO_CMD} ${CFLAGS} > ${WRKSRC}/src/conf-cflags
+ cd ${WRKSRC} && package/build
do-install:
.if !defined(NOPORTDOCS)
@@ -43,7 +46,7 @@ do-install:
${MAN${section}PREFIX}/man/man${section}
.endfor
.for d in bin sbin
- cd ${WRKSRC}/compile && ${INSTALL_PROGRAM} ${${d}} ${PREFIX}/${d}
+ cd ${WRKSRC}/command && ${INSTALL_PROGRAM} ${${d}} ${PREFIX}/${d}
.endfor
@${CAT} pkg-message
diff --git a/sysutils/uschedule/distinfo b/sysutils/uschedule/distinfo
index cc6e3928a489..df1102046ebc 100644
--- a/sysutils/uschedule/distinfo
+++ b/sysutils/uschedule/distinfo
@@ -1 +1 @@
-MD5 (uschedule-0.7.0.tar.gz) = a91fbf7b6971b033687a234edfde5da7
+MD5 (uschedule-0.7.1.tar.gz) = e8b3b19934a206f9a7f9d701797c1635
diff --git a/sysutils/uschedule/files/patch-src-docheck b/sysutils/uschedule/files/patch-src-docheck
new file mode 100644
index 000000000000..bafb9177da89
--- /dev/null
+++ b/sysutils/uschedule/files/patch-src-docheck
@@ -0,0 +1,11 @@
+--- src/docheck.orig Mon Aug 16 21:41:02 2004
++++ src/docheck Mon Aug 16 21:41:23 2004
+@@ -551,7 +551,7 @@
+ $O/uschedulerm
+ echo "--- uscheduleruntimelimit works as expected"
+ (
+- exec 2>/dev/null
++ exec >/dev/null 2>&1
+ $O/uscheduleruntimelimit 3 sh -c 'sleep 30'
+ exit $?
+ )