pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/publicfile DESTDIR support, and take MAINTAINER.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52f561a8d0c9
branches:  trunk
changeset: 573611:52f561a8d0c9
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Mar 20 01:51:40 2010 +0000

description:
DESTDIR support, and take MAINTAINER.

diffstat:

 net/publicfile/Makefile         |   6 +++-
 net/publicfile/distinfo         |   3 +-
 net/publicfile/patches/patch-aa |  42 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 48 insertions(+), 3 deletions(-)

diffs (79 lines):

diff -r 5edc7bfafe75 -r 52f561a8d0c9 net/publicfile/Makefile
--- a/net/publicfile/Makefile   Sat Mar 20 01:32:56 2010 +0000
+++ b/net/publicfile/Makefile   Sat Mar 20 01:51:40 2010 +0000
@@ -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@localhost
+MAINTAINER=            schmonz%NetBSD.org@localhost
 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 -r 5edc7bfafe75 -r 52f561a8d0c9 net/publicfile/distinfo
--- a/net/publicfile/distinfo   Sat Mar 20 01:32:56 2010 +0000
+++ b/net/publicfile/distinfo   Sat Mar 20 01:51:40 2010 +0000
@@ -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 -r 5edc7bfafe75 -r 52f561a8d0c9 net/publicfile/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/publicfile/patches/patch-aa   Sat Mar 20 01:51:40 2010 +0000
@@ -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: \



Home | Main Index | Thread Index | Old Index