Bug 129752 - Update port: sysutils/webjob 1.6.0 --> 1.8.0
Summary: Update port: sysutils/webjob 1.6.0 --> 1.8.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 05:00 UTC by klm
Modified: 2008-12-25 19:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description klm 2008-12-19 05:00:11 UTC

Fix: Patch attached with submission follows:--h6vhZcw5wVulAblHnuJN4oAH4ot67tVnADUxOYmQrNw5OmHj
Content-Type: text/plain; name="file.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.txt"
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2008-12-19 06:00:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 klm 2008-12-19 11:24:42 UTC
I'm not sure why the patch didn't get uploaded on the first try,
so I'm sending it again:

--- webjob-1.8.0.diff begins here ---
diff -urN webjob/Makefile webjob-1.8.0/Makefile
--- webjob/Makefile	Wed Jul 26 15:23:58 2006
+++ webjob-1.8.0/Makefile	Fri Dec 19 04:24:15 2008
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=		webjob
-PORTVERSION=		1.6.0
+PORTVERSION=		1.8.0
 CATEGORIES=		sysutils security
 MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	webjob
@@ -15,24 +15,32 @@
 MAINTAINER=		klm@uidzero.org
 COMMENT=		Download and execute a program over HTTP/HTTPS
 
-GNU_CONFIGURE=		YES
+GNU_CONFIGURE=		yes
+USE_PERL5_RUN=		yes
 
-.if defined(WITHOUT_PAD)
-PLIST_SUB+=		PAD="@comment "
+MAN1=			webjob.1
+
+OPTIONS=		PAD_TOOLS "install PaD tools" on \
+			DSV_TOOLS "install DSV tools" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_PAD_TOOLS)
+PLIST_SUB+=		PAD_TOOLS=""
+CONFIGURE_ARGS+=        --with-pad-tools
 .else
-PLIST_SUB+=		PAD=""
-CONFIGURE_ARGS+=	--with-pad-tools
+PLIST_SUB+=             PAD_TOOLS="@comment "
 .endif
 
 .if defined(WITHOUT_SSL)
 CONFIGURE_ARGS+=	--without-ssl
 .else
-USE_OPENSSL=		YES
+.include "${PORTSDIR}/Mk/bsd.openssl.mk"
 CONFIGURE_ARGS+=	--with-ssl=${OPENSSLBASE}
-.if defined(WITHOUT_DSV) # Note: DSV requires SSL
-PLIST_SUB+=		DSV="@comment "
+.if defined(WITHOUT_DSV_TOOLS) # Note: DSV requires SSL
+PLIST_SUB+=		DSV_TOOLS="@comment "
 .else
-PLIST_SUB+=		DSV=""
+PLIST_SUB+=		DSV_TOOLS=""
 CONFIGURE_ARGS+=	--with-dsv-tools
 MAN1+=			webjob-dsvtool.1
 .endif
@@ -42,9 +50,7 @@
 CFLAGS+=		-static
 .endif
 
-MAN1+=			webjob.1
-
 post-install:
 	@${STRIP_CMD} ${PREFIX}/bin/webjob
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN webjob/distinfo webjob-1.8.0/distinfo
--- webjob/distinfo	Wed Jul 26 15:23:58 2006
+++ webjob-1.8.0/distinfo	Fri Dec 19 03:14:27 2008
@@ -1,3 +1,3 @@
-MD5 (webjob-1.6.0.tgz) = 62584c7720d7c1ae38a89f230cf19b5e
-SHA256 (webjob-1.6.0.tgz) = 82bbc27448ad714961e55af0b993d18da06bf3e434f29b97706ba758cc8bb45c
-SIZE (webjob-1.6.0.tgz) = 326114
+MD5 (webjob-1.8.0.tgz) = 416bc16f2f6030bb88bedf83a81d4c2d
+SHA256 (webjob-1.8.0.tgz) = c7ada29a575199a5513676aa9f22bcd1efdcd4c84d8d69bae8f2465f9ac97280
+SIZE (webjob-1.8.0.tgz) = 419430
diff -urN webjob/files/patch-etc::Makefile.in webjob-1.8.0/files/patch-etc::Makefile.in
--- webjob/files/patch-etc::Makefile.in	Sun May  9 20:43:40 2004
+++ webjob-1.8.0/files/patch-etc::Makefile.in	Thu Jan  1 00:00:00 1970
@@ -1,13 +0,0 @@
---- etc/Makefile.in.orig	Mon Mar  1 23:36:29 2004
-+++ etc/Makefile.in	Fri May  7 18:40:29 2004
-@@ -22,10 +22,8 @@
- 
- INSTALL			= @INSTALL@
- SRC_FILES		=\
--			nph-webjob.cfg.sample\
- 			webjob.cfg.sample
- DST_FILES		=\
--			${etcdir}/nph-webjob.cfg.sample\
- 			${etcdir}/webjob.cfg.sample
- 
- all: ${SRC_FILES}
diff -urN webjob/pkg-plist webjob-1.8.0/pkg-plist
--- webjob/pkg-plist	Wed Jul 26 15:23:58 2006
+++ webjob-1.8.0/pkg-plist	Fri Dec 19 04:21:24 2008
@@ -1,6 +1,7 @@
-%%DSV%%bin/webjob-dsvtool
-%%PAD%%bin/pad-join
-%%PAD%%bin/pad-make-script
-%%PAD%%bin/pad-make-binary
+%%DSV_TOOLS%%bin/webjob-dsvtool
+%%PAD_TOOLS%%bin/pad-join
+%%PAD_TOOLS%%bin/pad-make-script
+%%PAD_TOOLS%%bin/pad-make-binary
 bin/webjob
-etc/webjob.cfg.sample
+etc/webjob-execute.cfg.sample
+etc/webjob-get-url.cfg.sample
--- webjob-1.8.0.diff ends here ---
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2008-12-25 19:47:43 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2008-12-25 19:47:49 UTC
miwi        2008-12-25 19:47:36 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/webjob      Makefile distinfo pkg-plist 
  Removed files:
    sysutils/webjob/files patch-etc::Makefile.in 
  Log:
  - Update to 1.8.0
  
  PR:             129752
  Submitted by:   klm <klm@uidzero.org> (maintainer)
  
  Revision  Changes    Path
  1.10      +19 -15    ports/sysutils/webjob/Makefile
  1.8       +3 -3      ports/sysutils/webjob/distinfo
  1.2       +0 -13     ports/sysutils/webjob/files/patch-etc::Makefile.in (dead)
  1.8       +7 -5      ports/sysutils/webjob/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"