Magellan Linux

/[magellan-source]/trunk/mage/usr/lib/mage/mage4.functions.sh

Log of /trunk/mage/usr/lib/mage/mage4.functions.sh

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 2156 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 14 07:25:43 2013 UTC (10 years, 8 months ago) by niro
File length: 80446 byte(s)
Diff to previous 1963
-introduce unpack_package() function to unpack single packages and do unpack of a package while installing phase and not all packages at once to save space

Revision 1963 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 26 21:14:51 2012 UTC (11 years, 6 months ago) by niro
File length: 80489 byte(s)
Diff to previous 1962
-fixed a cmd typo: xarg -> xargs

Revision 1962 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 25 07:17:17 2012 UTC (11 years, 6 months ago) by niro
File length: 80488 byte(s)
Diff to previous 1961
-enhanced protected files counter with bash internal base functions

Revision 1961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 25 07:07:28 2012 UTC (11 years, 6 months ago) by niro
File length: 80446 byte(s)
Diff to previous 1952
-print cosmetic

Revision 1952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 12 12:59:32 2012 UTC (11 years, 6 months ago) by niro
File length: 80285 byte(s)
Diff to previous 1781
-fixed need_busybox_support() function to honor USR-move

Revision 1781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 12 23:21:52 2012 UTC (12 years, 1 month ago) by niro
File length: 80220 byte(s)
Diff to previous 1762
-added some nice colors for mprintfeatures()

Revision 1762 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 18 13:56:34 2012 UTC (12 years, 2 months ago) by niro
File length: 80143 byte(s)
Diff to previous 1758
-fixed a typo

Revision 1758 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 18 13:48:34 2012 UTC (12 years, 2 months ago) by niro
File length: 80136 byte(s)
Diff to previous 1690
-improved count_protected_files() function to fix several issues

Revision 1690 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 16 12:00:59 2012 UTC (12 years, 2 months ago) by niro
File length: 79870 byte(s)
Diff to previous 1675
-fixed broken mtime handling of symlinks

Revision 1675 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 6 09:45:23 2012 UTC (12 years, 2 months ago) by niro
File length: 80102 byte(s)
Diff to previous 1658
-update_tarball: only exclude distribution from uri if it matches stable|testing|unstable

Revision 1658 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 14 00:00:53 2012 UTC (12 years, 3 months ago) by niro
File length: 79962 byte(s)
Diff to previous 1654
-verbose mchecksum

Revision 1654 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 23:20:39 2012 UTC (12 years, 3 months ago) by niro
File length: 79941 byte(s)
Diff to previous 1653
-honor mounted or empty $MAGEDIR in syncmage_tarball()

Revision 1653 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 23:17:40 2012 UTC (12 years, 3 months ago) by niro
File length: 79722 byte(s)
Diff to previous 1652
-introduce mcheckemptydir()

Revision 1652 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 23:16:36 2012 UTC (12 years, 3 months ago) by niro
File length: 79433 byte(s)
Diff to previous 1650
-use mchecksum everywhere

Revision 1650 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 21:05:41 2012 UTC (12 years, 3 months ago) by niro
File length: 79382 byte(s)
Diff to previous 1649
-disabled unused choppkgname function

Revision 1649 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 21:04:02 2012 UTC (12 years, 3 months ago) by niro
File length: 79341 byte(s)
Diff to previous 1648
-added mage-feature pkgdistrotag to support DISTROTAG in package tarballs

Revision 1648 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 20:51:18 2012 UTC (12 years, 3 months ago) by niro
File length: 79281 byte(s)
Diff to previous 1628
-honor license information

Revision 1628 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 13:13:14 2012 UTC (12 years, 3 months ago) by niro
File length: 79133 byte(s)
Diff to previous 1627
-highlight unkown mage-features

Revision 1627 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 13:10:08 2012 UTC (12 years, 3 months ago) by niro
File length: 79003 byte(s)
Diff to previous 1626
-added missing known mage-features and moved stepbystep to the right place of the alphabetical order

Revision 1626 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 13:07:38 2012 UTC (12 years, 3 months ago) by niro
File length: 78913 byte(s)
Diff to previous 1625
-mdownload(): append wget_opts, do not overwrite

Revision 1625 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 13:06:13 2012 UTC (12 years, 3 months ago) by niro
File length: 78909 byte(s)
Diff to previous 1620
-fixed spelling

Revision 1620 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 10 15:47:08 2012 UTC (12 years, 3 months ago) by niro
File length: 78907 byte(s)
Diff to previous 1603
-added --resume support for smage

Revision 1603 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 3 16:17:48 2012 UTC (12 years, 3 months ago) by niro
File length: 78877 byte(s)
Diff to previous 1599
-finally be silent when loading initial setup of mage-features

Revision 1599 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 30 10:07:18 2011 UTC (12 years, 4 months ago) by niro
File length: 78994 byte(s)
Diff to previous 1590
-fixed some missing COLDEFAULTS

Revision 1590 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 29 15:12:05 2011 UTC (12 years, 4 months ago) by niro
File length: 78942 byte(s)
Diff to previous 1584
-colored mage-feature messages

Revision 1584 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 28 12:23:50 2011 UTC (12 years, 4 months ago) by niro
File length: 78761 byte(s)
Diff to previous 1549
-added MAGE_FEATURE functionality and dropped all old variables and use it in all refernces

Revision 1549 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 27 10:43:40 2011 UTC (12 years, 4 months ago) by niro
File length: 76054 byte(s)
Diff to previous 1548
-introduce mchecksum(),  convertmirrors(), mdownload() functions to consolidate several splitted functions in mage/smage and use them

Revision 1548 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 27 10:00:34 2011 UTC (12 years, 4 months ago) by niro
File length: 73045 byte(s)
Diff to previous 1547
-fixed spelling and whitespaces
-removed old commented cruft

Revision 1547 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 27 09:58:03 2011 UTC (12 years, 4 months ago) by niro
File length: 73760 byte(s)
Diff to previous 1541
-moved color defines into global mage4.functions.sh include

Revision 1541 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 20 12:58:32 2011 UTC (12 years, 4 months ago) by niro
File length: 73364 byte(s)
Diff to previous 1502
-check for and require root privileges when needed by mage

Revision 1502 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 30 10:39:28 2011 UTC (12 years, 8 months ago) by niro
File length: 73241 byte(s)
Diff to previous 1438
-fixed svn detection

Revision 1438 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 25 12:05:37 2011 UTC (12 years, 9 months ago) by niro
File length: 73262 byte(s)
Diff to previous 1318
-do not eval * while removing backup files from mage tree
-dont show ls errors on depwalking highest magefiles

Revision 1318 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 27 19:48:35 2011 UTC (12 years, 11 months ago) by niro
File length: 73248 byte(s)
Diff to previous 1293
-fixed a logic error

Revision 1293 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 27 12:56:38 2011 UTC (12 years, 11 months ago) by niro
File length: 73258 byte(s)
Diff to previous 1289
-be busybox friendly on update-tarball invocation

Revision 1289 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 12 21:29:31 2011 UTC (12 years, 11 months ago) by niro
File length: 73148 byte(s)
Diff to previous 1273
-fix config protect: register ignored file in database with fixed mtime
-fixed some whitespaces

Revision 1273 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 27 09:45:07 2011 UTC (13 years ago) by niro
File length: 72925 byte(s)
Diff to previous 1271
-support busybox out-of-the-box

Revision 1271 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 27 08:42:24 2011 UTC (13 years ago) by niro
File length: 71446 byte(s)
Diff to previous 1214
-fix handling of character devices

Revision 1214 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 28 21:46:34 2011 UTC (13 years, 3 months ago) by niro
File length: 71407 byte(s)
Diff to previous 1211
- make user:group for devices and fifo support optional or mage is incompatible to old packages

Revision 1211 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 28 21:39:01 2011 UTC (13 years, 3 months ago) by niro
File length: 71323 byte(s)
Diff to previous 1209
- make user:group for devices and fifo support optional or mage is incompatible to old packages

Revision 1209 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 28 20:37:27 2011 UTC (13 years, 3 months ago) by niro
File length: 70985 byte(s)
Diff to previous 1087
- added support for fifos
- fifos, character devices and blockdevices should set the owner right
- some cosmetic changes and spelling typos

Revision 1087 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 28 18:46:57 2010 UTC (13 years, 10 months ago) by niro
File length: 68221 byte(s)
Diff to previous 1085
-fixed a typo and honor verbose and silent fetch modes

Revision 1085 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 28 18:15:44 2010 UTC (13 years, 10 months ago) by niro
File length: 68080 byte(s)
Diff to previous 1084
-added WGET_FETCH_OPTIONS variable to mage.rc.global to be more busybox friendly

Revision 1084 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 28 18:08:15 2010 UTC (13 years, 10 months ago) by niro
File length: 68212 byte(s)
Diff to previous 1083
-fixed whitespaces

Revision 1083 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 28 18:07:29 2010 UTC (13 years, 10 months ago) by niro
File length: 68213 byte(s)
Diff to previous 972
-added support for md5sum in update-tarball

Revision 972 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 22 12:22:39 2010 UTC (14 years ago) by niro
File length: 67666 byte(s)
Diff to previous 966
-fixed a spelling typo

Revision 966 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 19 19:59:22 2010 UTC (14 years, 2 months ago) by niro
File length: 67666 byte(s)
Diff to previous 943
-check for newer mage version on tarball-sync also

Revision 943 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 20 22:39:11 2009 UTC (14 years, 5 months ago) by niro
File length: 67585 byte(s)
Diff to previous 942
-fixed broken die_pipestatus() function
-added the first attempt for split-package support

Revision 942 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 20 21:53:33 2009 UTC (14 years, 5 months ago) by niro
File length: 67156 byte(s)
Diff to previous 892
-support CONFIG_PROTECT target CONFIG_PROTECT_IGNORE to keep user/system modified config files, like passwd

Revision 892 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 4 19:52:16 2009 UTC (14 years, 8 months ago) by niro
File length: 66163 byte(s)
Diff to previous 876
-support both blacklist types

Revision 876 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 21 19:07:14 2009 UTC (14 years, 11 months ago) by niro
File length: 65968 byte(s)
Diff to previous 858
-added basic svn compat

Revision 858 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 8 07:05:45 2009 UTC (14 years, 11 months ago) by niro
File length: 65511 byte(s)
Diff to previous 776
-don't fix mtimes on symlinks

Revision 776 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 5 10:32:24 2008 UTC (15 years, 6 months ago) by niro
File length: 65491 byte(s)
Diff to previous 739
-fixed blacklist handling


Revision 739 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 16 09:29:57 2008 UTC (15 years, 10 months ago) by niro
File length: 65499 byte(s)
Diff to previous 676
-added mage update-tarball function


Revision 676 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 26 19:49:20 2008 UTC (16 years, 2 months ago) by niro
File length: 64284 byte(s)
Diff to previous 675
-fixed processing of directories in get_highest_magefile(), suppressed some errors


Revision 675 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 10 12:26:09 2008 UTC (16 years, 2 months ago) by niro
File length: 64182 byte(s)
Diff to previous 603
-fixed src_install with MAGE_TARGETS enabled


Revision 603 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 5 19:36:36 2007 UTC (16 years, 5 months ago) by niro
File length: 64022 byte(s)
Diff to previous 501
-fixed count_protected_files() and obsoleted writeprotected script


Revision 501 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 30 15:38:50 2007 UTC (16 years, 10 months ago) by niro
File length: 63473 byte(s)
Diff to previous 499
fixed a copy paste error


Revision 499 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 30 15:31:46 2007 UTC (16 years, 10 months ago) by niro
File length: 63749 byte(s)
Diff to previous 458
-fixed one missing $MROOT


Revision 458 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 09:21:55 2007 UTC (17 years ago) by niro
File length: 63465 byte(s)
Diff to previous 451
-show depends in pkgsearch()


Revision 451 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 28 20:26:08 2007 UTC (17 years, 1 month ago) by niro
File length: 62819 byte(s)
Diff to previous 449
- updated is_config_protected() to compare files literally to fix issues with spaces in the filename


Revision 449 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 27 16:35:57 2007 UTC (17 years, 1 month ago) by niro
File length: 62821 byte(s)
Diff to previous 445
- added missing "local i" to get_uninstall_candidates() to prevent errors like '/usr/lib/mage/mage4.functions.sh: line 1452: font-adobe-100dpi: value too great for base (error token is "100dpi")'


Revision 445 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 19 20:00:35 2007 UTC (17 years, 1 month ago) by niro
File length: 62812 byte(s)
Diff to previous 437
- fixed broken pkgsearch; inform the user that a package is masked and do not show hiryglyphes like
         "Latest available:   .mage-.mage"


Revision 437 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 19 18:05:20 2007 UTC (17 years, 1 month ago) by niro
File length: 62545 byte(s)
Diff to previous 419
fixed some warnings


Revision 419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 00:24:14 2007 UTC (17 years, 3 months ago) by niro
File length: 62545 byte(s)
Diff to previous 416
variable mage.rc


Revision 416 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 21 23:29:34 2007 UTC (17 years, 3 months ago) by niro
File length: 62554 byte(s)
Diff to previous 415
typo


Revision 415 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 21 23:22:15 2007 UTC (17 years, 3 months ago) by niro
File length: 62555 byte(s)
Diff to previous 409
pkg name in colred on uninstall


Revision 409 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 30 11:39:32 2006 UTC (17 years, 4 months ago) by niro
File length: 62556 byte(s)
Diff to previous 391
fixed minclude of mutliple files


Revision 391 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 27 19:17:14 2006 UTC (17 years, 8 months ago) by niro
File length: 62556 byte(s)
Diff to previous 386
fixed pksearch(); now excluding includes and profiles


Revision 386 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 17 20:52:38 2006 UTC (17 years, 9 months ago) by niro
File length: 62517 byte(s)
Diff to previous 385
using variable rsync fetch options via mage.rc


Revision 385 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 17 20:48:22 2006 UTC (17 years, 9 months ago) by niro
File length: 62683 byte(s)
Diff to previous 373
fixed messages


Revision 373 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 27 17:15:23 2006 UTC (18 years ago) by niro
File length: 62807 byte(s)
Diff to previous 370
spelling


Revision 370 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 27 11:52:59 2006 UTC (18 years ago) by niro
File length: 62807 byte(s)
Diff to previous 350
added blacklist support


Revision 350 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 22 17:43:59 2006 UTC (18 years, 1 month ago) by niro
File length: 61151 byte(s)
Diff to previous 329
added mlibdir function


Revision 329 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 16 22:11:06 2006 UTC (18 years, 2 months ago) by niro
File length: 61059 byte(s)
Diff to previous 328
fixed some install issues, when removing non existing uninstall-candidates ...


Revision 328 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 15 18:23:30 2006 UTC (18 years, 2 months ago) by niro
File length: 60971 byte(s)
Diff to previous 314
fixed some pkgsearch errors


Revision 314 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 1 23:45:27 2006 UTC (18 years, 3 months ago) by niro
File length: 60963 byte(s)
Diff to previous 312
fixed again a typo


Revision 312 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 1 23:15:54 2006 UTC (18 years, 3 months ago) by niro
File length: 60964 byte(s)
Diff to previous 310
fixed installation of char-devices


Revision 310 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 1 22:59:52 2006 UTC (18 years, 3 months ago) by niro
File length: 60908 byte(s)
Diff to previous 294
fixed a typo: mknode -> mknod


Revision 294 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 4 11:54:15 2005 UTC (18 years, 4 months ago) by niro
File length: 60909 byte(s)
Diff to previous 286
delete virtuals only if one pkg is installed


Revision 286 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 1 12:38:45 2005 UTC (18 years, 4 months ago) by niro
File length: 60202 byte(s)
Diff to previous 280
- added variable package fetch path
- added new MAGE_DISTRIBUTION variable support


Revision 280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 21 16:01:40 2005 UTC (18 years, 6 months ago) by niro
File length: 60105 byte(s)
Diff to previous 273
added config prot support for uninstalling


Revision 273 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 21 14:50:13 2005 UTC (18 years, 6 months ago) by niro
File length: 59490 byte(s)
Diff to previous 258
fixed virtual_add and virtual_del calls with mutiple provides


Revision 258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 4 14:35:21 2005 UTC (18 years, 6 months ago) by niro
File length: 59168 byte(s)
Diff to previous 252
now using unset -f pre/post{install,remove} so that they do not get exported or globally set in any way


Revision 252 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 2 14:09:41 2005 UTC (18 years, 6 months ago) by niro
File length: 59057 byte(s)
Diff to previous 249
fixed is_newer_mage_version_available(), so it works again


Revision 249 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 2 12:20:13 2005 UTC (18 years, 6 months ago) by niro
File length: 59095 byte(s)
Diff to previous 248
added export_inherits() function


Revision 248 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 27 14:38:01 2005 UTC (18 years, 7 months ago) by niro
File length: 58700 byte(s)
Diff to previous 240
now unseting pre/post-install/remove functions in mage_install() and mage_uninstall()


Revision 240 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 11 19:47:08 2005 UTC (18 years, 7 months ago) by niro
File length: 58376 byte(s)
Diff to previous 237
fixed some uninstall issues


Revision 237 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 10 13:35:55 2005 UTC (18 years, 7 months ago) by niro
File length: 58370 byte(s)
Diff to previous 226
added new search method


Revision 226 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Sep 9 16:35:46 2005 UTC (18 years, 7 months ago) by niro
File length: 56350 byte(s)
complete rewrite


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a