Remove cruft

This commit is contained in:
Eelco Dolstra 2016-04-26 17:31:54 +02:00
parent 454eefa63b
commit a133a74c89
38 changed files with 1 additions and 5519 deletions

View file

@ -1,22 +0,0 @@
#! /usr/bin/perl -w
use strict;
my %map;
open LIST1, "<$ARGV[0]" or die;
while (<LIST1>) {
/^(\S+)\s+(.*)$/;
$map{$1} = $2;
}
open LIST1, "<$ARGV[1]" or die;
while (<LIST1>) {
/^(\S+)\s+(.*)$/;
if (!defined $map{$1}) {
print STDERR "missing file: $2\n";
next;
}
print "$2\n";
print "$map{$1}\n";
}

View file

@ -1,26 +0,0 @@
source $stdenv/setup
mkdir -p $out
cabextract $src
mkdir tmp
cd tmp
cabextract ../vcsetup1.cab
rm ../vc* # reduce temporary disk usage a bit
while read target; do
read source
echo "$source -> $target"
mkdir -p $out/$(dirname $target)
cp -p "$source" $out/"$target"
done < $filemap
# Make DLLs and executables executable.
find $out \( -iname "*.dll" -o -iname "*.exe" -o -iname "*.config" \) -print0 | xargs -0 chmod +x
cat > $out/setup <<EOF
export PATH="$out/VC/bin:$out/Common7/IDE:\$PATH"
export LIB="$(cygpath -w -p "$out/VC/lib")"
export INCLUDE="$(cygpath -w -p "$out/VC/include")"
EOF

View file

@ -1,27 +0,0 @@
{stdenv, fetchurl, cabextract}:
assert stdenv.system == "i686-cygwin";
stdenv.mkDerivation {
# Derived from Visual C++ 2005 (= VC 8), followed by cl.exe's
# internal version number.
name = "visual-c++-8-14.00.50727.42";
builder = ./builder.sh;
src = fetchurl {
url = http://download.microsoft.com/download/0/5/A/05AA45B9-A4BE-4872-8D57-733DF5297284/Ixpvc.exe;
md5 = "5b3b07cb048798822582a752f586bab9";
};
# The `filemap' maps the pretty much useless paths in the CAB file
# to their intended destinations in the file system, as determined
# from a normal Visual C++ Express installation.
#
# Recipe for reproducing:
# $ find -type f /path/to/unpacked-cab -print0 | xargs -0 md5sum > m1
# $ find -type f /path/to/visual-c++ -print0 | xargs -0 md5sum > m2
# $ nixpkgs/maintainers/scripts/map-files.pl m1 m2 > filemap
filemap = ./filemap;
buildInputs = [cabextract];
}

View file

@ -1,622 +0,0 @@
./Common7/IDE/msobj80.dll
./FL_msobj71_dll_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/IDE/mspdb80.dll
./FL_mspdb71_dll_2_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/IDE/mspdbcore.dll
./FL_mspdbcore_dll_92167_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/IDE/mspdbsrv.exe
./FL_mspdbsrv_exe_92168_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/IDE/PEVerify.exe
./FL_PEVerify_exe_142183_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/IDE/PEVerify.exe.config
./FL_PEVerify_exe_config_142184________.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/IDE/PublicAssemblies/CppCodeProvider.dll
./FL_CppCodeProvider_dll_72654_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/IDE/PublicAssemblies/Microsoft.VisualC.VSCodeProvider.dll
./FL_Microsoft_VisualC_VSCodeProvider_dll_72653_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.VCCodeModel.dll
./Microsoft_VisualStudio_VCCodeModel_dll_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.VCCodeModel.xml
./FL_Microsoft_VisualStudio_VCCodeModel_xml_141601_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.VCProject.dll
./Microsoft_VisualStudio_VCProject_dll_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.VCProject.xml
./FL_Microsoft_VisualStudio_VCProject_xml_141602_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.VCProjectEngine.dll
./FL_Microsoft_VisualStudio_VCProjectEngine__72652_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.VCProjectEngine.xml
./FL_Microsoft_VisualStudio_VCProjectEngine__141603_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/Tools/errlook.exe
./FL_errlook_exe_ENU_X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/Tools/errlook.hlp
./FL_errlook_hlp_ENU_X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/Tools/makehm.exe
./FL_makehm_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./Common7/Tools/vcvars.txt
./FL_vcvars32_bat_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/AxImp.exe
./FL_AxImp_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/gacutil.exe
./FL_gacutil_exe_ENU_X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/gacutil.exe.config
./FL_PEVerify_exe_config_142184________.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/lc.exe
./FL_lc_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/PEVerify.exe
./FL_PEVerify_exe_142183_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/PEVerify.exe.config
./FL_PEVerify_exe_config_142184________.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/ResGen.exe
./FL_ResGen_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/sgen.exe
./FL_sgen_exe_94980_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/signtool.exe
./FL_signtool_exe_102951_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/sn.exe
./FL_sn_exe_ENU_X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/TlbExp.exe
./FL_TlbExp_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/TlbImp.exe
./TlbImp_exe_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/TlbRef.dll
./FL_TlbRef_dll_91955_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/wsdl.exe
./FL_wsdl_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/wsdl.exe.config
./FL_PEVerify_exe_config_142184________.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Bin/xsd.exe
./FL_xsd_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./SDK/v2.0/Lib/mscoree.lib
./mscoree_lib_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/1033/atlprovui.dll
./FL_atlprovui_dll_122786_ENU_X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/1033/bscmakeui.dll
./FL_bscmakeui_dll_103043_ENU_X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/1033/clui.dll
./FL_clui_dll_95594_ENU_X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/1033/cvtresui.dll
./FL_cvtresui_dll_103020_ENU_X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/1033/linkui.dll
./FL_linkui_dll_102968_ENU_X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/1033/nmakeui.dll
./FL_nmakeui_dll_103025_ENU_X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/atlprov.dll
./FL_atlprov_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/bscmake.exe
./FL_bscmake_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/c1.dll
./FL_c1_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/c1xx.dll
./FL_c1xx_dll_67102_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/c2.dll
./FL_c2_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/cl.exe
./FL_cl_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/cl.exe.config
./FL_xdcmake_exe_config_76491_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/cvtres.exe
./cvtres_exe_4_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/dumpbin.exe
./FL_dumpbin_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/editbin.exe
./FL_editbin_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/lib.exe
./FL_lib_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/link.exe
./FL_link_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/link.exe.config
./FL_xdcmake_exe_config_76491_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/nmake.exe
./FL_nmake_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/rc.exe
./rc_exe_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/rcdll.dll
./FL_rcdll_dll_66416_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/undname.exe
./FL_undname_exe_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/VCExpCmdPromptShortcut.txt
./FL_blank_txt_120872________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/vcvars32.bat
./vcvars32_bat_1________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/xdcmake.exe
./FL_xdcmake_exe_76490_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/bin/xdcmake.exe.config
./FL_xdcmake_exe_config_76491_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/delayhlp.cpp
./FL_delayhlp_cpp________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/intrin.h
./FL_intrin_h_106236_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/memory.h
./FL_memory_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/time.h
./FL_time_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/algorithm
./FL_algrithm________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/assert.h
./FL_assert_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/bitset
./FL_bitset________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/cassert
./FL_cassert________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/cctype
./FL_cctype________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/cerrno
./FL_cerrno________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/cfloat
./FL_cfloat________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/ciso646
./FL_ciso646________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/climits
./FL_climits________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/clocale
./FL_clocale________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/cmath
./FL_cmath________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/CodeAnalysis/sourceannotations.h
./FL_sourceannotations_h_126529________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/comdef.h
./FL_comdef_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/comdefsp.h
./FL_comdefsp_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/comip.h
./FL_comip_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/complex
./FL_complex________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/comutil.h
./FL_comutil_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/conio.h
./FL_conio_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/crtassem.h
./FL_crtassem_h_115581_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/crtdbg.h
./FL_crtdbg_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/crtdefs.h
./FL_crtdefs_h_92449_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/crtwrn.h
./FL_crtwrn_h_110314_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/csetjmp
./FL_csetjmp________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/csignal
./FL_csignal________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/cstdarg
./FL_cstdarg________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/cstddef
./FL_cstddef________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/cstdio
./FL_cstdio________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/cstdlib
./FL_cstdlib________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/cstring
./FL_cstring________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/ctime
./FL_ctime________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/ctype.h
./FL_ctype_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/cwchar
./FL_cwchar________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/cwctype
./FL_cwctype________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/dbgautoattach.h
./dbgautoattach_h_2________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/minmax.h
./FL_minmax_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/mm3dnow.h
./FL_mm3dnow_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/mmintrin.h
./FL_mmintrin_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/msclr/all.h
./FL_all_h_120615________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/msclr/appdomain.h
./FL_appdomain_h_120616________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/msclr/auto_gcroot.h
./FL_auto_gcroot_h_120617________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/msclr/auto_handle.h
./FL_auto_handle_h_120618________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/msclr/com/ptr.h
./FL_ptr_h_120621________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/msclr/event.h
./FL_event_h_122275________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/msclr/gcroot.h
./FL_gcroot_h_134688________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/msclr/lock.h
./FL_lock_h_120619________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/msclr/safebool.h
./FL_safebool_h_120620________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/new
./FL_new________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/new.h
./FL_new_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/numeric
./FL_numeric________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/ostream
./FL_ostream________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/penwin.h
./FL_penwin_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/process.h
./FL_process_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/queue
./FL_queue________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/rtcapi.h
./rtcapi_h_1________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/sal.h
./FL_sal_h_122276_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/search.h
./FL_search_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/set
./FL_set________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/setjmp.h
./FL_setjmp_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/setjmpex.h
./FL_setjmpex_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/share.h
./FL_share_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/signal.h
./FL_signal_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/sstream
./FL_sstream________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/stack
./FL_stack________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/stdarg.h
./FL_stdarg_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/stddef.h
./FL_stddef_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/stdexcept
./FL_stdxcept________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/stdexcpt.h
./FL_stdexcpt_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/stdio.h
./FL_stdio_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/stdlib.h
./FL_stdlib_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/streambuf
./FL_streambf________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/string
./FL_string________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/string.h
./FL_string_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/strstream
./FL_strstrem________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/swprintf.inl
./FL_swprintf_inl_114606_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/sys/locking.h
./locking_h_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/sys/stat.h
./stat_h_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/sys/stat.inl
./FL_stat_inl_73772_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/sys/timeb.h
./timeb_h_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/sys/timeb.inl
./FL_timeb_inl_73773_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/sys/types.h
./types_h_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/sys/utime.h
./utime_h_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/sys/utime.inl
./FL_utime_inl_73774_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/sys/wstat.inl
./FL_wstat_inl_73775_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/tchar.h
./FL_tchar_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/delayimp.h
./FL_delayimp_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/deque
./FL_deque________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/direct.h
./FL_direct_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/dos.h
./FL_dos_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/dvec.h
./FL_dvec_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/eh.h
./FL_eh_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/emmintrin.h
./FL_emmintrin_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/errno.h
./FL_errno_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/exception
./FL_xception________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/excpt.h
./FL_excpt_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/fcntl.h
./FL_fcntl_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/float.h
./FL_float_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/fpieee.h
./FL_fpieee_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/fstream
./FL_fstream________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/functional
./FL_fctional________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/fvec.h
./FL_fvec_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/gcroot.h
./FL_gcroot_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/hash_map
./FL_hash_map________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/hash_set
./FL_hash_set________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/time.inl
./FL_time_inl_73769_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/typeinfo
./FL_typeinfo________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/typeinfo.h
./FL_typeinfo_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/use_ansi.h
./FL_use_ansi_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/utility
./FL_utility________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/vadefs.h
./FL_vadefs_h_76352_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/valarray
./FL_valarray________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/varargs.h
./FL_varargs_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/vcclr.h
./FL_vcclr_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/vector
./FL_vector________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/wchar.h
./FL_wchar_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/wctype.h
./FL_wctype_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/wtime.inl
./FL_wtime_inl_73771_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xcomplex
./FL_xcomplex________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xdebug
./FL_xdebug________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xhash
./FL_xhash________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xiosbase
./FL_xiosbase________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xlocale
./FL_xlocale________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xlocinfo
./FL_xlocinfo________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xlocinfo.h
./FL_xlocinfo_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xlocmes
./FL_xlocmes________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xlocmon
./FL_xlocmon________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xlocnum
./FL_xlocnum________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xloctime
./FL_xloctime________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xmath.h
./FL_xmath_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xmemory
./FL_xmemory________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xmmintrin.h
./FL_xmmintrin_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xstddef
./FL_xstddef________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xstring
./FL_xstring________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xtree
./FL_xtree________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/xutility
./FL_xutility________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/ymath.h
./FL_ymath_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/yvals.h
./FL_yvals_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/_vcclrit.h
./FL__vcclrit_h_103662_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/invkprxy.h
./FL_invkprxy_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/io.h
./FL_io_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/iomanip
./FL_iomanip________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/ios
./FL_ios________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/iosfwd
./FL_iosfwd________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/iostream
./FL_iostream________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/iso646.h
./FL_iso646_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/istream
./FL_istream________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/iterator
./FL_iterator________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/ivec.h
./FL_ivec_h________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/limits
./FL_limits________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/limits.h
./FL_limits_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/list
./FL_list________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/listing.inc
./listing_inc_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/locale
./FL_locale________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/locale.h
./FL_locale_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/malloc.h
./FL_malloc_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/map
./FL_map________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/math.h
./FL_math_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/mbctype.h
./FL_mbctype_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/mbstring.h
./FL_mbstring_h_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/include/memory
./FL_memory________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/msvcprtd.lib
./FL_msvcprtd_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/binmode.obj
./FL_binmode_obj_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/chkstk.obj
./chkstk_obj_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/commode.obj
./FL_commode_obj_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/comsupp.lib
./FL_comsupp_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/comsuppd.lib
./comsuppd_lib_1_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/comsuppw.lib
./FL_comsuppw_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/comsuppwd.lib
./FL_comsuppwd_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/delayimp.lib
./FL_delayimp_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/fp10.obj
./FL_fp10_obj_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/invalidcontinue.obj
./FL_invalidcontinue_obj_117316_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/kernel32.lib
./FL_kernel32_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/libcmt.lib
./FL_libcmt_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/libcmt.pdb
./FL_libcmt_pdb_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/libcmtd.lib
./FL_libcmtd_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/libcmtd.pdb
./FL_libcmtd_pdb_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/libcpmt.lib
./FL_libcpmt_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/libcpmt.pdb
./FL_libcpmt_pdb_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/libcpmtd.lib
./FL_libcpmtd_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/libcpmtd.pdb
./FL_libcpmtd_pdb_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/libsmanifest.res
./FL_libsmanifest_res_111130________.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/loosefpmath.obj
./FL_loosefpmath_obj_106228_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/msvcmrt.lib
./FL_msvcmrt_lib_92271_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/msvcmrtd.lib
./FL_msvcmrtd_lib_92272_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/msvcprt.lib
./FL_msvcprt_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/msvcrt.lib
./FL_msvcrt_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/msvcrtd.lib
./FL_msvcrtd_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/msvcurt.lib
./FL_msvcurt_lib_102954_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/msvcurtd.lib
./FL_msvcurtd_lib_102955_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/newmode.obj
./FL_newmode_obj_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/noarg.obj
./FL_noarg_obj_126544_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/nochkclr.obj
./FL_nochkclr_obj_110315_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/noenv.obj
./FL_noenv_obj_126545_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/nothrownew.obj
./FL_nothrownew_obj_97867_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/oldnames.lib
./FL_oldnames_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/opends60.lib
./FL_opends60_lib_127616_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/pbinmode.obj
./FL_pbinmode_obj_125244_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/pcommode.obj
./FL_pcommode_obj_125245_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/pinvalidcontinue.obj
./FL_pinvalidcontinue_obj_125246_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/pnewmode.obj
./FL_pnewmode_obj_125247_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/pnoarg.obj
./FL_pnoarg_obj_125248_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/pnoenv.obj
./FL_pnoenv_obj_125249_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/pnothrownew.obj
./FL_pnothrownew_obj_125250_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/psetargv.obj
./FL_psetargv_obj_125251_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/pthreadlocale.obj
./FL_pthreadlocale_obj_125252_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/ptrustm.lib
./FL_ptrustm_lib_136980_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/ptrustmd.lib
./FL_ptrustmd_lib_136981_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/ptrustu.lib
./FL_ptrustu_lib_136982_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/ptrustud.lib
./FL_ptrustud_lib_136983_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/pwsetargv.obj
./FL_pwsetargv_obj_125253_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/RunTmChk.lib
./FL_RunTmChk_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/setargv.obj
./FL_setargv_obj_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/smalheap.obj
./FL_smalheap_obj_126541_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/threadlocale.obj
./FL_threadlocale_obj_126542_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/lib/wsetargv.obj
./FL_wsetargv_obj_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/vcpackages/1033/vcbuildui.dll
./FL_vcbuildui_dll_113019_ENU_X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/vcpackages/1033/VCProjectUI.dll
./FL_prjbldui_dll_ENU_X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/vcpackages/vcbuild.exe
./FL_vsbuild_exe_75031_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/vcpackages/VCProjectEngine.dll.config
./FL_VCProjectEngine_dll_config_93244_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/vcpackages/VCProjectEngine.Dll.Express.Config
./FL_VCProjectEngine_Dll_Express_Config_109708_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/ATLDynamic.vsprops
./FL_ATLDynamic_vcstyle_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/ATLNoCRT.vsprops
./FL_ATLNoCRT_vcstyle_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/ATLStatic.vsprops
./FL_ATLStatic_vcstyle_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/ATLWithCRT.vsprops
./FL_ATLWithCRT_vcstyle_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/BuildBsc.vsprops
./FL_BuildBsc_vcstyle_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/CoreWin.vsprops
./FL_CoreWin_vcstyle_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/corewin_express.vsprops
./FL_corewin_express_vsprops_104010_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/ManagedExtensions.vsprops
./FL_ManagedExtensions_vcstyle_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/ManagedExtensionsOldSyntax.vsprops
./FL_ManagedExtensionsOldSyntax_vsprops_103909_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/ManagedExtensionsPure.vsprops
./FL_ManagedExtensionsPure_vsprops_103907_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/ManagedExtensionsSafe.vsprops
./FL_ManagedExtensionsSafe_vsprops_103908_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/MfcDynamic.vsprops
./FL_MfcDynamic_vcstyle_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/MfcStatic.vsprops
./FL_MfcStatic_vcstyle_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/MultiByteCharSupport.vsprops
./FL_MultiByteCharSupport_vcstyle_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/pgoinstrument.vsprops
./FL_pgoinstrument_vsprops_92166_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/pgooptimize.vsprops
./FL_pgooptimize_vsprops_92165_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/pgoupdate.vsprops
./FL_pgoupdate_vsprops_92935_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/StaticAnalysis.vsprops
./FL_StaticAnalysis_vsprops_122128_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/UnicodeSupport.vsprops
./FL_UnicodeSupport_vcstyle_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/UpgradeFromVC60.vsprops
./FL_UpgradeFromVC60_vsprops_123105_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/UpgradeFromVC70.vsprops
./FL_UpgradeFromVC70_vsprops_123106_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/UpgradeFromVC71.vsprops
./FL_UpgradeFromVC71_vsprops_123107_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/VCMergeModules.xml
./FL_VCMergeModules_xml_120801_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/WholeProgOptimize.vsprops
./FL_WholeProgOptimize_vcstyle_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/VCProjectDefaults/WinDLL.vsprops
./FL_WinDLL_vcstyle_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
./VC/vcvarsall.bat
./FL_vcvarsall_bat_103803________.3643236F_FC70_11D3_A536_0090278A1BB8

View file

@ -1,6 +0,0 @@
source $stdenv/setup
source $visualcpp/setup
source $windowssdk/setup
mkdir -p $out/bin
cl "$(cygpath -w $src)" /Fe"$(cygpath -w $out/bin/hello.exe)" user32.lib

View file

@ -1,10 +0,0 @@
{stdenv, fetchurl, visualcpp, windowssdk}:
assert stdenv.system == "i686-cygwin";
stdenv.mkDerivation {
name = "win32-hello";
builder = ./builder.sh;
src = ./hello.c;
inherit visualcpp windowssdk;
}

View file

@ -1,7 +0,0 @@
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
int nCmdShow)
{
MessageBox(NULL, "Hello World!", "Nix", MB_OK);
return 0;
}

View file

@ -1,35 +0,0 @@
source $stdenv/setup
mkdir -p $out
n=1
for p in $srcs; do
ln -s $p PSDK-FULL.$n.cab
n=$((n + 1))
done
mkdir tmp
cd tmp
cabextract ../PSDK-FULL.1.cab
mkdir tmp
cd tmp
for i in ../Setup/*.cab; do
cabextract $i
done
while read target; do
read source
echo "$source -> $target"
mkdir -p "$out/$(dirname "$target")"
cp "$source" "$out/$target"
done < $filemap
# Make DLLs and executables executable.
find $out \( -iname "*.dll" -o -iname "*.exe" -o -iname "*.config" \) -print0 | xargs -0 chmod +x
cat > $out/setup <<EOF
export PATH="$out/bin:\$PATH"
export LIB="$(cygpath -w -p "$out/lib");\$LIB"
export INCLUDE="$(cygpath -w -p "$out/include");\$INCLUDE"
EOF

View file

@ -1,92 +0,0 @@
{stdenv, fetchurl, cabextract}:
#assert stdenv.system == "i686-cygwin";
stdenv.mkDerivation {
# Windows Server 2003 R2 Platform SDK - March 2006 Edition.
name = "windows-sdk-2003-r2";
builder = ./builder.sh;
srcs = [
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.1.cab;
md5 = "9b07b16ff1ae4982a5d4bfbe550d383e";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.2.cab;
md5 = "b8ace0bdda22b267d88149ac3d49f889";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.3.cab;
md5 = "b7a0109df5a28a5489e84df7d7a61668";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.4.cab;
md5 = "f3aded09c1ea845785247c45574f27fd";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.5.cab;
md5 = "978b7124550895358196e3f7de303cf5";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.6.cab;
md5 = "cf390a0479860e1e74f8e8fcddaf307f";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.7.cab;
md5 = "c9d1c8790fc5becaff4619d778d192a9";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.8.cab;
md5 = "d94d61c444ba73702c54d93084b756e1";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.9.cab;
md5 = "1990b7598960d503b9cd9aa9b7eb9174";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.10.cab;
md5 = "6437fd9dc2c65017c7bb4e759b13f678";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.11.cab;
md5 = "98f46cb52a01fae4e56e62f5bfef0fde";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.12.cab;
md5 = "b5f21fde5965b0f1079fd9c9a3434da6";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.13.cab;
md5 = "708574a95c51307e40e6da48e909f288";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.14.cab;
md5 = "19e90769d3500f6448e5ce2e1290fdd5";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.15.cab;
md5 = "0ccb3484253b3578e60ff1abb89f2f68";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.16.cab;
md5 = "e94106bb4e217b3c86c529afbb8489eb";
})
(fetchurl {
url = http://download.microsoft.com/download/1/e/a/1ea37493-825f-464e-a874-403c75facd5b/PSDK-FULL.17.cab;
md5 = "87eaa56fbd625ec696f16dbf136a3904";
})
];
# The `filemap' maps the pretty much useless paths in the CAB file
# to their intended destinations in the file system, as determined
# from a normal SDK installation.
#
# Recipe for reproducing:
# $ find -type f /path/to/unpacked-cabs -print0 | xargs -0 md5sum > m1
# $ find -type f /path/to/visual-c++ -print0 | xargs -0 md5sum > m2
# $ nixpkgs/maintainers/scripts/map-files.pl m1 m2 > filemap
filemap = ./filemap;
buildInputs = [cabextract];
}

File diff suppressed because it is too large Load diff

View file

@ -1,36 +0,0 @@
source $stdenv/setup
makeFlags="prefix=$out"
installFlags="prefix=$out"
postInstall() {
(cd $out && ln -s lib-* lib)
(cd $out/lib && ln -s start.o crt1.o)
# Fake crti.o and crtn.o.
touch empty.c
gcc -c empty.c -o $out/lib/crti.o
gcc -c empty.c -o $out/lib/crtn.o
# Copy <sys/user.h> from Glibc; binutils wants it.
cp $glibc/include/sys/user.h $out/include/sys/
# Remove <dlfcn.h>, it makes some packages think we can load
# dynamic libraries.
rm $out/include/dlfcn.h
# Dietlibc has a asm include directory, whose presence makes the
# asm directory of kernel-headers unreachable. So make symlinks
# from the dietlibc asm to the kernel-headers asm.
ln -s $kernelHeaders/include/asm/* $out/include/asm/ || true
# Make asm-x86_64 etc. available.
for i in $kernelHeaders/include/asm-*; do
ln -s $i $out/include/
done
# Idem for include/linux.
ln -s $kernelHeaders/include/linux/* $out/include/linux/ || true
}
genericBuild

View file

@ -1,43 +0,0 @@
{stdenv, fetchurl, glibc}:
assert stdenv.isLinux;
stdenv.mkDerivation {
name = "dietlibc-0.30";
src = fetchurl {
url = mirror://kernel/linux/libs/dietlibc/dietlibc-0.30.tar.bz2;
md5 = "2465d652fff6f1fad3da3b98e60e83c9";
};
builder = ./builder.sh;
inherit glibc;
kernelHeaders = glibc.linuxHeaders;
patches = [
# dietlibc's sigcontext.h provides a macro called PC(), which is
# rather intrusive (e.g., binutils fails to compile because of
# it). Rename it.
./pc.patch
# wchar.h declares lots of functions that don't actually exist.
# Remove them.
./no-wchar.patch
# Fix to get DNS resolution to work on 64-bit platforms. Taken
# from 0.31 CVS.
./dns64.patch
# Get lseek64 working on x86_64. From
# http://svn.annvix.org/cgi-bin/viewvc.cgi/packages/releases/2.0-CURRENT/dietlibc/SOURCES
./x86_64-lseek64.patch
#./x86_64-stat64.patch
];
meta = {
homepage = http://www.fefe.de/dietlibc/;
description = "A small implementation of the C library";
license = "GPL";
};
}

View file

@ -1,109 +0,0 @@
Only in dietlibc-0.30: CHANGES.orig
diff -rc dietlibc-0.30-orig/libcruft/dnscruft2.c dietlibc-0.30/libcruft/dnscruft2.c
*** dietlibc-0.30-orig/libcruft/dnscruft2.c 2005-05-01 22:08:25.000000000 +0200
--- dietlibc-0.30/libcruft/dnscruft2.c 2007-01-22 15:32:18.000000000 +0100
***************
*** 5,11 ****
#include <netdb.h>
#include <stdlib.h>
#include <arpa/inet.h>
- #include <sys/poll.h>
#include <unistd.h>
#include <errno.h>
#include <arpa/nameser.h>
--- 5,10 ----
diff -rc dietlibc-0.30-orig/libcruft/dnscruft.c dietlibc-0.30/libcruft/dnscruft.c
*** dietlibc-0.30-orig/libcruft/dnscruft.c 2006-06-18 20:32:35.000000000 +0200
--- dietlibc-0.30/libcruft/dnscruft.c 2007-01-22 15:32:18.000000000 +0100
***************
*** 45,53 ****
tmp=socket(PF_INET6,SOCK_DGRAM,IPPROTO_UDP);
if (tmp<0) return;
fcntl(tmp,F_SETFD,FD_CLOEXEC);
si.sin6_family=AF_INET6;
- si.sin6_port=0;
- memset(&si.sin6_addr,0,16);
if (bind(tmp,(struct sockaddr*)&si,sizeof(si))) return;
__dns_fd6=tmp;
}
--- 45,52 ----
tmp=socket(PF_INET6,SOCK_DGRAM,IPPROTO_UDP);
if (tmp<0) return;
fcntl(tmp,F_SETFD,FD_CLOEXEC);
+ memset(&si,0,sizeof(si));
si.sin6_family=AF_INET6;
if (bind(tmp,(struct sockaddr*)&si,sizeof(si))) return;
__dns_fd6=tmp;
}
diff -rc dietlibc-0.30-orig/libcruft/res_mkquery.c dietlibc-0.30/libcruft/res_mkquery.c
*** dietlibc-0.30-orig/libcruft/res_mkquery.c 2004-11-10 18:45:17.000000000 +0100
--- dietlibc-0.30/libcruft/res_mkquery.c 2007-01-22 15:32:18.000000000 +0100
***************
*** 42,51 ****
int res_mkquery(int op, const char *dname, int class, int type, char* data,
int datalen, const unsigned char* newrr, char* buf, int buflen) {
unsigned char packet[512];
! unsigned long len=0;
! memmove(packet,dnspacket,12);
if ((_res.options&RES_RECURSE)==0) packet[2]=0;
- *(unsigned short*)packet=rand();
{
unsigned char* x;
const char* y,* tmp;
--- 42,55 ----
int res_mkquery(int op, const char *dname, int class, int type, char* data,
int datalen, const unsigned char* newrr, char* buf, int buflen) {
unsigned char packet[512];
! unsigned long len;
!
! memcpy(packet,dnspacket,12);
! len=rand();
! packet[0]=len;
! packet[1]=len>>8;
! len=0;
if ((_res.options&RES_RECURSE)==0) packet[2]=0;
{
unsigned char* x;
const char* y,* tmp;
diff -rc dietlibc-0.30-orig/libcruft/res_query.c dietlibc-0.30/libcruft/res_query.c
*** dietlibc-0.30-orig/libcruft/res_query.c 2005-10-14 17:37:59.000000000 +0200
--- dietlibc-0.30/libcruft/res_query.c 2007-01-22 15:32:18.000000000 +0100
***************
*** 99,105 ****
duh[1].fd=pnpfd;
} else {
duh[1].fd=-1;
! duh[1].revents=0;
}
#endif
--- 99,105 ----
duh[1].fd=pnpfd;
} else {
duh[1].fd=-1;
! duh[1].events=0;
}
#endif
diff -rc dietlibc-0.30-orig/syscalls.s/__guard.S dietlibc-0.30/syscalls.s/__guard.S
*** dietlibc-0.30-orig/syscalls.s/__guard.S 2006-04-07 17:33:20.000000000 +0200
--- dietlibc-0.30/syscalls.s/__guard.S 2007-01-22 15:32:18.000000000 +0100
***************
*** 1,3 ****
--- 1,4 ----
+ #include <endian.h>
.data
.type __guard,@object
.global __guard
***************
*** 5,9 ****
--- 6,14 ----
.global __stack_chk_guard
__guard:
__stack_chk_guard:
+ #if __WORDSIZE == 64
+ .quad 0xaff00
+ #else
.long 0xaff00
+ #endif

View file

@ -1,77 +0,0 @@
diff -rc dietlibc-0.30-orig/include/wchar.h dietlibc-0.30/include/wchar.h
*** dietlibc-0.30-orig/include/wchar.h 2005-09-21 09:33:08.000000000 +0200
--- dietlibc-0.30/include/wchar.h 2006-10-20 15:04:04.000000000 +0200
***************
*** 30,99 ****
unsigned long sofar;
} mbstate_t;
- wint_t btowc(int);
- wint_t fgetwc(FILE *);
- wchar_t* fgetws(wchar_t *__restrict__, int, FILE *__restrict__);
- wint_t fputwc(wchar_t, FILE *);
- int fputws(const wchar_t *__restrict__, FILE *__restrict__);
- int fwide(FILE *, int);
- int fwprintf(FILE *__restrict__, const wchar_t *__restrict__, ...);
- int fwscanf(FILE *__restrict__, const wchar_t *__restrict__, ...);
- wint_t getwc(FILE *);
- wint_t getwchar(void);
-
- size_t mbrlen(const char *__restrict__, size_t, mbstate_t *__restrict__);
- size_t mbrtowc(wchar_t *__restrict__, const char *__restrict__, size_t, mbstate_t *__restrict__);
- int mbsinit(const mbstate_t *);
- size_t mbsrtowcs(wchar_t *__restrict__, const char **__restrict__, size_t, mbstate_t *__restrict__);
- wint_t putwc(wchar_t, FILE *);
- wint_t putwchar(wchar_t);
- int swprintf(wchar_t *__restrict__, size_t, const wchar_t *__restrict__, ...);
- int swscanf(const wchar_t *__restrict__, const wchar_t *__restrict__, ...);
-
- wint_t ungetwc(wint_t, FILE *);
- int vfwprintf(FILE *__restrict__, const wchar_t *__restrict__, va_list);
- int vfwscanf(FILE *__restrict__, const wchar_t *__restrict__, va_list);
- int vwprintf(const wchar_t *__restrict__, va_list);
- int vswprintf(wchar_t *__restrict__, size_t, const wchar_t *__restrict__, va_list);
- int vswscanf(const wchar_t *__restrict__, const wchar_t *__restrict__, va_list);
- int vwscanf(const wchar_t *__restrict__, va_list);
- size_t wcrtomb(char *__restrict__, wchar_t, mbstate_t *__restrict__);
- wchar_t *wcscat(wchar_t *__restrict__, const wchar_t *__restrict__);
- wchar_t *wcschr(const wchar_t *, wchar_t);
- int wcscmp(const wchar_t *, const wchar_t *);
- int wcscoll(const wchar_t *, const wchar_t *);
- wchar_t* wcscpy(wchar_t *__restrict__, const wchar_t *__restrict__);
- size_t wcscspn(const wchar_t *, const wchar_t *);
- size_t wcsftime(wchar_t *__restrict__, size_t, const wchar_t *__restrict__, const struct tm *__restrict__);
- size_t wcslen(const wchar_t *) __pure;
- wchar_t *wcsncat(wchar_t *__restrict__, const wchar_t *__restrict__, size_t);
- int wcsncmp(const wchar_t *, const wchar_t *, size_t);
- wchar_t *wcsncpy(wchar_t *__restrict__, const wchar_t *__restrict__, size_t);
- wchar_t *wcspbrk(const wchar_t *, const wchar_t *);
- wchar_t *wcsrchr(const wchar_t *, wchar_t);
- size_t wcsrtombs(char *__restrict__, const wchar_t **__restrict__, size_t, mbstate_t *__restrict__);
- size_t wcsspn(const wchar_t *, const wchar_t *);
- wchar_t *wcsstr(const wchar_t *__restrict__, const wchar_t *__restrict__);
- double wcstod(const wchar_t *__restrict__, wchar_t **__restrict__);
- float wcstof(const wchar_t *__restrict__, wchar_t **__restrict__);
- wchar_t *wcstok(wchar_t *__restrict__, const wchar_t *__restrict__, wchar_t **__restrict__);
- long wcstol(const wchar_t *__restrict__, wchar_t **__restrict__, int);
- long double wcstold(const wchar_t *__restrict__, wchar_t **__restrict__);
- long long wcstoll(const wchar_t *__restrict__, wchar_t **__restrict__, int);
- unsigned long wcstoul(const wchar_t *__restrict__, wchar_t **__restrict__, int);
- unsigned long long wcstoull(const wchar_t *__restrict__, wchar_t **__restrict__, int);
-
- size_t wcsxfrm(wchar_t *__restrict__, const wchar_t *__restrict__, size_t);
- int wctob(wint_t);
-
- wchar_t *wmemchr(const wchar_t *, wchar_t, size_t);
- int wmemcmp(const wchar_t *, const wchar_t *, size_t);
- wchar_t *wmemcpy(wchar_t *__restrict__, const wchar_t *__restrict__, size_t);
- wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t);
- wchar_t *wmemset(wchar_t *, wchar_t, size_t);
- int wprintf(const wchar_t *__restrict__, ...);
- int wscanf(const wchar_t *__restrict__, ...);
-
__END_DECLS
#endif
--- 30,35 ----
Only in dietlibc-0.30/include: wchar.h~

View file

@ -1,78 +0,0 @@
diff -rc dietlibc-0.30-orig/include/asm/arm-sigcontext.h dietlibc-0.30/include/asm/arm-sigcontext.h
*** dietlibc-0.30-orig/include/asm/arm-sigcontext.h 2002-05-09 03:05:10.000000000 +0200
--- dietlibc-0.30/include/asm/arm-sigcontext.h 2006-10-19 12:40:30.000000000 +0200
***************
*** 1,5 ****
! #define PC(ctx) (ctx.arm_pc)
/*
* Signal context structure - contains all info to do with the state
--- 1,5 ----
! #define __DIETLIBC_PC(ctx) (ctx.arm_pc)
/*
* Signal context structure - contains all info to do with the state
diff -rc dietlibc-0.30-orig/include/asm/i386-sigcontext.h dietlibc-0.30/include/asm/i386-sigcontext.h
*** dietlibc-0.30-orig/include/asm/i386-sigcontext.h 2005-09-21 09:33:08.000000000 +0200
--- dietlibc-0.30/include/asm/i386-sigcontext.h 2006-10-19 12:40:41.000000000 +0200
***************
*** 38,44 ****
};
#define X86_FXSR_MAGIC 0x0000
! #define PC(ctx) (ctx.eip)
struct sigcontext {
__u16 gs, __gsh;
--- 38,44 ----
};
#define X86_FXSR_MAGIC 0x0000
! #define __DIETLIBC_PC(ctx) (ctx.eip)
struct sigcontext {
__u16 gs, __gsh;
diff -rc dietlibc-0.30-orig/include/asm/ia64-sigcontext.h dietlibc-0.30/include/asm/ia64-sigcontext.h
*** dietlibc-0.30-orig/include/asm/ia64-sigcontext.h 2002-07-20 18:47:48.000000000 +0200
--- dietlibc-0.30/include/asm/ia64-sigcontext.h 2006-10-19 12:39:40.000000000 +0200
***************
*** 1,6 ****
#include <sys/ptrace.h>
! #define PC(ctx) (ctx.sc_ip)
struct sigcontext {
unsigned long sc_flags;
--- 1,6 ----
#include <sys/ptrace.h>
! #define __DIETLIBC_PC(ctx) (ctx.sc_ip)
struct sigcontext {
unsigned long sc_flags;
diff -rc dietlibc-0.30-orig/profiling/profil.c dietlibc-0.30/profiling/profil.c
*** dietlibc-0.30-orig/profiling/profil.c 2002-04-08 00:13:53.000000000 +0200
--- dietlibc-0.30/profiling/profil.c 2006-10-19 12:40:58.000000000 +0200
***************
*** 43,51 ****
static void
profiler (int signal, struct sigcontext ctx)
{
! size_t s = PC(ctx)-low_pc;
(void)signal;
! if ((PC(ctx)) < low_pc) return;
s >>= 1;
if (s < maxhits)
++buffer[s];
--- 43,51 ----
static void
profiler (int signal, struct sigcontext ctx)
{
! size_t s = __DIETLIBC_PC(ctx)-low_pc;
(void)signal;
! if ((__DIETLIBC_PC(ctx)) < low_pc) return;
s >>= 1;
if (s < maxhits)
++buffer[s];

View file

@ -1,6 +0,0 @@
--- dietlibc-0.27/x86_64/lseek64.S.x86_64-lseek64 2005-03-29 08:46:09.074515293 -0500
+++ dietlibc-0.27/x86_64/lseek64.S 2005-03-29 08:46:09.074515293 -0500
@@ -0,0 +1,3 @@
+#include "syscalls.h"
+
+syscall_weak(lseek,lseek64,__libc_lseek64)

View file

@ -1,14 +0,0 @@
source $stdenv/setup
tar -zxvf $src
cd e3cfsprogs*/
mkdir build;
cd build;
../configure --prefix=$out
make
#make check #almost all checks fail... maybe they have to be done on a ext3cow fs ???
make install
#we must rename according to the manual of e3cfprogs
cp misc/mke2fs $out/sbin/mkfs.ext3cow

View file

@ -1,20 +0,0 @@
{stdenv, fetchurl, gettext}:
stdenv.mkDerivation {
name = "e3cfsprogs-1.39";
builder = ./builder.sh;
patches = [ ./e3cfsprogs-1.39_bin_links.patch ./e3cfsprogs-1.39_etc.patch ];
src = fetchurl {
url = http://ext3cow.com/e3cfsprogs/e3cfsprogs-1.39.tgz;
sha256 = "8dd3de546aeb1ae42fb05409aeb724a145fe9aa1dbe1115441c2297c9d48cf31";
};
configureFlags ="--enable-dynamic-e2fsck --enable-elf-shlibs";
buildInputs = [gettext];
preInstall = "installFlagsArray=('LN=ln -s')";
postInstall = "make install-libs";
}
#note that ext3cow requires the ext3cow kernel patch !!!!

View file

@ -1,111 +0,0 @@
diff -Naur e3cfsprogs-1.39/config/config.guess e3cfsprogs-1.39_mod/config/config.guess
--- e3cfsprogs-1.39/config/config.guess 2006-04-10 00:34:21.000000000 +0200
+++ e3cfsprogs-1.39_mod/config/config.guess 2007-07-20 16:28:58.000000000 +0200
@@ -319,7 +319,7 @@
echo sparc-icl-nx6
exit ;;
DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
- case `/usr/bin/uname -p` in
+ case `uname -p` in
sparc) echo sparc-icl-nx7; exit ;;
esac ;;
sun4H:SunOS:5.*:*)
@@ -460,7 +460,7 @@
exit ;;
AViiON:dgux:*:*)
# DG/UX returns AViiON for all architectures
- UNAME_PROCESSOR=`/usr/bin/uname -p`
+ UNAME_PROCESSOR=`uname -p`
if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
then
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
@@ -1054,7 +1054,7 @@
exit ;;
i*86:*:5:[678]*)
# UnixWare 7.x, OpenUNIX and OpenServer 6.
- case `/bin/uname -X | grep "^Machine"` in
+ case `uname -X | grep "^Machine"` in
*486*) UNAME_MACHINE=i486 ;;
*Pentium) UNAME_MACHINE=i586 ;;
*Pent*|*Celeron) UNAME_MACHINE=i686 ;;
@@ -1065,14 +1065,14 @@
if test -f /usr/options/cb.name; then
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
- elif /bin/uname -X 2>/dev/null >/dev/null ; then
- UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
- (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
- (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
+ elif uname -X 2>/dev/null >/dev/null ; then
+ UNAME_REL=`(uname -X|grep Release|sed -e 's/.*= //')`
+ (uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
+ (uname -X|grep '^Machine.*Pentium' >/dev/null) \
&& UNAME_MACHINE=i586
- (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
+ (uname -X|grep '^Machine.*Pent *II' >/dev/null) \
&& UNAME_MACHINE=i686
- (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
+ (uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
&& UNAME_MACHINE=i686
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
else
@@ -1114,12 +1114,12 @@
OS_REL=''
test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ uname -p 2>/dev/null | grep 86 >/dev/null \
&& { echo i486-ncr-sysv4.3${OS_REL}; exit; }
- /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ uname -p 2>/dev/null | /bin/grep entium >/dev/null \
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ uname -p 2>/dev/null | grep 86 >/dev/null \
&& { echo i486-ncr-sysv4; exit; } ;;
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
echo m68k-unknown-lynxos${UNAME_RELEASE}
@@ -1471,8 +1471,8 @@
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
+uname -p = `(uname -p) 2>/dev/null`
+uname -X = `(uname -X) 2>/dev/null`
hostinfo = `(hostinfo) 2>/dev/null`
/bin/universe = `(/bin/universe) 2>/dev/null`
diff -Naur e3cfsprogs-1.39/lib/blkid/test_probe.in e3cfsprogs-1.39_mod/lib/blkid/test_probe.in
--- e3cfsprogs-1.39/lib/blkid/test_probe.in 2005-09-10 20:08:42.000000000 +0200
+++ e3cfsprogs-1.39_mod/lib/blkid/test_probe.in 2007-07-20 16:26:02.000000000 +0200
@@ -21,7 +21,7 @@
fi
bunzip2 < $SRCDIR/tests/$i.img.bz2 > /tmp/test.img.$$
./tst_probe /tmp/test.img.$$ > tests/$i.out
- /bin/rm -f /tmp/test.img.$$ tests/$i.ok tests/$i.failed
+ rm -f /tmp/test.img.$$ tests/$i.ok tests/$i.failed
cmp -s tests/$i.out $SRCDIR/tests/$i.results
if [ $? = 0 ]; then
echo ok
diff -Naur e3cfsprogs-1.39/tests/defaults/e_script e3cfsprogs-1.39_mod/tests/defaults/e_script
--- e3cfsprogs-1.39/tests/defaults/e_script 2005-09-06 11:40:14.000000000 +0200
+++ e3cfsprogs-1.39_mod/tests/defaults/e_script 2007-07-20 16:26:26.000000000 +0200
@@ -25,7 +25,7 @@
elif [ "$class" = icount ]; then
TEST_PROG=$TEST_ICOUNT
else
- TEST_PROG=/bin/cat
+ TEST_PROG=cat
fi
cat $SRCDIR/progs/test_data/$instance.setup $SRCDIR/progs/test_data/test.$class \
diff -Naur e3cfsprogs-1.39/util/gcc-wall-cleanup e3cfsprogs-1.39_mod/util/gcc-wall-cleanup
--- e3cfsprogs-1.39/util/gcc-wall-cleanup 2005-09-06 11:40:15.000000000 +0200
+++ e3cfsprogs-1.39_mod/util/gcc-wall-cleanup 2007-07-20 16:30:04.000000000 +0200
@@ -1,4 +1,4 @@
-#!/bin/sed -f
+#!sed -f
#
# This script filters out gcc-wall crud that we're not interested in seeing.
#

View file

@ -1,27 +0,0 @@
diff -Naur e3cfsprogs-1.39/misc/Makefile.in e3cfsprogs-1.39_path_mod/misc/Makefile.in
--- e3cfsprogs-1.39/misc/Makefile.in 2006-03-27 07:58:10.000000000 +0200
+++ e3cfsprogs-1.39_path_mod/misc/Makefile.in 2007-07-20 16:45:04.000000000 +0200
@@ -223,12 +223,12 @@
@$(SUBSTITUTE_UPTIME) $(srcdir)/filefrag.8.in filefrag.8
installdirs:
- @echo " MKINSTALLDIRS $(sbindir) $(root_sbindir) $(bindir) $(man1dir) $(man8dir) $(libdir)"
+ @echo " MKINSTALLDIRS $(sbindir) $(root_sbindir) $(bindir) $(man1dir) $(man8dir) $(libdir) $(root_sysconfdir)"
@$(MKINSTALLDIRS) $(DESTDIR)$(sbindir) \
$(DESTDIR)$(root_sbindir) $(DESTDIR)$(bindir) \
$(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir) \
$(DESTDIR)$(man1dir) $(DESTDIR)$(man5dir) \
- $(DESTDIR)$(libdir) $(DESTDIR)/etc
+ $(DESTDIR)$(libdir) $(DESTDIR)$(root_sysconfdir)/etc
install: all $(SMANPAGES) $(UMANPAGES) installdirs
@for i in $(SPROGS); do \
@@ -291,7 +291,7 @@
@if ! test -f $(DESTDIR)/etc/mke2fs.conf; then \
echo " INSTALL_DATA /etc/mke2fs.conf"; \
$(INSTALL_DATA) $(srcdir)/mke2fs.conf \
- $(DESTDIR)/etc/mke2fs.conf; \
+ $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; \
fi
install-strip: install

View file

@ -1,13 +0,0 @@
--- src/interface.c 2004/12/19 00:08:01 114
+++ src/interface.c 2006/03/07 13:15:11 133
@@ -22,9 +22,9 @@
#include <config.h>
#endif
+#include <sys/types.h>
#include <linux/sockios.h>
#include <linux/if_ether.h>
-#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <linux/if.h>

View file

@ -1,31 +0,0 @@
source $stdenv/setup
buildPhase() {
make include/linux/version.h
}
installPhase() {
mkdir $out
mkdir $out/include
#cd $out/include
#ln -s asm-arm asm
if test $cross = "arm-linux"; then
arch=arm
elif test $cross = "mips-linux"; then
arch=mips
elif test $cross = "sparc-linux"; then
arch=sparc
elif test $cross = "powerpc-linux"; then
arch=ppc
elif test $cross = "ppc-linux"; then
arch=ppc
fi
make include/asm ARCH=$arch
cp -prvd include/linux include/asm include/asm-$arch include/asm-generic $out/include
echo -n > $out/include/linux/autoconf.h
}
genericBuild

View file

@ -1,13 +0,0 @@
{stdenv, fetchurl, cross}:
assert stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "linux-headers-2.6.14.5";
builder = ./builder.sh;
src = fetchurl {
url = mirror://kernel/linux/kernel/v2.6/linux-2.6.14.5.tar.bz2;
md5 = "9f057e3bd31c50dc48553def01bc8037";
};
inherit cross;
}

View file

@ -1,12 +0,0 @@
{stdenv, fetchurl, pam}:
stdenv.mkDerivation {
name = "pam_devperm-1.6";
src = fetchurl {
url = http://ftp.suse.com/pub/people/kukuk/pam/pam_devperm/pam_devperm-1.6.tar.bz2;
sha256 = "0rvndh6yvcgmjnkqxv24pjy3ayy4p8r29w25xscwjfzqmrdyfbpw";
};
buildInputs = [pam];
}

View file

@ -1,30 +0,0 @@
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation {
name = "procps-3.2.8";
src = fetchurl {
url = http://procps.sourceforge.net/procps-3.2.8.tar.gz;
sha256 = "0d8mki0q4yamnkk4533kx8mc0jd879573srxhg6r2fs3lkc6iv8i";
};
patches =
[ ./makefile.patch
./procps-build.patch
./gnumake3.82.patch
./linux-ver-init.patch
];
buildInputs = [ ncurses ];
makeFlags = "DESTDIR=$(out)";
crossAttrs = {
CC = stdenv.cross.config + "-gcc";
};
meta = {
homepage = http://procps.sourceforge.net/;
description = "Utilities that give information about processes using the /proc filesystem";
};
}

View file

@ -1,13 +0,0 @@
diff --git a/Makefile b/Makefile
index 09fb3ed..59eba16 100644
--- a/Makefile
+++ b/Makefile
@@ -174,7 +174,7 @@ INSTALL := $(BINFILES) $(MANFILES)
# want this rule first, use := on ALL, and ALL not filled in yet
all: do_all
--include */module.mk
+-include proc/module.mk ps/module.mk
do_all: $(ALL)

View file

@ -1,23 +0,0 @@
https://bugs.gentoo.org/303120
make sure the linux version constructor runs before the libproc constructor
since the latter uses variables setup by the former
fix by Chris Coleman
Index: proc/version.c
===================================================================
RCS file: /cvsroot/procps/procps/proc/version.c,v
retrieving revision 1.7
diff -u -p -r1.7 version.c
--- a/proc/version.c 9 Feb 2003 07:27:16 -0000 1.7
+++ b/proc/version.c 14 Nov 2010 00:22:44 -0000
@@ -33,7 +33,7 @@ void display_version(void) {
int linux_version_code;
-static void init_Linux_version(void) __attribute__((constructor));
+static void init_Linux_version(void) __attribute__((constructor(100)));
static void init_Linux_version(void) {
static struct utsname uts;
int x = 0, y = 0, z = 0; /* cleared in case sscanf() < 3 */

View file

@ -1,71 +0,0 @@
diff -rc procps-orig/Makefile procps-3.2.4/Makefile
*** procps-orig/Makefile 2004-10-10 23:31:12.000000000 +0200
--- procps-3.2.4/Makefile 2005-01-21 19:33:49.700437229 +0100
***************
*** 24,47 ****
############ vars
# so you can disable them or choose alternates
! ldconfig := ldconfig
ln_f := ln -f
ln_sf := ln -sf
! install := install -D --owner 0 --group 0
# Lame x86-64 /lib64 and /usr/lib64 abomination:
lib64 := lib$(shell [ -d /lib64 ] && echo 64)
! usr/bin := $(DESTDIR)/usr/bin/
bin := $(DESTDIR)/bin/
sbin := $(DESTDIR)/sbin/
! usr/proc/bin := $(DESTDIR)/usr/bin/
! man1 := $(DESTDIR)/usr/share/man/man1/
! man5 := $(DESTDIR)/usr/share/man/man5/
! man8 := $(DESTDIR)/usr/share/man/man8/
! lib := $(DESTDIR)/$(lib64)/
! usr/lib := $(DESTDIR)/usr/$(lib64)/
! usr/include := $(DESTDIR)/usr/include/
#SKIP := $(bin)kill $(man1)kill.1
--- 24,47 ----
############ vars
# so you can disable them or choose alternates
! ldconfig := true
ln_f := ln -f
ln_sf := ln -sf
! install := install -D
# Lame x86-64 /lib64 and /usr/lib64 abomination:
lib64 := lib$(shell [ -d /lib64 ] && echo 64)
! usr/bin := $(DESTDIR)/bin/
bin := $(DESTDIR)/bin/
sbin := $(DESTDIR)/sbin/
! usr/proc/bin := $(DESTDIR)/bin/
! man1 := $(DESTDIR)/share/man/man1/
! man5 := $(DESTDIR)/share/man/man5/
! man8 := $(DESTDIR)/share/man/man8/
! lib := $(DESTDIR)/lib/
! usr/lib := $(DESTDIR)/lib/
! usr/include := $(DESTDIR)/include/
#SKIP := $(bin)kill $(man1)kill.1
***************
*** 71,77 ****
# Preprocessor flags.
PKG_CPPFLAGS := -D_GNU_SOURCE -I proc
! CPPFLAGS := -I/usr/include/ncurses
ALL_CPPFLAGS := $(PKG_CPPFLAGS) $(CPPFLAGS)
# Left out -Wconversion due to noise in glibc headers.
--- 71,77 ----
# Preprocessor flags.
PKG_CPPFLAGS := -D_GNU_SOURCE -I proc
! CPPFLAGS :=
ALL_CPPFLAGS := $(PKG_CPPFLAGS) $(CPPFLAGS)
# Left out -Wconversion due to noise in glibc headers.

View file

@ -1,50 +0,0 @@
diff -ruN procps-3.2.6/Makefile procps-3.2.6.new/Makefile
--- procps-3.2.6/Makefile 2005-10-30 07:27:04.000000000 +0100
+++ procps-3.2.6.new/Makefile 2005-12-13 16:52:02.000000000 +0100
@@ -43,7 +43,7 @@
usr/lib := $(DESTDIR)/usr/$(lib64)/
usr/include := $(DESTDIR)/usr/include/
-#SKIP := $(bin)kill $(man1)kill.1
+SKIP := $(bin)kill $(man1)kill.1 $(usr/bin)uptime $(man1)uptime.1
BINFILES := $(usr/bin)uptime $(usr/bin)tload $(usr/bin)free $(usr/bin)w \
$(usr/bin)top $(usr/bin)vmstat $(usr/bin)watch $(usr/bin)skill \
@@ -127,26 +127,26 @@
# produce separate executables for ppc and ppc64, s390 and s390x,
# i386 and x86-64, mips and mips64, sparc and sparc64, and so on.
# Failure to do so will cause data corruption.
-m64 := $(call check_gcc,-m64,$(call check_gcc,-mabi=64,))
-ALL_CFLAGS += $(m64)
+#m64 := $(call check_gcc,-m64,$(call check_gcc,-mabi=64,))
+#ALL_CFLAGS += $(m64)
-ALL_CFLAGS += $(call check_gcc,-Wdeclaration-after-statement,)
-ALL_CFLAGS += $(call check_gcc,-Wpadded,)
-ALL_CFLAGS += $(call check_gcc,-Wstrict-aliasing,)
+#ALL_CFLAGS += $(call check_gcc,-Wdeclaration-after-statement,)
+#ALL_CFLAGS += $(call check_gcc,-Wpadded,)
+#ALL_CFLAGS += $(call check_gcc,-Wstrict-aliasing,)
# Adding -fno-gcse might be good for those files which
# use computed goto.
#ALL_CFLAGS += $(call check_gcc,-fno-gcse,)
# if not debugging, enable things that could confuse gdb
-ifeq (,$(findstring -g,$(filter -g%,$(CFLAGS))))
-ALL_CFLAGS += $(call check_gcc,-fweb,)
-ALL_CFLAGS += $(call check_gcc,-frename-registers,)
-ALL_CFLAGS += $(call check_gcc,-fomit-frame-pointer,)
-endif
+#ifeq (,$(findstring -g,$(filter -g%,$(CFLAGS))))
+#ALL_CFLAGS += $(call check_gcc,-fweb,)
+#ALL_CFLAGS += $(call check_gcc,-frename-registers,)
+#ALL_CFLAGS += $(call check_gcc,-fomit-frame-pointer,)
+#endif
# in case -O3 is enabled, avoid bloat
-ALL_CFLAGS += $(call check_gcc,-fno-inline-functions,)
+#ALL_CFLAGS += $(call check_gcc,-fno-inline-functions,)
endif
endif

View file

@ -1,79 +0,0 @@
export NIX_DEBUG=1
source $stdenv/setup
mkdir $out
mkdir $out/bin
# 1: link statically against glibc.
res=$out/bin/hello1
gcc -static $src/hello1.c -o $res
case $(ldd $res) in
*"not a dynamic executable"*)
;;
*)
echo "$res not statically linked!"
exit 1
esac
# 2: link dynamically against glibc.
res=$out/bin/hello2
gcc $src/hello1.c -o $res
case $(ldd $res) in
*/store/*glibc*/lib/libc.so*/store/*glibc*/lib/ld-linux.so*)
;;
*)
echo "$res not dynamically linked / bad rpath!"
exit 1
;;
esac
# 3: link C++ dynamically against glibc / libstdc++.
res=$out/bin/hello3
g++ $src/hello2.cc -o $res
case $(ldd $res) in
*/store/*gcc*/lib/*libstdc++*/store/*glibc*/lib/libm*/store/*gcc*/lib/libgcc_s*/store/*glibc*/lib/libc.so*/store/*glibc*/lib/ld-linux.so*)
;;
*)
echo "$res not dynamically linked / bad rpath!"
exit 1
;;
esac
# 4: build dynamic library locally, link against it, copy it.
res=$out/bin/hello4
mkdir bla
gcc -shared $src/text.c -o bla/libtext.so
gcc $src/hello3.c -o $res -L$(pwd)/bla -ltext
mkdir $out/lib
case $(ldd $res) in
*/tmp*)
echo "$res depends on file in /tmp!"
exit 1
;;
esac
cp bla/libtext.so $out/lib
case $(ldd $res) in
*/store/*glibc*/lib/libc.so*/store/*glibc*/lib/ld-linux.so*)
;;
*)
echo "$res not dynamically linked / bad rpath!"
exit 1
;;
esac
# Run the programs we just made.
for i in $out/bin/*; do
$i
done

View file

@ -1,18 +0,0 @@
let {
system = "i686-linux";
stdenvs = (import ../../system/stdenvs.nix) {
inherit system;
allPackages = import ../../system/all-packages-generic.nix;
};
stdenv = stdenvs.stdenvLinuxBoot2;
test = stdenv.mkDerivation {
name = "rpath-test";
builder = ./builder.sh;
src = ./src;
};
body = test;
}

View file

@ -1,7 +0,0 @@
#include <stdio.h>
int main(int argc, char * * argv)
{
printf("Hello World!\n");
return 0;
}

View file

@ -1,7 +0,0 @@
#include <iostream>
int main(int argc, char * * argv)
{
std::cout << "Hello World!\n";
return 0;
}

View file

@ -1,9 +0,0 @@
#include <stdio.h>
char * text();
int main(int argc, char * * argv)
{
printf(text());
return 0;
}

View file

@ -1,4 +0,0 @@
char * text()
{
return "Hello World!\n";
}

View file

@ -1,17 +0,0 @@
let {
system = "i686-linux";
stdenvs = (import ../../system/stdenvs.nix) {
inherit system;
allPackages = import ../../system/all-packages-generic.nix;
};
stdenv = stdenvs.stdenvNix;
test = stdenv.mkDerivation {
name = "simple-test";
builder = ./builder.sh;
};
body = test;
}

View file

@ -5205,14 +5205,10 @@ in
vala_0_28 = callPackage ../development/compilers/vala/0.28.nix { };
visualcpp = callPackage ../development/compilers/visual-c++ { };
vs90wrapper = callPackage ../development/compilers/vs90wrapper { };
webdsl = callPackage ../development/compilers/webdsl { };
win32hello = callPackage ../development/compilers/visual-c++/test { };
wla-dx = callPackage ../development/compilers/wla-dx { };
wrapCCWith = ccWrapper: libc: extraBuildCommands: baseCC: ccWrapper {
@ -5678,11 +5674,9 @@ in
srecord = callPackage ../development/tools/misc/srecord { };
windowssdk = (
callPackage ../development/misc/windows-sdk {});
xidel = callPackage ../tools/text/xidel { };
### DEVELOPMENT / TOOLS
activator = callPackage ../development/tools/activator { };
@ -10279,8 +10273,6 @@ in
dmtcp = callPackage ../os-specific/linux/dmtcp { };
dietlibc = callPackage ../os-specific/linux/dietlibc { };
directvnc = callPackage ../os-specific/linux/directvnc { };
dmraid = callPackage ../os-specific/linux/dmraid {
@ -10320,8 +10312,6 @@ in
lightum = callPackage ../os-specific/linux/lightum { };
e3cfsprogs = callPackage ../os-specific/linux/e3cfsprogs { };
ebtables = callPackage ../os-specific/linux/ebtables { };
eject = self.utillinux;
@ -10960,8 +10950,6 @@ in
pam_ccreds = callPackage ../os-specific/linux/pam_ccreds { };
pam_devperm = callPackage ../os-specific/linux/pam_devperm { };
pam_krb5 = callPackage ../os-specific/linux/pam_krb5 { };
pam_ldap = callPackage ../os-specific/linux/pam_ldap { };
@ -11009,8 +10997,6 @@ in
procps = procps-ng;
procps-old = lowPrio (callPackage ../os-specific/linux/procps { });
procps-ng = callPackage ../os-specific/linux/procps-ng { };
watch = callPackage ../os-specific/linux/procps/watch.nix { };

View file

@ -96,7 +96,6 @@ let
ddrescue = linux;
dhcp = linux;
dico = linux;
dietlibc = linux;
diffutils = all;
disnix = all;
disnixos = linux;