[Kde-cygwin-cvs] CVS: tools/cygsetup Makefile, NONE, 1.1 setup.hint, NONE, 1.1 README, 1.4, 1.5 cyg
Status: Inactive
Brought to you by:
habacker
From: Ralf H. <hab...@us...> - 2007-03-23 07:35:10
|
Update of /cvsroot/kde-cygwin/tools/cygsetup In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv1100 Modified Files: README cygsetup Added Files: Makefile setup.hint Log Message: - made real cygwin binary package - added download source options (-ds) - use fixes name for downloaded package config - some minor fixes --- NEW FILE: Makefile --- VERSION=1.2 package: mkdir -p tmp/usr/share/doc/Cygwin mkdir -p tmp/usr/bin cp README tmp/usr/share/doc/Cygwin/cygsetup-$(VERSION).README cp cygsetup tmp/usr/bin cd tmp && tar -cjf ../cygsetup-$(VERSION).tar.bz * rm -r tmp --- NEW FILE: setup.hint --- category: tools requires: cygwin wget bzip2 gawk sed grep uniq sdesc: "cygwin command line installer" ldesc: "cygwin command line installer" Index: README =================================================================== RCS file: /cvsroot/kde-cygwin/tools/cygsetup/README,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- README 22 Jun 2005 18:32:29 -0000 1.4 +++ README 23 Mar 2007 07:35:08 -0000 1.5 @@ -23,10 +23,54 @@ 3. run 'cygsetup -l -a' to see a list of available packages 4. run 'cygsetup -i <package>' to install a package +A complete command list is shown below: + + +$ ./cygsetup --help +usage: cygsetup <mode> <options> - generic command format + + --mirror - list all mirrors + --mirror=<num> - set active mirror and download recent setup.ini + + [-q | --query] [<opt>] - query informations about installed packages + -q -l [-a | --all] - query informations of all installed packages + -q -l <pkg> - query file of installed package <pkg> + -q -f <file> - find package for file <file> + + [-l | --list] <opt> - list informations about available packages from recent mirror + -l <pkg> - list informations about available <pkg> + -l [-a | -all] - list informations about all available + + [-i | --install] <pkg> - install package <pkg> + + [-u | --upgrade] <opt> - upgrade package (please stop any running app) + -u <pkg> - upgrade package <pkg> + u [-a | --all] - upgrade all installed packages + + [-r | --reinstall] <pkg> - reinstall package <pkg> + + [-e | --erase] <pkg> - remove package <pkg> + LIMITATIONS ----------- -- could not install cygwin package because of in use dll problem +- does not overwrite any opened dll so make sure to close any cygwin application + intended to update, especially bash and the cygwin package could not be updated + +HISTORY +------- + +1.2 +- made real cygwin binary package +- added download source options (-ds) +- use fixes name for downloaded package config +- some minor fixes + +1.2 +- first version + + + Ralf Habacker Index: cygsetup =================================================================== RCS file: /cvsroot/kde-cygwin/tools/cygsetup/cygsetup,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- cygsetup 22 Jun 2005 18:23:56 -0000 1.3 +++ cygsetup 23 Mar 2007 07:35:08 -0000 1.4 @@ -1,713 +1,753 @@ -#!/bin/sh -# -# cygwin command line installer -# -# Website: http://kde-cygwin.sf.net -# -# Requirements: wget bzip2 gawk sed grep uniq -# -# -# Copyright (c) 2003-2004 Ralf Habacker <Ralf Hab...@fr...> -# [...1435 lines suppressed...] + ;; + + # remove installed package + -e | --erase) + case $option in + *) + for i in `echo $option $params`; do + echo $i + remove_package_from_cygwin_db "$i" + done + esac + ;; + + # help + -h | --help) + print_help + ;; + esac \ No newline at end of file |