-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
distribucion.sh
executable file
·1416 lines (1289 loc) · 48.9 KB
/
distribucion.sh
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
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/bin/sh
# Generar distribución Aprendiendo de Jesús.
# Dominio público de acuerdo a la legislación colombiana.
# http://www.pasosdejesus.org/dominio_publico_colombia.html
# 2007. vtamara@pasosdeJesus.org.
inter=$1;
sp=$2;
if (test ! -f "ver.sh") then {
echo "Falta archivo de configuración ver.sh";
if (test "ver.sh.plantilla") then {
echo "Copiando configuración por defecto de ver.sh.plantilla";
cp ver.sh.plantilla ver.sh
echo "Este archivo de ordenes es controlado por ver.sh, por favor editelo y vuelva a ejecutar"
exit 0;
} fi;
} fi;
if (test "$inter" = "-c") then {
. ./$sp
} else {
. ./ver.sh
} fi;
mkdir -p ./tmp
dini=`pwd`;
function die {
echo $1;
exit 1;
}
function vardef {
if (test "$2" = "") then {
die "Falta variable $1";
} fi;
}
vardef DESTDIR $DESTDIR
D_DESTDIR=$DESTDIR
vardef RELEASEDIR $RELEASEDIR
D_RELEASEDIR=$RELEASEDIR
vardef XSRCDIR ${XSRCDIR}
echo "Genera distribución de adJ" | tee -a /var/www/tmp/distrib-adJ.bitacora
date | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "DESTDIR=$DESTDIR" | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "RELEASEDIR=$RELEASEDIR" | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "XSRCDIR=$XSRCDIR" | tee -a /var/www/tmp/distrib-adJ.bitacora
mkdir -p $DESTDIR/usr/share/mk
cdir=`pwd`
if (test ! -d /usr/src) then {
echo "Se requieren fuentes de sistema base en /usr/src";
} fi;
if (test ! -d /sys) then {
echo "Se requieren fuentes del kernel en /sys";
} fi;
if (test ! -d $XSRCDIR) then {
echo "Se requieren fuentes de Xorg 4 en $XSRCDIR";
} fi;
if (test ! -d /usr/obj) then {
die "Se requiere directorio para compilar sistema base y kernel: /usr/obj";
} fi;
narq=`uname -m`
if (test ! -d $V$VESP-$ARQ) then {
mkdir -p $V$VESP-$ARQ/paquetes/
cp -rf arboldvd/* $V$VESP-$ARQ/
} fi;
ANONCVS="anoncvs@anoncvs1.ca.openbsd.org:/cvs"
ANONCVS="anoncvs@mirror.planetunix.net:/cvs"
echo " *> Actualizar fuentes de CVS" | tee -a /var/www/tmp/distrib-adJ.bitacora
if (test "$inter" = "-i") then {
echo -n "(s/n)?"
read sn
}
else {
sn=$autoCvs;
} fi;
if (test "$sn" = "s") then {
if [ -z "$SSH_AUTH_SOCK" ] ; then
eval `ssh-agent -s`
ssh-add
fi
if (test -d /usr/src$VP-orig/) then {
cd /usr/src$VP-orig
echo "/usr/src$VP-orig"
} else {
cd /usr/src
echo "/usr/src"
} fi;
if (test ! -f CVS/Root) then {
for i in `find . -name CVS`; do
echo $i;
echo "$ANONCVS" > $i/Root;
done;
} fi;
cvs -z3 update -Pd -r$R 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
if (test -d /usr/src$VP-orig/) then {
rsync -ravzp --delete /usr/src$VP-orig/* /usr/src/ 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
} fi;
if (test -d /usr/src$VP-orig/) then {
cd /usr/src$VP-orig/sys 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
} else {
cd /sys 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
} fi;
if (test ! -f CVS/Root) then {
for i in `find . -name CVS`; do
echo $i;
echo "$ANONCVS" > $i/Root;
done;
} fi;
cvs -z3 update -Pd -r$R 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
if (test -d /usr/src$VP-orig/) then {
rsync -ravzp --delete /usr/src$VP-orig/sys/* /sys/ 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
} fi;
if (test -d /usr/xenocara$VP-orig/) then {
cd /usr/xenocara$VP-orig/sys 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
} else {
cd $XSRCDIR 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
} fi;
if (test ! -f CVS/Root) then {
for i in `find . -name CVS`; do
echo $i;
echo "$ANONCVS" > $i/Root;
done;
} fi;
cvs -z3 update -Pd -r$R 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
if (test -d /usr/xenocara$VP-orig/) then {
rsync -ravzp --delete /usr/xenocara$VP-orig/* $XSRCDIR 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
} fi;
if (test -d /usr/ports$VP-orig/) then {
cd /usr/ports$VP-orig/ 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
} else {
cd /usr/ports/ 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
} fi;
if (test ! -f CVS/Root) then {
for i in `find . -name CVS`; do
echo $i;
grep "mystuff" $i > /dev/null 2>&1
if (test "$?" != "0") then {
echo "$ANONCVS" > $i/Root;
} fi;
done;
} fi;
cvs -z3 update -Pd -r$R 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
if (test -d /usr/ports$VP-orig/) then {
rsync -ravzp /usr/ports$VP-orig/* /usr/ports 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
} fi;
} fi;
echo " *> Transformar y compilar kernel APRENDIENDODEJESUS" | tee -a /var/www/tmp/distrib-adJ.bitacora
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn;
}
else {
sn=$autoCompKernel;
} fi;
if (test "$sn" = "s") then {
if (test "$ARQ" != "$narq") then {
echo "Esta operación requiere que ARQ en ver.sh sea $narq";
exit 1;
} fi;
cd /sys
$dini/hdes/servicio-kernel.sh 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# Esta en general se cambiaron comentarios a lo largo de todas
# las fuentes. Ver documentación en
# http://aprendiendo.pasosdejesus.org/?id=Renombrando+Daemon+por+Service
# Para compilar vmstat
cp /sys/uvm/uvm_extern.h /usr/include/uvm/ 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cd /sys/arch/$ARQ/conf 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
echo "pwd=" `pwd` 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
sed -e "s/^#\(option.*NTFS.*\)/\1/g" GENERIC > APRENDIENDODEJESUS
rm -rf /sys/arch/$ARQ/compile/APRENDIENDODEJESUS/obj/* 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
chown -R build:wsrc /usr/obj
config APRENDIENDODEJESUS 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cd ../compile/APRENDIENDODEJESUS 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
echo "pwd=" `pwd` 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
rm -f .depend 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
make clean 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
make obj 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
make config 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
make -j4 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cp /sys/arch/$ARQ/compile/APRENDIENDODEJESUS/obj/bsd $dini/$V$VESP-$ARQ/bsd 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cd /sys/arch/$ARQ/conf 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
sed -e "s/GENERIC/APRENDIENDODEJESUS/g" GENERIC.MP > APRENDIENDODEJESUS.MP
rm -rf /sys/arch/$ARQ/compile/APRENDIENDODEJESUS.MP/obj/* 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
config APRENDIENDODEJESUS.MP 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cd ../compile/APRENDIENDODEJESUS.MP 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
rm .depend 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
make clean 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
make obj 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
make config 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
make -j4 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cp /sys/arch/$ARQ/compile/APRENDIENDODEJESUS.MP/obj/bsd $dini/$V$VESP-$ARQ/bsd.mp 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
} fi;
echo " *> Instalar kernel recién compilado" | tee -a /var/www/tmp/distrib-adJ.bitacora
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoInsKernel
} fi;
if (test "$sn" = "s") then {
if (test "$ARQ" != "$narq") then {
echo "Esta operación requiere que ARQ en ver.sh sea $narq";
exit 1;
} fi;
cd /sys/arch/$ARQ/compile/APRENDIENDODEJESUS.MP 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
make install 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "Debe reiniciar sistema para iniciar kernel mp (si prefiere el que es para un procesador simple instalelo manualmente)..." | tee -a /var/www/tmp/distrib-adJ.bitacora
#/ exit 0;
} fi;
function compilabase {
echo 'Inicia compilabase' | tee -a /var/www/tmp/distrib-adJ.bitacora
echo 'cd /usr/src/ && LANG=POSIX make depend' | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/ && make depend 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/sbin/wsconsctl && if (test ! -f obj/keysym.h) then { make keysym.h; } fi && make 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/usr.bin/compile_et && if (test ! -f obj/error_table.h) then { make error_table.h; } fi && make 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/usr.bin/tic && if (test ! -f obj/termsort.c) then { make termsort.c; } fi && make 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/usr.bin/infocmp && if (test ! -f obj/termsort.c) then { make termsort.c; } fi && make 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/usr.bin/sudo/lib && if (test ! -f obj/gram.c) then { make gram.h; } fi && cd .. && make 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/usr.bin/tset && if (test ! -f obj/termsort.c) then { make termsort.c; } fi && make 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/usr.sbin/rpc.statd && if (test ! -f obj/sm_inter.h) then { make sm_inter.h; } fi && make 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/usr.sbin/afs/usr.sbin/ydr && make 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/usr.sbin/afs/lib/libarla && if (test ! -f obj/fs.h) then { make fs.h; } fi && make 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/gnu/usr.bin/cc/libcpp && if (test ! -f obj/localedir.h) then { make localedir.h; } fi && make 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/lib/libiberty/ && make depend -f Makefile.bsd-wrapper depend && make -f Makefile.bsd-wrapper 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/gnu/usr.bin/cc/libobjc && make depend 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/gnu/lib/libiberty/ && make -f Makefile.bsd-wrapper config.status 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/kerberosV/usr.sbin/kadmin/ && make kadmin-commands.h 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/kerberosV/usr.sbin/ktutil/ && make ktutil-commands.h 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/kerberosV/lib/libasn1 && make rfc2459_asn1.h && make rfc2459_asn1-priv.h && make cms_asn1.h && make cms_asn1-priv.h && make krb5_asn1-priv.h && make digest_asn1-priv.h 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# cd /usr/src/gnu/usr.bin/perl && make -f Makefile.bsd-wrapper depend 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
#find /usr/obj -name ".depend" -exec rm {} ';'
DT=$DESTDIR
unset DESTDIR
echo "whoami 2" >> /var/www/tmp/distrib-adJ.bitacora
whoami >> /var/www/tmp/distrib-adJ.bitacora 2>&1
cd /usr/src && LANG=C make -j4 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "whoami 2.5" >> /var/www/tmp/distrib-adJ.bitacora
whoami >> /var/www/tmp/distrib-adJ.bitacora 2>&1
export DESTDIR=$DT;
}
echo " *> Actualizar zonas horarias" | tee -a /var/www/tmp/distrib-adJ.bitacora
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoActZonasHorarias
} fi;
if (test "$sn" = "s") then {
mkdir -p /tmp/tz 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
rm -rf /tmp/tz/* 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cd /tmp/tz 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
ftp ftp://ftp.iana.org/tz/tzdata-latest.tar.gz 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
mkdir datfiles 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cd datfiles 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
tar xvfz ../tzdata-latest.tar.gz 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cp -rf * /usr/src/share/zoneinfo/datfiles/ 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
} fi;
echo " *> Transformar y compilar resto del sistema base" | tee -a /var/www/tmp/distrib-adJ.bitacora
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoCompBase
} fi;
if (test "$sn" = "s") then {
if (test "$ARQ" != "$narq") then {
echo "Esta operación requiere que ARQ en ver.sh sea $narq" | tee -a /var/www/tmp/distrib-adJ.bitacora
exit 1;
} fi;
echo -n "Eliminar /usr/obj ";
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoElimCompBase
} fi;
if (test "$sn" = "s" ) then {
echo "Uyy, Eliminando";
rm -rf /usr/obj/* 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
} fi;
echo "Esta operacion modificará tanto las fuentes en /usr como archivos en /etc e /include del sistema donde se emplea para hacer posible la compilación;"
rm -rf ${DESTDIR}/usr/include/g++ 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
mkdir -p ${DESTDIR}/usr/include/g++ 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
#export CFLAGS=-I/usr/include/g++/${ARQ}-unknown-openbsd${V}/
# Aplicando parches sobre las fuentes de OpenBSD sin cambios para
# facilitar aportar a OpenBSD con prioridad cambios que posiblemente
# serán aceptados más facilmente
(cd $dini/arboldes/usr/src;
for i in *patch; do
echo $i;
if (test ! -f /usr/src/$i) then {
cp $i /usr/src;
( cd /usr/src;
echo "A mano";
patch -p1 < $i;
if (test "$?" != "0") then { exit $?; } fi;
)
} fi;
done) 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
(cd $dini/arboldes/usr/ports;
for i in *patch; do
echo $i;
if (test ! -f /usr/ports/$i) then {
cp $i /usr/ports;
( cd /usr/ports;
echo "A mano";
patch -p1 < $i;
if (test "$?" != "0") then { exit $?; } fi;
)
} fi;
done) 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "* Copiando archivos nuevos en /usr/src" | tee -a /var/www/tmp/distrib-adJ.bitacora
(cd $dini/arboldes/usr/src ; for i in `find . -type f | grep -v CVS | grep -v .patch`; do if (test ! -f /usr/src/$i) then { echo $i; n=`dirname $i`; mkdir -p /usr/src/$n; cp $i /usr/src/$i; } fi; done ) 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "* Cambiando /etc " | tee -a /var/www/tmp/distrib-adJ.bitacora
cd /etc 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
$dini/arboldd/usr/local/adJ/servicio-etc.sh 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "* Cambiando /usr/src/etc" | tee -a /var/www/tmp/distrib-adJ.bitacora
cd /usr/src/etc 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
$dini/arboldd/usr/local/adJ/servicio-etc.sh 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "* Cambios iniciales a /usr/src" | tee -a /var/www/tmp/distrib-adJ.bitacora
cd /usr/src/ 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
$dini/hdes/servicio-base.sh 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
grep LOG_SERVICE /usr/include/syslog.h > /dev/null 2>&1
if (test "$?" != "0") then {
echo "* Cambiando /sys" | tee -a /var/www/tmp/distrib-adJ.bitacora
cd /sys 2>&1 >> /var/www/tmp/distrib-adJ.bitacora
$dini/hdes/servicio-kernel.sh 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
} fi;
#echo "* Usar llaves de adJ en lugar de las de OpenBSD" | tee -a /var/www/tmp/distrib-adJ.bitacora
#grep "signfiy\/adJ" /usr/src/usr.sbin/sysmerge/sysmerge.sh > /dev/null 2>&1
#if (test "$?" != "0") then {
# cp /usr/src/usr.sbin/sysmerge/sysmerge.sh /usr/src/usr.sbin/sysmerge/sysmerge.sh.orig 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
# sed -e 's/signify\/openbsd/signify\/adJ/g' /usr/src/usr.sbin/sysmerge/sysmerge.sh.orig > /usr/src/usr.sbin/sysmerge/sysmerge.sh 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
#} fi;
cd /usr/src && make obj 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "* Completo make obj" | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "whoami 0" >> /var/www/tmp/distrib-adJ.bitacora
whoami >> /var/www/tmp/distrib-adJ.bitacora 2>&1
# Antes de compilar todo /usr/src, compilar perl porque pkg_add
# depende de ese
cd /usr/src/gnu/usr.bin/perl && make -f Makefile.bsd-wrapper depend 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cd /usr/src/gnu/usr.bin/perl && make -f Makefile.bsd-wrapper 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cd /usr/src/gnu/usr.bin/perl && unset DESTDIR && make install 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "* Completo compilación e instalación de perl" | tee -a /var/www/tmp/distrib-adJ.bitacora
# Además de esto en adJ 6.8 nos toco inicialmente:
# doas cp /usr/src/gnu/usr.bin/perl/libperl.so.20.0 /usr/libdata/perl5/amd64-openbsd/CORE/
# Pero fue mejor:
# doas rm /usr/libdata/perl5/amd64-openbsd/CORE/libperl.so.20.0
# Nos ha servidor para en este punto y recompilar todos los paquetes p5-*
# incluidos en adJ con el nuevo perl.
# Forzar su instalación y entonces si continuar con build
# build borrará código objeto
# reconstruira dependencias, compilará e instalará
cd /usr/src && unset DESTDIR && LANG=POSIX nice make -j4 build 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "whoami 4" >> /var/www/tmp/distrib-adJ.bitacora
whoami >> /var/www/tmp/distrib-adJ.bitacora 2>&1
cd $D_DESTDIR/etc && $dini/arboldd/usr/local/adJ/servicio-etc.sh 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "* Completo make build" | tee -a /var/www/tmp/distrib-adJ.bitacora
} fi;
export DLENG=es
function verleng {
a=$1;
if (test "$a" = "") then {
echo "Falta archivo como primer parámetro en verleng" | tee -a /var/www/tmp/distrib-adJ.bitacora
exit 1;
} fi;
echo $a;
grep "DLENG" $a > /dev/null 2> /dev/null
if (test "$?" != "0") then {
echo "Instalador en español no está bien configurado en fuentes" | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "Agregar:
SCRIPT \${CURDIR}/upgrade-\${DLENG}.sh upgrade
SCRIPT \${CURDIR}/install-\${DLENG}.sh install
SCRIPT \${CURDIR}/install-\${DLENG}.sub install.sub"
echo "en $a";
cp $a $a.antestrad 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
sed -e "s/upgrade.sh/upgrade-\${DLENG}.sh/g;s/install.sh/install-\${DLENG}.sh/g;s/\/install.sub/\/install-\${DLENG}.sub/g;s/\/install.md/\/install-\${DLENG}.md/g" $a.antestrad > $a
} fi;
}
#
echo " *> Hacer una distribución en $DESTDIR y unos juegos de instalación en $RELEASEDIR" | tee -a /var/www/tmp/distrib-adJ.bitacora;
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoDist
} fi;
if (test "$sn" = "s") then {
if (test "$ARQ" != "$narq") then {
echo "Esta operación requiere que ARQ en ver.sh sea $narq";
exit 1;
} fi;
# cd /usr/src/distrib/crunch && make obj depend \ && make all install
echo -n " *> Eliminar $DESTDIR y $RELEASEDIR antes " | tee -a /var/www/tmp/distrib-adJ.bitacora;
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoElimDist
} fi;
if (test "$sn" = "s") then {
test -d ${DESTDIR}- && mv ${DESTDIR}- ${DESTDIR}d- && \
rm -rf ${DESTDIR}d- &
test -d ${DESTDIR} && mv ${DESTDIR} ${DESTDIR}-
} fi;
mkdir -p ${DESTDIR} ${RELEASEDIR} 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
ed /usr/src/etc/Makefile << EOF
/^LOCALTIME=
s/Canada\/Mountain/America\/Bogota/g
w
q
EOF
#compilabase
echo "DESTDIR=$DESTDIR" | tee -a /var/www/tmp/distrib-adJ.bitacora;
chown build /usr/src/etc/master.passwd 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
chown build /usr/src/sys/arch/amd64/compile/APRENDIENDODEJESUS/obj/version 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
chown build /usr/src/sys/arch/amd64/compile/APRENDIENDODEJESUS.MP/obj/version 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
chown build /usr/src/usr.sbin/fw_update/obj/firmware_patterns 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cd /usr/src/etc && RELEASEDIR=/$D_RELEASEDIR DESTDIR=/$D_DESTDIR nice make release 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora;
echo "* Completo make release"
cd $D_DESTDIR/etc && $dini/arboldd/usr/local/adJ/servicio-etc.sh 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "* Parece que sobreescribe /releasedir/bsd y /releasedir/bsd.mp con GENERIC tocaria recuperar los compilador antes"
find "$DESTDIR" -exec touch {} ';' 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
find "$RELEASEDIR" -exec touch {} ';' 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
#} fi;
echo " *> Suponiendo que ya se completo un build en /, instalar en $DESTDIR y de este dejar comprimidos en $RELEASEDIR" | tee -a /var/www/tmp/distrib-adJ.bitacora;
# if (test "$inter" = "-i") then {
# echo -n "(s/n)? "
# read sn
# }
# else {
# sn=$autoGenTGZ
#} fi;
#if (test "$sn" = "s") then {
cd $D_DESTDIR/etc && $dini/arboldd/usr/local/adJ/servicio-etc.sh 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cd /usr/src/etc && DESTDIR=/$D_DESTDIR nice make release-sets 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora;
echo "* Completo make release-sets"
} fi;
echo " *> Recompilar e instalar X-Window con fuentes de $XSRCDIR" | tee -a /var/www/tmp/distrib-adJ.bitacora;
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoX
} fi;
if (test "$sn" = "s") then {
if (test "$ARQ" != "$narq") then {
echo "Esta operación requiere que ARQ en ver.sh sea $narq" | tee -a /var/www/tmp/distrib-adJ.bitacora;
exit 1;
} fi;
echo -n "Eliminar /usr/xobj ";
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoElimX
} fi;
if (test "$sn" = "s" ) then {
echo "Uyy, Eliminando";
rm -rf /usr/xobj/*
} fi;
mkdir -p ${DESTDIR}/usr/include 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cp -rf /usr/include/* ${DESTDIR}/usr/include/ 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
mkdir -p ${DESTDIR}/usr/lib 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
cp -rf /usr/lib/crt* ${DESTDIR}/usr/lib/ 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
if (test "$XSRCDIR" != "/usr/xenocara") then {
ln -s $XSRCDIR /usr/xenocara 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora;
} fi;
cd $XSRCDIR
echo "* Aplicando parches en /usr/xenocara/" | tee -a /var/www/tmp/distrib-adJ.bitacora
(cd $dini/arboldes/usr/xenocara/; for i in *patch; do echo $i; if (test ! -f /usr/xenocara/$i) then { cp $i /usr/xenocara/; (cd /usr/xenocara/; echo "A mano"; patch -p1 < $i;) } fi; done) 2>&1 | tee -a /var/www/tmp/distrib-adJ.bitacora
echo "* Copiando archivos nuevos en /usr/xenocara" | tee -a /var/www/tmp/distrib-adJ.bitacora
(cd $dini/arboldes/usr/xenocara; for i in `find . -type f | grep -v CVS | grep -v .patch`; do if (test ! -f /usr/xenocara/$i) then { echo $i; n=`dirname $i`; mkdir -p /usr/xenocara/$n; cp $i /usr/xenocara/$i; } fi; done )
# Pequeños cambios (logo, bienvenida)
$dini/hdes/xenocaraadJ.sh
mkdir -p ${DESTDIR}/usr/X11R6/bin
mkdir -p ${DESTDIR}/usr/X11R6/man/cat1
export X11BASE=/usr/X11R6
echo "** bootstrap" | tee -a /var/www/tmp/distrib-adJ.bitacora;
make bootstrap
if (test "$?" != "0") then {
echo " *> bootstrap incompleto";
exit $?;
} fi;
echo "** obj" | tee -a /var/www/tmp/distrib-adJ.bitacora;
make obj
if (test "$?" != "0") then {
echo " *> obj incompleto";
exit $?;
} fi;
#rm -rf /usr/xobj/*
#mkdir -p /usr/xobj/app/fvwm/libs
echo "** build" | tee -a /var/www/tmp/distrib-adJ.bitacora;
find /usr/xenocara -name config.status | xargs rm -f
# en 4.6 toco agregar a /usr/xenocara/kdrive/Makefile.bsd-wrapper:
#clean:
# mv $(_SRCDIR)/config.status $(_SRCDIR)/config.status-copia
mkdir -p ${DESTDIR}
(unset DESTDIR; AUTOCONF_VERSION=2.69 make -j4 build)
# Despues de este toco
#cp /usr/xenocara/xserver/config.status-copia /usr/xenocara/xserver/config.status
#rm -rf /usr/xobj/*
#mkdir -p /usr/xobj/app/fvwm/libs
#echo "** build 2";
#make build
if (test "$?" != "0") then {
echo " *> build incompleto";
exit $?;
} fi;
} fi;
echo " *> Distribución de X-Window en $DESTDIR y un juego de instalación en $RELEASEDIR con fuentes de $XSRCDIR" | tee -a /var/www/tmp/distrib-adJ.bitacora;
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoXDist
} fi;
if (test "$sn" = "s") then {
if (test "$ARQ" != "$narq") then {
echo "Esta operación requiere que ARQ en ver.sh sea $narq";
exit 1;
} fi;
echo -n " *> Eliminar $DESTDIR " | tee -a /var/www/tmp/distrib-adJ.bitacora;
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoElimXDist
} fi;
if (test "$sn" = "s") then {
test -d ${DESTDIR}- && mv ${DESTDIR} ${DESTDIR}d- && \
rm -rf ${DESTDIR}d- &
test -d ${DESTDIR} && mv ${DESTDIR} ${DESTDIR}- &
} fi;
mkdir -p ${DESTDIR} ${RELEASEDIR}
(cd $XSRCDIR; nice make release)
find $DESTDIR -exec touch {} ';'
} fi;
echo " *> Preparar bsd.rd" | tee -a /var/www/tmp/distrib-adJ.bitacora;
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoBsdrd
} fi;
if (test "$sn" = "s") then {
if (test "$ARQ" != "$narq") then {
echo "Esta operación requiere que ARQ en ver.sh sea $narq";
exit 1;
} fi;
rm -f /usr/src/distrib/miniroot/install-es.sub
ln -s $dini/tminiroot/install-es.sub /usr/src/distrib/miniroot/install-es.sub
rm -f /usr/src/distrib/amd64/common/install-es.md
ln -s $dini/tminiroot/install-amd64-es.md /usr/src/distrib/amd64/common/install-es.md
#verleng /usr/src/distrib/miniroot/list
#verleng /usr/src/distrib/amd64/common/list
cp /etc/signify/adJ-*pub /$D_DESTDIR/etc/signify/
cp /usr/src/distrib/amd64/ramdisk_cd/list /tmp/ramdisk_list
#cp /usr/src/distrib/amd64/common/list /tmp/common_list
sed -e 's/signify\/openbsd/signify\/adJ/g;s/install.sub/install-es.sub/g;s/install-adm64.md/install-amd64-es.md/g' /tmp/ramdisk_list > /usr/src/distrib/amd64/ramdisk_cd/list
verleng /usr/src/distrib/amd64/ramdisk_cd/list
#sed -e 's/signify\/openbsd/signify\/adJ/g' /tmp/common_list > /usr/src/distrib/amd64/common/list
cd /usr/src/distrib/special/libstubs
make
cd /sys/arch/$ARQ/stand/cdbr
make clean
cd ..
make
DESTDIR=/$D_DESTDIR make install
cd /usr/src/distrib/$ARQ/ramdisk_cd
DLENG=es RELEASEDIR=${RELEASEDIR} make
cp obj/bsd.rd ${RELEASEDIR}
cp obj/bsd.rd $dini/$V$VESP-$ARQ
} fi;
cd $cdir
echo " *> Copiar juegos de instalación de sistema base y X-Window de $RELEASEDIR a $dini/$V$VESP-$ARQ?" | tee -a /var/www/tmp/distrib-adJ.bitacora;
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoJuegosInstalacion
} fi;
if (test "$sn" = "s") then {
if (test "$ARQ" != "$narq") then {
echo "Esta operación requiere que ARQ en ver.sh sea $narq";
exit 1;
} fi;
if (test -f /sys/arch/$ARQ/compile/APRENDIENDODEJESUS/obj/bsd) then {
cp /sys/arch/$ARQ/compile/APRENDIENDODEJESUS/obj/bsd ${RELEASEDIR}/bsd
} fi;
if (test -f /sys/arch/$ARQ/compile/APRENDIENDODEJESUS.MP/obj/bsd) then {
cp /sys/arch/$ARQ/compile/APRENDIENDODEJESUS.MP/obj/bsd ${RELEASEDIR}/bsd.mp
} fi;
find $DESTDIR -exec touch {} ';'
cd /usr/src/distrib/sets && sh checkflist
find $RELEASEDIR -exec touch {} ';'
cp $RELEASEDIR/* $dini/$V$VESP-$ARQ
rm -f $dini/$V$VESP-$ARQ/{MD5,CKSUM,index.txt,cd??.iso,}
} fi;
paraexc="";
function paquete {
nom=$1;
dest=$2;
copiar=$3;
subd=$4;
if (test "$dest" = "") then {
dest=paquetes;
} fi;
if (test "$nom" = "") then {
echo "En llamado a funcion paquete falta nombre del paquete";
exit 1;
} fi;
echo $nom
echo $nom | grep "\/" > /dev/null 2>&1
if (test "$?" = "0") then {
# categoria va con nombre para paquetes en mystuff
cat=`echo $nom | sed -e "s/\/.*//g"`
echo "OJO cat=$cat"
d1="$nom"
echo "OJO d1=$d1"
if (test "$subd" != "") then {
d1="$d1/$subd"
} fi;
nom=`echo $nom | sed -e "s/^.*\///g"`
echo "OJO nom=$nom"
} else {
l=`grep "^$nom-[0-9]" /usr/local/share/ports-INDEX | head -n 1`
if (test "$l" = "") then {
echo "Desconocido $nom en /usr/local/share/ports-INDEX"
exit 1;
} fi;
d1=`echo "$l" | sed -e 's/^[^|]*|\([^,|]*\)[,|].*/\1/g'`
if (test "$subd" != "") then {
d1=`echo $d1 | sed -e 's/\/[^\/]*$//g'`
d1="$d1/$subd"
} fi;
cat=`echo $d1 | sed -e 's/\/[^\/]*$//g'`
} fi;
mys="mystuff";
dir="/usr/ports/mystuff/$d1/"
echo "OJO dir=$dir"
test -d "$dir"
r=$?
echo "r=$r"
if (test "$r" != "0") then {
echo "OJO no es dir $dir"
dir="/usr/ports/$d1/"
if (test ! -d "$dir") then {
echo "No es directorio $dir";
exit 1;
} fi;
} fi;
if (test "$nom" = "") then {
echo "Falla en funcion paquete nom es vacio"
exit 1;
} fi;
echo "*> Creando paquete $nom:$cat pasando a $dir" | tee -a /var/www/tmp/distrib-adJ.bitacora;
if (test "$PAQ_LIMPIA_PRIMERO" != "") then {
(cd "$dir" ; make clean; rm /usr/ports/packages/$ARQ/all/$nom-[0-9][0-9a-z.]*.tgz)
} fi;
echo "*> Compila" | tee -a /var/www/tmp/distrib-adJ.bitacora;
(cd "$dir" ; make -j4)
(cd "$dir" ; make package)
if (test ! -f /etc/signify/adJ-$VP-pkg.sec) then {
echo "No hay llave privada /etc/signify/adJ-$VP-pkg.sec";
echo "Si no lo ha hecho con signify -G -c \"Firma adJ $V para paquetes\" -n -s /etc/signify/adJ-$VP-pkg.sec -p /etc/signify/adJ-$VP-pkg.pub"
exit 1;
} fi;
echo "*> Copia $copiar" | tee -a /var/www/tmp/distrib-adJ.bitacora;
if (test "$copiar" = "") then {
f1=`ls /usr/ports/packages/$ARQ/all/$nom-$subd[-0-9][0-9a-z.]*.tgz | head -n 1`
f2=`ls $dini/$V$VESP-$ARQ/$dest/$nom-$subd[-0-9][0-9a-z.]*.tgz | head -n 1`
echo "*> simple f1=$f1, f2=$f2, subd=$subd " | tee -a /var/www/tmp/distrib-adJ.bitacora;
if (test ! -f "$f2" -o "$f2" -ot "$f1") then {
echo "*> Firmando y copiando /usr/ports/packages/$ARQ/all/$nom-*.tgz" | tee -a /var/www/tmp/distrib-adJ.bitacora
cmd="rm -f $dini/$V$VESP-$ARQ/$dest/$nom-[0-9][0-9a-z.]*.tgz"
echo "cmd=$cmd";
eval "$cmd";
cmd="pkg_sign -v -o $dini/$V$VESP-$ARQ/$dest/ -s signify2 -s /etc/signify/adJ-$VP-pkg.sec /usr/ports/packages/$ARQ/all/$nom*.tgz"
echo "cmd=$cmd";
eval "$cmd";
} fi;
if (test "$paraexc" != "") then {
paraexc="$paraexc $nom-*"
} else {
paraexc="$nom-*"
} fi;
} else {
for i in $copiar; do
if (test "$subd" != "") then {
echo "OJO subd no vacio: /usr/ports/packages/$ARQ/all/$i-$subd*.tgz " >> /var/www/tmp/distrib-adJ.bitacora
f1=`ls /usr/ports/packages/$ARQ/all/$i-$subd*.tgz | head -n 1`
f2=`ls $dini/$V$VESP-$ARQ/$dest/$i-$subd*.tgz | head -n 1`
} else {
echo "OJO subd vacio" >> /var/www/tmp/distrib-adJ.bitacora
f1=`ls /usr/ports/packages/$ARQ/all/$i*.tgz | head -n 1`
f2=`ls $dini/$V$VESP-$ARQ/$dest/$i*.tgz | head -n 1`
} fi;
echo "*> varios copiar=$copiar, d1=$d1, nom=$nom, i=$i f1=$f1, f2=$f2 " | tee -a /var/www/tmp/distrib-adJ.bitacora;
if (test ! -f "$f2" -o "$f2" -ot "$f1") then {
cmd="rm -f $f2"
echo "cmd=$cmd";
eval "$cmd";
cmd="pkg_sign -v -o $dini/$V$VESP-$ARQ/$dest/ -s signify2 -s /etc/signify/adJ-$VP-pkg.sec /usr/ports/packages/$ARQ/all/$i*.tgz"
echo $cmd;
eval $cmd
} fi;
if (test "$paraexc" != "") then {
paraexc="$paraexc $i-*"
} else {
paraexc="$i-*"
} fi;
done;
} fi;
}
echo " *> Compilar todos los paquetes de Contenido.txt en $dini/$V$VESP-$ARQ/paquetes " | tee -a /var/www/tmp/distrib-adJ.bitacora;
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoTodosPaquetes
} fi;
echo $sn
if (test "$sn" = "s") then {
for i in `grep "^.*-\\[v\\]" Contenido.txt | sed -e "s/^\(.*\)-\[v\].*/\1/g"`; do
paquete $i $s
done
} fi;
echo " *> Generar paquetes de la distribución AprendiendoDeJesús en $dini/$V$VESP-$ARQ/paquetes " | tee -a /var/www/tmp/distrib-adJ.bitacora;
if (test "$inter" = "-i") then {
echo -n "(s/n)? "
read sn
}
else {
sn=$autoPaquetes
} fi;
echo $sn
if (test "$sn" = "s") then {
if (test "$ARQ" != "$narq") then {
echo "Esta operación requiere que ARQ en ver.sh sea $narq";
exit 1;
} fi;
if (test ! -d "/usr/ports/mystuff") then {
mkdir -p /usr/ports
ln -s $dini/arboldes/usr/ports/mystuff /usr/ports/mystuff
} fi;
rm tmp/disponibles*
# Modificados para posibilitar compilación
# Deben estar en mystuff
# Todo lo de perl tuvo que recompilarse
# evita error loadable library and perl binaries are mismatched (got handshake key 0xca80000, needed 0xcd80000)
# Si por ejemplo es:
#Name.c: loadable library and perl binaries are mismatched (got handshake key 0xb700000, needed 0xbb00000)
# Buscar módulo de Perl con pkg_locate Name.so, recompilarlo e instalarlo
paquete p5-NetAddr-IP
paquete p5-Params-Validate
paquete p5-Params-Util
paquete p5-Package-Stash-XS
paquete p5-Class-Inspector
paquete p5-Class-Load-XS
paquete p5-Cpanel-JSON-XS
paquete p5-List-MoreUtils-XS
paquete p5-List-SomeUtils-XS
paquete p5-Ref-Util-XS
paquete p5-List-MoreUtils
paquete p5-Class-XSAccessor
paquete p5-MooX-Types-MooseLike
paquete p5-Digest-SHA1
paquete p5-Data-OptList
paquete p5-Devel-GlobalDestruction
paquete p5-Devel-OverloadInfo
paquete p5-Devel-StackTrace
paquete p5-Dist-CheckConflicts
paquete p5-Module-Implementation
paquete p5-Eval-Closure
paquete p5-MRO-Compat
paquete p5-Module-Runtime
paquete p5-Package-DeprecationManager
paquete p5-Package-Stash-XS
paquete p5-Sub-Exporter
paquete p5-Sub-Name
paquete p5-Try-Tiny
paquete p5-Task-Weaken
paquete p5-Moose
paquete p5-File-ShareDir
paquete p5-File-ShareDir-Install
paquete p5-Params-ValidationCompiler
paquete p5-Specio
paquete p5-namespace-autoclean
paquete p5-DateTime-Locale
paquete p5-DateTime-TimeZone
paquete p5-DBI
paquete p5-BSD-Resource
paquete p5-B-Hooks-EndOfScope
paquete p5-BSD-Resource
paquete p5-Class-Load
paquete p5-Class-Method-Modifiers
paquete p5-Class-Singleton
paquete p5-Class-XSAccessor
paquete p5-Clone
paquete p5-Clone-PP
paquete p5-Crypt-OpenSSL-Bignum
paquete p5-Crypt-OpenSSL-RSA
paquete p5-Crypt-OpenSSL-Random
paquete p5-DBD-mysql
paquete p5-DBI
paquete p5-Data-Dumper-Concise
paquete p5-Data-IEEE754
paquete p5-Data-Printer
paquete p5-Data-Validate-IP
paquete p5-DateTime
paquete p5-Digest-HMAC
paquete p5-Encode-Detect
paquete p5-Encode-Locale
paquete p5-Error
paquete p5-Exporter-Tiny
paquete p5-File-HomeDir
paquete p5-File-Listing
paquete p5-File-Which
paquete p5-FreezeThaw
paquete p5-GeoIP2
paquete p5-HTML-Parser
paquete p5-HTML-Tagset
paquete p5-HTTP-Cookies
paquete p5-HTTP-Daemon
paquete p5-HTTP-Date
paquete p5-HTTP-Message
paquete p5-HTTP-Negotiate
paquete p5-IO-HTML
paquete p5-IO-Socket-SSL
paquete p5-JSON
paquete p5-JSON-MaybeXS
paquete p5-LWP-MediaTypes
paquete p5-LWP-Protocol-https
paquete p5-List-AllUtils
paquete p5-List-SomeUtils
paquete p5-List-UtilsBy
paquete p5-MLDBM
paquete p5-Mail-AuthenticationResults
paquete p5-Mail-DKIM
paquete p5-Mail-SPF
paquete p5-Mail-Tools
paquete p5-Math-Base-Convert
paquete p5-Math-Int64
paquete p5-MaxMind-DB-Common
paquete p5-MaxMind-DB-Reader
paquete p5-Moo
paquete p5-MooX-StrictConstructor
paquete p5-Moose
paquete p5-Mozilla-CA-Fake
paquete p5-Net-CIDR-Lite
paquete p5-Net-DNS
paquete p5-Net-DNS-Resolver-Programmable
paquete p5-Net-Daemon
paquete p5-Net-HTTP
paquete p5-Net-LibIDN
paquete p5-Net-Patricia
paquete p5-Net-SSLeay
paquete p5-PlRPC
paquete p5-Pod-Parser
paquete p5-Role-Tiny
paquete p5-SQL-Statement
paquete p5-Socket6
paquete p5-Sort-Naturally
paquete p5-Sub-Exporter-Progressive
paquete p5-Sub-Identify
paquete p5-Sub-Install
paquete p5-Sub-Quote
paquete p5-Throwable
paquete p5-Time-TimeDate
paquete p5-URI
paquete p5-Variable-Magic
paquete p5-WWW-RobotRules
paquete p5-XML-Parser
paquete p5-libwww
paquete p5-namespace-autoclean
paquete p5-namespace-clean
paquete p5-strictures
paquete p5-Locale-gettext
paquete p5-MIME-Charset
paquete p5-Module-Build
paquete textproc/p5-SGMLSpm
paquete p5-Unicode-LineBreak
paquete p5-Mail-SpamAssassin
### Requieren recompilación por cambio en FILE
paquete unzip # De no hacerse envía descompresiones a salida estándar
paquete python paquetes "python" "3.9"
paquete ruby paquetes "ruby ruby32-ri_docs" 3.2
paquete gettext-tools paquetes 'gettext-tools gettext-runtime' # Requerido para compilar muchos
paquete m4 # Requerido para compilar bison (instalar antes de compilar bison)
paquete bison # Requerido para compilar MariaDB
paquete gmake # requerido para compilar PostgreSQL
paquete ImageMagick # requerido para compilar postgis
paquete print/texlive/base paquetes texlive_base # Requerido para compilar ton
paquete print/texlive/texmf paquetes texlive_texmf-minimal-2021 # Requerido para compilar ton
####
# Retroportados para cerrar fallas o actualizar
# Deben estar en arboldes/usr/ports/mystuff y en /usr/ports de current
paquete postgresql-client paquetes "postgresql-server postgresql-client postgresql-contrib postgresql-docs postgresql-pg_upgrade"
paquete postgresql-previous
paquete postgis
#paquete geo/spatialite/libspatialite
paquete jansson
# Recompilado con llave de adJ
paquete chromium
###
# Actualizados. Están desactualizado en OpenBSD estable y current
#paquete git paquetes "git"
#paquete hevea # requiere ocamlbuild