summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authornils <nils@pkgsrc.org>2016-08-07 18:01:29 +0000
committernils <nils@pkgsrc.org>2016-08-07 18:01:29 +0000
commit7082664faea04906bf7fa1d493cf83d48bc5354f (patch)
treed11c16eb344b6e4d358be15f11a4b96a9bb31b3a /www
parent75bb78e25a58979624105e7c15562096a40cf5d0 (diff)
downloadpkgsrc-7082664faea04906bf7fa1d493cf83d48bc5354f.tar.gz
Initial import of fcgiwrap, version 1.1.0,
into the NetBSD Packages Collection.
Diffstat (limited to 'www')
-rw-r--r--www/fcgiwrap/DESCR1
-rw-r--r--www/fcgiwrap/Makefile25
-rw-r--r--www/fcgiwrap/PLIST3
-rw-r--r--www/fcgiwrap/distinfo6
-rw-r--r--www/fcgiwrap/patches/patch-Makefile.in31
5 files changed, 66 insertions, 0 deletions
diff --git a/www/fcgiwrap/DESCR b/www/fcgiwrap/DESCR
new file mode 100644
index 00000000000..445a53f9c64
--- /dev/null
+++ b/www/fcgiwrap/DESCR
@@ -0,0 +1 @@
+A simple wrapper for using CGI scripts through FastCGI.
diff --git a/www/fcgiwrap/Makefile b/www/fcgiwrap/Makefile
new file mode 100644
index 00000000000..ca28d68893e
--- /dev/null
+++ b/www/fcgiwrap/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2016/08/07 18:01:29 nils Exp $
+
+DISTNAME= fcgiwrap-1.1.0
+CATEGORIES= www
+
+COMMENT= FastCGI wrapper for plain CGI scripts
+LICENSE= mit
+
+GITHUB_TAG= ${PKGVERSION_NOREV}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=gnosek/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://nginx.localdomain.pl/wiki/FcgiWrap
+
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= automake autoreconf pkg-config
+
+LDFLAGS.SunOS+= -lsocket -lnsl
+
+pre-configure:
+ cd ${WRKSRC} && autoreconf -i
+
+.include "../../www/fcgi/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/fcgiwrap/PLIST b/www/fcgiwrap/PLIST
new file mode 100644
index 00000000000..f50454062f8
--- /dev/null
+++ b/www/fcgiwrap/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2016/08/07 18:01:29 nils Exp $
+man/man8/fcgiwrap.8
+sbin/fcgiwrap
diff --git a/www/fcgiwrap/distinfo b/www/fcgiwrap/distinfo
new file mode 100644
index 00000000000..5199ad010a3
--- /dev/null
+++ b/www/fcgiwrap/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/08/07 18:01:29 nils Exp $
+
+SHA1 (fcgiwrap-1.1.0.tar.gz) = 8e7b9140b3d96f4635352bb967715477b35caf84
+RMD160 (fcgiwrap-1.1.0.tar.gz) = 7969f77430d1c51e58aa90619803caf723a50168
+Size (fcgiwrap-1.1.0.tar.gz) = 9924 bytes
+SHA1 (patch-Makefile.in) = 30615f4beb33f9ac47fdcd7cebb93bd42fa55e94
diff --git a/www/fcgiwrap/patches/patch-Makefile.in b/www/fcgiwrap/patches/patch-Makefile.in
new file mode 100644
index 00000000000..30e3a67bc4d
--- /dev/null
+++ b/www/fcgiwrap/patches/patch-Makefile.in
@@ -0,0 +1,31 @@
+$NetBSD: patch-Makefile.in,v 1.1 2016/08/07 18:01:29 nils Exp $
+
+Fix double-prefixing as @mandir@ already contains @prefix@
+Comment out systemd stuff (not used with pkgsrc, and would just require gmake).
+
+--- Makefile.in.orig 2013-05-07 07:57:54.000000000 -0400
++++ Makefile.in 2013-09-07 13:17:06.000000000 -0400
+@@ -1,5 +1,5 @@
+ targetdir = $(DESTDIR)@prefix@@sbindir@
+-man8dir = $(DESTDIR)@prefix@@mandir@/man8
++man8dir = $(DESTDIR)@mandir@/man8
+ datarootdir =
+
+ .PHONY: clean distclean
+@@ -10,11 +10,11 @@
+ install -m 755 fcgiwrap $(targetdir)
+ install -d -m 755 $(man8dir)
+ install -m 644 fcgiwrap.8 $(man8dir)
+-ifneq ("@systemdsystemunitdir@", "")
+- install -d -m 755 $(DESTDIR)@systemdsystemunitdir@
+- install -m 644 systemd/fcgiwrap.socket $(DESTDIR)@systemdsystemunitdir@
+- install -m 644 systemd/fcgiwrap.service $(DESTDIR)@systemdsystemunitdir@
+-endif
++#ifneq ("@systemdsystemunitdir@", "")
++# install -d -m 755 $(DESTDIR)@systemdsystemunitdir@
++# install -m 644 systemd/fcgiwrap.socket $(DESTDIR)@systemdsystemunitdir@
++# install -m 644 systemd/fcgiwrap.service $(DESTDIR)@systemdsystemunitdir@
++#endif
+
+ LDLIBS = -lfcgi @systemd_LIBS@
+ CFLAGS = @AM_CFLAGS@