aboutsummaryrefslogtreecommitdiff
path: root/trunk/doc/CHANGELOG
blob: ae694b7df0f8c7f7120caaa04d585ba5b0d9f4f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
simplepkg changelog
===================

0.6pre31
========

    - new "compact" template storage format
    - common.sh:
      - other minor changes
      - repository metainformationg is now added at svn control if applicable
      - new functions svn_remove_empty_folders, svn_del, su_svn, chown_svn, chgrp_svn,
        regexp_slash, default_distro and svn_add
      - new config parameter "TMP" 
      - renamed function use_svn to templates_under_svn
    - simplaret: simplaret_search_and_process_patch do not donwload a package with the same
                 package name twice in any case
    - default simplepkg.conf and repos.conf moved to default/ folder
    - templatepkg and mkjail: minor changes
    - templates:
      - removed slackware and added slackware-12.1
      - added slamd64-11.0, slamd64-12.0 and slamd64-12.1 templates
    - repos.conf and simplepkg.conf:
      - default configuration making createpkg repository integrated with simplaret
      - new repositories
    - mkbuild:
      - all previous "commit" functions and command line options changed to "submit" as they
        don't really commit files into the svn repository
      - function svn_mkdir moved to common.sh
      - function svn_add moved to common.sh and renamed as svn_copy
      - some svn check routines extended for git
    - perl.mkSlackBuild
       - added sections copy_init_scripts and copy_config_files
    - generic.mkSlackBuild and per.mkSlackBuild
      - clean_builds now compliant with standard --cleanup behaviour
      - new section slack-required
    - generic.mkSlackBuild:
      - config() on postinstall_script now accepting .dist and .sample config file extensions
      - added git_source section
    - createpkg:
      - new options --status, --update and --commit to manage subversion repository
      - subversion integration
      - minor changes
      - new config parameters MAKEPKG_REPOS_STYLE, MOVE_SLACK_REQUIRED, MKBUILDS_SVN_USER,
        MAKEPKG_SVN_USER, MAKEPKG_SVN_GROUP, MKBUILDS_SVN_GROUP, MAKEPKG_REPOS_NOARCH
      - cleaner -s option output
    - lspkg: fix on package search routine
    - jail-commit: using unified diff

0.6pre30
========

    - common.sh: fixed package_name when dealing with files under /var/log/packages

0.6pre29
========

    - templatepkg: fixed issue on adding files in a template.
    - simplaret: "--sync" and "sync" now synonyms to "--update" and "update".

0.6pre28
========

    - generic.mkSlackBuild: new section copy_config_files
    - lspkg: change ls /var/log/packages/$1 to ...$1-[0-9]
    - mkjail: fixed #27
    - jail-update: installs/remove packages according the template (closes #10)
    - simplaret:
      - option --install working for multiple packages (closes #1)
      - option --remove working for multiple packages
    - mkpatch: fixed infinite loop on invalid diff action
    - mkbuild 1.2.7:
      - new ACTION bugfix
      - search result bugfix
      - protect MKBUILD_NAME and ACTION variables with "" in line 266
    - createpkg 1.1.13:
      - severals EXIT_CODE corrections
      - search result bugfix

0.6pre27
========

    - using Makefile instead of simplepkg.SlackBuild
    - generic.mkSlackBuild: fix on svn_source
    - createpkg 1.1.12:
      - change indentation do two spaces;
      - add option --debug|-d to debug SlackBuilds scripts;
      - add EXIT_CODE to output status from createpkg;
    - mkbuild 1.2.6:
      - add --search|-s option;
      - mkbuild copy all file in current directory different of *.SlackBuild,
        *.old, *.tmp, and slack-required to mkbuild directory, in
        commit_mkbuild function;
      - mkbuild copy all file in current directory different of *.mkbuild,
        *.old, and *.tmp to slackbuild repository, in commit_slackbuild
        function;
      - add EXIT_CODE to output status from mkbuild;

0.6pre26
========

    - createpkg:
      - add LANG=en_US in SlackBuild command line
    - mkbuild:
      - bugfix: add "" to protect all parameters in edit_file function call;
      - change line 346-346 with "sed -i" command;
      - add SVN_MOD variable to control svn source code;
      - add control to SVN_MOD and URL "none" in activate_sections function;
        - desable sections download_source, md5sum_download_and_check_0,
          md5sum_download_and_check_1, gpg_signature_check untar_source, in
          SVN_MOD or URL "none";
        - enable section get_svn_source in SVN_MOD;
      - EXTENSION, UNPACKER, UNPACKER_FLAGS, DECOMPRESSOR, and DECOMPRESSOR_TEST_FLAG
        desable in SVN_MOD or URL "none";
    - generic.mkSlackBuild:
      - change PKG_SRC="$PWD...{ print $8 }'`" to  ...{ print $NF }'`"
      - add svn_source section to grab subversion sources;
      - comment lines limited to 79 columns;
    - model.mkbuild:
      - add "off:svn_source" line;

0.6pre25
========

    - generic.mkSlackBuild:
      - fixed gziped patch support at patch_source section
      - added LDFLAGS for x86_64

0.6pre24
========

    - mkbuild: added LICENSE and SIGNATURE on default [[DOCUMENTATION FILES]]
    - perl.mkSlackBuild:
      - gpg_signature_check: support for [[SIGNING KEY ID]] parameter
      - minor fix

0.6pre23
========

    - generic.mkSlackBuild:
      - new section copy_init_scripts
      - gpg_signature_check: support for [[SIGNING KEY ID]] parameter

0.6pre22
========

    - generic.mkSlackBuild:
      - enhanced patch_source section with [[PATCH URLS]] support
      - minor changes

0.6pre21
========

    - generic.mkSlackBuild:
      - added -fPIC on SLKCFLAGS for x86_64

0.6pre20
========

    - generic.mkSlackBuild:
      - new section create_build_user_and_group
      - new section move_config_files
      - more gpg_signature_check section fixes
      - new functions at postinstall_script section
    - perl.mkSlackBuild:
      - more gpg_signature_check section fixes

0.6pre19
========

    - mkbuild-1.2.3:
      - help function update
    - createpkg-1.1.11:
      - help function update
    - generic.mkSlackBuild / perl.mkSlackbuild:
      - gpg_signature_check section fixes

0.6pre18
========

  - mkbuild-1.2.2:
    - function change_others_parameters works of the beginning of the
      archive .mkbuild until the line initiated for "#>>"
    - added "--sync" option
    - change indent spaces to 2
    - "show slackbuild path" option (-sp) and related functions had been removed
    - removed others small bugs
  - common.sh: fixed default_arch
  - simpletrack: error message

0.6pre17
========

  - mkpatch add simple patch suport to mkbuild
  - mkpatch-1.1:
    - --help, -h option suport
    - change select line: 'sed "#i g;d"'  is 30% most fast that 'sed -n "#i p"'
    - change 'while' loop to most speed in patch application
    - bug fixe: replace 'return' for 'exit' command
  - mkbuild-1.2.0:
    - added suport to mkpatch section in .mkbuild (apply_mkpatch function)

0.6pre14
========

  - simplaret: ignoring slack-required lines starting which "#"

0.6pre13
========

  - mkbuild-1.1.11:
    - -sp, --slackbuild-path option added
    - ACTION variable added (values are: new, show-path, and build)
    - MKBUILD_NAME and MK_INPUT_FILE variables are the same ones
    - Several 'sed - i' applied
    - Changed caracter of separation in the command 'sed' for ¦
    - Reorganized the function get_slackbuild_path
    - Call for the function start_build moved of position

0.6pre12
========

  - common.sh: small change

  - generic.mkSlackBuild / perl.mkSlackBuild: minor fixe

  - mkbuild-1.1.10:
    - added inputs --path-files and --nps-strip
    - remove old code 'let i++' in set_parameters function
    - PATCH FILES parameter default set to ""
    - NUMBER OF PREFIX SLASHES TO STRIP parameter default set to "1"
    - change_others_parameters function minor fixe
    - variable ARCH="noarch" in SlackBuild file, if [[ARCH]]="noarch"

0.6pre11
========

  - common.sh:
    - enhanced system arch and version detection
    - minor changes

  - simplaret:
    - changed distro folder routine
    - added --help | help command line option
    - added simplified syntax:

        simplaret ekiga # should work as simplaret install ekiga

  - generic.mkSlackBuild / perl.mkSlackBuild: minor fixes

0.6pre1-10
==========

  - added perl.mkSlackBuild

  - generic.mkSlackBuild-0.9.0:
    - added [[BUILD NUMBER]] parameter
    - added variable PKG_WORK(=$TMP/$SRC_NAME) to package work directory
    - PKG_SRC now is `ls -la | awk '/^d/ { print $8 }'`, directory in $PKG_WORK

  - model.mkbuild-0.9.0:
      - added [[BUILD NUMBER]]="" parameter

  - createpkg-1.1.9:
    - added option --all, to build all SlackBuilds in repository
    - added number of parameters check
    - integrate handle_error with common.sh
    - moved handle_error and error_codes to common.sh (see above)
    - usage function add exit program
    - change ERROR_... codes to ERROR_CREATEPKG_...
    - added SLACKBUILDS_SVN variable
    - called to svn functions change to send SLACKBUILDS_DIR and SLACKBUILDS_SVN variables
    - error 2 (usage function) change to usage function call

  - mkbuild-1.1.9:
    - added [[BUILD NUMBER]]="" parameter support
    - bugfix: removed [] from is_number function call
    - correction of some codes of error and calls the handle_error function
    - added commit mkbuild, commit slackbuild , and commit all options
    - removed error_codes and mkbuild_error to common.sh
    - COMMIT variable change to COMMIT_SLACKBUILD
    - added variable COMMIT_MKBUILD
    - analysis of the variable NUMJOBS moved close to the reading from parameter NUMBJOBS
    - reading of the variable SLACKBUILD_PATH was moved for the end of the list of parameters
    - is_number function moved to common.sh
    - added validate_parameter input check
    - added support to the "empty parameter" in validate_parameter function
    - added variables SLACKBUILDS_SVN, MKBUILDS_DIR and MKBUILDS_SVN
    - added variables BASENAME (program name)
    - COMMIT_SLACKBUILD and COMMIT_MKBUILD default set to off
    - UNPACKER bugfix
    - DECOMPRESSOR bugfix
    - added most flexibility in the creation of initial ".mkbuild" file
    - added commit_mkbuild function
    - bugfix: input of set_parameters ($@) protected with ""
    - bugfixes: -a, -u, and -ai options

  - common.sh
    - ERROR_PAR_NUMBER - incorrect number of parameters
    - ERROR_COMMON_NOT_FOUND - file common.sh not found
    - added error_codes function
    - added handle_error function
    - added svn functions:
      - build_repo (build a svn repository)
      - check_repo (check repository)
      - sync_repo (synchronize repository)
    - added is_number function.
        Check if input is a number

  - bugfixes:
    - common.sh: added ;; in the end from line 787
    - common.sh: change handle_error exit to "is_number $1 && exit $1 || exit 1"
    - createpkg: protect parameters in solve_dep call with ""
    - mkbuild: change "PACKGE NAME" parameter to "PKG NAME"
    - model.mkbuild: change "PACKGE NAME" parameter to "PKG NAME"

  - simplepkg.conf:
    - new config variables:
      - MKBUILDS_DIR (mkbuilds directory repository)
      - SLACKBUILDS_SVN (SlackBuild svn source)
      - MKBUILDS_SVN (Mkbuild svn source)

  - model.mkbuild:
    - Some changes to integrate to applicatory the external ones:
      - [[SLACKBUILD AUTHOR]] default change to "[[YOUR NAME]]"
      - [[SLACKBUILD AUTHOR INITIALLS]] default change to "[[YOUR SIGNATURE]]"
      - [[DONLOAD FOLDER URL]] default change to "[[DEFAULT URL]][[PACKGE NAME]]"
      - all [[NAME]] change to [[PACKGE NAME]]
      - added [[ARCH]]="" parameter

  - lspkg-0.4:
    - added error code 1 to fail exit

0.6pre1-8
=========

  - common.sh:
    - fixed http://slack.sarava.org/trac/ticket/19

  - added simpletrack script

  - simplaret:
    - lots of fixes (thanks Diogo for finding and reporting two of them)
    - performance enhancement on --upgrade

  - createpkg:
    - small fixes
    - starting support for repository management

  - mkbuild:
    - lots of changes

  - documentation update

0.5pre23
========

  - updated documentation

0.5pre22
========

  - simplaret:
    - small fix
  - common.sh:
    - fixes on metafiles generation

0.5pre21
========

  - templatepkg:
    - now --delete can also remove the file from a jail

0.5pre20
========

  - small changes
  - jail-commit:
    - template files security

0.5pre19
========

  - simplaret:
    - bugfixes
    - options --get and --install now can work
      with full file name.

0.5pre15-18
===========

  - bugfixes

0.5pre14
========

  - simplaret
    - added variable REPOS_PRIORITY
    - added variable SIMPLARET_DOWNLOAD_FROM_NEXT_REPO

  - lspkg:
    - small bugfix

  - common.sh:
     - on search_template, doesnt return a template from
       defaults/ if the function is called with --update

  - utils/add-slack-required:
    - command line enhancement

0.5pre9 - 0.5pre13
==================

  - bugfix releases

0.5pre8
=======

  - lspkg:
    - bugfix

  - common.sh:
    - bugfix in function slash

0.5pre7
=======

  - simplaret:
    - fixed bug for ROOT definitions when there is packages
      inside of folders different than ROOT_PRIORITY

0.5pre6
=======

  - repos:
    - FILE_LIST generation fix

  - mkjail:
    - new config variable ADD_TO_JAIL_LIST controls wheter to
      add new jails into the JAIL_LIST file

0.5pre5
=======

  - jail-commit
    - SILENT env variable to decrease verbosity

0.5pre4
=======

  - templatepkg:
    - small fixes
    - help usage summary improvements
    - now using variable TEMPLATE_FOLDER
    - SILENT env variable to decrease verbosity
    - option -p | --post-install renamed to -b | --batch-edit
    - option -p | --post-install now used to build a package from a template
    - option -d | --delete now can also remove post-install scripts

  - common.sh
    - small fixes
    - now using variable TEMPLATE_FOLDER

  - jail-commit:
    - calling templatepkg silently
    - small fixes

0.5pre3
=======

  - again, lots of bugfixes

  - jail-commit:
    - update a template just once if finds more than one entry
      for a template in the jailist

0.5pre2
=======

  - lots of bugfixes

  - templatepkg:
    - now creates missing components in a template

0.5pre1
=======

  Lots of changes!

  - repos: cosmetic changes

  - lspkg:
    - support for $ROOT env variable
    - some improvements

  - CHANGELOG cleanup

  - subversion repository support for templates

  - metapkg moved to utils/

  - simplaret:
    - new config variables:
      - STORE_ROOT_PATCHES_ON_PATCHES_DIR
      - SIGNATURE_CHECKING
      - ROOT=/otherroot works for --install, --remove and --upgrade
    - signature checking
    - dependency checking through slack-required

  - mkjail:
    - added support for slack-required as templates
    - templates now can be stored either on
      - /etc/simplepkg/template_name.template
      - /etc/simplepkg/templates/template_name.template
      - /etc/simplepkg/templates/template_name/template_name.template

  - jail-update
    - old script renamed to jail-commit
    - now update a jail from a template
    - svn repository support

  - jail-commit
    - new script, commit changes from a jail to the templates
    - svn repository support

  - templatepkg:
    - major rewrite
    - svn repository support
    - now supports a tagfile or slack-required as a template
    - new/changed options
      -c | --create: improvements
      -a | --add: changed to add files into a template
      -u | --update: update a template
      -d | --delete: delete files or folders from a template
      -s | --sync: sync /etc/simplepkg/templates working copy
      -e | --export: export /etc/simplepkg/templates to a svn repository
      -i | --import: grab /etc/simplepkg/templates from a svn repository
      -r | --remove: remove a template
      -l | --list: list templates
      -p | --post-install: add or edit post-installation scripts
      -t | --template-edit: edit template package list
      -h | --help: display this summary

0.4.9pre18-23
=============

  - simplaret:
    - enhanced http retrieval: curl support
    - enhanced verbosity
    - get-patches small changes
    - various fixes

0.4.9pre10-17
=============

  - lots of simplaret fixes

0.4.9pre9
=========

  - createpkg:
    - speedup
    - ncftpget support
    - timeout support
    - sets the correct architecture

  - deleted jail-upgrade

  - removed swaret support

0.4.9pre8
=========

  - createpkg: bugfix

  - common.sh:
    - enhanced config file evaluation
    - fixed function default_arch

  - simplaret:
    - config evaluation via common.sh
    - new config parameter SIMPLARET_PURGE_PATCHES

0.4.9pre7
=========

  - repos: added patches/ metafile creation

  - jail-upgrade:
    - added option CONSIDER_ALL_PACKAGES_AS_PATCHES
    - merged swaret and simplaret upgrade procedures
    - act recursively on patches' folder

  - simplaret: lots of changes, most important are:
    - new repository scheme, take a look at repos.conf.new.
    - --get looks first to PATCHES repositories, then ROOT,
      then REPOS and finally at NOARCH repositories; the
      firts matching package is downloaded.
    - new config parameter ROOT_PRIORITY set the priority
      of folder lookup at a ROOT repository, defaults to
      "patches slackware extra testing pasture".
    - for --get, check if an already existing package
      in the local repository has the same version and
      build number, otherwise erase the old and download
      the new one.
    - fixed --get-paches
    - added --upgrade option
    - added --install
    - added --remove
    - new config parameter DOWNLOAD_EVEN_APPLIED_PATCHES

  - createpkg: lots of changes

0.4.9pre6
=========

  - createpkg:
    - fixes
    - now with slackbuild error handling
    - increased verbosity

  - small fixes on rebuildpkg

  - lspkg enhancements

  - simplaret fix on --purge

  - updated default repos.conf

0.4.9pre5
=========

  - added script "repos"

  - moved simplaret to /usr/bin

0.4.9pre4
=========

  - createpkg: better command line evaluation,
    now using "upgradepkg --install-new" to
    install a package and added the command
    line option --no-deps so createpkg doesn't
    goes down to solve all slack-required
    dependencies.

0.4.9pre3
=========

  - small fix on createpkg when handling with
    slackbuilds with similar names

0.4.9pre2
=========

  - fixed simplepkg.SlackBuild

  - fixed doinst.sh

  - re-organized the source repository

  - added createpkg

  - updated README and README.pt_BR

0.4.8
=====

  - simplaret: removed extra folder from slamd64 definition

  - fixed a typo

0.4.7
=====

  - templatepkg bugfix on blank template lines and on package deletion
    changed simplaret working dir in simplaret.conf.new

0.4.6
=====

  - small bugfix on jail-update that prevented template update

0.4.5
=====

  - vserver template update

0.4.4
=====

  - WARNING option on config file for simplaret

  - SILENT env var, if a non-zero value, keeps simplaret
    work silenty when purging and works like if WANRING is set
    to not null.

  - added SIMPLARET_DELETE_DURING config parameter: when set
    to a non-zero value deletes each package rigth after its
    installation

0.4.3
=====

  - added openoffice.org template

0.4.2
=====

  - common.sh: fix on install_packages when handling
    with similar package names

0.4.1
=====

  - templatepkg: fixed tagfiles and comment handling

0.4
===

  - multi-plataform and version management

    now simplepkg supports jails with architectures and versions
    others than the main system, read the docs for details.

  - added simplaret: a small script for downloading packages

  - jail-upgrade

      * arch checking via /etc/slackware-version on each jail
      * supports multi-arch and multi-version repository
      * integrated with simplaret

  -  common.sh: improved functions to support simplaret

0.3.7-0.3.9
===========

  - bugfix releases

0.3.6
=====

  - added "-u" option to eval_config to ask for a swaret --update

0.3.5
=====

  - "main" jail support for jail-update

0.3.4
=====

  - Started changelog :)