pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils Move the dvd-handler python script from libex...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f7251d2f8179
branches:  trunk
changeset: 537415:f7251d2f8179
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Tue Jan 08 16:52:20 2008 +0000

description:
Move the dvd-handler python script from libexec/bacula to share/examples/bacula
to quiet CHECK_INTERPRETER (I don't want to add python as a dependency for that
one script).  Bump PKGREVISION for bacula and bacula-clientonly.

diffstat:

 sysutils/bacula-clientonly/Makefile |   6 +++++-
 sysutils/bacula/Makefile            |   7 ++++++-
 sysutils/bacula/PLIST.common        |   4 ++--
 sysutils/bacula/distinfo            |   3 ++-
 sysutils/bacula/patches/patch-am    |  16 ++++++++++++++++
 5 files changed, 31 insertions(+), 5 deletions(-)

diffs (96 lines):

diff -r bef99ad2596b -r f7251d2f8179 sysutils/bacula-clientonly/Makefile
--- a/sysutils/bacula-clientonly/Makefile       Tue Jan 08 16:43:31 2008 +0000
+++ b/sysutils/bacula-clientonly/Makefile       Tue Jan 08 16:52:20 2008 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2008/01/04 14:32:50 ghen Exp $
+# $NetBSD: Makefile,v 1.8 2008/01/08 16:52:20 ghen Exp $
 
 PKGNAME=               ${DISTNAME:S/-/-clientonly-/}
+PKGREVISION=           1
 COMMENT=               The Network Backup Solution (client only)
 
 CONFLICTS=             bacula-[0-9]* bacula-client-[0-9]*
@@ -28,4 +29,7 @@
 
 PLIST_SRC+=            ${.CURDIR}/../../sysutils/bacula/PLIST.common_end
 
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/scripts/dvd-handler ${DESTDIR}${EXAMPLESDIR}
+
 .include "../../mk/bsd.pkg.mk"
diff -r bef99ad2596b -r f7251d2f8179 sysutils/bacula/Makefile
--- a/sysutils/bacula/Makefile  Tue Jan 08 16:43:31 2008 +0000
+++ b/sysutils/bacula/Makefile  Tue Jan 08 16:52:20 2008 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2008/01/04 14:32:49 ghen Exp $
+# $NetBSD: Makefile,v 1.23 2008/01/08 16:52:20 ghen Exp $
+
+PKGREVISION=           1
 
 CONFLICTS+=            bacula-client-[0-9]* bacula-clientonly-[0-9]*
 
@@ -33,4 +35,7 @@
 
 PLIST_SRC+=            PLIST.common_end
 
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/scripts/dvd-handler ${DESTDIR}${EXAMPLESDIR}
+
 .include "../../mk/bsd.pkg.mk"
diff -r bef99ad2596b -r f7251d2f8179 sysutils/bacula/PLIST.common
--- a/sysutils/bacula/PLIST.common      Tue Jan 08 16:43:31 2008 +0000
+++ b/sysutils/bacula/PLIST.common      Tue Jan 08 16:52:20 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.4 2007/09/07 15:15:34 ghen Exp $
+@comment $NetBSD: PLIST.common,v 1.5 2008/01/08 16:52:20 ghen Exp $
 libexec/bacula/bacula
 libexec/bacula/bacula-ctl-dir
 libexec/bacula/bacula-ctl-fd
@@ -7,7 +7,6 @@
 libexec/bacula/btraceback.dbx
 libexec/bacula/btraceback.gdb
 libexec/bacula/disk-changer
-libexec/bacula/dvd-handler
 libexec/bacula/gconsole
 libexec/bacula/mtx-changer
 libexec/bacula/startmysql
@@ -34,4 +33,5 @@
 sbin/btraceback
 share/examples/bacula/bacula-fd.conf
 share/examples/bacula/bconsole.conf
+share/examples/bacula/dvd-handler
 share/examples/rc.d/bacula-fd
diff -r bef99ad2596b -r f7251d2f8179 sysutils/bacula/distinfo
--- a/sysutils/bacula/distinfo  Tue Jan 08 16:43:31 2008 +0000
+++ b/sysutils/bacula/distinfo  Tue Jan 08 16:52:20 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2007/09/20 13:40:18 ghen Exp $
+$NetBSD: distinfo,v 1.27 2008/01/08 16:52:20 ghen Exp $
 
 SHA1 (bacula-2.2.4.tar.gz) = 1fd8e75f231fb3a811696c05ea3c0c719c75289a
 RMD160 (bacula-2.2.4.tar.gz) = 5005d5566f55a8feb8a7efa610cd60a3d92383af
@@ -11,3 +11,4 @@
 SHA1 (patch-ah) = 83b156ac18b64d19ea0022103c50c431f3b86b87
 SHA1 (patch-ai) = 499a164fcf9e4fc466b691f91203b4293dcee7eb
 SHA1 (patch-aj) = df5eba3c80d36ecc26c6acb1566a4411c308b2f0
+SHA1 (patch-am) = 0b5b81543eb66ad191d94b59c986561e492a069d
diff -r bef99ad2596b -r f7251d2f8179 sysutils/bacula/patches/patch-am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bacula/patches/patch-am  Tue Jan 08 16:52:20 2008 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-am,v 1.1 2008/01/08 16:52:20 ghen Exp $
+
+--- scripts/Makefile.in.orig   2007-04-18 19:06:43.000000000 +0200
++++ scripts/Makefile.in
+@@ -51,11 +51,6 @@ install: installdirs
+          $(MV) -f ${DESTDIR}${scriptdir}/disk-changer ${DESTDIR}${scriptdir}/disk-changer.old; \
+       fi
+       $(INSTALL_SCRIPT) disk-changer $(DESTDIR)$(scriptdir)/disk-changer
+-      @if  test -f ${DESTDIR}${scriptdir}/dvd-handler; then \
+-         echo "  ==> Saving existing dvd-handler to dvd-handler.old"; \
+-         $(MV) -f ${DESTDIR}${scriptdir}/dvd-handler ${DESTDIR}${scriptdir}/dvd-handler.old; \
+-      fi
+-      $(INSTALL_SCRIPT) dvd-handler $(DESTDIR)$(scriptdir)/dvd-handler
+       $(INSTALL_DATA)   btraceback.gdb $(DESTDIR)$(scriptdir)/btraceback.gdb
+       $(INSTALL_DATA)   btraceback.dbx $(DESTDIR)$(scriptdir)/btraceback.dbx
+       chmod 0644 $(DESTDIR)$(scriptdir)/btraceback.gdb \



Home | Main Index | Thread Index | Old Index