[csw-devel] SF.net SVN: gar:[4990] csw/mgar/pkg
skayser at users.sourceforge.net
skayser at users.sourceforge.net
Thu May 21 13:10:30 CEST 2009
Revision: 4990
http://gar.svn.sourceforge.net/gar/?rev=4990&view=rev
Author: skayser
Date: 2009-05-21 11:10:29 +0000 (Thu, 21 May 2009)
Log Message:
-----------
httping: initial commit (closes #3458, #2391)
Added Paths:
-----------
csw/mgar/pkg/httping/
csw/mgar/pkg/httping/branches/
csw/mgar/pkg/httping/tags/
csw/mgar/pkg/httping/trunk/
csw/mgar/pkg/httping/trunk/Makefile
csw/mgar/pkg/httping/trunk/checksums
csw/mgar/pkg/httping/trunk/files/
csw/mgar/pkg/httping/trunk/files/changelog.CSW
csw/mgar/pkg/httping/trunk/files/gar-base.diff
Property changes on: csw/mgar/pkg/httping/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: svn:externals
+ gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
Added: csw/mgar/pkg/httping/trunk/Makefile
===================================================================
--- csw/mgar/pkg/httping/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/httping/trunk/Makefile 2009-05-21 11:10:29 UTC (rev 4990)
@@ -0,0 +1,34 @@
+GARNAME = httping
+GARVERSION = 1.3.0
+CATEGORIES = net
+
+DESCRIPTION = Httping is like 'ping' but for http-requests.
+define BLURB
+ Httping is like 'ping' but for http-requests. Give it an url, and it'll
+ show you how long it takes to connect, send a request and retrieve the
+ reply (only the headers). Be aware that the transmission across the
+ network also takes time!
+endef
+
+MASTER_SITES = http://www.vanheusden.com/httping/
+DISTFILES = $(GARNAME)-$(GARVERSION).tgz
+
+REQUIRED_PKGS = CSWosslrt
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tgz
+
+PATCHFILES = gar-base.diff
+
+CONFIGURE_SCRIPTS =
+TEST_SCRIPTS =
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+LICENSE = license.txt
+
+include gar/category.mk
+
+post-install-modulated:
+ @ginstall -d $(DESTDIR)$(docdir)/$(GARNAME)
+ @cp $(FILEDIR)/changelog.CSW $(DESTDIR)$(docdir)/$(GARNAME)
Added: csw/mgar/pkg/httping/trunk/checksums
===================================================================
--- csw/mgar/pkg/httping/trunk/checksums (rev 0)
+++ csw/mgar/pkg/httping/trunk/checksums 2009-05-21 11:10:29 UTC (rev 4990)
@@ -0,0 +1,2 @@
+9f75ad45daa91e67c6677c9959165f89 download/gar-base.diff
+41c912a9ecc904e51d7260053fc2195c download/httping-1.3.0.tgz
Added: csw/mgar/pkg/httping/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/httping/trunk/files/changelog.CSW (rev 0)
+++ csw/mgar/pkg/httping/trunk/files/changelog.CSW 2009-05-21 11:10:29 UTC (rev 4990)
@@ -0,0 +1,5 @@
+httping (1.3.0,REV=2009.05.21)
+
+ * Adopted and updated to 1.3.0 (Closes: #3458, #2391).
+
+ -- Sebastian Kayser <skayser at opencsw.org> Thu, 21 May 2009 13:04:48 +0200
Added: csw/mgar/pkg/httping/trunk/files/gar-base.diff
===================================================================
--- csw/mgar/pkg/httping/trunk/files/gar-base.diff (rev 0)
+++ csw/mgar/pkg/httping/trunk/files/gar-base.diff 2009-05-21 11:10:29 UTC (rev 4990)
@@ -0,0 +1,33 @@
+diff --speed-large-files --minimal -Nru httping-1.3.0.orig/Makefile httping-1.3.0/Makefile
+--- httping-1.3.0.orig/Makefile 2009-02-18 16:32:43.000000000 +0100
++++ httping-1.3.0/Makefile 2009-05-21 12:43:55.083896462 +0200
+@@ -14,22 +14,23 @@
+
+ include version
+
+-DEBUG=-g # -D_DEBUG
+-LDFLAGS+=-lssl -lcrypto $(DEBUG)
+-CFLAGS+=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
++LDFLAGS+=-lssl -lcrypto -lsocket -lnsl -lresolv
++CFLAGS+=-DVERSION=\"$(VERSION)\"
+
+ OBJS=mem.o http.o io.o str.o error.o utils.o main.o tcp.o mssl.o res.o
+
+ all: httping
+
+ httping: $(OBJS)
+- $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o httping
++ $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -o httping
+ #
+ # Oh, blatant plug: http://keetweej.vanheusden.com/wishlist.html
+
+ install: httping
+- cp httping $(DESTDIR)/usr/bin
+- cp httping.1 $(DESTDIR)/usr/share/man/man1/
++ ginstall -d $(DESTDIR)$(bindir)
++ ginstall -d $(DESTDIR)$(mandir)/man1
++ cp httping $(DESTDIR)$(bindir)
++ cp httping.1 $(DESTDIR)$(mandir)/man1
+
+ clean:
+ rm -f $(OBJS) core httping
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list