summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-10-11 20:08:11 +0000
committertv <tv@pkgsrc.org>2004-10-11 20:08:11 +0000
commit09e32bf004072d3cf48bc8f9a5105f0fc953a727 (patch)
treef5cd0cc3a0c173f77c80dbc2d2cf43414b70d00a /emulators
parent2f4cc6068071cf999ebdad3eabd6782d3cd235f6 (diff)
downloadpkgsrc-09e32bf004072d3cf48bc8f9a5105f0fc953a727.tar.gz
cygwin_lib, a pkgsrc-izing of the barebones Cygwin DLL. This provides
a framework for some Win32 gateway services for Interix.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/cygwin_lib/DESCR4
-rw-r--r--emulators/cygwin_lib/Makefile33
-rw-r--r--emulators/cygwin_lib/PLIST28
-rw-r--r--emulators/cygwin_lib/buildlink3.mk18
-rw-r--r--emulators/cygwin_lib/distinfo4
5 files changed, 87 insertions, 0 deletions
diff --git a/emulators/cygwin_lib/DESCR b/emulators/cygwin_lib/DESCR
new file mode 100644
index 00000000000..6803bc9da51
--- /dev/null
+++ b/emulators/cygwin_lib/DESCR
@@ -0,0 +1,4 @@
+This is a package, mainly for Interix, that provides basic Cygwin
+functionality for emulation purposes. This allows some Cygwin binaries to
+provide gatewaying services to Interix processes where "native" Interix
+services are unavailable.
diff --git a/emulators/cygwin_lib/Makefile b/emulators/cygwin_lib/Makefile
new file mode 100644
index 00000000000..268a8fc11d5
--- /dev/null
+++ b/emulators/cygwin_lib/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/11 20:08:11 tv Exp $
+#
+
+DISTNAME= cygwin-1.5.11-1
+PKGNAME= ${DISTNAME:S/-/!/:S/-/./g:S/!/_lib-/}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_CYGWIN:=release/cygwin/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= tv@duh.org
+HOMEPAGE= http://www.cygwin.com/
+COMMENT= Basic Cygwin library and executables for emulation
+
+ONLY_FOR_PLATFORM= Interix-*-*
+
+DIST_SUBDIR= cygwin
+WRKSRC= ${WRKDIR}
+USE_BUILDLINK3= yes
+
+SYMLINKS= cygpath ipcrm ipcs kill mount ps regtool umount
+
+do-build: # nothing
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/usr/bin/cygwin1.dll ${PREFIX}/bin/
+ @for f in ${WRKSRC}/usr/bin/*.exe; do \
+ ${INSTALL_LIB} $$f ${PREFIX}/emul/cygwin/bin/; \
+ done
+.for f in ${SYMLINKS}
+ ${LN} -sf ../emul/cygwin/bin/$f.exe ${PREFIX}/bin/cygwin-$f
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/cygwin_lib/PLIST b/emulators/cygwin_lib/PLIST
new file mode 100644
index 00000000000..20daad2aa78
--- /dev/null
+++ b/emulators/cygwin_lib/PLIST
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/11 20:08:11 tv Exp $
+bin/cygwin1.dll
+bin/cygwin-cygpath
+bin/cygwin-ipcrm
+bin/cygwin-ipcs
+bin/cygwin-kill
+bin/cygwin-mount
+bin/cygwin-ps
+bin/cygwin-regtool
+bin/cygwin-umount
+emul/cygwin/bin/cygpath.exe
+emul/cygwin/bin/dumper.exe
+emul/cygwin/bin/getfacl.exe
+emul/cygwin/bin/ipcrm.exe
+emul/cygwin/bin/ipcs.exe
+emul/cygwin/bin/kill.exe
+emul/cygwin/bin/mkgroup.exe
+emul/cygwin/bin/mkpasswd.exe
+emul/cygwin/bin/mount.exe
+emul/cygwin/bin/passwd.exe
+emul/cygwin/bin/ps.exe
+emul/cygwin/bin/regtool.exe
+emul/cygwin/bin/setfacl.exe
+emul/cygwin/bin/ssp.exe
+emul/cygwin/bin/strace.exe
+emul/cygwin/bin/umount.exe
+@dirrm emul/cygwin/bin
+@dirrm emul/cygwin
diff --git a/emulators/cygwin_lib/buildlink3.mk b/emulators/cygwin_lib/buildlink3.mk
new file mode 100644
index 00000000000..4dbee03907a
--- /dev/null
+++ b/emulators/cygwin_lib/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/10/11 20:08:11 tv Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+CYGWIN_LIB_BUILDLINK3_MK:= ${CYGWIN_LIB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= cygwin_lib
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncygwin_lib}
+BUILDLINK_PACKAGES+= cygwin_lib
+
+.if !empty(CYGWIN_LIB_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.cygwin_lib+= cygwin_lib>=1.5.11.1
+BUILDLINK_PKGSRCDIR.cygwin_lib?= ../../emulators/cygwin_lib
+.endif # CYGWIN_LIB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/emulators/cygwin_lib/distinfo b/emulators/cygwin_lib/distinfo
new file mode 100644
index 00000000000..1d8c9e0d3bf
--- /dev/null
+++ b/emulators/cygwin_lib/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/10/11 20:08:11 tv Exp $
+
+SHA1 (cygwin/cygwin-1.5.11-1.tar.bz2) = 0e708eadb6d2507a0e42309b7e0abbb433b1f4e2
+Size (cygwin/cygwin-1.5.11-1.tar.bz2) = 1179700 bytes