summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2010-03-20 01:51:40 +0000
committerschmonz <schmonz@pkgsrc.org>2010-03-20 01:51:40 +0000
commitc7676f71face8495a4b797b650e706a3df97f50d (patch)
treedf265ce681251bbff106366e81e7555c0bdf64ab /net
parentb96b7e68e73b692ddfb6e65148276bb123e547f1 (diff)
downloadpkgsrc-c7676f71face8495a4b797b650e706a3df97f50d.tar.gz
DESTDIR support, and take MAINTAINER.
Diffstat (limited to 'net')
-rw-r--r--net/publicfile/Makefile6
-rw-r--r--net/publicfile/distinfo3
-rw-r--r--net/publicfile/patches/patch-aa42
3 files changed, 48 insertions, 3 deletions
diff --git a/net/publicfile/Makefile b/net/publicfile/Makefile
index c94e56dc0a2..f477a63316b 100644
--- a/net/publicfile/Makefile
+++ b/net/publicfile/Makefile
@@ -1,14 +1,16 @@
-# $NetBSD: Makefile,v 1.11 2010/02/26 10:28:34 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2010/03/20 01:51:40 schmonz Exp $
#
DISTNAME= publicfile-0.52
CATEGORIES= net
MASTER_SITES= http://cr.yp.to/publicfile/
-MAINTAINER= pkgsrc-users@NetBSD.org
+MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://cr.yp.to/publicfile.html
COMMENT= Secure read-only HTTP and FTP servers
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= daemontools-[0-9]*:../../sysutils/daemontools
DEPENDS+= ucspi-tcp-[0-9]*:../../net/ucspi-tcp
diff --git a/net/publicfile/distinfo b/net/publicfile/distinfo
index 2b725b9afce..f4ba15b6a50 100644
--- a/net/publicfile/distinfo
+++ b/net/publicfile/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 12:14:02 agc Exp $
+$NetBSD: distinfo,v 1.3 2010/03/20 01:51:40 schmonz Exp $
SHA1 (publicfile-0.52.tar.gz) = 067e5a0c57bf8ac04c578cac47bd80c2d88eddeb
RMD160 (publicfile-0.52.tar.gz) = 02d2bff245e9d474f26ac29a96775c8eeed0799c
Size (publicfile-0.52.tar.gz) = 34892 bytes
+SHA1 (patch-aa) = e9933a7337b4fa6683fb6c11a6421bfa6e6962eb
diff --git a/net/publicfile/patches/patch-aa b/net/publicfile/patches/patch-aa
new file mode 100644
index 00000000000..2b2d960ecf7
--- /dev/null
+++ b/net/publicfile/patches/patch-aa
@@ -0,0 +1,42 @@
+$NetBSD: patch-aa,v 1.1 2010/03/20 01:51:40 schmonz Exp $
+
+--- Makefile.orig 1999-11-09 07:23:46.000000000 +0000
++++ Makefile
+@@ -24,6 +24,14 @@ auto-str.o: \
+ compile auto-str.c substdio.h readwrite.h exit.h
+ ./compile auto-str.c
+
++auto_destdir.c: \
++auto-str conf-destdir
++ ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c
++
++auto_destdir.o: \
++compile auto_destdir.c
++ ./compile auto_destdir.c
++
+ auto_home.c: \
+ auto-str conf-home
+ ./auto-str auto_home `head -1 conf-home` > auto_home.c
+@@ -257,9 +265,9 @@ gen_alloc.h tai.h uint64.h
+ ./compile httpdate.c
+
+ install: \
+-load install.o hier.o auto_home.o strerr.a substdio.a open.a error.a \
++load install.o hier.o auto_destdir.o strerr.a substdio.a open.a error.a \
+ str.a
+- ./load install hier.o auto_home.o strerr.a substdio.a \
++ ./load install hier.o auto_destdir.o strerr.a substdio.a \
+ open.a error.a str.a
+
+ install.o: \
+@@ -268,8 +276,8 @@ exit.h
+ ./compile install.c
+
+ instcheck: \
+-load instcheck.o hier.o auto_home.o strerr.a substdio.a error.a str.a
+- ./load instcheck hier.o auto_home.o strerr.a substdio.a \
++load instcheck.o hier.o auto_destdir.o strerr.a substdio.a error.a str.a
++ ./load instcheck hier.o auto_destdir.o strerr.a substdio.a \
+ error.a str.a
+
+ instcheck.o: \