mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-14 02:27:03 -07:00
Restored msys2 to original files
This commit is contained in:
parent
22bd2c7609
commit
df73aa0231
23 changed files with 173 additions and 52 deletions
|
@ -1,11 +1,5 @@
|
|||
@echo off
|
||||
|
||||
copy /Y msys2\ps\*.post msys2\etc\post-install\ >NUL
|
||||
echo # For a description of the file format, see the Users Guide >msys2/etc/fstab
|
||||
echo # http://cygwin.com/cygwin-ug-net/using.html#mount-table >>msys2/etc/fstab
|
||||
echo none / cygdrive binary,posix=0,noacl,user 0 0 >>msys2/etc/fstab
|
||||
echo %~dp0pm3 /pm3 ntfs noacl 0 0 >>msys2/etc/fstab
|
||||
echo %~dp0gcc-arm-none-eabi /gcc-arm-none-eabi ntfs noacl 0 0 >>msys2/etc/fstab
|
||||
call msys2\ps\setup.cmd
|
||||
echo %~dp0builds /builds ntfs noacl 0 0 >>msys2/etc/fstab
|
||||
call msys2\msys2_shell.cmd -mingw32 -defterm -no-start -c /ps/autobuild.sh
|
||||
call msys2\msys2_shell.cmd -mingw64 -defterm -no-start -c /ps/autobuild.sh
|
4
msys2/autorebase.bat
Normal file
4
msys2/autorebase.bat
Normal file
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
|
||||
set PATH=%~dp0\usr\bin;%PATH%
|
||||
%~dp0\usr\bin\dash /usr/bin/rebaseall -p
|
15
msys2/autorebasebase1st.bat
Normal file
15
msys2/autorebasebase1st.bat
Normal file
|
@ -0,0 +1,15 @@
|
|||
@echo off
|
||||
REM Copyright (c) 2014, Ray Donnelly <mingw.android@gmail.com>
|
||||
|
||||
set PATH=%~dp0\usr\bin;%PATH%
|
||||
|
||||
echo Querying 'base' packages for DLLs ..
|
||||
%~dp0\usr\bin\bash /usr/bin/pacman-rec-filename-grep base base-dlls-unix.txt ".*\.(dll|so|oct)$"
|
||||
%~dp0\usr\bin\bash /usr/bin/paths-from-unix-to-windows base-dlls-unix.txt base-dlls.txt %CD:\=/%
|
||||
|
||||
echo Rebasing all DLLs, 'base' ones first ..
|
||||
REM -i is new; it means ignore database and
|
||||
REM rebase from end of {cygwin1,msys-2.0}.dll
|
||||
REM it work by avoiding passing -s to rebase.exe
|
||||
REM which has modifications to support this mode.
|
||||
%~dp0\usr\bin\dash /usr/bin/rebaseall -T base-dlls.txt -i -p
|
15
msys2/dir
Normal file
15
msys2/dir
Normal file
|
@ -0,0 +1,15 @@
|
|||
This is the file .../info/dir, which contains the
|
||||
topmost node of the Info hierarchy, called (dir)Top.
|
||||
The first time you invoke Info you start off looking at this node.
|
||||
|
||||
File: dir, Node: Top This is the top of the INFO tree
|
||||
|
||||
This (the Directory node) gives a menu of major topics.
|
||||
Typing "q" exits, "H" lists all Info commands, "d" returns here,
|
||||
"h" gives a primer for first-timers,
|
||||
"mEmacs<Return>" visits the Emacs manual, etc.
|
||||
|
||||
In Emacs, you can click mouse button 2 on a menu item or cross reference
|
||||
to select it.
|
||||
|
||||
* Menu:
|
|
@ -1,9 +1,9 @@
|
|||
# Begin /etc/nsswitch.conf
|
||||
|
||||
passwd: files
|
||||
group: files
|
||||
passwd: files db
|
||||
group: files db
|
||||
|
||||
db_enum: files
|
||||
db_enum: cache builtin
|
||||
|
||||
db_home: cygwin desc
|
||||
db_shell: cygwin desc
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#GPGDir = /etc/pacman.d/gnupg/
|
||||
HoldPkg = pacman
|
||||
#XferCommand = /usr/bin/curl -C - -f %u > %o
|
||||
XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
|
||||
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
|
||||
#CleanMethod = KeepInstalled
|
||||
#UseDelta = 0.7
|
||||
Architecture = auto
|
||||
|
@ -30,7 +30,7 @@ Architecture = auto
|
|||
|
||||
# Misc options
|
||||
#UseSyslog
|
||||
Color
|
||||
#Color
|
||||
#TotalDownload
|
||||
CheckSpace
|
||||
#VerbosePkgLists
|
||||
|
|
|
@ -177,6 +177,5 @@ if [ "$MAYBE_FIRST_START" = "true" ]; then
|
|||
echo "###################################################################"
|
||||
echo
|
||||
echo
|
||||
sleep infinity
|
||||
fi
|
||||
unset MAYBE_FIRST_START
|
||||
|
|
|
@ -138,8 +138,3 @@
|
|||
|
||||
# default root certs location
|
||||
ca_certificate=/usr/ssl/certs/ca-bundle.crt
|
||||
|
||||
#connect_timeout=30
|
||||
#dns_timeout=30
|
||||
#read_timeout=30
|
||||
timeout=10
|
||||
|
|
BIN
msys2/mingw32.exe
Normal file
BIN
msys2/mingw32.exe
Normal file
Binary file not shown.
5
msys2/mingw32.ini
Normal file
5
msys2/mingw32.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
#MSYS=winsymlinks:nativestrict
|
||||
#MSYS=error_start:mingw64/bin/qtcreator.exe|-debug|<process-id>
|
||||
#CHERE_INVOKING=1
|
||||
#MSYS2_PATH_TYPE=inherit
|
||||
MSYSTEM=MINGW32
|
BIN
msys2/mingw64.exe
Normal file
BIN
msys2/mingw64.exe
Normal file
Binary file not shown.
5
msys2/mingw64.ini
Normal file
5
msys2/mingw64.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
#MSYS=winsymlinks:nativestrict
|
||||
#MSYS=error_start:mingw64/bin/qtcreator.exe|-debug|<process-id>
|
||||
#CHERE_INVOKING=1
|
||||
#MSYS2_PATH_TYPE=inherit
|
||||
MSYSTEM=MINGW64
|
BIN
msys2/msys2.exe
Normal file
BIN
msys2/msys2.exe
Normal file
Binary file not shown.
BIN
msys2/msys2.ico
Normal file
BIN
msys2/msys2.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
5
msys2/msys2.ini
Normal file
5
msys2/msys2.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
#MSYS=winsymlinks:nativestrict
|
||||
#MSYS=error_start:mingw64/bin/qtcreator.exe|-debug|<process-id>
|
||||
#CHERE_INVOKING=1
|
||||
#MSYS2_PATH_TYPE=inherit
|
||||
MSYSTEM=MSYS
|
|
@ -14,15 +14,6 @@ rem set MSYS=error_start:%WD%../../mingw64/bin/qtcreator.exe^|-debug^|^<process-
|
|||
rem To export full current PATH from environment into MSYS2 use '-use-full-path' parameter
|
||||
rem or uncomment next line
|
||||
rem set MSYS2_PATH_TYPE=inherit
|
||||
SET PATH=%WD%;%PATH%
|
||||
%~dp0\usr\bin\dash /usr/bin/rebaseall -p 2> nul
|
||||
rem /tmp is required for bash to work
|
||||
mkdir %WD%..\..\tmp 2> nul
|
||||
del %WD%..\..\etc\passwd 2> nul
|
||||
del %WD%..\..\etc\group 2> nul
|
||||
%WD%touch /etc/passwd
|
||||
%WD%touch /etc/group
|
||||
%WD%bash /ps/user_setup.sh
|
||||
|
||||
:checkparams
|
||||
rem Help option
|
||||
|
|
|
@ -5,13 +5,6 @@ check_install () {
|
|||
fi
|
||||
}
|
||||
|
||||
check_install_web () {
|
||||
pacman -Q $1 | grep $2 > /dev/null
|
||||
if [ $? == 1 ]; then
|
||||
pacman --noconfirm --overwrite='*' -U $3
|
||||
fi
|
||||
}
|
||||
|
||||
clean_86 () {
|
||||
rm -rf /mingw32/share/qt5/examples
|
||||
pacman --noconfirm --overwrite='*' -Scc
|
||||
|
|
12
msys2/ps/nsswitch.conf
Normal file
12
msys2/ps/nsswitch.conf
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Begin /etc/nsswitch.conf
|
||||
|
||||
passwd: files
|
||||
group: files
|
||||
|
||||
db_enum: files
|
||||
|
||||
db_home: cygwin desc
|
||||
db_shell: cygwin desc
|
||||
db_gecos: cygwin desc
|
||||
|
||||
# End /etc/nsswitch.conf
|
85
msys2/ps/pacman.conf
Normal file
85
msys2/ps/pacman.conf
Normal file
|
@ -0,0 +1,85 @@
|
|||
#
|
||||
# /etc/pacman.conf
|
||||
#
|
||||
# See the pacman.conf(5) manpage for option and repository directives
|
||||
|
||||
#
|
||||
# GENERAL OPTIONS
|
||||
#
|
||||
[options]
|
||||
# The following paths are commented out with their default values listed.
|
||||
# If you wish to use different paths, uncomment and update the paths.
|
||||
#RootDir = /
|
||||
#DBPath = /var/lib/pacman/
|
||||
#CacheDir = /var/cache/pacman/pkg/
|
||||
#LogFile = /var/log/pacman.log
|
||||
#GPGDir = /etc/pacman.d/gnupg/
|
||||
HoldPkg = pacman
|
||||
#XferCommand = /usr/bin/curl -C - -f %u > %o
|
||||
XferCommand = /usr/bin/wget --passive-ftp --timeout=10 -c -O %o %u
|
||||
#CleanMethod = KeepInstalled
|
||||
#UseDelta = 0.7
|
||||
Architecture = auto
|
||||
|
||||
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
|
||||
#IgnorePkg =
|
||||
#IgnoreGroup =
|
||||
|
||||
#NoUpgrade =
|
||||
#NoExtract =
|
||||
|
||||
# Misc options
|
||||
#UseSyslog
|
||||
Color
|
||||
#TotalDownload
|
||||
CheckSpace
|
||||
#VerbosePkgLists
|
||||
|
||||
# By default, pacman accepts packages signed by keys that its local keyring
|
||||
# trusts (see pacman-key and its man page), as well as unsigned packages.
|
||||
#SigLevel = Never
|
||||
SigLevel = Required DatabaseOptional
|
||||
LocalFileSigLevel = Optional
|
||||
#RemoteFileSigLevel = Required
|
||||
|
||||
# NOTE: You must run `pacman-key --init` before first using pacman; the local
|
||||
# keyring can then be populated with the keys of all official Arch Linux
|
||||
# packagers with `pacman-key --populate archlinux`.
|
||||
|
||||
#
|
||||
# REPOSITORIES
|
||||
# - can be defined here or included from another file
|
||||
# - pacman will search repositories in the order defined here
|
||||
# - local/custom mirrors can be added here or in separate files
|
||||
# - repositories listed first will take precedence when packages
|
||||
# have identical names, regardless of version number
|
||||
# - URLs will have $repo replaced by the name of the current repo
|
||||
# - URLs will have $arch replaced by the name of the architecture
|
||||
#
|
||||
# Repository entries are of the format:
|
||||
# [repo-name]
|
||||
# Server = ServerName
|
||||
# Include = IncludePath
|
||||
#
|
||||
# The header [repo-name] is crucial - it must be present and
|
||||
# uncommented to enable the repo.
|
||||
#
|
||||
|
||||
# The testing repositories are disabled by default. To enable, uncomment the
|
||||
# repo name header and Include lines. You can add preferred servers immediately
|
||||
# after the header, and they will be used before the default mirrors.
|
||||
|
||||
[mingw32]
|
||||
Include = /etc/pacman.d/mirrorlist.mingw32
|
||||
|
||||
[mingw64]
|
||||
Include = /etc/pacman.d/mirrorlist.mingw64
|
||||
|
||||
[msys]
|
||||
Include = /etc/pacman.d/mirrorlist.msys
|
||||
|
||||
# An example of a custom package repository. See the pacman manpage for
|
||||
# tips on creating your own repositories.
|
||||
#[custom]
|
||||
#SigLevel = Optional TrustAll
|
||||
#Server = file:///home/custompkgs
|
18
msys2/ps/setup.cmd
Normal file
18
msys2/ps/setup.cmd
Normal file
|
@ -0,0 +1,18 @@
|
|||
@echo off
|
||||
SET PATH=%cd%\msys2\usr\bin;%PATH%
|
||||
copy /Y %cd%\msys2\ps\*.post %cd%\msys2\etc\post-install\ >NUL
|
||||
copy /Y %cd%\msys2\ps\*.conf %cd%\msys2\etc\ >NUL
|
||||
|
||||
echo # For a description of the file format, see the Users Guide >%cd%\msys2/etc/fstab
|
||||
echo # http://cygwin.com/cygwin-ug-net/using.html#mount-table >>%cd%\msys2/etc/fstab
|
||||
echo none / cygdrive binary,posix=0,noacl,user 0 0 >>%cd%\msys2/etc/fstab
|
||||
echo %~dp0pm3 /pm3 ntfs noacl 0 0 >>%cd%\msys2/etc/fstab
|
||||
echo %~dp0gcc-arm-none-eabi /gcc-arm-none-eabi ntfs noacl 0 0 >>%cd%\msys2/etc/fstab
|
||||
|
||||
dash /usr/bin/rebaseall -p 2> nul
|
||||
mkdir %cd%\msys2\tmp 2> nul
|
||||
del %cd%\msys2\etc\passwd 2> nul
|
||||
del %cd%\msys2\etc\group 2> nul
|
||||
touch /etc/passwd
|
||||
touch /etc/group
|
||||
bash /ps/user_setup.sh
|
|
@ -18,7 +18,4 @@ GROUP_MISSING=$( grep -Fq "$GROUP_SID" /etc/group )$?
|
|||
# If not, add it
|
||||
if [ $GROUP_MISSING != 0 ]; then
|
||||
echo $MKGROUP_CURRENT >> /etc/group
|
||||
fi
|
||||
|
||||
|
||||
|
||||
fi
|
|
@ -1,9 +1,3 @@
|
|||
@echo off
|
||||
|
||||
copy /Y msys2\ps\*.post msys2\etc\post-install\ >NUL
|
||||
echo # For a description of the file format, see the Users Guide >msys2/etc/fstab
|
||||
echo # http://cygwin.com/cygwin-ug-net/using.html#mount-table >>msys2/etc/fstab
|
||||
echo none / cygdrive binary,posix=0,noacl,user 0 0 >>msys2/etc/fstab
|
||||
echo %~dp0pm3 /pm3 ntfs noacl 0 0 >>msys2/etc/fstab
|
||||
echo %~dp0gcc-arm-none-eabi /gcc-arm-none-eabi ntfs noacl 0 0 >>msys2/etc/fstab
|
||||
call msys2\ps\setup.cmd
|
||||
msys2\msys2_shell.cmd -mingw32 -defterm -no-start
|
|
@ -1,9 +1,3 @@
|
|||
@echo off
|
||||
|
||||
copy /Y msys2\ps\*.post msys2\etc\post-install\ >NUL
|
||||
echo # For a description of the file format, see the Users Guide >msys2/etc/fstab
|
||||
echo # http://cygwin.com/cygwin-ug-net/using.html#mount-table >>msys2/etc/fstab
|
||||
echo none / cygdrive binary,posix=0,noacl,user 0 0 >>msys2/etc/fstab
|
||||
echo %~dp0pm3 /pm3 ntfs noacl 0 0 >>msys2/etc/fstab
|
||||
echo %~dp0gcc-arm-none-eabi /gcc-arm-none-eabi ntfs noacl 0 0 >>msys2/etc/fstab
|
||||
call msys2\ps\setup.cmd
|
||||
msys2\msys2_shell.cmd -mingw64 -defterm -no-start
|
Loading…
Add table
Add a link
Reference in a new issue