pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/mirrordir DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/523c4dff1732
branches:  trunk
changeset: 574341:523c4dff1732
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Apr 14 22:45:51 2010 +0000

description:
DESTDIR support

diffstat:

 security/mirrordir/Makefile         |   4 +++-
 security/mirrordir/distinfo         |   4 ++--
 security/mirrordir/patches/patch-aa |  21 +++++++++++++++++----
 3 files changed, 22 insertions(+), 7 deletions(-)

diffs (68 lines):

diff -r b42b081279fe -r 523c4dff1732 security/mirrordir/Makefile
--- a/security/mirrordir/Makefile       Wed Apr 14 22:37:11 2010 +0000
+++ b/security/mirrordir/Makefile       Wed Apr 14 22:45:51 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2009/10/29 22:24:51 tnn Exp $
+# $NetBSD: Makefile,v 1.14 2010/04/14 22:45:51 joerg Exp $
 #
 
 DISTNAME=      mirrordir-0.10.49
@@ -10,6 +10,8 @@
 HOMEPAGE=      # http://mirrordir.sourceforge.net/
 COMMENT=       Directory mirroring tool
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFLICTS=     qmail>=1.03nb7 netqmail>=1.05
 
 GNU_CONFIGURE= yes
diff -r b42b081279fe -r 523c4dff1732 security/mirrordir/distinfo
--- a/security/mirrordir/distinfo       Wed Apr 14 22:37:11 2010 +0000
+++ b/security/mirrordir/distinfo       Wed Apr 14 22:45:51 2010 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2009/10/29 22:24:51 tnn Exp $
+$NetBSD: distinfo,v 1.5 2010/04/14 22:45:51 joerg Exp $
 
 SHA1 (mirrordir-0.10.49.tar.gz) = 71fe3178d59fbfd0f76b11626ae50d3a3fbbb691
 RMD160 (mirrordir-0.10.49.tar.gz) = 42c6103a997612b86427279afc832f81184ae4e2
 Size (mirrordir-0.10.49.tar.gz) = 459867 bytes
-SHA1 (patch-aa) = 92f875f5e9d22abc8304b602675d5d1775b9471f
+SHA1 (patch-aa) = d5e233884ec33ba31a9e42bebc3a910ff4911d1c
 SHA1 (patch-ab) = d51e250e6910a1528572dd33b37991a7d7c9afdd
 SHA1 (patch-ac) = 3e84b4f18452e94586492df848366917debab264
 SHA1 (patch-ad) = 4c0ea285f4796028398d61a0e6af319ef644c2d0
diff -r b42b081279fe -r 523c4dff1732 security/mirrordir/patches/patch-aa
--- a/security/mirrordir/patches/patch-aa       Wed Apr 14 22:37:11 2010 +0000
+++ b/security/mirrordir/patches/patch-aa       Wed Apr 14 22:45:51 2010 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/12/19 14:44:07 agc Exp $
+$NetBSD: patch-aa,v 1.2 2010/04/14 22:45:51 joerg Exp $
 
 Problems with "test -f symlink" returning true.
 
---- src/Makefile.in    2001/12/19 13:04:22     1.1
-+++ src/Makefile.in    2001/12/19 13:28:42
-@@ -176,7 +176,7 @@
+--- src/Makefile.in.orig       2000-01-16 21:19:28.000000000 +0000
++++ src/Makefile.in
+@@ -176,7 +176,7 @@ install-binPROGRAMS: $(bin_PROGRAMS)
        @$(NORMAL_INSTALL)
        $(mkinstalldirs) $(DESTDIR)$(bindir)
        @list='$(bin_PROGRAMS)'; for p in $$list; do \
@@ -13,3 +13,16 @@
            echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
            $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
          else :; fi; \
+@@ -399,9 +399,9 @@ maintainer-clean-generic clean mostlycle
+ 
+ 
+ install-exec-hook:
+-      $(LN_S) -f $(bindir)/mirrordir $(bindir)/copydir
+-      $(LN_S) -f $(bindir)/mirrordir $(bindir)/recursdir
+-      $(LN_S) -f $(bindir)/mirrordir $(bindir)/pslogin
++      $(LN_S) -f mirrordir ${DESTDIR}$(bindir)/copydir
++      $(LN_S) -f mirrordir ${DESTDIR}$(bindir)/recursdir
++      $(LN_S) -f mirrordir ${DESTDIR}$(bindir)/pslogin
+ 
+ pslogin.o:
+       @echo ""



Home | Main Index | Thread Index | Old Index