pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/whoson Use pkginstall framework. Bump PKGREVISION.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22605d6776ef
branches:  trunk
changeset: 508476:22605d6776ef
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Feb 19 23:08:48 2006 +0000

description:
Use pkginstall framework. Bump PKGREVISION.

diffstat:

 net/whoson/DEINSTALL        |   9 ---------
 net/whoson/INSTALL          |  10 ----------
 net/whoson/Makefile         |  15 +++++----------
 net/whoson/PLIST            |   4 +++-
 net/whoson/distinfo         |   3 ++-
 net/whoson/patches/patch-aa |  16 ++++++++++++++++
 6 files changed, 26 insertions(+), 31 deletions(-)

diffs (112 lines):

diff -r e3d7644424a0 -r 22605d6776ef net/whoson/DEINSTALL
--- a/net/whoson/DEINSTALL      Sun Feb 19 22:53:27 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.1.1.1 2004/10/11 16:51:54 abs Exp $
-
-CHROOTDIR="@CHROOTDIR@"
-
-case ${STAGE} in
-DEINSTALL)
-       ${RMDIR} ${CHROOTDIR}
-       ;;
-esac
diff -r e3d7644424a0 -r 22605d6776ef net/whoson/INSTALL
--- a/net/whoson/INSTALL        Sun Feb 19 22:53:27 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-# $NetBSD: INSTALL,v 1.1.1.1 2004/10/11 16:51:54 abs Exp $
-
-CHROOTDIR="@CHROOTDIR@"
-
-case ${STAGE} in
-POST-INSTALL)
-       ${MKDIR} ${CHROOTDIR}
-       ${CHMOD} 555 ${CHROOTDIR}
-       ;;
-esac
diff -r e3d7644424a0 -r 22605d6776ef net/whoson/Makefile
--- a/net/whoson/Makefile       Sun Feb 19 22:53:27 2006 +0000
+++ b/net/whoson/Makefile       Sun Feb 19 23:08:48 2006 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2005/12/29 06:22:04 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2006/02/19 23:08:48 wiz Exp $
 #
 
 DISTNAME=              whoson-2.03
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            net security
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=whoson/}
 
@@ -10,21 +10,16 @@
 HOMEPAGE=              http://whoson.sf.net/
 COMMENT=               Check if (dynamic) IP address is connected
 
-EXDIR=                 ${PREFIX}/share/examples/whoson
-CONF_FILES=                    ${EXDIR}/whoson.conf ${PKG_SYSCONFDIR}/whoson.conf
-
 USE_PKGLOCALEDIR=      yes
 USE_LIBTOOL=           yes
-LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
 GNU_CONFIGURE=         yes
 WHOSOND_CHROOT?=       ${VARBASE}/chroot/whosond
 CONFIGURE_ARGS+=       --with-config="${PKG_SYSCONFDIR}/whoson.conf"
 
-FILES_SUBST+=          CHROOTDIR=${WHOSOND_CHROOT:Q}
-DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
-INSTALL_EXTRA_TMPL+=   ${.CURDIR}/INSTALL
-
 RCD_SCRIPTS=           whosond
+OWN_DIRS+=             ${WHOSOND_CHROOT}
+EXDIR=                 ${PREFIX}/share/examples/whoson
+CONF_FILES=                    ${EXDIR}/whoson.conf ${PKG_SYSCONFDIR}/whoson.conf
 
 # Run this here as whoson's 'install' target will install if not present
 pre-build:
diff -r e3d7644424a0 -r 22605d6776ef net/whoson/PLIST
--- a/net/whoson/PLIST  Sun Feb 19 22:53:27 2006 +0000
+++ b/net/whoson/PLIST  Sun Feb 19 23:08:48 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2005/05/02 20:34:04 reed Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/02/19 23:08:48 wiz Exp $
 include/whoson.h
 lib/libwhoson.la
 man/man3/whoson.3
@@ -12,3 +12,5 @@
 sbin/whoson
 sbin/whosond
 share/examples/rc.d/whosond
+share/examples/whoson/whoson.conf
+@dirrm share/examples/whoson
diff -r e3d7644424a0 -r 22605d6776ef net/whoson/distinfo
--- a/net/whoson/distinfo       Sun Feb 19 22:53:27 2006 +0000
+++ b/net/whoson/distinfo       Sun Feb 19 23:08:48 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 12:14:07 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/02/19 23:08:48 wiz Exp $
 
 SHA1 (whoson-2.03.tar.gz) = 72fbec1d85f9622028fe9d16be4b262da05ca8f1
 RMD160 (whoson-2.03.tar.gz) = e1bcbf52533e85808ee09f1d8dacb64ba536f123
 Size (whoson-2.03.tar.gz) = 238133 bytes
+SHA1 (patch-aa) = 9cc000e2632b1e86393b8678bb241b5d07868c73
diff -r e3d7644424a0 -r 22605d6776ef net/whoson/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/whoson/patches/patch-aa       Sun Feb 19 23:08:48 2006 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2006/02/19 23:08:48 wiz Exp $
+
+--- Makefile.in.orig   2003-08-19 07:22:30.000000000 +0000
++++ Makefile.in
+@@ -898,11 +898,6 @@ uninstall-man: uninstall-man3 uninstall-
+ 
+ 
+ install-data-hook:
+-      if test -f $(DEFAULT_CONFIG); then \
+-              $(ECHO) "$(DEFAULT_CONFIG) exists, not overwritten"; \
+-      else \
+-              $(INSTALL_DATA) $(srcdir)/whoson.conf $(DEFAULT_CONFIG); \
+-      fi; \
+       for f in $(MAN3XTRA); do \
+               rm -f $(DESTDIR)$(man3dir)/$$f; \
+               $(LN) $(DESTDIR)$(man3dir)/whoson.3 $(DESTDIR)$(man3dir)/$$f; \



Home | Main Index | Thread Index | Old Index