Hi!
While I was trying to test how fine my package is installed and works, I relied
on instructions at https://www.cygwin.com/package-server.html. Specifically on
"Creating an overlay Cygwin package server" section, as it looked like the
fastest way to test everything for me. But it was a bit complicated to follow
all instructions correctly from the first attempt as some things there depend
on environment setup and there where cross-references inside the guide. So,
I've written alternative straightforward instruction for "Overlay method":
-------
- Install packages: calm, php
- `cd` to directory where you want to build overlay server
- Run:
mkdir -p ./cygwin/{x86_64,x86,noarch}/release
- Copy your built package folder (e.g: pigz-2.8-1.x86_64\dist\pigz) to
./cygwin/x86_64/release folder
- Run:
mksetupini --arch x86_64 --disable-check
missing-required-package,missing-depended-package
--inifile=./cygwin/x86_64/setup.ini --releasearea=./cygwin
cat ./cygwin/x86_64/setup.ini | bzip2 > ./cygwin/x86_64/setup.bz2
cat ./cygwin/x86_64/setup.ini | xz -6e > ./cygwin/x86_64/setup.xz
(Make sure ./cygwin/x86_64/setup.ini contains information about your package)
- Start http server in current dir:
php -S 0.0.0.0:1234
- Run normal cygwin installer (with -X flag), select there TWO mirrors:
- http://127.0.0.1:1234/cygwin
- Another your favorite mirror
- Install your package and try how it works
-------
It's also attached to this Email.
Maybe there is sense to replace content of "Creating an overlay Cygwin package
server" section by this manual? Am I writing this Email to correct mailing list?
Best regards,
Ihor
- Install packages: calm, php
- `cd` to directory where you want to build overlay server
- Run:
mkdir -p ./cygwin/{x86_64,x86,noarch}/release
- Copy your built package folder (e.g: pigz-2.8-1.x86_64\dist\pigz) to
./cygwin/x86_64/release folder
- Run:
mksetupini --arch x86_64 --disable-check
missing-required-package,missing-depended-package
--inifile=./cygwin/x86_64/setup.ini --releasearea=./cygwin
cat ./cygwin/x86_64/setup.ini | bzip2 > ./cygwin/x86_64/setup.bz2
cat ./cygwin/x86_64/setup.ini | xz -6e > ./cygwin/x86_64/setup.xz
(Make sure ./cygwin/x86_64/setup.ini contains information about your package)
- Start http server in current dir:
php -S 0.0.0.0:1234
- Run normal cygwin installer (with -X flag), select there TWO mirrors:
- http://127.0.0.1:1234/cygwin
- Another your favorite mirror
- Install your package and try how it works