pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Initial import of libinstaller-4.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c2ff9222b8b6
branches:  trunk
changeset: 488753:c2ff9222b8b6
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Wed Feb 09 05:42:43 2005 +0000

description:
Initial import of libinstaller-4.0.

libinstaller is a library of support functions for the BSD Installer
application, dfuibe_installer.

diffstat:

 devel/libdinstaller/DESCR            |   2 ++
 devel/libdinstaller/Makefile         |  23 +++++++++++++++++++++++
 devel/libdinstaller/PLIST            |  13 +++++++++++++
 devel/libdinstaller/buildlink3.mk    |  21 +++++++++++++++++++++
 devel/libdinstaller/distinfo         |   5 +++++
 devel/libdinstaller/patches/patch-aa |  34 ++++++++++++++++++++++++++++++++++
 devel/libinstaller/DESCR             |   2 ++
 devel/libinstaller/Makefile          |  23 +++++++++++++++++++++++
 devel/libinstaller/PLIST             |  13 +++++++++++++
 devel/libinstaller/buildlink3.mk     |  21 +++++++++++++++++++++
 devel/libinstaller/distinfo          |   5 +++++
 devel/libinstaller/patches/patch-aa  |  34 ++++++++++++++++++++++++++++++++++
 12 files changed, 196 insertions(+), 0 deletions(-)

diffs (244 lines):

diff -r 3a473069c691 -r c2ff9222b8b6 devel/libdinstaller/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdinstaller/DESCR Wed Feb 09 05:42:43 2005 +0000
@@ -0,0 +1,2 @@
+libinstaller is a library of support functions for the BSD Installer
+application, dfuibe_installer.
diff -r 3a473069c691 -r c2ff9222b8b6 devel/libdinstaller/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdinstaller/Makefile      Wed Feb 09 05:42:43 2005 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/09 05:42:43 xtraeme Exp $
+#
+
+DISTNAME=      libinstaller-4.0
+CATEGORIES=    devel
+MASTER_SITES=  http://www.bsdinstaller.org/distfiles/
+
+MAINTAINER=    xtraeme%NetBSD.org@localhost
+HOMEPAGE=      http://www.bsdinstaller.org/
+COMMENT=       Library of support functions for the BSD Installer application
+
+WRKSRC=                ${WRKDIR}/libinstaller
+USE_BUILDLINK3=        yes
+
+SUBST_CLASSES+=                prefix
+SUBST_STAGE.prefix=    post-patch
+SUBST_FILES.prefix=    Makefile
+SUBST_SED.prefix=      -e "s,/usr/local,${PREFIX},g"
+SUBST_MESSAGE.prefix=  "Fixing hardcoded paths."
+
+.include "../../devel/libaura/buildlink3.mk"
+.include "../../devel/libdfui/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3a473069c691 -r c2ff9222b8b6 devel/libdinstaller/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdinstaller/PLIST Wed Feb 09 05:42:43 2005 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/09 05:42:43 xtraeme Exp $
+include/installer/commands.h
+include/installer/confed.h
+include/installer/diskutil.h
+include/installer/functions.h
+include/installer/package.h
+include/installer/uiutil.h
+lib/libinstaller.a
+lib/libinstaller.so
+lib/libinstaller.so.4
+lib/libinstaller.so.${PKGVERSION}
+lib/libinstaller_pic.a
+@dirrm include/installer
diff -r 3a473069c691 -r c2ff9222b8b6 devel/libdinstaller/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdinstaller/buildlink3.mk Wed Feb 09 05:42:43 2005 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/02/09 05:42:43 xtraeme Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+LIBINSTALLER_BUILDLINK3_MK:=   ${LIBINSTALLER_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    libinstaller
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibinstaller}
+BUILDLINK_PACKAGES+=   libinstaller
+
+.if !empty(LIBINSTALLER_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libinstaller+=       libinstaller>=4.0
+BUILDLINK_PKGSRCDIR.libinstaller?=     ../../devel/libinstaller
+.endif # LIBINSTALLER_BUILDLINK3_MK
+
+.include "../../devel/libaura/buildlink3.mk"
+.include "../../devel/libdfui/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 3a473069c691 -r c2ff9222b8b6 devel/libdinstaller/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdinstaller/distinfo      Wed Feb 09 05:42:43 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/09 05:42:43 xtraeme Exp $
+
+SHA1 (libinstaller-4.0.tar.gz) = caeadbd8c6d31266c78b3f2ce0669336cb2dd0ce
+Size (libinstaller-4.0.tar.gz) = 20889 bytes
+SHA1 (patch-aa) = 7d0117d988b04c6af288858b0130d86a2937a468
diff -r 3a473069c691 -r c2ff9222b8b6 devel/libdinstaller/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdinstaller/patches/patch-aa      Wed Feb 09 05:42:43 2005 +0000
@@ -0,0 +1,34 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/02/09 05:42:44 xtraeme Exp $
+
+--- mount.c.orig       2005-02-09 04:51:24.000000000 +0100
++++ mount.c    2005-02-09 04:52:38.000000000 +0100
+@@ -52,11 +52,18 @@
+ #include "commands.h"
+ #include "functions.h"
+ 
++#if (__NetBSD_Version__ >= 200040000)
++#define STATFS statvfs
++#else
++#define STATFS statfs
++#endif
++      
++
+ void
+ unmount_all_under_r(struct i_fn_args *a, struct commands *cmds,
+-                  char *mtpt, struct statfs *mt_array, int count)
++                  char *mtpt, struct STATFS *mt_array, int count)
+ {
+-      struct statfs *mt_ptr;
++      struct STATFS *mt_ptr;
+       int k = count;
+       int unmount_me = 0;
+ 
+@@ -85,7 +92,7 @@
+ void
+ unmount_all_under(struct i_fn_args *a, struct commands *cmds, char *fmt, ...)
+ {
+-      struct statfs *mt_array;
++      struct STATFS *mt_array;
+       int count;
+       char *mtpt;
+       va_list args;
diff -r 3a473069c691 -r c2ff9222b8b6 devel/libinstaller/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libinstaller/DESCR  Wed Feb 09 05:42:43 2005 +0000
@@ -0,0 +1,2 @@
+libinstaller is a library of support functions for the BSD Installer
+application, dfuibe_installer.
diff -r 3a473069c691 -r c2ff9222b8b6 devel/libinstaller/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libinstaller/Makefile       Wed Feb 09 05:42:43 2005 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/09 05:44:18 xtraeme Exp $
+#
+
+DISTNAME=      libinstaller-4.0
+CATEGORIES=    devel
+MASTER_SITES=  http://www.bsdinstaller.org/distfiles/
+
+MAINTAINER=    xtraeme%NetBSD.org@localhost
+HOMEPAGE=      http://www.bsdinstaller.org/
+COMMENT=       Library of support functions for the BSD Installer application
+
+WRKSRC=                ${WRKDIR}/libinstaller
+USE_BUILDLINK3=        yes
+
+SUBST_CLASSES+=                prefix
+SUBST_STAGE.prefix=    post-patch
+SUBST_FILES.prefix=    Makefile
+SUBST_SED.prefix=      -e "s,/usr/local,${PREFIX},g"
+SUBST_MESSAGE.prefix=  "Fixing hardcoded paths."
+
+.include "../../devel/libaura/buildlink3.mk"
+.include "../../devel/libdfui/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3a473069c691 -r c2ff9222b8b6 devel/libinstaller/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libinstaller/PLIST  Wed Feb 09 05:42:43 2005 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/09 05:44:18 xtraeme Exp $
+include/installer/commands.h
+include/installer/confed.h
+include/installer/diskutil.h
+include/installer/functions.h
+include/installer/package.h
+include/installer/uiutil.h
+lib/libinstaller.a
+lib/libinstaller.so
+lib/libinstaller.so.4
+lib/libinstaller.so.${PKGVERSION}
+lib/libinstaller_pic.a
+@dirrm include/installer
diff -r 3a473069c691 -r c2ff9222b8b6 devel/libinstaller/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libinstaller/buildlink3.mk  Wed Feb 09 05:42:43 2005 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/02/09 05:44:18 xtraeme Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+LIBINSTALLER_BUILDLINK3_MK:=   ${LIBINSTALLER_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    libinstaller
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibinstaller}
+BUILDLINK_PACKAGES+=   libinstaller
+
+.if !empty(LIBINSTALLER_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libinstaller+=       libinstaller>=4.0
+BUILDLINK_PKGSRCDIR.libinstaller?=     ../../devel/libinstaller
+.endif # LIBINSTALLER_BUILDLINK3_MK
+
+.include "../../devel/libaura/buildlink3.mk"
+.include "../../devel/libdfui/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 3a473069c691 -r c2ff9222b8b6 devel/libinstaller/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libinstaller/distinfo       Wed Feb 09 05:42:43 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/09 05:44:18 xtraeme Exp $
+
+SHA1 (libinstaller-4.0.tar.gz) = caeadbd8c6d31266c78b3f2ce0669336cb2dd0ce
+Size (libinstaller-4.0.tar.gz) = 20889 bytes
+SHA1 (patch-aa) = 7d0117d988b04c6af288858b0130d86a2937a468
diff -r 3a473069c691 -r c2ff9222b8b6 devel/libinstaller/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libinstaller/patches/patch-aa       Wed Feb 09 05:42:43 2005 +0000
@@ -0,0 +1,34 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/02/09 05:44:18 xtraeme Exp $
+
+--- mount.c.orig       2005-02-09 04:51:24.000000000 +0100
++++ mount.c    2005-02-09 04:52:38.000000000 +0100
+@@ -52,11 +52,18 @@
+ #include "commands.h"
+ #include "functions.h"
+ 
++#if (__NetBSD_Version__ >= 200040000)
++#define STATFS statvfs
++#else
++#define STATFS statfs
++#endif
++      
++
+ void
+ unmount_all_under_r(struct i_fn_args *a, struct commands *cmds,
+-                  char *mtpt, struct statfs *mt_array, int count)
++                  char *mtpt, struct STATFS *mt_array, int count)
+ {
+-      struct statfs *mt_ptr;
++      struct STATFS *mt_ptr;
+       int k = count;
+       int unmount_me = 0;
+ 
+@@ -85,7 +92,7 @@
+ void
+ unmount_all_under(struct i_fn_args *a, struct commands *cmds, char *fmt, ...)
+ {
+-      struct statfs *mt_array;
++      struct STATFS *mt_array;
+       int count;
+       char *mtpt;
+       va_list args;



Home | Main Index | Thread Index | Old Index