summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-02-09 05:42:43 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-02-09 05:42:43 +0000
commit1b5a896944d6099c999d7390709796069a147383 (patch)
tree3a640e890925398a9e9445b8cc89b280b9dedd0f /devel
parent351dc9979a8e81052d268b46b54829dce144cf99 (diff)
downloadpkgsrc-1b5a896944d6099c999d7390709796069a147383.tar.gz
Initial import of libinstaller-4.0.
libinstaller is a library of support functions for the BSD Installer application, dfuibe_installer.
Diffstat (limited to 'devel')
-rw-r--r--devel/libdinstaller/DESCR2
-rw-r--r--devel/libdinstaller/Makefile23
-rw-r--r--devel/libdinstaller/PLIST13
-rw-r--r--devel/libdinstaller/buildlink3.mk21
-rw-r--r--devel/libdinstaller/distinfo5
-rw-r--r--devel/libdinstaller/patches/patch-aa34
-rw-r--r--devel/libinstaller/DESCR2
-rw-r--r--devel/libinstaller/Makefile23
-rw-r--r--devel/libinstaller/PLIST13
-rw-r--r--devel/libinstaller/buildlink3.mk21
-rw-r--r--devel/libinstaller/distinfo5
-rw-r--r--devel/libinstaller/patches/patch-aa34
12 files changed, 196 insertions, 0 deletions
diff --git a/devel/libdinstaller/DESCR b/devel/libdinstaller/DESCR
new file mode 100644
index 00000000000..461bf93fc03
--- /dev/null
+++ b/devel/libdinstaller/DESCR
@@ -0,0 +1,2 @@
+libinstaller is a library of support functions for the BSD Installer
+application, dfuibe_installer.
diff --git a/devel/libdinstaller/Makefile b/devel/libdinstaller/Makefile
new file mode 100644
index 00000000000..6fbc125588d
--- /dev/null
+++ b/devel/libdinstaller/Makefile
@@ -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
+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 --git a/devel/libdinstaller/PLIST b/devel/libdinstaller/PLIST
new file mode 100644
index 00000000000..138fb106fa3
--- /dev/null
+++ b/devel/libdinstaller/PLIST
@@ -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 --git a/devel/libdinstaller/buildlink3.mk b/devel/libdinstaller/buildlink3.mk
new file mode 100644
index 00000000000..a5aa03deaf0
--- /dev/null
+++ b/devel/libdinstaller/buildlink3.mk
@@ -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 --git a/devel/libdinstaller/distinfo b/devel/libdinstaller/distinfo
new file mode 100644
index 00000000000..6375b881abb
--- /dev/null
+++ b/devel/libdinstaller/distinfo
@@ -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 --git a/devel/libdinstaller/patches/patch-aa b/devel/libdinstaller/patches/patch-aa
new file mode 100644
index 00000000000..66e796f37a1
--- /dev/null
+++ b/devel/libdinstaller/patches/patch-aa
@@ -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 --git a/devel/libinstaller/DESCR b/devel/libinstaller/DESCR
new file mode 100644
index 00000000000..461bf93fc03
--- /dev/null
+++ b/devel/libinstaller/DESCR
@@ -0,0 +1,2 @@
+libinstaller is a library of support functions for the BSD Installer
+application, dfuibe_installer.
diff --git a/devel/libinstaller/Makefile b/devel/libinstaller/Makefile
new file mode 100644
index 00000000000..39cc74f8f1c
--- /dev/null
+++ b/devel/libinstaller/Makefile
@@ -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
+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 --git a/devel/libinstaller/PLIST b/devel/libinstaller/PLIST
new file mode 100644
index 00000000000..dec9154deec
--- /dev/null
+++ b/devel/libinstaller/PLIST
@@ -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 --git a/devel/libinstaller/buildlink3.mk b/devel/libinstaller/buildlink3.mk
new file mode 100644
index 00000000000..5c50b2bbc41
--- /dev/null
+++ b/devel/libinstaller/buildlink3.mk
@@ -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 --git a/devel/libinstaller/distinfo b/devel/libinstaller/distinfo
new file mode 100644
index 00000000000..b683b2c85f6
--- /dev/null
+++ b/devel/libinstaller/distinfo
@@ -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 --git a/devel/libinstaller/patches/patch-aa b/devel/libinstaller/patches/patch-aa
new file mode 100644
index 00000000000..4517e06636d
--- /dev/null
+++ b/devel/libinstaller/patches/patch-aa
@@ -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;