first commit

This commit is contained in:
YellowJacketLinux 2024-10-19 20:12:29 -07:00
parent 30bb18a248
commit badfca2ab7
50 changed files with 15755 additions and 2 deletions

View File

@ -1,2 +1,35 @@
# lfs-rpmbootstrap
RPM spec files etc. for RPM bootstrapping LFS 12.2 SystemD
Bootstrapping LFS 12.2 (SystemD) with RPM
=========================================
This git contains the RPM spec files and text sources/patches not retrievable
easily from a hyperlink for RPM bootstrapping my LFS 12.2 SystemD system.
The is Phase Four of [`THE-PLAN.md`](THE-PLAN.md).
Many of the spec files are ported from my previous (incomplete) RPM bootstrap of
my LFS 11.3 SysV Init system but due to a hard drive failure, some of those RPM
spec files were lost and I need to start over.
The RPM spec files committed today (20 October 2024 UTC) all build *except* for
the GCC RPM which is being worked on. With GCC, currently there are installed
files that need to be put into the correct place. Also, I need to add `m2` to
the list of compilers and create a sub-package for it.
The Perl spec file builds packages but needs to be split up into lots of smaller
packages. For RPM bootstrapping, that does not matter. That is a lot of tedious
work but the value is a small bug fix in a bundled module can then be updated
via RPM without needing to rebuild all of Perl.
The GLibC spec file has a bug. Other packages detect they need `rtld(GNU_HASH)`
which I believe is provided by GLibC but the packaging of GLibC does not detect
that it provides it. I could auto-specify that it provides it, but part of me
wonders if there actually is a runtime dependency for RPM missing that prevents
RPM from automatically picking up that GLibC as compiled?
Yes, `binutils` is compiled with `--enable-default-hash-style=gnu` and clearly
it is working as RPM detects `rtld(GNU_HASH)` as a needed dependency, but for
whatever reason, the RPM build of GLibC does not auto-detect that GLibC is
providing it.
Many of the spec files undoubtedly need work. Many undoubtedly have missing
`BuildRequires` and other packaging mistakes.

97
SOURCES/README.DHE.md Normal file
View File

@ -0,0 +1,97 @@
DH Paramaters
=============
It is the opinion of the LibreSSL packager that whenever possible, DHE key
exchange should be avoided and ECDHE key exchange should be used instead.
Some TLS clients do not support ECDHE key exchange, so DHE may still need to be
supported on some servers.
MODP IKE DH Paramaters
----------------------
RFC 3526 defines several Diffie-Hellman groups for the Internet Key Exchange
(IKE) protocol.
The RFC may be retrieved at https://www.ietf.org/rfc/rfc3526.txt
From that RFC, the following DH groups are provided in PEM format:
* `/etc/pki/tls/MODP-IKE-2048-group14.pem`
* `/etc/pki/tls/MODP-IKE-3072-group15.pem`
* `/etc/pki/tls/MODP-IKE-4096-group16.pem`
* `/etc/pki/tls/MODP-IKE-6144-group17.pem`
* `/etc/pki/tls/MODP-IKE-8192-group18.pem`
The `.pem` files were retrieved from https://bettercrypto.org/static/dhparams/
At this point in time it is no longer recommended to use DH groups less than
2048-bit and if you must, they should be uniquely generated and fairly
frequently so. For this reason, the 1536-bit MODP parameters are not included
here.
LibreSSL DH Parameters
----------------------
DH parameters < 1024-bit should never be used and are not supported by the
LibreSSL library. They are vulnerable to the logjam attack, see
https://weakdh.org/ for more information.
DH parameters < 2048-bit should not be used but a few TLS clients still in use
do not support DH parameters > 1024-bit. When using a 1024-bit group to satisfy
those clients it is important that they are unique to your server and are
re-generated frequently.
YJL provides SystemD timers that will generate a fresh 2048-bit group on a daily
basis and fresh 3072-bit/4096-bit groups on a monthly basis.
To activate the timer for the daily regeneration of the 2048-bit group, as root
enter the following command:
systemctl enable update-dhe-daily.timer
To activate the timer for the daily regeneration of the 3072-bit and 4096-bit
groups, as root enter the following command:
systemctl enable update-dhe-monthly.timer
The results of those scripts are placed in the following PEM format files:
* `/etc/pki/tls/dh2048.pem`
* `/etc/pki/tls/dh3072.pem`
* `/etc/pki/tls/dh4096.pem`
The initial group in the `dh2048.pem`, `dh3072.pem`, and `dh4096.pem` files are
the same as the MODP-IKE parameters. The group in the `dh2048.pem` file will be
replaced by a fresh unique group generated on your server within a day of
activating the timer, and the groups in the `dh3072.pem` and `dh4096.pem` files
will be replaced by fresh unique groups within a month of activating the timer.
Which to Use?
-------------
If you *absolutely* must use a 1024-bit group, you will need to generate it
yourself. I would recommend regenerating it at least four times a day.
For 2048-bit, 3072-bit, 4096-bit you have a choice. Some prefer the pre-defined
MODP-IKE parameters as they have likely been reviewed by many eyes, while others
prefer parameters uniquely generated on the server.
It is hypothetically possible uniquely generated parameters have a flaw that can
be exploited (e.g. not truly prime and can be factored) but it is very unlikely.
Similarly it is possible an attack has been crafted for the RFC published DH
parameters, though that also is unlikely as it would almost certainly take more
computing power than even the NSA has to even develop an attack against the
published 2048-bit group.
My *personal* preference is to use the `dh2048.pem` parameters that are daily
re-generated on the server when I need to support DHE key exchange. The
rationale I use is that if an attack ever is developed, it provides a moving
target rather than a static target.
If security beyond what the `dh4096.pem` parameters can provide is required,
then I require ECDHE key exchange and do not allow DHE key exchange. Servers
that handle banking or medical information would be an example.
EOF

39
SOURCES/bash-bashrc Normal file
View File

@ -0,0 +1,39 @@
# Begin /etc/bashrc
# Written for Beyond Linux From Scratch
# by James Robertson <jameswrobertson@earthlink.net>
# updated by Bruce Dubbs <bdubbs@linuxfromscratch.org>
# System wide aliases and functions.
# System wide environment variables and startup programs should go into
# /etc/profile. Personal environment variables and startup programs
# should go into ~/.bash_profile. Personal aliases and functions should
# go into ~/.bashrc
# Provides colored /bin/ls and /bin/grep commands. Used in conjunction
# with code in /etc/profile.
alias ls='ls --color=auto'
alias grep='grep --color=auto'
# Provides prompt for non-login shells, specifically shells started
# in the X environment. [Review the LFS archive thread titled
# PS1 Environment Variable for a great case study behind this script
# addendum.]
NORMAL="\[\e[0m\]"
RED="\[\e[1;31m\]"
GREEN="\[\e[1;32m\]"
if [[ $EUID == 0 ]] ; then
PS1="$RED\u [ $NORMAL\W$RED ]# $NORMAL"
else
PS1="$GREEN\u [ $NORMAL\W$GREEN ]\$ $NORMAL"
fi
unset RED GREEN NORMAL
# Use bash-completion, if available
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
. /usr/share/bash-completion/bash_completion
# End /etc/bashrc

85
SOURCES/bash-profile Normal file
View File

@ -0,0 +1,85 @@
# Begin /etc/profile
# Written for Beyond Linux From Scratch
# by James Robertson <jameswrobertson@earthlink.net>
# modifications by Dagmar d'Surreal <rivyqntzne@pbzpnfg.arg>
# System wide environment variables and startup programs.
# System wide aliases and functions should go in /etc/bashrc. Personal
# environment variables and startup programs should go into
# ~/.bash_profile. Personal aliases and functions should go into
# ~/.bashrc.
# Functions to help us manage paths. Second argument is the name of the
# path variable to be modified (default: PATH)
pathremove () {
local IFS=':'
local NEWPATH
local DIR
local PATHVARIABLE=${2:-PATH}
for DIR in ${!PATHVARIABLE} ; do
if [ "$DIR" != "$1" ] ; then
NEWPATH=${NEWPATH:+$NEWPATH:}$DIR
fi
done
export $PATHVARIABLE="$NEWPATH"
}
pathprepend () {
pathremove $1 $2
local PATHVARIABLE=${2:-PATH}
export $PATHVARIABLE="$1${!PATHVARIABLE:+:${!PATHVARIABLE}}"
}
pathappend () {
pathremove $1 $2
local PATHVARIABLE=${2:-PATH}
export $PATHVARIABLE="${!PATHVARIABLE:+${!PATHVARIABLE}:}$1"
}
export -f pathremove pathprepend pathappend
# Set the initial path
export PATH=/usr/bin
# Attempt to provide backward compatibility with LFS earlier than 11
if [ ! -L /bin ]; then
pathappend /bin
fi
if [ $EUID -eq 0 ] ; then
pathappend /usr/sbin
if [ ! -L /sbin ]; then
pathappend /sbin
fi
unset HISTFILE
fi
# Set up some environment variables.
export HISTSIZE=1000
export HISTIGNORE="&:[bf]g:exit"
# Set some defaults for graphical systems
export XDG_DATA_DIRS=${XDG_DATA_DIRS:-/usr/share/}
export XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS:-/etc/xdg/}
export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/tmp/xdg-$USER}
# Set up a red prompt for root and a green one for users.
NORMAL="\[\e[0m\]"
RED="\[\e[1;31m\]"
GREEN="\[\e[1;32m\]"
if [[ $EUID == 0 ]] ; then
PS1="$RED\u [ $NORMAL\w$RED ]# $NORMAL"
else
PS1="$GREEN\u [ $NORMAL\w$GREEN ]\$ $NORMAL"
fi
for script in /etc/profile.d/*.sh ; do
if [ -r $script ] ; then
. $script
fi
done
unset script RED GREEN NORMAL
# End /etc/profile

15
SOURCES/etc-vimrc Normal file
View File

@ -0,0 +1,15 @@
" Begin /etc/vimrc
" Ensure defaults are set before customizing settings, not after
source $VIMRUNTIME/defaults.vim
let skip_defaults_vim=1
set nocompatible
set backspace=2
set mouse=
syntax on
if (&term == "xterm") || (&term == "putty")
set background=dark
endif
" End /etc/vimrc

8
SOURCES/group14.pem Normal file
View File

@ -0,0 +1,8 @@
-----BEGIN DH PARAMETERS-----
MIIBCAKCAQEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb
IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft
awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT
mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh
fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq
5RXSJhiY+gUQFXKOWoqsqmj//////////wIBAg==
-----END DH PARAMETERS-----

11
SOURCES/group15.pem Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN DH PARAMETERS-----
MIIBiAKCAYEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb
IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft
awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT
mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh
fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq
5RXSJhiY+gUQFXKOWoqqxC2tMxcNBFB6M6hVIavfHLpk7PuFBFjb7wqK6nFXXQYM
fbOXD4Wm4eTHq/WujNsJM9cejJTgSiVhnc7j0iYa0u5r8S/6BtmKCGTYdgJzPshq
ZFIfKxgXeyAMu+EXV3phXWx3CYjAutlG4gjiT6B05asxQ9tb/OD9EI5LgtEgqTrS
yv//////////AgEC
-----END DH PARAMETERS-----

13
SOURCES/group16.pem Normal file
View File

@ -0,0 +1,13 @@
-----BEGIN DH PARAMETERS-----
MIICCAKCAgEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb
IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft
awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT
mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh
fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq
5RXSJhiY+gUQFXKOWoqqxC2tMxcNBFB6M6hVIavfHLpk7PuFBFjb7wqK6nFXXQYM
fbOXD4Wm4eTHq/WujNsJM9cejJTgSiVhnc7j0iYa0u5r8S/6BtmKCGTYdgJzPshq
ZFIfKxgXeyAMu+EXV3phXWx3CYjAutlG4gjiT6B05asxQ9tb/OD9EI5LgtEgqSEI
ARpyPBKnh+bXiHGaEL26WyaZwycYavTiPBqUaDS2FQvaJYPpyirUTOjbu8LbBN6O
+S6O/BQfvsqmKHxZR05rwF2ZspZPoJDDoiM7oYZRW+ftH2EpcM7i16+4G912IXBI
HNAGkSfVsFqpk7TqmI2P3cGG/7fckKbAj030Nck0BjGZ//////////8CAQI=
-----END DH PARAMETERS-----

19
SOURCES/group17.pem Normal file
View File

@ -0,0 +1,19 @@
-----BEGIN DH PARAMETERS-----
MIIDCAKCAwEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb
IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft
awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT
mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh
fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq
5RXSJhiY+gUQFXKOWoqqxC2tMxcNBFB6M6hVIavfHLpk7PuFBFjb7wqK6nFXXQYM
fbOXD4Wm4eTHq/WujNsJM9cejJTgSiVhnc7j0iYa0u5r8S/6BtmKCGTYdgJzPshq
ZFIfKxgXeyAMu+EXV3phXWx3CYjAutlG4gjiT6B05asxQ9tb/OD9EI5LgtEgqSEI
ARpyPBKnh+bXiHGaEL26WyaZwycYavTiPBqUaDS2FQvaJYPpyirUTOjbu8LbBN6O
+S6O/BQfvsqmKHxZR05rwF2ZspZPoJDDoiM7oYZRW+ftH2EpcM7i16+4G912IXBI
HNAGkSfVsFqpk7TqmI2P3cGG/7fckKbAj030Nck0AoSSNsP6tNJ8cCbB1NyyYCZG
3sl1HnY9uje9+P+UBq2eUw7l2zgvQTABrrBqU+2QJ9gxF5cnsIZaiRjaPtvrz5sU
7UTObLrO1Lsb238UR+bMJUszIFFRK9evQm+49AE3jNK/WYPKAcZLkuzwMuoV0XId
A/SC185udP721V5wL0aYDIK1qEAxkAscnlnnyX++x+jzI6l6fjbMiL4PHUW3/1ha
xUvUB7IrQVSqzI9tfr9I4dgUzF7SD4A34KeXFe7ym+MoBqHVi7fF2nb1UKo9ih+/
8OsZzLGjE9Vc2lbJ7C7yljI4f+jXbjwEaAQ+j2Y/SGDuEr8tWwt0dNbmlPkebcxA
JP//////////AgEC
-----END DH PARAMETERS-----

24
SOURCES/group18.pem Normal file
View File

@ -0,0 +1,24 @@
-----BEGIN DH PARAMETERS-----
MIIECAKCBAEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb
IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft
awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT
mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh
fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq
5RXSJhiY+gUQFXKOWoqqxC2tMxcNBFB6M6hVIavfHLpk7PuFBFjb7wqK6nFXXQYM
fbOXD4Wm4eTHq/WujNsJM9cejJTgSiVhnc7j0iYa0u5r8S/6BtmKCGTYdgJzPshq
ZFIfKxgXeyAMu+EXV3phXWx3CYjAutlG4gjiT6B05asxQ9tb/OD9EI5LgtEgqSEI
ARpyPBKnh+bXiHGaEL26WyaZwycYavTiPBqUaDS2FQvaJYPpyirUTOjbu8LbBN6O
+S6O/BQfvsqmKHxZR05rwF2ZspZPoJDDoiM7oYZRW+ftH2EpcM7i16+4G912IXBI
HNAGkSfVsFqpk7TqmI2P3cGG/7fckKbAj030Nck0AoSSNsP6tNJ8cCbB1NyyYCZG
3sl1HnY9uje9+P+UBq2eUw7l2zgvQTABrrBqU+2QJ9gxF5cnsIZaiRjaPtvrz5sU
7UTObLrO1Lsb238UR+bMJUszIFFRK9evQm+49AE3jNK/WYPKAcZLkuzwMuoV0XId
A/SC185udP721V5wL0aYDIK1qEAxkAscnlnnyX++x+jzI6l6fjbMiL4PHUW3/1ha
xUvUB7IrQVSqzI9tfr9I4dgUzF7SD4A34KeXFe7ym+MoBqHVi7fF2nb1UKo9ih+/
8OsZzLGjE9Vc2lbJ7C7yljI4f+jXbjwEaAQ+j2Y/SGDuEr8tWwt0dNbmlPkebb4R
WXSjkm8S/uXkOHd8tqky34zYvsTQc7kxujvIMraNndMAdB+nv4r8R+0ldvaTa6Qk
ZjqrY5xa5PVoNCO0dCvxyXgjjxbL451lLeP9uL78hIrZIiIuBKQDfAcT61eoGiPw
xzRz/GRs6jBrS8vIhi+Dhd36nUt/osCH6HloMwPtW906Bis89bOieKZtKhP4P0T4
Ld8xDuB0q2o2RZfomaAlXcFk8xzFCEaFHfmrSBld7X6hsdUQvX7nTXP682vDHs+i
aDWQRvTrh5+SQAlDi0gcbNeImgAu1e44K8kZDab8Am5HlVjkR1Z36aqeMFDidlaU
38gfVuiAuW5xYMmA3Zjt09///////////wIBAg==
-----END DH PARAMETERS-----

View File

@ -0,0 +1,405 @@
diff -ur libressl-3.9.2.orig/apps/openssl/apps.c libressl-3.9.2/apps/openssl/apps.c
--- libressl-3.9.2.orig/apps/openssl/apps.c 2024-04-24 06:40:07.000000000 -0700
+++ libressl-3.9.2/apps/openssl/apps.c 2024-10-05 04:27:00.444876765 -0700
@@ -1069,7 +1069,7 @@
const char *t = X509_get_default_cert_area();
char *p;
- if (asprintf(&p, "%s/openssl.cnf", t) == -1)
+ if (asprintf(&p, "%s/libressl.cnf", t) == -1)
return NULL;
return p;
}
diff -ur libressl-3.9.2.orig/apps/openssl/openssl.1 libressl-3.9.2/apps/openssl/openssl.1
--- libressl-3.9.2.orig/apps/openssl/openssl.1 2024-04-24 06:40:07.000000000 -0700
+++ libressl-3.9.2/apps/openssl/openssl.1 2024-10-05 04:26:14.517878020 -0700
@@ -6870,12 +6870,12 @@
.Sh ENVIRONMENT
The following environment variables affect the execution of
.Nm openssl :
-.Bl -tag -width "/etc/ssl/openssl.cnf"
+.Bl -tag -width "/etc/ssl/libressl.cnf"
.It Ev OPENSSL_CONF
The location of the master configuration file.
.El
.Sh FILES
-.Bl -tag -width "/etc/ssl/openssl.cnf" -compact
+.Bl -tag -width "/etc/ssl/libressl.cnf" -compact
.It Pa /etc/ssl/
Default config directory for
.Nm openssl .
@@ -6883,7 +6883,7 @@
Unused.
.It Pa /etc/ssl/private/
Default private key directory.
-.It Pa /etc/ssl/openssl.cnf
+.It Pa /etc/ssl/libressl.cnf
Default configuration file for
.Nm openssl .
.It Pa /etc/ssl/x509v3.cnf
@@ -6894,7 +6894,7 @@
.Sh SEE ALSO
.Xr acme-client 1 ,
.Xr nc 1 ,
-.Xr openssl.cnf 5 ,
+.Xr libressl.cnf 5 ,
.Xr x509v3.cnf 5 ,
.Xr ssl 8 ,
.Xr starttls 8
diff -ur libressl-3.9.2.orig/ChangeLog libressl-3.9.2/ChangeLog
--- libressl-3.9.2.orig/ChangeLog 2024-05-11 20:13:20.000000000 -0700
+++ libressl-3.9.2/ChangeLog 2024-10-05 04:27:47.668875473 -0700
@@ -2758,7 +2758,7 @@
* --with-enginesdir is removed as a configuration parameter
- * Default cert.pem, openssl.cnf, and x509v3.cnf files are now
+ * Default cert.pem, libressl.cnf, and x509v3.cnf files are now
installed under $sysconfdir/ssl or the directory specified by
--with-openssldir. Previous versions of LibreSSL left these empty.
diff -ur libressl-3.9.2.orig/CMakeLists.txt libressl-3.9.2/CMakeLists.txt
--- libressl-3.9.2.orig/CMakeLists.txt 2024-05-11 20:07:31.000000000 -0700
+++ libressl-3.9.2/CMakeLists.txt 2024-10-05 04:28:38.420874086 -0700
@@ -533,7 +533,7 @@
endif(ENABLE_LIBRESSL_INSTALL)
if(ENABLE_LIBRESSL_INSTALL)
- install(FILES cert.pem openssl.cnf x509v3.cnf DESTINATION ${CONF_DIR})
+ install(FILES cert.pem libressl.cnf x509v3.cnf DESTINATION ${CONF_DIR})
install(DIRECTORY DESTINATION ${CONF_DIR}/certs)
endif(ENABLE_LIBRESSL_INSTALL)
diff -ur libressl-3.9.2.orig/crypto/conf/conf_mod.c libressl-3.9.2/crypto/conf/conf_mod.c
--- libressl-3.9.2.orig/crypto/conf/conf_mod.c 2024-05-11 20:07:56.000000000 -0700
+++ libressl-3.9.2/crypto/conf/conf_mod.c 2024-10-05 04:29:31.220872642 -0700
@@ -474,7 +474,7 @@
{
char *file = NULL;
- if (asprintf(&file, "%s/openssl.cnf",
+ if (asprintf(&file, "%s/libressl.cnf",
X509_get_default_cert_area()) == -1)
return (NULL);
return file;
diff -ur libressl-3.9.2.orig/Makefile.am libressl-3.9.2/Makefile.am
--- libressl-3.9.2.orig/Makefile.am 2023-11-01 19:17:51.000000000 -0700
+++ libressl-3.9.2/Makefile.am 2024-10-05 04:30:30.596871018 -0700
@@ -12,7 +12,7 @@
EXTRA_DIST = README.md README.windows VERSION config scripts
EXTRA_DIST += CMakeLists.txt cmake_export_symbol.cmake cmake_uninstall.cmake.in FindLibreSSL.cmake LibreSSLConfig.cmake.in
-EXTRA_DIST += cert.pem openssl.cnf x509v3.cnf
+EXTRA_DIST += cert.pem libressl.cnf x509v3.cnf
.PHONY: install_sw
install_sw: install
@@ -24,7 +24,7 @@
OPENSSLDIR="$(DESTDIR)$(sysconfdir)/ssl"; \
fi; \
mkdir -p "$$OPENSSLDIR/certs"; \
- for i in cert.pem openssl.cnf x509v3.cnf; do \
+ for i in cert.pem libressl.cnf x509v3.cnf; do \
if [ ! -f "$$OPENSSLDIR/$i" ]; then \
$(INSTALL) -m 644 "$(srcdir)/$$i" "$$OPENSSLDIR/$$i"; \
else \
@@ -38,7 +38,7 @@
else \
OPENSSLDIR="$(DESTDIR)$(sysconfdir)/ssl"; \
fi; \
- for i in cert.pem openssl.cnf x509v3.cnf; do \
+ for i in cert.pem libressl.cnf x509v3.cnf; do \
if cmp -s "$$OPENSSLDIR/$$i" "$(srcdir)/$$i"; then \
rm -f "$$OPENSSLDIR/$$i"; \
fi \
diff -ur libressl-3.9.2.orig/Makefile.in libressl-3.9.2/Makefile.in
--- libressl-3.9.2.orig/Makefile.in 2024-05-11 20:15:07.000000000 -0700
+++ libressl-3.9.2/Makefile.in 2024-10-05 04:31:30.707869375 -0700
@@ -374,7 +374,7 @@
EXTRA_DIST = README.md README.windows VERSION config scripts \
CMakeLists.txt cmake_export_symbol.cmake \
cmake_uninstall.cmake.in FindLibreSSL.cmake \
- LibreSSLConfig.cmake.in cert.pem openssl.cnf x509v3.cnf
+ LibreSSLConfig.cmake.in cert.pem libressl.cnf x509v3.cnf
all: all-recursive
.SUFFIXES:
@@ -895,7 +895,7 @@
OPENSSLDIR="$(DESTDIR)$(sysconfdir)/ssl"; \
fi; \
mkdir -p "$$OPENSSLDIR/certs"; \
- for i in cert.pem openssl.cnf x509v3.cnf; do \
+ for i in cert.pem libressl.cnf x509v3.cnf; do \
if [ ! -f "$$OPENSSLDIR/$i" ]; then \
$(INSTALL) -m 644 "$(srcdir)/$$i" "$$OPENSSLDIR/$$i"; \
else \
@@ -909,7 +909,7 @@
else \
OPENSSLDIR="$(DESTDIR)$(sysconfdir)/ssl"; \
fi; \
- for i in cert.pem openssl.cnf x509v3.cnf; do \
+ for i in cert.pem libressl.cnf x509v3.cnf; do \
if cmp -s "$$OPENSSLDIR/$$i" "$(srcdir)/$$i"; then \
rm -f "$$OPENSSLDIR/$$i"; \
fi \
diff -ur libressl-3.9.2.orig/man/CONF_modules_load_file.3 libressl-3.9.2/man/CONF_modules_load_file.3
--- libressl-3.9.2.orig/man/CONF_modules_load_file.3 2024-04-24 06:40:06.000000000 -0700
+++ libressl-3.9.2/man/CONF_modules_load_file.3 2024-10-05 04:36:47.643860709 -0700
@@ -97,7 +97,7 @@
configures OpenSSL using the file
.Fa filename
in
-.Xr openssl.cnf 5
+.Xr libressl.cnf 5
format and the application name
.Fa appname .
If
@@ -105,7 +105,7 @@
is
.Dv NULL ,
the standard OpenSSL configuration file
-.Pa /etc/ssl/openssl.cnf
+.Pa /etc/ssl/libressl.cnf
is used.
If
.Fa appname
@@ -190,10 +190,10 @@
returns a pointer to the constant string
.Qq "/etc/ssl" .
.Sh FILES
-.Bl -tag -width /etc/ssl/openssl.cnf -compact
+.Bl -tag -width /etc/ssl/libressl.cnf -compact
.It Pa /etc/ssl
standard configuration directory
-.It Pa /etc/ssl/openssl.cnf
+.It Pa /etc/ssl/libressl.cnf
standard configuration file
.El
.Sh EXAMPLES
diff -ur libressl-3.9.2.orig/man/Makefile.am libressl-3.9.2/man/Makefile.am
--- libressl-3.9.2.orig/man/Makefile.am 2024-05-11 20:14:58.000000000 -0700
+++ libressl-3.9.2/man/Makefile.am 2024-10-05 04:41:40.555852699 -0700
@@ -566,7 +566,7 @@
dist_man3_MANS += tls_load_file.3
dist_man3_MANS += tls_ocsp_process_response.3
dist_man3_MANS += tls_read.3
-dist_man5_MANS += openssl.cnf.5
+dist_man5_MANS += libressl.cnf.5
dist_man5_MANS += x509v3.cnf.5
install-data-hook:
ln -sf "ACCESS_DESCRIPTION_new.3" "$(DESTDIR)$(mandir)/man3/ACCESS_DESCRIPTION_free.3"
diff -ur libressl-3.9.2.orig/man/Makefile.in libressl-3.9.2/man/Makefile.in
--- libressl-3.9.2.orig/man/Makefile.in 2024-05-11 20:15:10.000000000 -0700
+++ libressl-3.9.2/man/Makefile.in 2024-10-05 04:35:10.692863360 -0700
@@ -690,7 +690,7 @@
@ENABLE_LIBTLS_ONLY_FALSE@ tls_init.3 tls_load_file.3 \
@ENABLE_LIBTLS_ONLY_FALSE@ tls_ocsp_process_response.3 \
@ENABLE_LIBTLS_ONLY_FALSE@ tls_read.3
-@ENABLE_LIBTLS_ONLY_FALSE@dist_man5_MANS = openssl.cnf.5 x509v3.cnf.5
+@ENABLE_LIBTLS_ONLY_FALSE@dist_man5_MANS = libressl.cnf.5 x509v3.cnf.5
all: all-am
.SUFFIXES:
diff -ur libressl-3.9.2.orig/man/openssl.cnf.5 libressl-3.9.2/man/openssl.cnf.5
--- libressl-3.9.2.orig/man/openssl.cnf.5 2024-04-24 06:40:06.000000000 -0700
+++ libressl-3.9.2/man/openssl.cnf.5 2024-10-05 04:40:00.122855446 -0700
@@ -1,4 +1,4 @@
-.\" $OpenBSD: openssl.cnf.5,v 1.10 2023/11/19 10:23:53 tb Exp $
+.\" $OpenBSD: libressl.cnf.5,v 1.10 2023/11/19 10:23:53 tb Exp $
.\" full merge up to: OpenSSL man5/config b53338cb Feb 28 12:30:28 2017 +0100
.\" selective merge up to: OpenSSL a8c5ed81 Jul 18 13:57:25 2017 -0400
.\"
@@ -51,16 +51,16 @@
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd $Mdocdate: November 19 2023 $
-.Dt OPENSSL.CNF 5
+.Dt LIBRESSL.CNF 5
.Os
.Sh NAME
-.Nm openssl.cnf
+.Nm libressl.cnf
.Nd OpenSSL configuration files
.Sh DESCRIPTION
The OpenSSL CONF library can be used to read configuration files; see
.Xr CONF_modules_load_file 3 .
It is used for the OpenSSL master configuration file
-.Pa /etc/ssl/openssl.cnf
+.Pa /etc/ssl/libressl.cnf
and in a few other places like
.Sy SPKAC
files and certificate extension files for the
@@ -225,8 +225,8 @@
.Pp
.Dl shortName = some object long name, 1.2.3.4
.Sh FILES
-.Bl -tag -width /etc/ssl/openssl.cnf -compact
-.It Pa /etc/ssl/openssl.cnf
+.Bl -tag -width /etc/ssl/libressl.cnf -compact
+.It Pa /etc/ssl/libressl.cnf
standard configuration file
.El
.Sh EXAMPLES
diff -ur libressl-3.9.2.orig/man/OPENSSL_config.3 libressl-3.9.2/man/OPENSSL_config.3
--- libressl-3.9.2.orig/man/OPENSSL_config.3 2024-04-24 06:40:06.000000000 -0700
+++ libressl-3.9.2/man/OPENSSL_config.3 2024-10-05 04:33:10.827866637 -0700
@@ -132,8 +132,8 @@
calling
.Xr CONF_modules_free 3 .
.Sh FILES
-.Bl -tag -width /etc/ssl/openssl.cnf -compact
-.It Pa /etc/ssl/openssl.cnf
+.Bl -tag -width /etc/ssl/libressl.cnf -compact
+.It Pa /etc/ssl/libressl.cnf
standard configuration file
.El
.Sh SEE ALSO
@@ -142,7 +142,7 @@
.Xr crypto 3 ,
.Xr OPENSSL_load_builtin_modules 3 ,
.Xr OPENSSL_VERSION_NUMBER 3 ,
-.Xr openssl.cnf 5 ,
+.Xr libressl.cnf 5 ,
.Xr x509v3.cnf 5
.Sh HISTORY
.Fn OPENSSL_config
diff -ur libressl-3.9.2.orig/man/OPENSSL_init_crypto.3 libressl-3.9.2/man/OPENSSL_init_crypto.3
--- libressl-3.9.2.orig/man/OPENSSL_init_crypto.3 2024-03-25 00:32:30.000000000 -0700
+++ libressl-3.9.2/man/OPENSSL_init_crypto.3 2024-10-05 04:40:52.698854008 -0700
@@ -93,7 +93,7 @@
.Xr CONF_modules_load_file 3 ,
.Xr OPENSSL_config 3 ,
.Xr OPENSSL_load_builtin_modules 3 ,
-.Xr openssl.cnf 5
+.Xr libressl.cnf 5
.Sh HISTORY
.Fn OPENSSL_init
first appeared in OpenSSL 1.0.0e and has been available since
diff -ur libressl-3.9.2.orig/man/x509v3.cnf.5 libressl-3.9.2/man/x509v3.cnf.5
--- libressl-3.9.2.orig/man/x509v3.cnf.5 2024-03-25 00:32:31.000000000 -0700
+++ libressl-3.9.2/man/x509v3.cnf.5 2024-10-05 04:34:16.643864837 -0700
@@ -61,7 +61,7 @@
Several of the OpenSSL utilities can add extensions to a certificate or
certificate request based on the contents of a configuration file.
The file format is based on the
-.Xr openssl.cnf 5
+.Xr libressl.cnf 5
format.
.Pp
Typically the application will contain an option to point to an
@@ -685,7 +685,7 @@
.Xr openssl 1 ,
.Xr ASN1_generate_nconf 3 ,
.Xr OPENSSL_config 3 ,
-.Xr openssl.cnf 5
+.Xr libressl.cnf 5
.Sh HISTORY
X509v3 extension code was first added to OpenSSL 0.9.2.
.Sh CAVEATS
diff -ur libressl-3.9.2.orig/tests/Makefile.am libressl-3.9.2/tests/Makefile.am
--- libressl-3.9.2.orig/tests/Makefile.am 2024-05-11 20:07:31.000000000 -0700
+++ libressl-3.9.2/tests/Makefile.am 2024-10-05 04:48:08.961842079 -0700
@@ -707,7 +707,7 @@
# testdsa
TESTS += testdsa.sh
EXTRA_DIST += testdsa.sh testdsa.bat
-EXTRA_DIST += openssl.cnf
+EXTRA_DIST += libressl.cnf
# testenc
TESTS += testenc.sh
diff -ur libressl-3.9.2.orig/tests/Makefile.in libressl-3.9.2/tests/Makefile.in
--- libressl-3.9.2.orig/tests/Makefile.in 2024-05-11 20:15:11.000000000 -0700
+++ libressl-3.9.2/tests/Makefile.in 2024-10-05 04:46:07.250845407 -0700
@@ -1508,7 +1508,7 @@
server2-ecdsa-chain.pem server2-ecdsa.pem \
server2-rsa-chain.pem server2-rsa.pem server3-ecdsa-chain.pem \
server3-ecdsa.pem server3-rsa-chain.pem server3-rsa.pem \
- testdsa.sh testdsa.bat openssl.cnf testenc.sh testenc.bat \
+ testdsa.sh testdsa.bat libressl.cnf testenc.sh testenc.bat \
testrsa.sh testrsa.bat tlstest.sh tlstest.bat
DISTCLEANFILES = pidwraptest.txt
aeadtest_SOURCES = aeadtest.c
diff -ur libressl-3.9.2.orig/tests/openssl.cnf libressl-3.9.2/tests/openssl.cnf
--- libressl-3.9.2.orig/tests/openssl.cnf 2019-04-22 23:55:18.000000000 -0700
+++ libressl-3.9.2/tests/openssl.cnf 2024-10-05 04:45:30.594846409 -0700
@@ -1,4 +1,4 @@
-# $OpenBSD: openssl.cnf,v 1.1 2014/08/26 17:50:07 jsing Exp $
+# $OpenBSD: libressl.cnf,v 1.1 2014/08/26 17:50:07 jsing Exp $
#
# SSLeay example configuration file.
diff -ur libressl-3.9.2.orig/tests/testdsa.bat libressl-3.9.2/tests/testdsa.bat
--- libressl-3.9.2.orig/tests/testdsa.bat 2021-09-28 12:05:18.000000000 -0700
+++ libressl-3.9.2/tests/testdsa.bat 2024-10-05 04:44:42.746847718 -0700
@@ -17,7 +17,7 @@
REM # Generate a DSA certificate
-%openssl_bin% req -config %srcdir%\openssl.cnf -x509 -newkey dsa:dsa512.pem -out testdsa.pem -keyout testdsa.key
+%openssl_bin% req -config %srcdir%\libressl.cnf -x509 -newkey dsa:dsa512.pem -out testdsa.pem -keyout testdsa.key
if !errorlevel! neq 0 (
exit /b 1
)
diff -ur libressl-3.9.2.orig/tests/testdsa.sh libressl-3.9.2/tests/testdsa.sh
--- libressl-3.9.2.orig/tests/testdsa.sh 2021-09-28 12:05:18.000000000 -0700
+++ libressl-3.9.2/tests/testdsa.sh 2024-10-05 04:47:31.697843098 -0700
@@ -28,7 +28,7 @@
# Denerate a DSA certificate
-$cmd req -config $srcdir/openssl.cnf -x509 -newkey dsa:dsa512.pem -out testdsa.pem -keyout testdsa.key
+$cmd req -config $srcdir/libressl.cnf -x509 -newkey dsa:dsa512.pem -out testdsa.pem -keyout testdsa.key
if [ $? != 0 ]; then
exit 1;
fi
diff -ur libressl-3.9.2.orig/tests/testenc.bat libressl-3.9.2/tests/testenc.bat
--- libressl-3.9.2.orig/tests/testenc.bat 2024-03-06 07:03:41.000000000 -0800
+++ libressl-3.9.2/tests/testenc.bat 2024-10-05 04:44:00.474848874 -0700
@@ -8,8 +8,8 @@
set openssl_bin=%openssl_bin:/=\%
if not exist %openssl_bin% exit /b 1
-echo copy %srcdir%\openssl.cnf %test%
-copy %srcdir%\openssl.cnf %test%
+echo copy %srcdir%\libressl.cnf %test%
+copy %srcdir%\libressl.cnf %test%
echo cat
echo %openssl_bin% enc -in %test% -out %test%.CIPHER
diff -ur libressl-3.9.2.orig/tests/testenc.sh libressl-3.9.2/tests/testenc.sh
--- libressl-3.9.2.orig/tests/testenc.sh 2021-09-28 12:05:18.000000000 -0700
+++ libressl-3.9.2/tests/testenc.sh 2024-10-05 04:42:38.122851125 -0700
@@ -18,7 +18,7 @@
srcdir=.
fi
-cat $srcdir/openssl.cnf >$test;
+cat $srcdir/libressl.cnf >$test;
echo cat
$cmd enc < $test > $test.cipher
diff -ur libressl-3.9.2.orig/tests/testrsa.bat libressl-3.9.2/tests/testrsa.bat
--- libressl-3.9.2.orig/tests/testrsa.bat 2021-09-28 12:05:18.000000000 -0700
+++ libressl-3.9.2/tests/testrsa.bat 2024-10-05 04:43:15.242850110 -0700
@@ -17,7 +17,7 @@
REM # Generate an RSA certificate
-%openssl_bin% req -config %srcdir%\openssl.cnf -key rsakey.pem -new -x509 -days 365 -out rsacert.pem
+%openssl_bin% req -config %srcdir%\libressl.cnf -key rsakey.pem -new -x509 -days 365 -out rsacert.pem
if !errorlevel! neq 0 (
exit /b 1
)
diff -ur libressl-3.9.2.orig/tests/testrsa.sh libressl-3.9.2/tests/testrsa.sh
--- libressl-3.9.2.orig/tests/testrsa.sh 2021-09-28 12:05:18.000000000 -0700
+++ libressl-3.9.2/tests/testrsa.sh 2024-10-05 04:47:05.649843810 -0700
@@ -28,7 +28,7 @@
# Generate an RSA certificate
-$cmd req -config $srcdir/openssl.cnf -key rsakey.pem -new -x509 -days 365 -out rsacert.pem
+$cmd req -config $srcdir/libressl.cnf -key rsakey.pem -new -x509 -days 365 -out rsacert.pem
if [ $? != 0 ]; then
exit 1;
fi

View File

@ -0,0 +1,223 @@
# Additions from RHEL/CentOS 7 openssl.cnf w/ default_bits increased
####################################################################
[ req ]
default_bits = 3072
default_md = sha256
default_keyfile = privkey.pem
distinguished_name = req_distinguished_name
attributes = req_attributes
x509_extensions = v3_ca # The extentions to add to the self signed cert
# Passwords for private keys if not present they will be prompted for
# input_password = secret
# output_password = secret
# This sets a mask for permitted string types. There are several options.
# default: PrintableString, T61String, BMPString.
# pkix : PrintableString, BMPString (PKIX recommendation before 2004)
# utf8only: only UTF8Strings (PKIX recommendation after 2004).
# nombstr : PrintableString, T61String (no BMPStrings or UTF8Strings).
# MASK:XXXX a literal mask value.
# WARNING: ancient versions of Netscape crash on BMPStrings or UTF8Strings.
string_mask = utf8only
# req_extensions = v3_req # The extensions to add to a certificate request
[ req_distinguished_name ]
countryName = Country Name (2 letter code)
countryName_default = XX
countryName_min = 2
countryName_max = 2
stateOrProvinceName = State or Province Name (full name)
#stateOrProvinceName_default = Default Province
localityName = Locality Name (eg, city)
localityName_default = Default City
0.organizationName = Organization Name (eg, company)
0.organizationName_default = Default Company Ltd
# we can do this but it is not needed normally :-)
#1.organizationName = Second Organization Name (eg, company)
#1.organizationName_default = World Wide Web Pty Ltd
organizationalUnitName = Organizational Unit Name (eg, section)
#organizationalUnitName_default =
commonName = Common Name (eg, your name or your server\'s hostname)
commonName_max = 64
emailAddress = Email Address
emailAddress_max = 64
# SET-ex3 = SET extension number 3
[ req_attributes ]
challengePassword = A challenge password
challengePassword_min = 4
challengePassword_max = 20
unstructuredName = An optional company name
[ usr_cert ]
# These extensions are added when 'ca' signs a request.
# This goes against PKIX guidelines but some CAs do it and some software
# requires this to avoid interpreting an end user certificate as a CA.
basicConstraints=CA:FALSE
# Here are some examples of the usage of nsCertType. If it is omitted
# the certificate can be used for anything *except* object signing.
# This is OK for an SSL server.
# nsCertType = server
# For an object signing certificate this would be used.
# nsCertType = objsign
# For normal client use this is typical
# nsCertType = client, email
# and for everything including object signing:
# nsCertType = client, email, objsign
# This is typical in keyUsage for a client certificate.
# keyUsage = nonRepudiation, digitalSignature, keyEncipherment
# This will be displayed in Netscape's comment listbox.
nsComment = "OpenSSL Generated Certificate"
# PKIX recommendations harmless if included in all certificates.
subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid,issuer
# This stuff is for subjectAltName and issuerAltname.
# Import the email address.
# subjectAltName=email:copy
# An alternative to produce certificates that aren't
# deprecated according to PKIX.
# subjectAltName=email:move
# Copy subject details
# issuerAltName=issuer:copy
#nsCaRevocationUrl = http://www.domain.dom/ca-crl.pem
#nsBaseUrl
#nsRevocationUrl
#nsRenewalUrl
#nsCaPolicyUrl
#nsSslServerName
# This is required for TSA certificates.
# extendedKeyUsage = critical,timeStamping
[ v3_req ]
# Extensions to add to a certificate request
basicConstraints = CA:FALSE
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
[ v3_ca ]
# Extensions for a typical CA
# PKIX recommendation.
subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid:always,issuer
# This is what PKIX recommends but some broken software chokes on critical
# extensions.
#basicConstraints = critical,CA:true
# So we do this instead.
basicConstraints = CA:true
# Key usage: this is typical for a CA certificate. However since it will
# prevent it being used as an test self-signed certificate it is best
# left out by default.
# keyUsage = cRLSign, keyCertSign
# Some might want this also
# nsCertType = sslCA, emailCA
# Include email address in subject alt name: another PKIX recommendation
# subjectAltName=email:copy
# Copy issuer details
# issuerAltName=issuer:copy
# DER hex encoding of an extension: beware experts only!
# obj=DER:02:03
# Where 'obj' is a standard or added object
# You can even override a supported extension:
# basicConstraints= critical, DER:30:03:01:01:FF
[ crl_ext ]
# CRL extensions.
# Only issuerAltName and authorityKeyIdentifier make any sense in a CRL.
# issuerAltName=issuer:copy
authorityKeyIdentifier=keyid:always
[ proxy_cert_ext ]
# These extensions should be added when creating a proxy certificate
# This goes against PKIX guidelines but some CAs do it and some software
# requires this to avoid interpreting an end user certificate as a CA.
basicConstraints=CA:FALSE
# Here are some examples of the usage of nsCertType. If it is omitted
# the certificate can be used for anything *except* object signing.
# This is OK for an SSL server.
# nsCertType = server
# For an object signing certificate this would be used.
# nsCertType = objsign
# For normal client use this is typical
# nsCertType = client, email
# and for everything including object signing:
# nsCertType = client, email, objsign
# This is typical in keyUsage for a client certificate.
# keyUsage = nonRepudiation, digitalSignature, keyEncipherment
# This will be displayed in Netscape's comment listbox.
nsComment = "OpenSSL Generated Certificate"
# PKIX recommendations harmless if included in all certificates.
subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid,issuer
# This stuff is for subjectAltName and issuerAltname.
# Import the email address.
# subjectAltName=email:copy
# An alternative to produce certificates that aren't
# deprecated according to PKIX.
# subjectAltName=email:move
# Copy subject details
# issuerAltName=issuer:copy
#nsCaRevocationUrl = http://www.domain.dom/ca-crl.pem
#nsBaseUrl
#nsRevocationUrl
#nsRenewalUrl
#nsCaPolicyUrl
#nsSslServerName
# This really needs to be in place for it to be a proxy certificate.
proxyCertInfo=critical,language:id-ppl-anyLanguage,pathlen:3,policy:foo

View File

@ -0,0 +1,112 @@
%defattr(-,root,root,-)
%attr(0644,root,root) %{_mandir}/man1/CA.pl.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-asn1parse.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-ca.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-ciphers.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-cmds.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-cmp.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-cms.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-crl.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-crl2pkcs7.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-dgst.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-dhparam.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-dsa.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-dsaparam.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-ec.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-ecparam.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-enc.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-engine.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-errstr.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-fipsinstall.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-format-options.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-gendsa.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-genpkey.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-genrsa.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-info.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-kdf.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-list.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-mac.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-namedisplay-options.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-nseq.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-ocsp.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-passphrase-options.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-passwd.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-pkcs12.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-pkcs7.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-pkcs8.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-pkey.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-pkeyparam.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-pkeyutl.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-prime.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-rand.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-rehash.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-req.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-rsa.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-rsautl.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-s_client.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-s_server.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-s_time.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-sess_id.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-smime.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-speed.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-spkac.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-srp.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-storeutl.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-ts.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-verification-options.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-verify.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-version.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl-x509.1ossl*
%attr(0644,root,root) %{_mandir}/man1/openssl.1ossl*
%attr(0644,root,root) %{_mandir}/man1/tsget.1ossl*
%{_mandir}/man1/asn1parse.1ossl*
%{_mandir}/man1/c_rehash.1ossl*
%{_mandir}/man1/ca.1ossl*
%{_mandir}/man1/ciphers.1ossl*
%{_mandir}/man1/cmp.1ossl*
%{_mandir}/man1/cms.1ossl*
%{_mandir}/man1/crl.1ossl*
%{_mandir}/man1/crl2pkcs7.1ossl*
%{_mandir}/man1/dgst.1ossl*
%{_mandir}/man1/dhparam.1ossl*
%{_mandir}/man1/dsa.1ossl*
%{_mandir}/man1/dsaparam.1ossl*
%{_mandir}/man1/ec.1ossl*
%{_mandir}/man1/ecparam.1ossl*
%{_mandir}/man1/enc.1ossl*
%{_mandir}/man1/engine.1ossl*
%{_mandir}/man1/errstr.1ossl*
%{_mandir}/man1/gendsa.1ossl*
%{_mandir}/man1/genpkey.1ossl*
%{_mandir}/man1/genrsa.1ossl*
%{_mandir}/man1/info.1ossl*
%{_mandir}/man1/kdf.1ossl*
%{_mandir}/man1/mac.1ossl*
%{_mandir}/man1/nseq.1ossl*
%{_mandir}/man1/ocsp.1ossl*
%{_mandir}/man1/passwd.1ossl*
%{_mandir}/man1/pkcs12.1ossl*
%{_mandir}/man1/pkcs7.1ossl*
%{_mandir}/man1/pkcs8.1ossl*
%{_mandir}/man1/pkey.1ossl*
%{_mandir}/man1/pkeyparam.1ossl*
%{_mandir}/man1/pkeyutl.1ossl*
%{_mandir}/man1/prime.1ossl*
%{_mandir}/man1/rand.1ossl*
%{_mandir}/man1/rehash.1ossl*
%{_mandir}/man1/req.1ossl*
%{_mandir}/man1/rsa.1ossl*
%{_mandir}/man1/rsautl.1ossl*
%{_mandir}/man1/s_client.1ossl*
%{_mandir}/man1/s_server.1ossl*
%{_mandir}/man1/s_time.1ossl*
%{_mandir}/man1/sess_id.1ossl*
%{_mandir}/man1/smime.1ossl*
%{_mandir}/man1/speed.1ossl*
%{_mandir}/man1/spkac.1ossl*
%{_mandir}/man1/srp.1ossl*
%{_mandir}/man1/storeutl.1ossl*
%{_mandir}/man1/ts.1ossl*
%{_mandir}/man1/verify.1ossl*
%{_mandir}/man1/version.1ossl*
%{_mandir}/man1/x509.1ossl*

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,187 @@
%defattr(-,root,root,-)
%attr(0644,root,root) %{_mandir}/man7/EVP_ASYM_CIPHER-RSA.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_ASYM_CIPHER-SM2.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-AES.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-ARIA.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-BLOWFISH.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-CAMELLIA.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-CAST.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-CHACHA.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-DES.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-IDEA.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-NULL.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-RC2.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-RC4.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-RC5.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-SEED.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_CIPHER-SM4.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-ARGON2.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-HKDF.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-HMAC-DRBG.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-KB.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-KRB5KDF.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-PBKDF1.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-PBKDF2.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-PKCS12KDF.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-PVKKDF.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-SCRYPT.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-SS.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-SSHKDF.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-TLS13_KDF.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-TLS1_PRF.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-X942-ASN1.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-X942-CONCAT.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KDF-X963.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KEM-EC.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KEM-RSA.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KEM-X25519.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KEYEXCH-DH.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KEYEXCH-ECDH.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_KEYEXCH-X25519.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MAC-BLAKE2.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MAC-CMAC.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MAC-GMAC.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MAC-HMAC.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MAC-KMAC.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MAC-Poly1305.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MAC-Siphash.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-BLAKE2.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-KECCAK.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-MD2.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-MD4.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-MD5-SHA1.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-MD5.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-MDC2.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-NULL.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-RIPEMD160.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-SHA1.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-SHA2.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-SHA3.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-SHAKE.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-SM3.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-WHIRLPOOL.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_MD-common.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_PKEY-DH.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_PKEY-DSA.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_PKEY-EC.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_PKEY-FFC.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_PKEY-HMAC.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_PKEY-RSA.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_PKEY-SM2.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_PKEY-X25519.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_RAND-CTR-DRBG.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_RAND-HASH-DRBG.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_RAND-HMAC-DRBG.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_RAND-SEED-SRC.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_RAND-TEST-RAND.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_RAND.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_SIGNATURE-DSA.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_SIGNATURE-ECDSA.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_SIGNATURE-ED25519.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_SIGNATURE-HMAC.7ossl*
%attr(0644,root,root) %{_mandir}/man7/EVP_SIGNATURE-RSA.7ossl*
%attr(0644,root,root) %{_mandir}/man7/OSSL_PROVIDER-FIPS.7ossl*
%attr(0644,root,root) %{_mandir}/man7/OSSL_PROVIDER-base.7ossl*
%attr(0644,root,root) %{_mandir}/man7/OSSL_PROVIDER-default.7ossl*
%attr(0644,root,root) %{_mandir}/man7/OSSL_PROVIDER-legacy.7ossl*
%attr(0644,root,root) %{_mandir}/man7/OSSL_PROVIDER-null.7ossl*
%attr(0644,root,root) %{_mandir}/man7/OSSL_STORE-winstore.7ossl*
%attr(0644,root,root) %{_mandir}/man7/RAND.7ossl*
%attr(0644,root,root) %{_mandir}/man7/RSA-PSS.7ossl*
%attr(0644,root,root) %{_mandir}/man7/X25519.7ossl*
%attr(0644,root,root) %{_mandir}/man7/bio.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ct.7ossl*
%attr(0644,root,root) %{_mandir}/man7/des_modes.7ossl*
%attr(0644,root,root) %{_mandir}/man7/evp.7ossl*
%attr(0644,root,root) %{_mandir}/man7/fips_module.7ossl*
%attr(0644,root,root) %{_mandir}/man7/life_cycle-cipher.7ossl*
%attr(0644,root,root) %{_mandir}/man7/life_cycle-digest.7ossl*
%attr(0644,root,root) %{_mandir}/man7/life_cycle-kdf.7ossl*
%attr(0644,root,root) %{_mandir}/man7/life_cycle-mac.7ossl*
%attr(0644,root,root) %{_mandir}/man7/life_cycle-pkey.7ossl*
%attr(0644,root,root) %{_mandir}/man7/life_cycle-rand.7ossl*
%attr(0644,root,root) %{_mandir}/man7/openssl-core.h.7ossl*
%attr(0644,root,root) %{_mandir}/man7/openssl-core_dispatch.h.7ossl*
%attr(0644,root,root) %{_mandir}/man7/openssl-core_names.h.7ossl*
%attr(0644,root,root) %{_mandir}/man7/openssl-env.7ossl*
%attr(0644,root,root) %{_mandir}/man7/openssl-glossary.7ossl*
%attr(0644,root,root) %{_mandir}/man7/openssl-qlog.7ossl*
%attr(0644,root,root) %{_mandir}/man7/openssl-quic.7ossl*
%attr(0644,root,root) %{_mandir}/man7/openssl-threads.7ossl*
%attr(0644,root,root) %{_mandir}/man7/openssl_user_macros.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl-guide-introduction.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl-guide-libcrypto-introduction.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl-guide-libraries-introduction.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl-guide-libssl-introduction.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl-guide-migration.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl-guide-quic-client-block.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl-guide-quic-client-non-block.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl-guide-quic-introduction.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl-guide-quic-multi-stream.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl-guide-tls-client-block.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl-guide-tls-client-non-block.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl-guide-tls-introduction.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl_store-file.7ossl*
%attr(0644,root,root) %{_mandir}/man7/ossl_store.7ossl*
%attr(0644,root,root) %{_mandir}/man7/passphrase-encoding.7ossl*
%attr(0644,root,root) %{_mandir}/man7/property.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-asym_cipher.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-base.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-cipher.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-decoder.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-digest.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-encoder.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-kdf.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-kem.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-keyexch.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-keymgmt.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-mac.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-object.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-rand.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-signature.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider-storemgmt.7ossl*
%attr(0644,root,root) %{_mandir}/man7/provider.7ossl*
%attr(0644,root,root) %{_mandir}/man7/proxy-certificates.7ossl*
%attr(0644,root,root) %{_mandir}/man7/x509.7ossl*
%{_mandir}/man7/EVP_KEM-X448.7ossl*
%{_mandir}/man7/EVP_KEYEXCH-X448.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-CMAC.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-DH.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-DHX.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-DSA.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-EC.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-ED25519.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-ED448.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-HMAC.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-Poly1305.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-RSA.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-SM2.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-Siphash.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-X25519.7ossl*
%{_mandir}/man7/EVP_KEYMGMT-X448.7ossl*
%{_mandir}/man7/EVP_MAC-BLAKE2BMAC.7ossl*
%{_mandir}/man7/EVP_MAC-BLAKE2SMAC.7ossl*
%{_mandir}/man7/EVP_MAC-KMAC128.7ossl*
%{_mandir}/man7/EVP_MAC-KMAC256.7ossl*
%{_mandir}/man7/EVP_MD-KECCAK-KMAC.7ossl*
%{_mandir}/man7/EVP_PKEY-CMAC.7ossl*
%{_mandir}/man7/EVP_PKEY-DHX.7ossl*
%{_mandir}/man7/EVP_PKEY-ED25519.7ossl*
%{_mandir}/man7/EVP_PKEY-ED448.7ossl*
%{_mandir}/man7/EVP_PKEY-Poly1305.7ossl*
%{_mandir}/man7/EVP_PKEY-Siphash.7ossl*
%{_mandir}/man7/EVP_PKEY-X448.7ossl*
%{_mandir}/man7/EVP_SIGNATURE-CMAC.7ossl*
%{_mandir}/man7/EVP_SIGNATURE-ED448.7ossl*
%{_mandir}/man7/EVP_SIGNATURE-Poly1305.7ossl*
%{_mandir}/man7/EVP_SIGNATURE-Siphash.7ossl*
%{_mandir}/man7/Ed25519.7ossl*
%{_mandir}/man7/Ed448.7ossl*
%{_mandir}/man7/OPENSSL_API_COMPAT.7ossl*
%{_mandir}/man7/OPENSSL_NO_DEPRECATED.7ossl*
%{_mandir}/man7/RSA.7ossl*
%{_mandir}/man7/SM2.7ossl*
%{_mandir}/man7/X448.7ossl*
%{_mandir}/man7/crypto.7ossl*
%{_mandir}/man7/migration_guide.7ossl*
%{_mandir}/man7/ssl.7ossl*

View File

@ -0,0 +1,949 @@
%defattr(0644,root,root)
%{_mandir}/man1/corelist.1*
%{_mandir}/man1/cpan.1*
%{_mandir}/man1/enc2xs.1*
%{_mandir}/man1/encguess.1*
%{_mandir}/man1/h2ph.1*
#%%{_mandir}/man1/h2xs.1*
%{_mandir}/man1/instmodsh.1*
%{_mandir}/man1/json_pp.1*
%{_mandir}/man1/libnetcfg.1*
%{_mandir}/man1/perl.1*
%{_mandir}/man1/perl5004delta.1*
%{_mandir}/man1/perl5005delta.1*
%{_mandir}/man1/perl5100delta.1*
%{_mandir}/man1/perl5101delta.1*
%{_mandir}/man1/perl5120delta.1*
%{_mandir}/man1/perl5121delta.1*
%{_mandir}/man1/perl5122delta.1*
%{_mandir}/man1/perl5123delta.1*
%{_mandir}/man1/perl5124delta.1*
%{_mandir}/man1/perl5125delta.1*
%{_mandir}/man1/perl5140delta.1*
%{_mandir}/man1/perl5141delta.1*
%{_mandir}/man1/perl5142delta.1*
%{_mandir}/man1/perl5143delta.1*
%{_mandir}/man1/perl5144delta.1*
%{_mandir}/man1/perl5160delta.1*
%{_mandir}/man1/perl5161delta.1*
%{_mandir}/man1/perl5162delta.1*
%{_mandir}/man1/perl5163delta.1*
%{_mandir}/man1/perl5180delta.1*
%{_mandir}/man1/perl5181delta.1*
%{_mandir}/man1/perl5182delta.1*
%{_mandir}/man1/perl5184delta.1*
%{_mandir}/man1/perl5200delta.1*
%{_mandir}/man1/perl5201delta.1*
%{_mandir}/man1/perl5202delta.1*
%{_mandir}/man1/perl5203delta.1*
%{_mandir}/man1/perl5220delta.1*
%{_mandir}/man1/perl5221delta.1*
%{_mandir}/man1/perl5222delta.1*
%{_mandir}/man1/perl5223delta.1*
%{_mandir}/man1/perl5224delta.1*
%{_mandir}/man1/perl5240delta.1*
%{_mandir}/man1/perl5241delta.1*
%{_mandir}/man1/perl5242delta.1*
%{_mandir}/man1/perl5243delta.1*
%{_mandir}/man1/perl5244delta.1*
%{_mandir}/man1/perl5260delta.1*
%{_mandir}/man1/perl5261delta.1*
%{_mandir}/man1/perl5262delta.1*
%{_mandir}/man1/perl5263delta.1*
%{_mandir}/man1/perl5280delta.1*
%{_mandir}/man1/perl5281delta.1*
%{_mandir}/man1/perl5282delta.1*
%{_mandir}/man1/perl5283delta.1*
%{_mandir}/man1/perl5300delta.1*
%{_mandir}/man1/perl5301delta.1*
%{_mandir}/man1/perl5302delta.1*
%{_mandir}/man1/perl5303delta.1*
%{_mandir}/man1/perl5320delta.1*
%{_mandir}/man1/perl5321delta.1*
%{_mandir}/man1/perl5340delta.1*
%{_mandir}/man1/perl5341delta.1*
%{_mandir}/man1/perl5342delta.1*
%{_mandir}/man1/perl5343delta.1*
%{_mandir}/man1/perl5360delta.1*
%{_mandir}/man1/perl5361delta.1*
%{_mandir}/man1/perl5362delta.1*
%{_mandir}/man1/perl5363delta.1*
%{_mandir}/man1/perl5380delta.1*
%{_mandir}/man1/perl5381delta.1*
%{_mandir}/man1/perl5382delta.1*
%{_mandir}/man1/perl5400delta.1*
%{_mandir}/man1/perl561delta.1*
%{_mandir}/man1/perl56delta.1*
%{_mandir}/man1/perl581delta.1*
%{_mandir}/man1/perl582delta.1*
%{_mandir}/man1/perl583delta.1*
%{_mandir}/man1/perl584delta.1*
%{_mandir}/man1/perl585delta.1*
%{_mandir}/man1/perl586delta.1*
%{_mandir}/man1/perl587delta.1*
%{_mandir}/man1/perl588delta.1*
%{_mandir}/man1/perl589delta.1*
%{_mandir}/man1/perl58delta.1*
%{_mandir}/man1/perlaix.1*
%{_mandir}/man1/perlamiga.1*
%{_mandir}/man1/perlandroid.1*
%{_mandir}/man1/perlapi.1*
%{_mandir}/man1/perlapio.1*
%{_mandir}/man1/perlartistic.1*
%{_mandir}/man1/perlbook.1*
%{_mandir}/man1/perlboot.1*
%{_mandir}/man1/perlbot.1*
%{_mandir}/man1/perlbs2000.1*
%{_mandir}/man1/perlbug.1*
%{_mandir}/man1/perlcall.1*
%{_mandir}/man1/perlcheat.1*
%{_mandir}/man1/perlclass.1*
%{_mandir}/man1/perlclassguts.1*
%{_mandir}/man1/perlclib.1*
%{_mandir}/man1/perlcn.1*
%{_mandir}/man1/perlcommunity.1*
%{_mandir}/man1/perlcygwin.1*
%{_mandir}/man1/perldata.1*
%{_mandir}/man1/perldbmfilter.1*
%{_mandir}/man1/perldebguts.1*
%{_mandir}/man1/perldebtut.1*
%{_mandir}/man1/perldebug.1*
%{_mandir}/man1/perldelta.1*
%{_mandir}/man1/perldeprecation.1*
%{_mandir}/man1/perldiag.1*
%{_mandir}/man1/perldoc.1*
%{_mandir}/man1/perldocstyle.1*
%{_mandir}/man1/perldsc.1*
%{_mandir}/man1/perldtrace.1*
%{_mandir}/man1/perlebcdic.1*
%{_mandir}/man1/perlembed.1*
%{_mandir}/man1/perlexperiment.1*
%{_mandir}/man1/perlfaq.1*
%{_mandir}/man1/perlfaq1.1*
%{_mandir}/man1/perlfaq2.1*
%{_mandir}/man1/perlfaq3.1*
%{_mandir}/man1/perlfaq4.1*
%{_mandir}/man1/perlfaq5.1*
%{_mandir}/man1/perlfaq6.1*
%{_mandir}/man1/perlfaq7.1*
%{_mandir}/man1/perlfaq8.1*
%{_mandir}/man1/perlfaq9.1*
%{_mandir}/man1/perlfilter.1*
%{_mandir}/man1/perlfork.1*
%{_mandir}/man1/perlform.1*
%{_mandir}/man1/perlfreebsd.1*
%{_mandir}/man1/perlfunc.1*
%{_mandir}/man1/perlgit.1*
%{_mandir}/man1/perlglossary.1*
%{_mandir}/man1/perlgov.1*
%{_mandir}/man1/perlgpl.1*
%{_mandir}/man1/perlguts.1*
%{_mandir}/man1/perlhack.1*
%{_mandir}/man1/perlhacktips.1*
%{_mandir}/man1/perlhacktut.1*
%{_mandir}/man1/perlhaiku.1*
%{_mandir}/man1/perlhist.1*
%{_mandir}/man1/perlhpux.1*
%{_mandir}/man1/perlhurd.1*
%{_mandir}/man1/perlintern.1*
%{_mandir}/man1/perlinterp.1*
%{_mandir}/man1/perlintro.1*
%{_mandir}/man1/perliol.1*
%{_mandir}/man1/perlipc.1*
%{_mandir}/man1/perlirix.1*
#%%{_mandir}/man1/perlivp.1*
%{_mandir}/man1/perljp.1*
%{_mandir}/man1/perlko.1*
%{_mandir}/man1/perllexwarn.1*
%{_mandir}/man1/perllinux.1*
%{_mandir}/man1/perllocale.1*
%{_mandir}/man1/perllol.1*
%{_mandir}/man1/perlmacosx.1*
%{_mandir}/man1/perlmod.1*
%{_mandir}/man1/perlmodinstall.1*
%{_mandir}/man1/perlmodlib.1*
%{_mandir}/man1/perlmodstyle.1*
%{_mandir}/man1/perlmroapi.1*
%{_mandir}/man1/perlnewmod.1*
%{_mandir}/man1/perlnumber.1*
%{_mandir}/man1/perlobj.1*
%{_mandir}/man1/perlootut.1*
%{_mandir}/man1/perlop.1*
%{_mandir}/man1/perlopenbsd.1*
%{_mandir}/man1/perlopentut.1*
%{_mandir}/man1/perlos2.1*
%{_mandir}/man1/perlos390.1*
%{_mandir}/man1/perlos400.1*
%{_mandir}/man1/perlpacktut.1*
%{_mandir}/man1/perlperf.1*
%{_mandir}/man1/perlplan9.1*
%{_mandir}/man1/perlpod.1*
%{_mandir}/man1/perlpodspec.1*
%{_mandir}/man1/perlpodstyle.1*
%{_mandir}/man1/perlpolicy.1*
%{_mandir}/man1/perlport.1*
%{_mandir}/man1/perlpragma.1*
%{_mandir}/man1/perlqnx.1*
%{_mandir}/man1/perlre.1*
%{_mandir}/man1/perlreapi.1*
%{_mandir}/man1/perlrebackslash.1*
%{_mandir}/man1/perlrecharclass.1*
%{_mandir}/man1/perlref.1*
%{_mandir}/man1/perlreftut.1*
%{_mandir}/man1/perlreguts.1*
%{_mandir}/man1/perlrepository.1*
%{_mandir}/man1/perlrequick.1*
%{_mandir}/man1/perlreref.1*
%{_mandir}/man1/perlretut.1*
%{_mandir}/man1/perlriscos.1*
%{_mandir}/man1/perlrun.1*
%{_mandir}/man1/perlsec.1*
%{_mandir}/man1/perlsecpolicy.1*
%{_mandir}/man1/perlsolaris.1*
%{_mandir}/man1/perlsource.1*
%{_mandir}/man1/perlstyle.1*
%{_mandir}/man1/perlsub.1*
%{_mandir}/man1/perlsyn.1*
%{_mandir}/man1/perlsynology.1*
%{_mandir}/man1/perlthanks.1*
%{_mandir}/man1/perlthrtut.1*
%{_mandir}/man1/perltie.1*
%{_mandir}/man1/perltoc.1*
%{_mandir}/man1/perltodo.1*
%{_mandir}/man1/perltooc.1*
%{_mandir}/man1/perltoot.1*
%{_mandir}/man1/perltrap.1*
%{_mandir}/man1/perltru64.1*
%{_mandir}/man1/perltw.1*
%{_mandir}/man1/perlunicode.1*
%{_mandir}/man1/perlunicook.1*
%{_mandir}/man1/perlunifaq.1*
%{_mandir}/man1/perluniintro.1*
%{_mandir}/man1/perluniprops.1*
%{_mandir}/man1/perlunitut.1*
%{_mandir}/man1/perlutil.1*
%{_mandir}/man1/perlvar.1*
%{_mandir}/man1/perlvms.1*
%{_mandir}/man1/perlvos.1*
%{_mandir}/man1/perlwin32.1*
%{_mandir}/man1/perlxs.1*
%{_mandir}/man1/perlxstut.1*
%{_mandir}/man1/perlxstypemap.1*
%{_mandir}/man1/piconv.1*
%{_mandir}/man1/pl2pm.1*
%{_mandir}/man1/pod2html.1*
%{_mandir}/man1/pod2man.1*
%{_mandir}/man1/pod2text.1*
%{_mandir}/man1/pod2usage.1*
%{_mandir}/man1/podchecker.1*
%{_mandir}/man1/prove.1*
%{_mandir}/man1/ptar.1*
%{_mandir}/man1/ptardiff.1*
%{_mandir}/man1/ptargrep.1*
%{_mandir}/man1/shasum.1*
%{_mandir}/man1/splain.1*
%{_mandir}/man1/streamzip.1*
%{_mandir}/man1/xsubpp.1*
%{_mandir}/man1/zipdetails.1*
%{_mandir}/man3/AnyDBM_File.3*
%{_mandir}/man3/App::Cpan.3*
%{_mandir}/man3/App::Prove.3*
%{_mandir}/man3/App::Prove::State.3*
%{_mandir}/man3/App::Prove::State::Result.3*
%{_mandir}/man3/App::Prove::State::Result::Test.3*
%{_mandir}/man3/Archive::Tar.3*
%{_mandir}/man3/Archive::Tar::File.3*
%{_mandir}/man3/Attribute::Handlers.3*
%{_mandir}/man3/AutoLoader.3*
%{_mandir}/man3/AutoSplit.3*
%{_mandir}/man3/B.3*
%{_mandir}/man3/B::Concise.3*
%{_mandir}/man3/B::Deparse.3*
%{_mandir}/man3/B::Op_private.3*
%{_mandir}/man3/B::Showlex.3*
%{_mandir}/man3/B::Terse.3*
%{_mandir}/man3/B::Xref.3*
%{_mandir}/man3/Benchmark.3*
%{_mandir}/man3/CORE.3*
%{_mandir}/man3/CPAN.3*
%{_mandir}/man3/CPAN::API::HOWTO.3*
%{_mandir}/man3/CPAN::Debug.3*
%{_mandir}/man3/CPAN::Distroprefs.3*
%{_mandir}/man3/CPAN::FirstTime.3*
%{_mandir}/man3/CPAN::HandleConfig.3*
%{_mandir}/man3/CPAN::Kwalify.3*
%{_mandir}/man3/CPAN::Meta.3*
%{_mandir}/man3/CPAN::Meta::Converter.3*
%{_mandir}/man3/CPAN::Meta::Feature.3*
%{_mandir}/man3/CPAN::Meta::History.3*
%{_mandir}/man3/CPAN::Meta::History::Meta_1_0.3*
%{_mandir}/man3/CPAN::Meta::History::Meta_1_1.3*
%{_mandir}/man3/CPAN::Meta::History::Meta_1_2.3*
%{_mandir}/man3/CPAN::Meta::History::Meta_1_3.3*
%{_mandir}/man3/CPAN::Meta::History::Meta_1_4.3*
%{_mandir}/man3/CPAN::Meta::Merge.3*
%{_mandir}/man3/CPAN::Meta::Prereqs.3*
%{_mandir}/man3/CPAN::Meta::Requirements.3*
%{_mandir}/man3/CPAN::Meta::Requirements::Range.3*
%{_mandir}/man3/CPAN::Meta::Spec.3*
%{_mandir}/man3/CPAN::Meta::Validator.3*
%{_mandir}/man3/CPAN::Meta::YAML.3*
%{_mandir}/man3/CPAN::Mirrors.3*
%{_mandir}/man3/CPAN::Nox.3*
%{_mandir}/man3/CPAN::Plugin.3*
%{_mandir}/man3/CPAN::Plugin::Specfile.3*
%{_mandir}/man3/CPAN::Queue.3*
%{_mandir}/man3/CPAN::Tarzip.3*
%{_mandir}/man3/CPAN::Version.3*
%{_mandir}/man3/Carp.3*
%{_mandir}/man3/Class::Struct.3*
%{_mandir}/man3/Compress::Raw::Bzip2.3*
%{_mandir}/man3/Compress::Raw::Zlib.3*
%{_mandir}/man3/Compress::Zlib.3*
%{_mandir}/man3/Config.3*
%{_mandir}/man3/Config::Extensions.3*
%{_mandir}/man3/Config::Perl::V.3*
%{_mandir}/man3/Cwd.3*
%{_mandir}/man3/DB.3*
%{_mandir}/man3/DBM_Filter.3*
%{_mandir}/man3/DBM_Filter::compress.3*
%{_mandir}/man3/DBM_Filter::encode.3*
%{_mandir}/man3/DBM_Filter::int32.3*
%{_mandir}/man3/DBM_Filter::null.3*
%{_mandir}/man3/DBM_Filter::utf8.3*
%{_mandir}/man3/Data::Dumper.3*
%{_mandir}/man3/Devel::PPPort.3*
%{_mandir}/man3/Devel::Peek.3*
%{_mandir}/man3/Devel::SelfStubber.3*
%{_mandir}/man3/Digest.3*
#%%{_mandir}/man3/Digest::MD5.3*
#%%{_mandir}/man3/Digest::SHA.3*
%{_mandir}/man3/Digest::base.3*
%{_mandir}/man3/Digest::file.3*
%{_mandir}/man3/DirHandle.3*
%{_mandir}/man3/Dumpvalue.3*
%{_mandir}/man3/DynaLoader.3*
%{_mandir}/man3/Encode.3*
%{_mandir}/man3/Encode::Alias.3*
%{_mandir}/man3/Encode::Byte.3*
%{_mandir}/man3/Encode::CJKConstants.3*
%{_mandir}/man3/Encode::CN.3*
%{_mandir}/man3/Encode::CN::HZ.3*
%{_mandir}/man3/Encode::Config.3*
%{_mandir}/man3/Encode::EBCDIC.3*
%{_mandir}/man3/Encode::Encoder.3*
%{_mandir}/man3/Encode::Encoding.3*
%{_mandir}/man3/Encode::GSM0338.3*
%{_mandir}/man3/Encode::Guess.3*
%{_mandir}/man3/Encode::JP.3*
%{_mandir}/man3/Encode::JP::H2Z.3*
%{_mandir}/man3/Encode::JP::JIS7.3*
%{_mandir}/man3/Encode::KR.3*
%{_mandir}/man3/Encode::KR::2022_KR.3*
%{_mandir}/man3/Encode::MIME::Header.3*
%{_mandir}/man3/Encode::MIME::Name.3*
%{_mandir}/man3/Encode::PerlIO.3*
%{_mandir}/man3/Encode::Supported.3*
%{_mandir}/man3/Encode::Symbol.3*
%{_mandir}/man3/Encode::TW.3*
%{_mandir}/man3/Encode::Unicode.3*
%{_mandir}/man3/Encode::Unicode::UTF7.3*
%{_mandir}/man3/English.3*
%{_mandir}/man3/Env.3*
%{_mandir}/man3/Errno.3*
%{_mandir}/man3/Exporter.3*
%{_mandir}/man3/Exporter::Heavy.3*
%{_mandir}/man3/ExtUtils::CBuilder.3*
%{_mandir}/man3/ExtUtils::CBuilder::Platform::Windows.3*
%{_mandir}/man3/ExtUtils::Command.3*
%{_mandir}/man3/ExtUtils::Command::MM.3*
%{_mandir}/man3/ExtUtils::Constant.3*
%{_mandir}/man3/ExtUtils::Constant::Base.3*
%{_mandir}/man3/ExtUtils::Constant::Utils.3*
%{_mandir}/man3/ExtUtils::Constant::XS.3*
%{_mandir}/man3/ExtUtils::Embed.3*
%{_mandir}/man3/ExtUtils::Install.3*
%{_mandir}/man3/ExtUtils::Installed.3*
%{_mandir}/man3/ExtUtils::Liblist.3*
%{_mandir}/man3/ExtUtils::MM.3*
%{_mandir}/man3/ExtUtils::MM_AIX.3*
%{_mandir}/man3/ExtUtils::MM_Any.3*
%{_mandir}/man3/ExtUtils::MM_BeOS.3*
%{_mandir}/man3/ExtUtils::MM_Cygwin.3*
%{_mandir}/man3/ExtUtils::MM_DOS.3*
%{_mandir}/man3/ExtUtils::MM_Darwin.3*
%{_mandir}/man3/ExtUtils::MM_MacOS.3*
%{_mandir}/man3/ExtUtils::MM_NW5.3*
%{_mandir}/man3/ExtUtils::MM_OS2.3*
%{_mandir}/man3/ExtUtils::MM_OS390.3*
%{_mandir}/man3/ExtUtils::MM_QNX.3*
%{_mandir}/man3/ExtUtils::MM_UWIN.3*
%{_mandir}/man3/ExtUtils::MM_Unix.3*
%{_mandir}/man3/ExtUtils::MM_VMS.3*
%{_mandir}/man3/ExtUtils::MM_VOS.3*
%{_mandir}/man3/ExtUtils::MM_Win32.3*
%{_mandir}/man3/ExtUtils::MM_Win95.3*
%{_mandir}/man3/ExtUtils::MY.3*
%{_mandir}/man3/ExtUtils::MakeMaker.3*
%{_mandir}/man3/ExtUtils::MakeMaker::Config.3*
%{_mandir}/man3/ExtUtils::MakeMaker::FAQ.3*
%{_mandir}/man3/ExtUtils::MakeMaker::Locale.3*
%{_mandir}/man3/ExtUtils::MakeMaker::Tutorial.3*
%{_mandir}/man3/ExtUtils::Manifest.3*
%{_mandir}/man3/ExtUtils::Miniperl.3*
%{_mandir}/man3/ExtUtils::Mkbootstrap.3*
%{_mandir}/man3/ExtUtils::Mksymlists.3*
%{_mandir}/man3/ExtUtils::PL2Bat.3*
%{_mandir}/man3/ExtUtils::Packlist.3*
%{_mandir}/man3/ExtUtils::ParseXS.3*
%{_mandir}/man3/ExtUtils::ParseXS::Constants.3*
%{_mandir}/man3/ExtUtils::ParseXS::Eval.3*
%{_mandir}/man3/ExtUtils::ParseXS::Utilities.3*
%{_mandir}/man3/ExtUtils::Typemaps.3*
%{_mandir}/man3/ExtUtils::Typemaps::Cmd.3*
%{_mandir}/man3/ExtUtils::Typemaps::InputMap.3*
%{_mandir}/man3/ExtUtils::Typemaps::OutputMap.3*
%{_mandir}/man3/ExtUtils::Typemaps::Type.3*
%{_mandir}/man3/ExtUtils::testlib.3*
%{_mandir}/man3/Fatal.3*
%{_mandir}/man3/Fcntl.3*
%{_mandir}/man3/File::Basename.3*
%{_mandir}/man3/File::Compare.3*
%{_mandir}/man3/File::Copy.3*
%{_mandir}/man3/File::DosGlob.3*
%{_mandir}/man3/File::Fetch.3*
%{_mandir}/man3/File::Find.3*
%{_mandir}/man3/File::Glob.3*
%{_mandir}/man3/File::GlobMapper.3*
%{_mandir}/man3/File::Path.3*
%{_mandir}/man3/File::Spec.3*
%{_mandir}/man3/File::Spec::AmigaOS.3*
%{_mandir}/man3/File::Spec::Cygwin.3*
%{_mandir}/man3/File::Spec::Epoc.3*
%{_mandir}/man3/File::Spec::Functions.3*
%{_mandir}/man3/File::Spec::Mac.3*
%{_mandir}/man3/File::Spec::OS2.3*
%{_mandir}/man3/File::Spec::Unix.3*
%{_mandir}/man3/File::Spec::VMS.3*
%{_mandir}/man3/File::Spec::Win32.3*
%{_mandir}/man3/File::Temp.3*
%{_mandir}/man3/File::stat.3*
%{_mandir}/man3/FileCache.3*
%{_mandir}/man3/FileHandle.3*
%{_mandir}/man3/Filter::Simple.3*
%{_mandir}/man3/Filter::Util::Call.3*
%{_mandir}/man3/FindBin.3*
%{_mandir}/man3/GDBM_File.3*
%{_mandir}/man3/Getopt::Long.3*
%{_mandir}/man3/Getopt::Long::Parser.3*
%{_mandir}/man3/Getopt::Std.3*
%{_mandir}/man3/HTTP::Tiny.3*
%{_mandir}/man3/Hash::Util.3*
%{_mandir}/man3/Hash::Util::FieldHash.3*
%{_mandir}/man3/I18N::Collate.3*
%{_mandir}/man3/I18N::LangTags.3*
%{_mandir}/man3/I18N::LangTags::Detect.3*
%{_mandir}/man3/I18N::LangTags::List.3*
%{_mandir}/man3/I18N::Langinfo.3*
%{_mandir}/man3/IO.3*
%{_mandir}/man3/IO::Compress::Base.3*
%{_mandir}/man3/IO::Compress::Bzip2.3*
%{_mandir}/man3/IO::Compress::Deflate.3*
%{_mandir}/man3/IO::Compress::FAQ.3*
%{_mandir}/man3/IO::Compress::Gzip.3*
%{_mandir}/man3/IO::Compress::RawDeflate.3*
%{_mandir}/man3/IO::Compress::Zip.3*
%{_mandir}/man3/IO::Dir.3*
%{_mandir}/man3/IO::File.3*
%{_mandir}/man3/IO::Handle.3*
%{_mandir}/man3/IO::Pipe.3*
%{_mandir}/man3/IO::Poll.3*
%{_mandir}/man3/IO::Seekable.3*
%{_mandir}/man3/IO::Select.3*
%{_mandir}/man3/IO::Socket.3*
%{_mandir}/man3/IO::Socket::INET.3*
%{_mandir}/man3/IO::Socket::IP.3*
%{_mandir}/man3/IO::Socket::UNIX.3*
%{_mandir}/man3/IO::Uncompress::AnyInflate.3*
%{_mandir}/man3/IO::Uncompress::AnyUncompress.3*
%{_mandir}/man3/IO::Uncompress::Base.3*
%{_mandir}/man3/IO::Uncompress::Bunzip2.3*
%{_mandir}/man3/IO::Uncompress::Gunzip.3*
%{_mandir}/man3/IO::Uncompress::Inflate.3*
%{_mandir}/man3/IO::Uncompress::RawInflate.3*
%{_mandir}/man3/IO::Uncompress::Unzip.3*
%{_mandir}/man3/IO::Zlib.3*
%{_mandir}/man3/IPC::Cmd.3*
%{_mandir}/man3/IPC::Msg.3*
%{_mandir}/man3/IPC::Open2.3*
%{_mandir}/man3/IPC::Open3.3*
%{_mandir}/man3/IPC::Semaphore.3*
%{_mandir}/man3/IPC::SharedMem.3*
%{_mandir}/man3/IPC::SysV.3*
%{_mandir}/man3/Internals.3*
%{_mandir}/man3/JSON::PP.3*
%{_mandir}/man3/JSON::PP::Boolean.3*
%{_mandir}/man3/List::Util.3*
%{_mandir}/man3/List::Util::XS.3*
%{_mandir}/man3/Locale::Maketext.3*
%{_mandir}/man3/Locale::Maketext::Cookbook.3*
%{_mandir}/man3/Locale::Maketext::Guts.3*
%{_mandir}/man3/Locale::Maketext::GutsLoader.3*
%{_mandir}/man3/Locale::Maketext::Simple.3*
%{_mandir}/man3/Locale::Maketext::TPJ13.3*
%{_mandir}/man3/MIME::Base64.3*
%{_mandir}/man3/MIME::QuotedPrint.3*
%{_mandir}/man3/Math::BigFloat.3*
%{_mandir}/man3/Math::BigInt.3*
%{_mandir}/man3/Math::BigInt::Calc.3*
%{_mandir}/man3/Math::BigInt::FastCalc.3*
%{_mandir}/man3/Math::BigInt::Lib.3*
%{_mandir}/man3/Math::BigRat.3*
%{_mandir}/man3/Math::Complex.3*
%{_mandir}/man3/Math::Trig.3*
%{_mandir}/man3/Memoize.3*
%{_mandir}/man3/Memoize::AnyDBM_File.3*
%{_mandir}/man3/Memoize::Expire.3*
#%%{_mandir}/man3/Memoize::ExpireFile.3*
#%%{_mandir}/man3/Memoize::ExpireTest.3*
%{_mandir}/man3/Memoize::NDBM_File.3*
%{_mandir}/man3/Memoize::SDBM_File.3*
%{_mandir}/man3/Memoize::Storable.3*
%{_mandir}/man3/Module::CoreList.3*
%{_mandir}/man3/Module::CoreList::Utils.3*
%{_mandir}/man3/Module::Load.3*
%{_mandir}/man3/Module::Load::Conditional.3*
%{_mandir}/man3/Module::Loaded.3*
%{_mandir}/man3/Module::Metadata.3*
%{_mandir}/man3/NDBM_File.3*
%{_mandir}/man3/NEXT.3*
%{_mandir}/man3/Net::Cmd.3*
%{_mandir}/man3/Net::Config.3*
%{_mandir}/man3/Net::Domain.3*
%{_mandir}/man3/Net::FTP.3*
%{_mandir}/man3/Net::NNTP.3*
%{_mandir}/man3/Net::Netrc.3*
%{_mandir}/man3/Net::POP3.3*
%{_mandir}/man3/Net::Ping.3*
%{_mandir}/man3/Net::SMTP.3*
%{_mandir}/man3/Net::Time.3*
%{_mandir}/man3/Net::hostent.3*
%{_mandir}/man3/Net::libnetFAQ.3*
%{_mandir}/man3/Net::netent.3*
%{_mandir}/man3/Net::protoent.3*
%{_mandir}/man3/Net::servent.3*
%{_mandir}/man3/O.3*
%{_mandir}/man3/ODBM_File.3*
%{_mandir}/man3/Opcode.3*
%{_mandir}/man3/POSIX.3*
%{_mandir}/man3/Params::Check.3*
%{_mandir}/man3/Parse::CPAN::Meta.3*
%{_mandir}/man3/Perl::OSType.3*
%{_mandir}/man3/PerlIO.3*
%{_mandir}/man3/PerlIO::encoding.3*
%{_mandir}/man3/PerlIO::mmap.3*
%{_mandir}/man3/PerlIO::scalar.3*
%{_mandir}/man3/PerlIO::via.3*
%{_mandir}/man3/PerlIO::via::QuotedPrint.3*
%{_mandir}/man3/Pod::Checker.3*
%{_mandir}/man3/Pod::Escapes.3*
%{_mandir}/man3/Pod::Html.3*
%{_mandir}/man3/Pod::Html::Util.3*
%{_mandir}/man3/Pod::Man.3*
%{_mandir}/man3/Pod::ParseLink.3*
%{_mandir}/man3/Pod::Perldoc.3*
%{_mandir}/man3/Pod::Perldoc::BaseTo.3*
%{_mandir}/man3/Pod::Perldoc::GetOptsOO.3*
%{_mandir}/man3/Pod::Perldoc::ToANSI.3*
%{_mandir}/man3/Pod::Perldoc::ToChecker.3*
%{_mandir}/man3/Pod::Perldoc::ToMan.3*
%{_mandir}/man3/Pod::Perldoc::ToNroff.3*
%{_mandir}/man3/Pod::Perldoc::ToPod.3*
%{_mandir}/man3/Pod::Perldoc::ToRtf.3*
%{_mandir}/man3/Pod::Perldoc::ToTerm.3*
%{_mandir}/man3/Pod::Perldoc::ToText.3*
%{_mandir}/man3/Pod::Perldoc::ToTk.3*
%{_mandir}/man3/Pod::Perldoc::ToXml.3*
%{_mandir}/man3/Pod::Simple.3*
%{_mandir}/man3/Pod::Simple::Checker.3*
%{_mandir}/man3/Pod::Simple::Debug.3*
%{_mandir}/man3/Pod::Simple::DumpAsText.3*
%{_mandir}/man3/Pod::Simple::DumpAsXML.3*
%{_mandir}/man3/Pod::Simple::HTML.3*
%{_mandir}/man3/Pod::Simple::HTMLBatch.3*
%{_mandir}/man3/Pod::Simple::JustPod.3*
%{_mandir}/man3/Pod::Simple::LinkSection.3*
%{_mandir}/man3/Pod::Simple::Methody.3*
%{_mandir}/man3/Pod::Simple::PullParser.3*
%{_mandir}/man3/Pod::Simple::PullParserEndToken.3*
%{_mandir}/man3/Pod::Simple::PullParserStartToken.3*
%{_mandir}/man3/Pod::Simple::PullParserTextToken.3*
%{_mandir}/man3/Pod::Simple::PullParserToken.3*
%{_mandir}/man3/Pod::Simple::RTF.3*
%{_mandir}/man3/Pod::Simple::Search.3*
%{_mandir}/man3/Pod::Simple::SimpleTree.3*
%{_mandir}/man3/Pod::Simple::Subclassing.3*
%{_mandir}/man3/Pod::Simple::Text.3*
%{_mandir}/man3/Pod::Simple::TextContent.3*
%{_mandir}/man3/Pod::Simple::XHTML.3*
%{_mandir}/man3/Pod::Simple::XMLOutStream.3*
%{_mandir}/man3/Pod::Text.3*
%{_mandir}/man3/Pod::Text::Color.3*
%{_mandir}/man3/Pod::Text::Overstrike.3*
%{_mandir}/man3/Pod::Text::Termcap.3*
%{_mandir}/man3/Pod::Usage.3*
%{_mandir}/man3/SDBM_File.3*
%{_mandir}/man3/Safe.3*
%{_mandir}/man3/Scalar::Util.3*
%{_mandir}/man3/Search::Dict.3*
%{_mandir}/man3/SelectSaver.3*
%{_mandir}/man3/SelfLoader.3*
%{_mandir}/man3/Socket.3*
%{_mandir}/man3/Storable.3*
%{_mandir}/man3/Sub::Util.3*
%{_mandir}/man3/Symbol.3*
%{_mandir}/man3/Sys::Hostname.3*
%{_mandir}/man3/Sys::Syslog.3*
%{_mandir}/man3/TAP::Base.3*
%{_mandir}/man3/TAP::Formatter::Base.3*
%{_mandir}/man3/TAP::Formatter::Color.3*
%{_mandir}/man3/TAP::Formatter::Console.3*
%{_mandir}/man3/TAP::Formatter::Console::ParallelSession.3*
%{_mandir}/man3/TAP::Formatter::Console::Session.3*
%{_mandir}/man3/TAP::Formatter::File.3*
%{_mandir}/man3/TAP::Formatter::File::Session.3*
%{_mandir}/man3/TAP::Formatter::Session.3*
%{_mandir}/man3/TAP::Harness.3*
%{_mandir}/man3/TAP::Harness::Beyond.3*
%{_mandir}/man3/TAP::Harness::Env.3*
%{_mandir}/man3/TAP::Object.3*
%{_mandir}/man3/TAP::Parser.3*
%{_mandir}/man3/TAP::Parser::Aggregator.3*
%{_mandir}/man3/TAP::Parser::Grammar.3*
%{_mandir}/man3/TAP::Parser::Iterator.3*
%{_mandir}/man3/TAP::Parser::Iterator::Array.3*
%{_mandir}/man3/TAP::Parser::Iterator::Process.3*
%{_mandir}/man3/TAP::Parser::Iterator::Stream.3*
%{_mandir}/man3/TAP::Parser::IteratorFactory.3*
%{_mandir}/man3/TAP::Parser::Multiplexer.3*
%{_mandir}/man3/TAP::Parser::Result.3*
%{_mandir}/man3/TAP::Parser::Result::Bailout.3*
%{_mandir}/man3/TAP::Parser::Result::Comment.3*
%{_mandir}/man3/TAP::Parser::Result::Plan.3*
%{_mandir}/man3/TAP::Parser::Result::Pragma.3*
%{_mandir}/man3/TAP::Parser::Result::Test.3*
%{_mandir}/man3/TAP::Parser::Result::Unknown.3*
%{_mandir}/man3/TAP::Parser::Result::Version.3*
%{_mandir}/man3/TAP::Parser::Result::YAML.3*
%{_mandir}/man3/TAP::Parser::ResultFactory.3*
%{_mandir}/man3/TAP::Parser::Scheduler.3*
%{_mandir}/man3/TAP::Parser::Scheduler::Job.3*
%{_mandir}/man3/TAP::Parser::Scheduler::Spinner.3*
%{_mandir}/man3/TAP::Parser::Source.3*
%{_mandir}/man3/TAP::Parser::SourceHandler.3*
%{_mandir}/man3/TAP::Parser::SourceHandler::Executable.3*
%{_mandir}/man3/TAP::Parser::SourceHandler::File.3*
%{_mandir}/man3/TAP::Parser::SourceHandler::Handle.3*
%{_mandir}/man3/TAP::Parser::SourceHandler::Perl.3*
%{_mandir}/man3/TAP::Parser::SourceHandler::RawTAP.3*
%{_mandir}/man3/TAP::Parser::YAMLish::Reader.3*
%{_mandir}/man3/TAP::Parser::YAMLish::Writer.3*
%{_mandir}/man3/Term::ANSIColor.3*
%{_mandir}/man3/Term::Cap.3*
%{_mandir}/man3/Term::Complete.3*
%{_mandir}/man3/Term::ReadLine.3*
%{_mandir}/man3/Term::Table.3*
%{_mandir}/man3/Term::Table::Cell.3*
%{_mandir}/man3/Term::Table::CellStack.3*
%{_mandir}/man3/Term::Table::HashBase.3*
%{_mandir}/man3/Term::Table::LineBreak.3*
%{_mandir}/man3/Term::Table::Util.3*
%{_mandir}/man3/Test.3*
%{_mandir}/man3/Test2.3*
%{_mandir}/man3/Test2::API.3*
%{_mandir}/man3/Test2::API::Breakage.3*
%{_mandir}/man3/Test2::API::Context.3*
%{_mandir}/man3/Test2::API::Instance.3*
%{_mandir}/man3/Test2::API::InterceptResult.3*
%{_mandir}/man3/Test2::API::InterceptResult::Event.3*
%{_mandir}/man3/Test2::API::InterceptResult::Hub.3*
%{_mandir}/man3/Test2::API::InterceptResult::Squasher.3*
%{_mandir}/man3/Test2::API::Stack.3*
%{_mandir}/man3/Test2::AsyncSubtest.3*
%{_mandir}/man3/Test2::AsyncSubtest::Event::Attach.3*
%{_mandir}/man3/Test2::AsyncSubtest::Event::Detach.3*
%{_mandir}/man3/Test2::AsyncSubtest::Hub.3*
%{_mandir}/man3/Test2::Bundle.3*
%{_mandir}/man3/Test2::Bundle::Extended.3*
%{_mandir}/man3/Test2::Bundle::More.3*
%{_mandir}/man3/Test2::Bundle::Simple.3*
%{_mandir}/man3/Test2::Compare.3*
%{_mandir}/man3/Test2::Compare::Array.3*
%{_mandir}/man3/Test2::Compare::Bag.3*
%{_mandir}/man3/Test2::Compare::Base.3*
%{_mandir}/man3/Test2::Compare::Bool.3*
%{_mandir}/man3/Test2::Compare::Custom.3*
%{_mandir}/man3/Test2::Compare::DeepRef.3*
%{_mandir}/man3/Test2::Compare::Delta.3*
%{_mandir}/man3/Test2::Compare::Event.3*
%{_mandir}/man3/Test2::Compare::EventMeta.3*
%{_mandir}/man3/Test2::Compare::Float.3*
%{_mandir}/man3/Test2::Compare::Hash.3*
%{_mandir}/man3/Test2::Compare::Isa.3*
%{_mandir}/man3/Test2::Compare::Meta.3*
%{_mandir}/man3/Test2::Compare::Negatable.3*
%{_mandir}/man3/Test2::Compare::Number.3*
%{_mandir}/man3/Test2::Compare::Object.3*
%{_mandir}/man3/Test2::Compare::OrderedSubset.3*
%{_mandir}/man3/Test2::Compare::Pattern.3*
%{_mandir}/man3/Test2::Compare::Ref.3*
%{_mandir}/man3/Test2::Compare::Regex.3*
%{_mandir}/man3/Test2::Compare::Scalar.3*
%{_mandir}/man3/Test2::Compare::Set.3*
%{_mandir}/man3/Test2::Compare::String.3*
%{_mandir}/man3/Test2::Compare::Undef.3*
%{_mandir}/man3/Test2::Compare::Wildcard.3*
%{_mandir}/man3/Test2::Event.3*
%{_mandir}/man3/Test2::Event::Bail.3*
%{_mandir}/man3/Test2::Event::Diag.3*
%{_mandir}/man3/Test2::Event::Encoding.3*
%{_mandir}/man3/Test2::Event::Exception.3*
%{_mandir}/man3/Test2::Event::Fail.3*
%{_mandir}/man3/Test2::Event::Generic.3*
%{_mandir}/man3/Test2::Event::Note.3*
%{_mandir}/man3/Test2::Event::Ok.3*
%{_mandir}/man3/Test2::Event::Pass.3*
%{_mandir}/man3/Test2::Event::Plan.3*
%{_mandir}/man3/Test2::Event::Skip.3*
%{_mandir}/man3/Test2::Event::Subtest.3*
%{_mandir}/man3/Test2::Event::TAP::Version.3*
%{_mandir}/man3/Test2::Event::V2.3*
%{_mandir}/man3/Test2::Event::Waiting.3*
%{_mandir}/man3/Test2::EventFacet.3*
%{_mandir}/man3/Test2::EventFacet::About.3*
%{_mandir}/man3/Test2::EventFacet::Amnesty.3*
%{_mandir}/man3/Test2::EventFacet::Assert.3*
%{_mandir}/man3/Test2::EventFacet::Control.3*
%{_mandir}/man3/Test2::EventFacet::Error.3*
%{_mandir}/man3/Test2::EventFacet::Hub.3*
%{_mandir}/man3/Test2::EventFacet::Info.3*
%{_mandir}/man3/Test2::EventFacet::Info::Table.3*
%{_mandir}/man3/Test2::EventFacet::Meta.3*
%{_mandir}/man3/Test2::EventFacet::Parent.3*
%{_mandir}/man3/Test2::EventFacet::Plan.3*
%{_mandir}/man3/Test2::EventFacet::Render.3*
%{_mandir}/man3/Test2::EventFacet::Trace.3*
%{_mandir}/man3/Test2::Formatter.3*
%{_mandir}/man3/Test2::Formatter::TAP.3*
%{_mandir}/man3/Test2::Hub.3*
%{_mandir}/man3/Test2::Hub::Interceptor.3*
%{_mandir}/man3/Test2::Hub::Interceptor::Terminator.3*
%{_mandir}/man3/Test2::Hub::Subtest.3*
%{_mandir}/man3/Test2::IPC.3*
%{_mandir}/man3/Test2::IPC::Driver.3*
%{_mandir}/man3/Test2::IPC::Driver::Files.3*
%{_mandir}/man3/Test2::Manual.3*
%{_mandir}/man3/Test2::Manual::Anatomy.3*
%{_mandir}/man3/Test2::Manual::Anatomy::API.3*
%{_mandir}/man3/Test2::Manual::Anatomy::Context.3*
%{_mandir}/man3/Test2::Manual::Anatomy::EndToEnd.3*
%{_mandir}/man3/Test2::Manual::Anatomy::Event.3*
%{_mandir}/man3/Test2::Manual::Anatomy::Hubs.3*
%{_mandir}/man3/Test2::Manual::Anatomy::IPC.3*
%{_mandir}/man3/Test2::Manual::Anatomy::Utilities.3*
%{_mandir}/man3/Test2::Manual::Concurrency.3*
%{_mandir}/man3/Test2::Manual::Contributing.3*
%{_mandir}/man3/Test2::Manual::Testing.3*
%{_mandir}/man3/Test2::Manual::Testing::Introduction.3*
%{_mandir}/man3/Test2::Manual::Testing::Migrating.3*
%{_mandir}/man3/Test2::Manual::Testing::Planning.3*
%{_mandir}/man3/Test2::Manual::Testing::Todo.3*
%{_mandir}/man3/Test2::Manual::Tooling.3*
%{_mandir}/man3/Test2::Manual::Tooling::FirstTool.3*
%{_mandir}/man3/Test2::Manual::Tooling::Formatter.3*
%{_mandir}/man3/Test2::Manual::Tooling::Nesting.3*
%{_mandir}/man3/Test2::Manual::Tooling::Plugin::TestExit.3*
%{_mandir}/man3/Test2::Manual::Tooling::Plugin::TestingDone.3*
%{_mandir}/man3/Test2::Manual::Tooling::Plugin::ToolCompletes.3*
%{_mandir}/man3/Test2::Manual::Tooling::Plugin::ToolStarts.3*
%{_mandir}/man3/Test2::Manual::Tooling::Subtest.3*
%{_mandir}/man3/Test2::Manual::Tooling::TestBuilder.3*
%{_mandir}/man3/Test2::Manual::Tooling::Testing.3*
%{_mandir}/man3/Test2::Mock.3*
%{_mandir}/man3/Test2::Plugin.3*
%{_mandir}/man3/Test2::Plugin::BailOnFail.3*
%{_mandir}/man3/Test2::Plugin::DieOnFail.3*
%{_mandir}/man3/Test2::Plugin::ExitSummary.3*
%{_mandir}/man3/Test2::Plugin::SRand.3*
%{_mandir}/man3/Test2::Plugin::Times.3*
%{_mandir}/man3/Test2::Plugin::UTF8.3*
%{_mandir}/man3/Test2::Require.3*
%{_mandir}/man3/Test2::Require::AuthorTesting.3*
%{_mandir}/man3/Test2::Require::AutomatedTesting.3*
%{_mandir}/man3/Test2::Require::EnvVar.3*
%{_mandir}/man3/Test2::Require::ExtendedTesting.3*
%{_mandir}/man3/Test2::Require::Fork.3*
%{_mandir}/man3/Test2::Require::Module.3*
%{_mandir}/man3/Test2::Require::NonInteractiveTesting.3*
%{_mandir}/man3/Test2::Require::Perl.3*
%{_mandir}/man3/Test2::Require::RealFork.3*
%{_mandir}/man3/Test2::Require::ReleaseTesting.3*
%{_mandir}/man3/Test2::Require::Threads.3*
%{_mandir}/man3/Test2::Suite.3*
%{_mandir}/man3/Test2::Todo.3*
%{_mandir}/man3/Test2::Tools.3*
%{_mandir}/man3/Test2::Tools::AsyncSubtest.3*
%{_mandir}/man3/Test2::Tools::Basic.3*
%{_mandir}/man3/Test2::Tools::Class.3*
%{_mandir}/man3/Test2::Tools::ClassicCompare.3*
%{_mandir}/man3/Test2::Tools::Compare.3*
%{_mandir}/man3/Test2::Tools::Defer.3*
%{_mandir}/man3/Test2::Tools::Encoding.3*
%{_mandir}/man3/Test2::Tools::Event.3*
%{_mandir}/man3/Test2::Tools::Exception.3*
%{_mandir}/man3/Test2::Tools::Exports.3*
%{_mandir}/man3/Test2::Tools::GenTemp.3*
%{_mandir}/man3/Test2::Tools::Grab.3*
%{_mandir}/man3/Test2::Tools::Mock.3*
%{_mandir}/man3/Test2::Tools::Ref.3*
%{_mandir}/man3/Test2::Tools::Refcount.3*
%{_mandir}/man3/Test2::Tools::Spec.3*
%{_mandir}/man3/Test2::Tools::Subtest.3*
%{_mandir}/man3/Test2::Tools::Target.3*
%{_mandir}/man3/Test2::Tools::Tester.3*
%{_mandir}/man3/Test2::Tools::Warnings.3*
%{_mandir}/man3/Test2::Tools::Tiny.3*
%{_mandir}/man3/Test2::Transition.3*
%{_mandir}/man3/Test2::Util.3*
%{_mandir}/man3/Test2::Util::ExternalMeta.3*
%{_mandir}/man3/Test2::Util::Facets2Legacy.3*
%{_mandir}/man3/Test2::Util::Grabber.3.*
%{_mandir}/man3/Test2::Util::Guard.3*
%{_mandir}/man3/Test2::Util::HashBase.3*
%{_mandir}/man3/Test2::Util::Importer.3*
%{_mandir}/man3/Test2::Util::Ref.3*
%{_mandir}/man3/Test2::Util::Stash.3*
%{_mandir}/man3/Test2::Util::Sub.3*
%{_mandir}/man3/Test2::Util::Table.3*
%{_mandir}/man3/Test2::Util::Table::LineBreak.3*
%{_mandir}/man3/Test2::Util::Times.3*
%{_mandir}/man3/Test2::Util::Trace.3*
%{_mandir}/man3/Test2::V0.3*
%{_mandir}/man3/Test2::Workflow.3*
%{_mandir}/man3/Test2::Workflow::BlockBase.3*
%{_mandir}/man3/Test2::Workflow::Build.3*
%{_mandir}/man3/Test2::Workflow::Runner.3*
%{_mandir}/man3/Test2::Workflow::Task.3*
%{_mandir}/man3/Test2::Workflow::Task::Action.3*
%{_mandir}/man3/Test2::Workflow::Task::Group.3*
%{_mandir}/man3/Test::Builder.3*
%{_mandir}/man3/Test::Builder::Formatter.3*
%{_mandir}/man3/Test::Builder::IO::Scalar.3*
%{_mandir}/man3/Test::Builder::Module.3*
%{_mandir}/man3/Test::Builder::Tester.3*
%{_mandir}/man3/Test::Builder::Tester::Color.3*
%{_mandir}/man3/Test::Builder::TodoDiag.3*
%{_mandir}/man3/Test::Harness.3*
%{_mandir}/man3/Test::More.3*
%{_mandir}/man3/Test::Simple.3*
%{_mandir}/man3/Test::Tester.3*
%{_mandir}/man3/Test::Tester::Capture.3*
%{_mandir}/man3/Test::Tester::CaptureRunner.3*
%{_mandir}/man3/Test::Tutorial.3*
%{_mandir}/man3/Test::use::ok.3*
%{_mandir}/man3/Text::Abbrev.3*
%{_mandir}/man3/Text::Balanced.3*
%{_mandir}/man3/Text::ParseWords.3*
%{_mandir}/man3/Text::Tabs.3*
%{_mandir}/man3/Text::Wrap.3*
%{_mandir}/man3/Thread.3*
%{_mandir}/man3/Thread::Queue.3*
%{_mandir}/man3/Thread::Semaphore.3*
%{_mandir}/man3/Tie::Array.3*
%{_mandir}/man3/Tie::File.3*
%{_mandir}/man3/Tie::Handle.3*
%{_mandir}/man3/Tie::Hash.3*
%{_mandir}/man3/Tie::Hash::NamedCapture.3*
%{_mandir}/man3/Tie::Memoize.3*
%{_mandir}/man3/Tie::RefHash.3*
%{_mandir}/man3/Tie::Scalar.3*
%{_mandir}/man3/Tie::StdHandle.3*
%{_mandir}/man3/Tie::SubstrHash.3*
%{_mandir}/man3/Time::HiRes.3*
%{_mandir}/man3/Time::Local.3*
%{_mandir}/man3/Time::Piece.3*
%{_mandir}/man3/Time::Seconds.3*
%{_mandir}/man3/Time::gmtime.3*
%{_mandir}/man3/Time::localtime.3*
%{_mandir}/man3/Time::tm.3*
%{_mandir}/man3/UNIVERSAL.3*
%{_mandir}/man3/Unicode::Collate.3*
%{_mandir}/man3/Unicode::Collate::CJK::Big5.3*
%{_mandir}/man3/Unicode::Collate::CJK::GB2312.3*
%{_mandir}/man3/Unicode::Collate::CJK::JISX0208.3*
%{_mandir}/man3/Unicode::Collate::CJK::Korean.3*
%{_mandir}/man3/Unicode::Collate::CJK::Pinyin.3*
%{_mandir}/man3/Unicode::Collate::CJK::Stroke.3*
%{_mandir}/man3/Unicode::Collate::CJK::Zhuyin.3*
%{_mandir}/man3/Unicode::Collate::Locale.3*
%{_mandir}/man3/Unicode::Normalize.3*
%{_mandir}/man3/Unicode::UCD.3*
%{_mandir}/man3/User::grent.3*
%{_mandir}/man3/User::pwent.3*
%{_mandir}/man3/XSLoader.3*
%{_mandir}/man3/attributes.3*
%{_mandir}/man3/autodie.3*
%{_mandir}/man3/autodie::Scope::Guard.3*
%{_mandir}/man3/autodie::Scope::GuardStack.3*
%{_mandir}/man3/autodie::Util.3*
%{_mandir}/man3/autodie::exception.3*
%{_mandir}/man3/autodie::exception::system.3*
%{_mandir}/man3/autodie::hints.3*
%{_mandir}/man3/autodie::skip.3*
%{_mandir}/man3/autouse.3*
%{_mandir}/man3/base.3*
%{_mandir}/man3/bigfloat.3*
%{_mandir}/man3/bigint.3*
%{_mandir}/man3/bignum.3*
%{_mandir}/man3/bigrat.3*
%{_mandir}/man3/blib.3*
%{_mandir}/man3/builtin.3*
%{_mandir}/man3/bytes.3*
%{_mandir}/man3/charnames.3*
%{_mandir}/man3/constant.3*
%{_mandir}/man3/deprecate.3*
%{_mandir}/man3/diagnostics.3*
%{_mandir}/man3/encoding.3*
%{_mandir}/man3/encoding::warnings.3*
%{_mandir}/man3/experimental.3*
%{_mandir}/man3/feature.3*
%{_mandir}/man3/fields.3*
%{_mandir}/man3/filetest.3*
%{_mandir}/man3/if.3*
%{_mandir}/man3/integer.3*
%{_mandir}/man3/less.3*
%{_mandir}/man3/lib.3*
%{_mandir}/man3/locale.3*
%{_mandir}/man3/mro.3*
%{_mandir}/man3/ok.3*
%{_mandir}/man3/open.3*
%{_mandir}/man3/ops.3*
%{_mandir}/man3/overload.3*
%{_mandir}/man3/overloading.3*
%{_mandir}/man3/parent.3*
%{_mandir}/man3/re.3*
%{_mandir}/man3/sigtrap.3*
%{_mandir}/man3/sort.3*
%{_mandir}/man3/stable.3*
%{_mandir}/man3/strict.3*
%{_mandir}/man3/subs.3*
%{_mandir}/man3/threads.3*
%{_mandir}/man3/threads::shared.3*
#%%{_mandir}/man3/unicore::Name.3*
%{_mandir}/man3/utf8.3*
%{_mandir}/man3/vars.3*
%{_mandir}/man3/version.3*
%{_mandir}/man3/version::Internals.3*
%{_mandir}/man3/vmsish.3*
%{_mandir}/man3/warnings.3*
%{_mandir}/man3/warnings::register.3*

View File

@ -0,0 +1,20 @@
# Version definitions
%perl5_version 5.40
# General macros
%__perl /usr/bin/perl
%perl5 %__perl
%perl5_corelib %{_prefix}/lib/perl5/%{perl5_version}/core_perl
%perl5_corearch %{_libdir}/perl5/%{perl5_version}/core_perl
%perl5_sitelib %{_prefix}/lib/perl5/%{perl5_version}/site_perl
%perl5_sitearch %{_libdir}/perl5/%{perl5_version}/site_perl
%perl5_vendorlib %{_prefix}/lib/perl5/%{perl5_version}/vendor_perl
%perl5_vendorarch %{_libdir}/perl5/%{perl5_version}/vendor_perl
# License macro
%perl5_cpanlic %{_datadir}/licenses-cpan-common
# API/ABI specific macros
%perl5_os_platform %{_arch}-linux-gnu
%perl5_API Perl-%{perl5_version}
%perl5_ABI %{perl5_API}-%{perl5_os_platform}

View File

@ -0,0 +1,19 @@
##### Begin Python3 Macros
# This file should be owned by the python3-devel package
# and should not be modified.
#
# Version definitions
%python3_version 3.12
%python3_nodots 312
# General macros
%__python3 /usr/bin/python3
%python3 %__python3
%python3_sitelib /usr/lib/python%{python3_version}/site-packages
%python3_sitearch /usr/lib/python%{python3_version}/site-packages
%python3_platform linux-%{_arch}
# YJL specific macros
%python3_os_platform %{_arch}-linux-gnu
%python3_API Python-%{python3_version}
%python3_ABI %{python3_API}-%{python3_os_platform}
#
#### End Python3 Macros

342
SPECS/bash.spec Normal file
View File

@ -0,0 +1,342 @@
%global bashv 5.2.37
%global bcompv 2.11
%global bcompdir %{_datadir}/bash-completion
%if 0%{?!insinfo:1} == 1
%global insinfo /sbin/install-info
%endif
Name: bash
Version: 5.2.37
Release: %{?repo}0.rc1%{?dist}
Summary: The Bourne Again Shell
Group: System Environment/Shells
License: GPL-3.0-or-later and GPL-2.0-or-later
URL: https://gnu.org/software/bash
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Source1: https://github.com/scop/bash-completion/releases/download/%{bcompv}/bash-completion-%{bcompv}.tar.xz
# These are from BLFS - https://www.linuxfromscratch.org/blfs/view/stable/postlfs/profile.html 2023-03-11
Source11: bash-profile
Source12: bash-bashrc
BuildRequires: readline-devel
BuildRequires: ncurses-devel
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
Provides: bash-completion
%description
Bash is a Unix shell and scripting language developed for the GNU project as a
replacement for the Bourne shell. Bash is the stanard shell for the GNU/Linux
operating system.
This package also includes bash-completion %{bcompv}.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Provides: bash-completion-devel
%description devel
This package includes the headers and related files needed to build software
that uses bash.
%prep
%setup -c -q
tar -xf %{SOURCE1}
%build
cd bash-%{bashv}
%configure \
--bindir=/bin \
--without-bash-malloc \
--with-installed-readline
# --docdir=%{_datadir}/doc/%{name}-%{version}
make %{?_smp_mflags}
cd ../bash-completion-%{bcompv}
%configure
make %{?_smp_mflags}
%install
cd bash-%{bashv}
make install DESTDIR=%{buildroot}
cd ../bash-completion-%{bcompv}
make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_sysconfdir}/profile.d/bash_completion.sh
cd ..
mkdir bash-completion
for docfile in AUTHORS CHANGES CONTRIBUTING.md COPYING README.md; do
cp -p bash-completion-%{bcompv}/${docfile} bash-completion/
done
cp -p bash-completion-%{bcompv}/COPYING ./COPYING.bash-completion
cp -p bash-%{bashv}/COPYING ./COPYING.bash
%find_lang %{name}
ln -sf bash %{buildroot}/bin/sh
install -m644 -D %{SOURCE11} %{buildroot}/%{_sysconfdir}/profile
install -m644 %{SOURCE12} %{buildroot}/%{_sysconfdir}/bashrc
install -d %{buildroot}%{_sysconfdir}/profile.d
install -d %{buildroot}%{_sysconfdir}/skel
rm -rf %{buildroot}%{_datadir}/doc/bash
# These are from BLFS - https://www.linuxfromscratch.org/blfs/view/stable/postlfs/profile.html 2023-03-11
cat > %{buildroot}%{_sysconfdir}/profile.d/dircolors.sh << "EOF"
# Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.
if [ -f "/etc/dircolors" ] ; then
eval $(dircolors -b /etc/dircolors)
fi
if [ -f "$HOME/.dircolors" ] ; then
eval $(dircolors -b $HOME/.dircolors)
fi
alias ls='ls --color=auto'
alias grep='grep --color=auto'
EOF
cat > %{buildroot}%{_sysconfdir}/profile.d/extrapaths.sh << "EOF"
if [ -d /usr/local/lib/pkgconfig ] ; then
pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH
fi
if [ -d /usr/local/bin ]; then
pathprepend /usr/local/bin
fi
if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then
pathprepend /usr/local/sbin
fi
if [ -d /usr/local/share ]; then
pathprepend /usr/local/share XDG_DATA_DIRS
fi
# Set some defaults before other applications add to these paths.
pathappend /usr/share/man MANPATH
pathappend /usr/share/info INFOPATH
EOF
cat > %{buildroot}%{_sysconfdir}/profile.d/readline.sh << "EOF"
# Set up the INPUTRC environment variable.
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ] ; then
INPUTRC=/etc/inputrc
fi
export INPUTRC
EOF
cat > %{buildroot}%{_sysconfdir}/profile.d/umask.sh << "EOF"
# By default, the umask should be set.
if [ "$(id -gn)" = "$(id -un)" -a $EUID -gt 99 ] ; then
umask 002
else
umask 022
fi
EOF
# /etc/skel files
cat > %{buildroot}%{_sysconfdir}/skel/.bash_profile << "EOF"
# Begin ~/.bash_profile
# Written for Beyond Linux From Scratch
# by James Robertson <jameswrobertson@earthlink.net>
# updated by Bruce Dubbs <bdubbs@linuxfromscratch.org>
# Personal environment variables and startup programs.
# Personal aliases and functions should go in ~/.bashrc. System wide
# environment variables and startup programs are in /etc/profile.
# System wide aliases and functions are in /etc/bashrc.
if [ -f "$HOME/.bashrc" ] ; then
source $HOME/.bashrc
fi
if [ -d "$HOME/bin" ] ; then
pathprepend $HOME/bin
fi
### python2 path configuration
### Only uncomment below three lines if you really need python2
#if [ -L /opt/legacy/python2/bin/python2 ]; then
# pathappend /opt/legacy/python2/bin
#fi
### End python2 path configuration
# End ~/.bash_profile
EOF
cat > %{buildroot}%{_sysconfdir}/skel/.profile << "EOF"
# Begin ~/.profile
# Personal environment variables and startup programs.
if [ -d "$HOME/bin" ] ; then
pathprepend $HOME/bin
fi
# Set up user specific i18n variables
#export LANG=<ll>_<CC>.<charmap><@modifiers>
# End ~/.profile
EOF
cat > %{buildroot}%{_sysconfdir}/skel/.bashrc << "EOF"
# Begin ~/.bashrc
# Written for Beyond Linux From Scratch
# by James Robertson <jameswrobertson@earthlink.net>
# Personal aliases and functions.
# Personal environment variables and startup programs should go in
# ~/.bash_profile. System wide environment variables and startup
# programs are in /etc/profile. System wide aliases and functions are
# in /etc/bashrc.
if [ -f "/etc/bashrc" ] ; then
source /etc/bashrc
fi
# Set up user specific i18n variables
#export LANG=<ll>_<CC>.<charmap><@modifiers>
# End ~/.bashrc
EOF
cat > %{buildroot}%{_sysconfdir}/skel/.bash_logout << "EOF"
# Begin ~/.bash_logout
# Written for Beyond Linux From Scratch
# by James Robertson <jameswrobertson@earthlink.net>
# Personal items to perform on logout.
# End ~/.bash_logout
EOF
%post
%{insinfo} %{_infodir}/%{name}.info %{_infodir}/dir ||:
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/%{name}.info %{_infodir}/dir ||:
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%attr(0755,root,root) /bin/bash
%attr(0755,root,root) /bin/bashbug
/bin/sh
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/profile
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/bashrc
%dir %attr(0755,root,root) %{_sysconfdir}/profile.d
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/profile.d/*.sh
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/skel/.bash_logout
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/skel/.bash_profile
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/skel/.bashrc
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/skel/.profile
%attr(0755,root,root) %dir %{_prefix}/lib/bash
%attr(0644,root,root) %{_prefix}/lib/bash/Makefile.*
%attr(0644,root,root) %{_prefix}/lib/bash/loadables.h
%attr(0755,root,root) %{_prefix}/lib/bash/accept
%attr(0755,root,root) %{_prefix}/lib/bash/basename
%attr(0755,root,root) %{_prefix}/lib/bash/csv
%attr(0755,root,root) %{_prefix}/lib/bash/cut
%attr(0755,root,root) %{_prefix}/lib/bash/dirname
%attr(0755,root,root) %{_prefix}/lib/bash/dsv
%attr(0755,root,root) %{_prefix}/lib/bash/fdflags
%attr(0755,root,root) %{_prefix}/lib/bash/finfo
%attr(0755,root,root) %{_prefix}/lib/bash/getconf
%attr(0755,root,root) %{_prefix}/lib/bash/head
%attr(0755,root,root) %{_prefix}/lib/bash/id
%attr(0755,root,root) %{_prefix}/lib/bash/ln
%attr(0755,root,root) %{_prefix}/lib/bash/logname
%attr(0755,root,root) %{_prefix}/lib/bash/mkdir
%attr(0755,root,root) %{_prefix}/lib/bash/mkfifo
%attr(0755,root,root) %{_prefix}/lib/bash/mktemp
%attr(0755,root,root) %{_prefix}/lib/bash/mypid
%attr(0755,root,root) %{_prefix}/lib/bash/pathchk
%attr(0755,root,root) %{_prefix}/lib/bash/print
%attr(0755,root,root) %{_prefix}/lib/bash/printenv
%attr(0755,root,root) %{_prefix}/lib/bash/push
%attr(0755,root,root) %{_prefix}/lib/bash/realpath
%attr(0755,root,root) %{_prefix}/lib/bash/rm
%attr(0755,root,root) %{_prefix}/lib/bash/rmdir
%attr(0755,root,root) %{_prefix}/lib/bash/seq
%attr(0755,root,root) %{_prefix}/lib/bash/setpgid
%attr(0755,root,root) %{_prefix}/lib/bash/sleep
%attr(0755,root,root) %{_prefix}/lib/bash/stat
%attr(0755,root,root) %{_prefix}/lib/bash/strftime
%attr(0755,root,root) %{_prefix}/lib/bash/sync
%attr(0755,root,root) %{_prefix}/lib/bash/tee
%attr(0755,root,root) %{_prefix}/lib/bash/truefalse
%attr(0755,root,root) %{_prefix}/lib/bash/tty
%attr(0755,root,root) %{_prefix}/lib/bash/uname
%attr(0755,root,root) %{_prefix}/lib/bash/unlink
%attr(0755,root,root) %{_prefix}/lib/bash/whoami
%attr(0644,root,root) %{_infodir}/bash.info*
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_mandir}/man1/bash.1*
%attr(0644,root,root) %{_mandir}/man1/bashbug.1*
# %%{_datadir}/doc/%%{name}-%%{version}
# Bash Completion
%dir %{bcompdir}
%attr(0644,root,root) %{bcompdir}/bash_completion
%{bcompdir}/completions
%dir %{bcompdir}/helpers
%attr(0644,root,root) %{bcompdir}/helpers/perl
%attr(0644,root,root) %{bcompdir}/helpers/python
# otro
%license COPYING.bash-completion COPYING.bash
%doc bash-%{bashv}/AUTHORS bash-%{bashv}/CHANGES bash-%{bashv}/COMPAT
%doc bash-%{bashv}/COPYING bash-%{bashv}/ChangeLog bash-%{bashv}/NEWS
%doc bash-%{bashv}/RBASH
%doc bash-%{bashv}/doc/README bash-%{bashv}/doc/FAQ bash-%{bashv}/doc/INTRO
%doc bash-%{bashv}/doc/bash.html bash-%{bashv}/doc/bashref.html
%doc bash-%{bashv}/doc/bash.pdf bash-%{bashv}/doc/bashref.pdf
%doc bash-completion
%files devel
%defattr(-,root,root,-)
%attr(0755,root,root) %dir %{_includedir}/bash
%attr(0644,root,root) %{_includedir}/bash/*.h
%attr(0755,root,root) %dir %{_includedir}/bash/builtins
%attr(0644,root,root) %{_includedir}/bash/builtins/*.h
%attr(0755,root,root) %dir %{_includedir}/bash/include
%attr(0644,root,root) %{_includedir}/bash/include/*.h
%attr(0644,root,root) %{_libdir}/pkgconfig/%{name}.pc
%dir %{_datadir}/cmake
%dir %{_datadir}/cmake/bash-completion
%attr(0644,root,root) %{_datadir}/cmake/bash-completion/*.cmake
%attr(0644,root,root) %{_datadir}/pkgconfig/bash-completion.pc
# otro
%license COPYING.bash-completion COPYING.bash
%doc bash-%{bashv}/AUTHORS bash-%{bashv}/CHANGES bash-%{bashv}/COMPAT
%doc bash-%{bashv}/COPYING bash-%{bashv}/ChangeLog bash-%{bashv}/NEWS
%doc bash-%{bashv}/RBASH
%doc bash-%{bashv}/doc/README bash-%{bashv}/doc/FAQ bash-%{bashv}/doc/INTRO
%doc bash-%{bashv}/doc/bash.html bash-%{bashv}/doc/bashref.html
%doc bash-%{bashv}/doc/bash.pdf bash-%{bashv}/doc/bashref.pdf
%doc bash-completion
%changelog
* Thu Oct 17 2024 Michael A. Peters <anymouseprophet@gmail.com> - 5.2.37-0.rc1
- Build for YJL 6.6 (LFS 12.2)
* Fri May 05 2023 Michael A. Peters <anymouseprophet@gmail.com> - 5.2.15-0.rc5
- Add bash-completion package
* Tue Apr 11 2023 Michael A. Peters <anymouseprophet@gmail.com> - 5.2.15-0.rc4
- Use insinfo macro, add post/preun requires.
* Mon Apr 03 2023 Michael A. Peters <anymouseprophet@gmail.com> - 5.2.15-0.rc3
- Add legacy python2 path support
* Sat Mar 11 2023 Michael A. Peters <anymouseprophet@gmail.com> - 5.2.15-0.rc2
- Initial build for LFS 11.3 environment.

346
SPECS/binutils.spec Normal file
View File

@ -0,0 +1,346 @@
%if 0%{?!insinfo:1} == 1
%global insinfo /sbin/install-info
%endif
# no stripping
%define __strip /bin/true
Name: binutils
Version: 2.43.1
Release: %{?repo}0.rc1%{?dist}
Summary: Collection of binary tools
Group: System Environment/Utilities
License: GPLv2, GPLv3, LGPLv2, LGPLv3
URL: https://www.gnu.org/software/binutils/
Source0: https://sourceware.org/pub/binutils/releases/%{name}-%{version}.tar.xz
Requires: %{name}-libs = %{version}-%{release}
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
BuildRequires: elfutils-devel
BuildRequires: libfl-devel
BuildRequires: libstdc++-devel
BuildRequires: libzstd-devel
BuildRequires: zlib-devel
%description
These are the GNU binutils. These are utilities of use when dealing
with binary files, either object files or executables. These tools
consist of the linker (ld), the assembler (gas), and the profiler
(gprof) each of which have their own sub-directory named after them.
There is also a collection of other binary tools, including the
disassembler (objdump) in this directory. These tools make use of a
pair of libraries (bfd and opcodes) and a common set of header files
(include).
%package libs
Summary: The binutils shared libraries
Group: System Environment/Libraries
%description libs
This package contains the binutils shared libraries.
%package devel
Summary: Binutils developer files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
%description devel
This package contains the developer files needed to compile software
that links against the binutils libraries.
%package static
Summary: Binutils static libraries
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
This package contains the binutils libbfd.a and libopcodes.a static
libraries. You probably do not need this package.
%package -n gprofng
Summary: Application profiling tool
Group: System Environment/Utilities
Requires: %{name} = %{version}-%{release}
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
# from https://blogs.oracle.com/linux/post/gprofng-the-next-generation-gnu-profiling-tool
%description -n gprofng
Gprofng is a next generation application profiling tool. It supports
the profiling of programs written in C, C++, Java, or Scala running on
systems using processors from Intel, AMD, Arm, or compatible vendors.
The extent of the support is processor dependent, but the basic views
are always available.
%package -n libctf-nobfd
Summary: The libctf-nobfd shared library
Group: System Environment/Libraries
%description -n libctf-nobfd
This package contains the libctf-nobfd shared library from binutils.
%package -n libctf-nobfd-devel
Summary: Developer files for the libctf-nobfd library
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description -n libctf-nobfd-devel
This package containd the developer files needed to compile software
that links against the libctf-nobfd library.
%package -n libctf-nobfd-static
Summary: The libctf-nobfd static library
Group: Development/Libraries
Requires: libctf-nobfd-devel
%description -n libctf-nobfd-static
This package contains the libctf-nobfd.a static library from binutils.
You probably do not need this package.
%prep
%setup -q
%build
%configure \
--enable-gold \
--enable-ld=default \
--enable-plugins \
--enable-shared \
--disable-werror \
--enable-64-bit-bfd \
--enable-new-dtags \
--with-system-zlib \
--enable-default-hash-style=gnu
make tooldir=%{_prefix} %{?_smp_mflags}
%install
make install tooldir=%{_prefix} DESTDIR=%{buildroot}
touch files.lang
%find_lang bfd && cat bfd.lang >> files.lang
%find_lang binutils && cat binutils.lang >> files.lang
%find_lang gold && cat gold.lang >> files.lang
%find_lang gprof && cat gprof.lang >> files.lang
%find_lang ld && cat ld.lang >> files.lang
%find_lang opcodes && cat opcodes.lang >> files.lang
%find_lang gas && cat gas.lang >> files.lang
%check
%if 0%{?runtests:1} == 1
LOG=%{name}-make.check.tmp
make -k check > ${LOG} 2>&1 ||:
echo >> ${LOG}
echo >> ${LOG}
echo "##################################" >> ${LOG}
echo >> %{name}-make.check.log
echo "Failures:" >> ${LOG}
echo >> ${LOG}
echo >> ${LOG}
grep '^FAIL:' $(find -name '*.log') >> ${LOG}
sleep 1
mv ${LOG} %{name}-make.check.log
%else
echo "make check not run during packaging" > %{name}-make.check.log
%endif
%post
%{insinfo} %{_infodir}/as.info %{_infodir}/dir ||:
%{insinfo} %{_infodir}/bfd.info %{_infodir}/dir ||:
%{insinfo} %{_infodir}/binutils.info %{_infodir}/dir ||:
%{insinfo} %{_infodir}/ctf-spec.info %{_infodir}/dir ||:
%{insinfo} %{_infodir}/gprof.info %{_infodir}/dir ||:
%{insinfo} %{_infodir}/ld.info %{_infodir}/dir ||:
%{insinfo} %{_infodir}/ldint.info %{_infodir}/dir ||:
%{insinfo} %{_infodir}/sframe-spec.info %{_infodir}/dir ||:
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/as.info %{_infodir}/dir ||:
%{insinfo} --delete %{_infodir}/binutils.info %{_infodir}/dir ||:
%{insinfo} --delete %{_infodir}/ctf-spec.info %{_infodir}/dir ||:
%{insinfo} --delete %{_infodir}/gprof.info %{_infodir}/dir ||:
%{insinfo} --delete %{_infodir}/ld.info %{_infodir}/dir ||:
%{insinfo} --delete %{_infodir}/ldint.info %{_infodir}/dir ||:
%{insinfo} --delete %{_infodir}/sframe-spec.info %{_infodir}/dir ||:
fi
%post -n gprofng
/sbin/ldconfig
%{insinfo} %{_infodir}/gprofng.info %{_infodir}/dir ||:
%preun -n gprofng
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/gprofng.info %{_infodir}/dir ||:
fi
%postun -n gprofng -p /sbin/ldconfig
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%post -n libctf-nobfd -p /sbin/ldconfig
%postun -n libctf-nobfd -p /sbin/ldconfig
%post devel
%{insinfo} %{_infodir}/bfd.info %{_infodir}/dir ||:
%preun devel
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/bfd.info %{_infodir}/dir ||:
fi
%files -f files.lang
%defattr(-,root,root,-)
%attr(0755,root,root) %dir %{_prefix}/lib/ldscripts
%attr(0644,root,root) %{_prefix}/lib/ldscripts/*.x*
%attr(0644,root,root) %{_prefix}/lib/ldscripts/stamp
### bin stuff
%attr(0755,root,root) %{_bindir}/addr2line
%attr(0755,root,root) %{_bindir}/ar
%attr(0755,root,root) %{_bindir}/as
%attr(0755,root,root) %{_bindir}/c++filt
%attr(0755,root,root) %{_bindir}/dwp
%attr(0755,root,root) %{_bindir}/elfedit
%attr(0755,root,root) %{_bindir}/gprof
%attr(0755,root,root) %{_bindir}/ld
%attr(0755,root,root) %{_bindir}/ld.bfd
%attr(0755,root,root) %{_bindir}/ld.gold
%attr(0755,root,root) %{_bindir}/nm
%attr(0755,root,root) %{_bindir}/objcopy
%attr(0755,root,root) %{_bindir}/objdump
%attr(0755,root,root) %{_bindir}/ranlib
%attr(0755,root,root) %{_bindir}/readelf
%attr(0755,root,root) %{_bindir}/size
%attr(0755,root,root) %{_bindir}/strings
%attr(0755,root,root) %{_bindir}/strip
###
%dir %{_libdir}/bfd-plugins
%attr(0755,root,root) %{_libdir}/bfd-plugins/libdep.so
%exclude %{_infodir}/dir
%{_infodir}/as.info*
%{_infodir}/binutils.info*
%{_infodir}/ctf-spec.info*
%{_infodir}/gprof.info*
%{_infodir}/ld.info*
%{_infodir}/ldint.info*
%{_infodir}/sframe-spec.info*
%attr(0644,root,root) %{_mandir}/man1/addr2line.1*
%attr(0644,root,root) %{_mandir}/man1/ar.1*
%attr(0644,root,root) %{_mandir}/man1/as.1*
%attr(0644,root,root) %{_mandir}/man1/c++filt.1*
%attr(0644,root,root) %{_mandir}/man1/dlltool.1*
%attr(0644,root,root) %{_mandir}/man1/elfedit.1*
%attr(0644,root,root) %{_mandir}/man1/gprof.1*
%attr(0644,root,root) %{_mandir}/man1/ld.1*
%attr(0644,root,root) %{_mandir}/man1/nm.1*
%attr(0644,root,root) %{_mandir}/man1/objcopy.1*
%attr(0644,root,root) %{_mandir}/man1/objdump.1*
%attr(0644,root,root) %{_mandir}/man1/ranlib.1*
%attr(0644,root,root) %{_mandir}/man1/readelf.1*
%attr(0644,root,root) %{_mandir}/man1/size.1*
%attr(0644,root,root) %{_mandir}/man1/strings.1*
%attr(0644,root,root) %{_mandir}/man1/strip.1*
%attr(0644,root,root) %{_mandir}/man1/windmc.1*
%attr(0644,root,root) %{_mandir}/man1/windres.1*
%license COPYING COPYING3 COPYING.LIB COPYING3.LIB
%doc COPYING COPYING3 COPYING.LIB COPYING3.LIB binutils/README
%doc %{name}-make.check.log
%files libs
%defattr(-,root,root,-)
%attr(0775,root,root) %{_libdir}/libbfd-2.43.1.so
%attr(0775,root,root) %{_libdir}/libopcodes-2.43.1.so
%attr(0775,root,root) %{_libdir}/libctf.so.0.0.0
%{_libdir}/libctf.so.0
%attr(0775,root,root) %{_libdir}/libsframe.so.1.0.0
%{_libdir}/libsframe.so.1
%license COPYING COPYING3 COPYING.LIB COPYING3.LIB
%doc COPYING COPYING3 COPYING.LIB COPYING3.LIB
%files devel
%defattr(-,root,root,-)
%attr(0644,root,root) %{_includedir}/*.h
%{_libdir}/libbfd.so
%{_libdir}/libopcodes.so
%{_libdir}/libctf.so
%{_libdir}/libsframe.so
%{_infodir}/bfd.info*
%license COPYING COPYING3 COPYING.LIB COPYING3.LIB
%doc COPYING COPYING3 COPYING.LIB COPYING3.LIB
%files static
%defattr(-,root,root,-)
%attr(0644,root,root) %{_libdir}/libbfd.a
%attr(0644,root,root) %{_libdir}/libopcodes.a
%attr(0644,root,root) %{_libdir}/libctf.a
%attr(0644,root,root) %{_libdir}/libsframe.a
%license COPYING COPYING3 COPYING.LIB COPYING3.LIB
%doc COPYING COPYING3 COPYING.LIB COPYING3.LIB
%files -n gprofng
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/gp-archive
%attr(0755,root,root) %{_bindir}/gp-collect-app
%attr(0755,root,root) %{_bindir}/gp-display-html
%attr(0755,root,root) %{_bindir}/gp-display-src
%attr(0755,root,root) %{_bindir}/gp-display-text
%attr(0755,root,root) %{_bindir}/gprofng
%{_sysconfdir}/gprofng.rc
%dir %{_libdir}/gprofng
%attr(0755,root,root) %{_libdir}/gprofng/libgp-collector.so
%attr(0755,root,root) %{_libdir}/gprofng/libgp-collectorAPI.so
%attr(0755,root,root) %{_libdir}/gprofng/libgp-heap.so
%attr(0755,root,root) %{_libdir}/gprofng/libgp-iotrace.so
%attr(0755,root,root) %{_libdir}/gprofng/libgp-sync.so
%attr(0755,root,root) %{_libdir}/libgprofng.so.0.0.0
%exclude %{_libdir}/gprofng/libgp-collectorAPI.a
%exclude %{_libdir}/libgprofng.a
%{_libdir}/libgprofng.so
%{_libdir}/libgprofng.so.0
%{_infodir}/gprofng.info*
%attr(0644,root,root) %{_mandir}/man1/gp-archive.1*
%attr(0644,root,root) %{_mandir}/man1/gp-collect-app.1*
%attr(0644,root,root) %{_mandir}/man1/gp-display-html.1*
%attr(0644,root,root) %{_mandir}/man1/gp-display-src.1*
%attr(0644,root,root) %{_mandir}/man1/gp-display-text.1*
%attr(0644,root,root) %{_mandir}/man1/gprofng.1*
%license COPYING COPYING3 COPYING.LIB COPYING3.LIB
%doc COPYING COPYING3 COPYING.LIB COPYING3.LIB
%files -n libctf-nobfd
%defattr(-,root,root,-)
%attr(0775,root,root) %{_libdir}/libctf-nobfd.so.0.0.0
%{_libdir}/libctf-nobfd.so.0
%license COPYING COPYING3 COPYING.LIB COPYING3.LIB
%doc COPYING COPYING3 COPYING.LIB COPYING3.LIB
%files -n libctf-nobfd-devel
%defattr(-,root,root,-)
%{_libdir}/libctf-nobfd.so
%license COPYING COPYING3 COPYING.LIB COPYING3.LIB
%doc COPYING COPYING3 COPYING.LIB COPYING3.LIB
%files -n libctf-nobfd-static
%defattr(-,root,root,-)
%attr(0644,root,root) %{_libdir}/libctf-nobfd.a
%license COPYING COPYING3 COPYING.LIB COPYING3.LIB
%doc COPYING COPYING3 COPYING.LIB COPYING3.LIB
%changelog
* Fri Oct 18 2024 Michael A. Peters <anymouseprophet@gmail.com> - 2.43.1-0.rc1
- Build for YJL 6.6 (LFS 12.2)
* Sun Apr 16 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.40-0.rc5
- Major rewrite of spec file
* Wed Apr 05 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.40-0.rc4
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)
- Twelve (out of numerous) test failures, all gold related

93
SPECS/bison.spec Normal file
View File

@ -0,0 +1,93 @@
%if 0%{?!insinfo:1} == 1
%global insinfo /sbin/install-info
%endif
Name: bison
Version: 3.8.2
Release: %{?repo}0.rc2%{?dist}
Summary: general purpose parser generator
Group: Development/Languages
License: GPLv3
URL: https://www.gnu.org/software/bison/
Source0: https://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz
#BuildRequires:
Requires(post): %{insinfo}
Requires(postun): %{insinfo}
%description
Bison is a general-purpose parser generator that converts an annotated
context-free grammar into a deterministic LR or generalized LR (GLR)
parser employing LALR(1) parser tables. As an experimental feature,
Bison can also generate IELR(1) or canonical LR(1) parser tables. Once
you are proficient with Bison, you can use it to develop a wide range
of language parsers, from those used in simple desk calculators to
complex programming languages.
%package runtime
Group: System Environment/Libraries
Summary: Bison runtime files
BuildArch: noarch
%description runtime
This package contains the bison runtime files that are needed by any
package that uses parsers generated by GNU bison.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1
%else
echo "make check not run during packaging" > %{name}-make.check.log
%endif
%install
make install DESTDIR=%{buildroot}
rm -rf %{buildroot}%{_datadir}/doc/bison
%find_lang bison
%find_lang bison-gnulib
cat bison-gnulib.lang >> bison.lang
%find_lang bison-runtime
%post
%{insinfo} %{_infodir}/bison.info %{_infodir}/dir ||:
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/bison.info %{_infodir}/dir ||:
fi
%files -f bison.lang
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/bison
%attr(0755,root,root) %{_bindir}/yacc
%attr(0644,root,root) %{_libdir}/liby.a
%{_datadir}/bison
%attr(0644,root,root) %{_datadir}/aclocal/bison-i18n.m4
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_infodir}/bison.info*
%attr(0644,root,root) %{_mandir}/man1/bison.1*
%attr(0644,root,root) %{_mandir}/man1/yacc.1*
%license COPYING
%doc %{name}-make.check.log
%doc AUTHORS COPYING NEWS README THANKS TODO examples
%files runtime -f bison-runtime.lang
%defattr(-,root,root,-)
%license COPYING
%doc COPYING
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 3.8.2-0.rc2
- Build for YJL 6.6 (LFS 12.2)
* Tue Apr 18 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.8.2-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

106
SPECS/coreutils.spec Normal file
View File

@ -0,0 +1,106 @@
%if 0%{?!__sed:1} == 1
%global __sed %{_bindir}/sed
%endif
%if 0%{?!insinfo:1} == 1
%global insinfo /sbin/install-info
%endif
Name: coreutils
Version: 9.5
Release: %{?repo}0.rc1%{?dist}
Summary: GNU core utilities
Group: System Environment/Base
License: GPL-3.0-or-later
URL: https://www.gnu.org/software/coreutils/
Source0: https://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.xz
Patch0: https://www.linuxfromscratch.org/patches/lfs/12.2/coreutils-9.5-i18n-2.patch
BuildRequires: %{__sed}
BuildRequires: pkgconfig(libcap)
BuildRequires: pkgconfig(libattr)
BuildRequires: pkgconfig(libacl)
BuildRequires: pkgconfig(gmp)
%if 0%{?libresslAPI:1} == 1
BuildRequires: libressl-devel
%else
BuildRequires: pkgconfig(openssl)
%endif
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
%description
The GNU Core Utilities are the basic file, shell and text manipulation
utilities of the GNU operating system. These are the core utilities which are
expected to exist on every operating system.
%prep
%setup -q
%patch 9 -p1
%build
%configure \
--with-openssl=yes \
--enable-no-install-program=kill,uptime
make %{?_smp_mflags}
%check
# fixme - one test failure:
# FAIL: tests/misc/stty-pairs.sh
%if 0%{?runtests:1} == 1
make RUN_EXPENSIVE_TESTS=yes check > coreutils-make-check.log 2>&1 ||:
%else
echo "make check not run at package build." > coreutils-make-check.log
%endif
%install
make install DESTDIR=%{buildroot}
%find_lang %{name}
install -m755 -d %{buildroot}%{_sbindir}
install -m755 -d %{buildroot}%{_mandir}/man8
mv %{buildroot}%{_bindir}/chroot %{buildroot}%{_sbindir}/
%{__sed} -i 's/"1"/"8"/' %{buildroot}%{_mandir}/man1/chroot.1
mv %{buildroot}%{_mandir}/man1/chroot.1 %{buildroot}%{_mandir}/man8/chroot.8
install -m755 -d %{buildroot}/bin
for file in cat chgrp chmod chown cp date dd df echo false ln ls mkdir mknod mv pwd rm rmdir stty sync true; do
mv %{buildroot}%{_bindir}/${file} %{buildroot}/bin/
done
%post
%{insinfo} %{_infodir}/%{name}.info %{_infodir}/dir ||:
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%attr(0755,root,root) /bin/*
%attr(0755,root,root) %{_bindir}/*
%attr(0755,root,root) %{_sbindir}/chroot
%dir %{_libexecdir}/%{name}
%attr(0755,root,root) %{_libexecdir}/%{name}/libstdbuf.so
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_infodir}/%{name}.info*
%attr(0644,root,root) %{_mandir}/man1/*.1*
%attr(0644,root,root) %{_mandir}/man8/chroot.8*
%license COPYING
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%doc coreutils-make-check.log
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> 9.5-0.rc1
- Build for YJL 6.6 (LFS 12.2)
* Sun May 21 2023 Michael A. Peters <anymouseprophet@gmail.com> 9.1-0.rc4
- LibreSSL build needs "--with-openssl=yes" specified
* Thu May 11 2023 Michael A. Peters <anymouseprophet@gmail.com> 9.1-0.rc2
- minor spec file tweaks.
* Tue Mar 14 2023 Michael A. Peters <anymouseprophet@gmail.com> 9.1-0.rc1
- Initial spec file

74
SPECS/diffutils.spec Normal file
View File

@ -0,0 +1,74 @@
%if 0%{?!insinfo:1} == 1
%global insinfo /sbin/install-info
%endif
Name: diffutils
Version: 3.10
Release: %{?repo}0.rc1%{?dist}
Summary: programs related to finding differences between files
Group: System Environment/Utilities
License: GPL-3.0-or-later
URL: https://www.gnu.org/software/diffutils/
Source0: https://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.xz
#BuildRequires:
Requires(post): %{insinfo}
Requires(postun): %{insinfo}
%description
GNU Diffutils is a package of several programs related to finding
differences between files.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1
%else
echo "make check not run at package build" > %{name}-make.check.log
%endif
%install
make install DESTDIR=%{buildroot}
%find_lang %{name}
%post
%{insinfo} %{_infodir}/diffutils.info %{_infodir}/dir ||:
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/diffutils.info %{_infodir}/dir ||:
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/cmp
%attr(0755,root,root) %{_bindir}/diff
%attr(0755,root,root) %{_bindir}/diff3
%attr(0755,root,root) %{_bindir}/sdiff
%attr(0644,root,root) %{_infodir}/diffutils.info*
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_mandir}/man1/cmp.1*
%attr(0644,root,root) %{_mandir}/man1/diff.1*
%attr(0644,root,root) %{_mandir}/man1/diff3.1*
%attr(0644,root,root) %{_mandir}/man1/sdiff.1*
%license COPYING
%doc AUTHORS ChangeLog* COPYING NEWS README THANKS TODO
%doc %{name}-make.check.log
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 3.10-0.rc1
- Build for YJL 6.6 (LFS 12.2)
* Thu May 18 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.9-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

149
SPECS/elfutils.spec Normal file
View File

@ -0,0 +1,149 @@
%global slibv 0.191
%global compatname 0_191
Name: elfutils
Version: 0.191
Release: %{?repo}0.rc1%{?dist}
Summary: elfutils
Group: System Environment/Base
License: GPLv3, GPLv2, LGPL-3.0-or-later or GPL-2.0-or-later and GPL-3.0-or-later
URL: http://elfutils.org/
Source0: https://sourceware.org/ftp/%{name}/%{version}/%{name}-%{version}.tar.bz2
#Patch0: elfutils-libcurl.patch
BuildRequires: zlib-devel
BuildRequires: libzstd-devel
BuildRequires: liblzma-devel
BuildRequires: libbz2-devel
#Requires:
%description
elfutils is a collection of utilities and libraries to read, create and
modify ELF binary files, find and handle DWARF debug data, symbols,
thread state and stacktraces for processes and core files on GNU/Linux.
%package libs
Summary: The elfutils shared libraries
Group: System Enviroment/Libraries
Provides: %{name}-libelf = %{version}
Provides: %{name}-libdw = %{version}
Requires: %{name}-libs-compat-%{compatname} = %{version}-%{release}
%description libs
This package provides the elfutils shared libraries, including the libelf
and libdw libraries.
%package libs-compat-%{compatname}
Summary: The specific versions of the elfutils shared libraries
Group: System Environment/Libraries
%description libs-compat-%{compatname}
This package provides specific versions of the elfutils libraries, allowing
elfutils-libs to be updated without breaking applications that link against
these specific versions.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
Provides: %{name}-libelf-devel = %{version}
Provides: %{name}-libdw = %{version}
%description devel
This package the headers and other related files needed to compile software
that links against the libelf libraries.
%prep
%setup -q
#%%patch0 -p0
%build
%configure \
--disable-rpath \
--disable-debuginfod \
--enable-libdebuginfod=dummy \
--program-prefix="eu-"
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%find_lang %{name}
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1
%else
echo "make check not run during package build." > %{name}-make.check.log
%endif
%post libs-compat-%{compatname} -p /sbin/ldconfig
%postun libs-compat-%{compatname} -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/*
%exclude %{_libdir}/*.a
%attr(0644,root,root) %{_mandir}/man1/*.1*
%attr(0644,root,root) %{_mandir}/man7/*.7*
%exclude %{_sysconfdir}/profile.d/debuginfod.csh
%exclude %{_sysconfdir}/profile.d/debuginfod.sh
%license COPYING COPYING-GPLV2 COPYING-LGPLV3 doc/COPYING-GFDL
%doc COPYING COPYING-GPLV2 COPYING-LGPLV3 doc/COPYING-GFDL
%doc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
%doc %{name}-make.check.log
%files libs
%defattr(-,root,root,-)
%{_libdir}/libasm.so.1
%{_libdir}/libdebuginfod.so.1
%{_libdir}/libdw.so.1
%{_libdir}/libelf.so.1
%license COPYING COPYING-GPLV2 COPYING-LGPLV3 doc/COPYING-GFDL
%doc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
%doc COPYING COPYING-GPLV2 COPYING-LGPLV3 doc/COPYING-GFDL
%files libs-compat-%{compatname}
%defattr(-,root,root,-)
%attr(0755,root,root) %{_libdir}/libasm-%{slibv}.so
%attr(0755,root,root) %{_libdir}/libdebuginfod-%{slibv}.so
%attr(0755,root,root) %{_libdir}/libdw-%{slibv}.so
%attr(0755,root,root) %{_libdir}/libelf-%{slibv}.so
%license COPYING COPYING-GPLV2 COPYING-LGPLV3 doc/COPYING-GFDL
%files devel
%defattr(-,root,root,-)
%{_libdir}/libasm.so
%{_libdir}/libdebuginfod.so
%{_libdir}/libdw.so
%{_libdir}/libelf.so
%attr(0644,root,root) %{_includedir}/*.h
%dir %{_includedir}/%{name}
%attr(0644,root,root) %{_includedir}/%{name}/*.h
%attr(0644,root,root) %{_mandir}/man3/*.3*
%attr(0644,root,root) %{_libdir}/pkgconfig/*.pc
%license COPYING COPYING-GPLV2 COPYING-LGPLV3 doc/COPYING-GFDL
%doc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
%doc COPYING COPYING-GPLV2 COPYING-LGPLV3 doc/COPYING-GFDL
%changelog
* Thu Oct 17 2024 Michael A. Peters <anymouseprophet@gmail.com> - 0.191-0.rc1
- Build for YJL 6.6 (LFS 12.2)
* Mon May 08 2023 Michael A. Peters <anymouseprophet@gmail.com> - 0.188-0.rc4
- Spec file cleanup
* Thu Mar 16 2023 Michael A. Peters <anymouseprophet@gmail.com> - 0.188-0.rc3
- Create a libs-compat package so elfutils-libs can be updated without breaking
- packages that haven't been rebuilt.
* Tue Mar 14 2023 Michael A. Peters <anymouseprophet@gmail.com> - 0.188-0.rc2
- Use eu- prefix for binaries
* Tue Mar 14 2023 Michael A. Peters <anymouseprophet@gmail.com> - 0.188-0.rc1
- Initial spec file.

97
SPECS/file.spec Normal file
View File

@ -0,0 +1,97 @@
Name: file
Version: 5.45
Release: %{?repo}0.rc1%{?dist}
Summary: A utility for determining file types
Group: System Environment/Libraries
License: BSD
URL: https://www.darwinsys.com/file/
Source0: https://astron.com/pub/file/%{name}-%{version}.tar.gz
BuildRequires: gcc >= 5.1.0
BuildRequires: libzstd-devel
BuildRequires: liblzma-devel
BuildRequires: libbz2-devel
BuildRequires: zlib-devel
Requires: libmagic = %{version}-%{release}
%description
This is Release 5.x of Ian Darwin's (copyright but distributable) file(1)
command, an implementation of the Unix File(1) command. It knows the
'magic number' of several thousands of file types. This version is the
standard "file" command for GNU/Linux, *BSD, and other systems.
%package -n libmagic
Group: System Environment/Libraries
Summary: The libmagic shared library
%description -n libmagic
This package contains the libmagic shared library.
%package -n libmagic-devel
Group: Development/Libraries
Summary: Development files for libmagic
Requires: libmagic = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
%description -n libmagic-devel
This package contains the developer files needed to compile software
that links against the libmagic library.
%prep
%setup -q
%build
%configure \
--libdir=/%{_lib}
make %{?_smp_mflags}
%check
make check > %{name}-make.check.log 2>&1
%install
make install DESTDIR=%{buildroot}
sed -i 's?^libdir=.*?libdir=%{_libdir}?' %{buildroot}/%{_lib}/pkgconfig/libmagic.pc
install -m755 -d %{buildroot}%{_libdir}
mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
rm -f %{buildroot}/%{_lib}/libmagic.so
ln -s ../../%{_lib}/libmagic.so.1.0.0 %{buildroot}%{_libdir}/libmagic.so
%post -n libmagic -p /sbin/ldconfig
%postun -n libmagic -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/file
%attr(0644,root,root) %{_mandir}/man1/*.1*
%license COPYING
%doc AUTHORS COPYING ChangeLog
%doc %{name}-make.check.log
%files -n libmagic
%defattr(-,root,root,-)
/%{_lib}/libmagic.so.1
%attr(0755,root,root) /%{_lib}/libmagic.so.1.0.0
%attr(0644,root,root) %{_datadir}/misc/magic.mgc
%attr(0644,root,root) %{_mandir}/man4/magic.4*
%license COPYING
%doc AUTHORS COPYING ChangeLog
%files -n libmagic-devel
%defattr(-,root,root,-)
%{_libdir}/libmagic.so
%attr(0644,root,root) %{_libdir}/pkgconfig/libmagic.pc
%attr(0644,root,root) %{_includedir}/magic.h
%attr(0644,root,root) %{_mandir}/man3/libmagic.3*
%license COPYING
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 5.45-0.rc1
- Rebuild for YJL 6.6 (LFS 12.2)
* Wed Apr 12 2023 Michael A. Peters <anymouseprophet@gmail.com> - 5.44-0.rc2
- Rebuild with newly packaged gcc.
* Fri Mar 17 2023 Michael A. Peters <anymouseprophet@gmail.com> - 5.44-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

84
SPECS/findutils.spec Normal file
View File

@ -0,0 +1,84 @@
%if 0%{?!insinfo:1} == 1
%global insinfo /sbin/install-info
%endif
Name: findutils
Version: 4.10.0
Release: %{?repo}0.rc1%{?dist}
Summary: basic directory searching utilities
Group: System Environment/Utilities
License: GPL-3.0-or-later
URL: https://www.gnu.org/software/findutils/
Source0: https://ftp.gnu.org/gnu/findutils/findutils-%{version}.tar.xz
BuildRequires: libpcre2-devel
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
%description
The GNU Find Utilities are the basic directory searching utilities of
the GNU operating system. These programs are typically used in conjunction
with other programs to provide modular and powerful directory search and
file locating capabilities to other commands.
%prep
%setup -q
%build
%configure \
--localstatedir=%{_sharedstatedir}/locate
make %{?_smp_mflags}
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1
%else
echo "make check not run during package build" > %{name}-make.check.log
%endif
%post
%{insinfo} %{_infodir}/find-maint.info %{_infodir}/dir ||:
%{insinfo} %{_infodir}/find.info %{_infodir}/dir ||:
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/find-maint.info %{_infodir}/dir ||:
%{insinfo} --delete %{_infodir}/find.info %{_infodir}/dir ||:
fi
%install
make install DESTDIR=%{buildroot}
%find_lang %{name}
%files -f %{name}.lang
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/find
%exclude %{_bindir}/locate
%exclude %{_bindir}/updatedb
%attr(0755,root,root) %{_bindir}/xargs
%attr(0755,root,root) %{_libexecdir}/frcode
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_infodir}/find-maint.info*
%attr(0644,root,root) %{_infodir}/find.info*
%attr(0644,root,root) %{_mandir}/man1/find.1*
%exclude %{_mandir}/man1/locate.1*
%exclude %{_mandir}/man1/updatedb.1*
%attr(0644,root,root) %{_mandir}/man1/xargs.1*
%exclude %{_mandir}/man5/locatedb.5*
#%%dir %%{_sharedstatedir}/locate
%license COPYING
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%doc %{name}-make.check.log
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 4.10.0-0.rc1
- Build for YJL 6.6 (LFS 12.2)
* Thu May 18 2023 Michael A. Peters <anymouseprophet@gmail.com> - 4.9.0-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)
- Not packaging locate or updatedb (using plocate for them)

104
SPECS/gawk.spec Normal file
View File

@ -0,0 +1,104 @@
%if 0%{?!insinfo:1} == 1
%global insinfo /sbin/install-info
%endif
Name: gawk
Version: 5.3.1
Release: %{?repo}0.rc1%{?dist}
Summary: GNU Awk
Group: Development/Utilities
License: GPLv3
URL: https://www.gnu.org/software/gawk/
Source0: https://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.xz
#BuildRequires:
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
%description
If you are like many computer users, you would frequently like to make
changes in various text files wherever certain patterns appear, or
extract data from parts of certain lines while discarding the rest. To
write a program to do this in a language such as C or Pascal is a time-
consuming inconvenience that may take many lines of code. The job is
easy with awk, especially the GNU implementation: gawk.
%prep
%setup -q
sed -i 's/extras//' Makefile.in
%build
%configure
make %{?_smp_mflags}
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1
%else
echo "make check not run during package build" > %{name}-make.check.log
%endif
%install
make install DESTDIR=%{buildroot}
%find_lang gawk
%post
%{insinfo} %{_infodir}/gawk.info %{_infodir}/dir ||:
%{insinfo} %{_infodir}/gawkinet.info %{_infodir}/dir ||:
%{insinfo} %{_infodir}/gawkworkflow.info %{_infodir}/dir ||:
%{insinfo} %{_infodir}/pm-gawk.info %{_infodir}/dir ||:
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/gawk.info %{_infodir}/dir ||:
%{insinfo} --delete %{_infodir}/gawkinet.info %{_infodir}/dir ||:
%{insinfo} --delete %{_infodir}/gawkworkflow.info %{_infodir}/dir ||:
%{insinfo} --delete %{_infodir}/pm-gawk.info %{_infodir}/dir ||:
fi
%files -f gawk.lang
%defattr(-,root,root,-)
%{_bindir}/awk
%attr(0755,root,root) %{_bindir}/gawk
%attr(0755,root,root) %{_bindir}/gawk-%{version}
%attr(0755,root,root) %{_bindir}/gawkbug
%attr(0644,root,root) %{_includedir}/gawkapi.h
%attr(0755,root,root) %dir %{_libdir}/gawk
%attr(0755,root,root) %{_libdir}/gawk/*.so
%attr(0755,root,root) %dir %{_libexecdir}/awk
%attr(0755,root,root) %{_libexecdir}/awk/grcat
%attr(0755,root,root) %{_libexecdir}/awk/pwcat
%attr(0755,root,root) %dir %{_datadir}/awk
%attr(0644,root,root) %{_datadir}/awk/*.awk
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_infodir}/gawk.info*
%attr(0644,root,root) %{_infodir}/gawkinet.info*
%attr(0644,root,root) %{_infodir}/gawkworkflow.info*
%attr(0644,root,root) %{_infodir}/pm-gawk.info*
%attr(0644,root,root) %{_infodir}/gawk_api-figure1.png*
%attr(0644,root,root) %{_infodir}/gawk_api-figure2.png*
%attr(0644,root,root) %{_infodir}/gawk_api-figure3.png*
%attr(0644,root,root) %{_infodir}/gawk_array-elements.png*
%attr(0644,root,root) %{_infodir}/gawk_general-program.png*
%attr(0644,root,root) %{_infodir}/gawk_process-flow.png*
%attr(0644,root,root) %{_infodir}/gawk_statist.jpg*
%attr(0644,root,root) %{_mandir}/man1/*.1*
%attr(0644,root,root) %{_mandir}/man3/*.3*
%license COPYING
%doc AUTHORS ChangeLog* COPYING NEWS* README TODO gawk-make.check.log
%doc doc/awkforai.txt doc/*.eps doc/*.pdf doc/*.jpg doc/*.png
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 5.3.1-0.rc1
- Build for YJL 6.6 (LFS 12.2)
* Thu May 18 2023 Michael A. Peters <anymouseprophet@gmail.com> - 5.2.1-0.rc2
- Minor spec file cleanup
* Mon Apr 10 2023 Michael A. Peters <anymouseprophet@gmail.com> - 5.2.1-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

1604
SPECS/gcc.spec Normal file

File diff suppressed because it is too large Load Diff

274
SPECS/gettext.spec Normal file
View File

@ -0,0 +1,274 @@
%if %{!?insinfo:1}%{?insinfo:0}
%global insinfo /sbin/install-info
%endif
Name: gettext
Version: 0.22.5
Release: %{?repo}0.rc1%{?dist}
Summary: Programs and utilities for multi-lingual messages
Group: System Environment/Utilities
License: GPLv3 and LGPLv2.1
URL: https://www.gnu.org/software/gettext/
Source0: https://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: libxml2-devel
BuildRequires: libunistring-devel
BuildRequires: ncurses-devel
BuildRequires: zlib-devel
BuildRequires: liblzma-devel
Requires: %{name}-libs = %{version}-%{release}
%description
This package contains the runtime parts of GNU gettext. To create
gettext translations, you will also need the gettext-tools package.
%package libs
Summary: GNU gettext shared libraries
Group: System Environment/Libraries
License: GPLv3 and LGPLv2.1
%description libs
This package contains the shared libraries needed by the GNU gettext
runtime.
%package tools
Summary: GNU gettext tools
Group: System Environment/Utilities
License: GPLv3
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
%description tools
This package contains the GNU gettext tools that are needed to create
and maintain GNU gettext translations. Most users do not need this
package. Developers and translators will need this package.
%package devel
Summary: Developer files for libtool
Group: Development/Libraries
License: GPLv3 and LGPLv2.1
Requires: %{name} = %{version}-%{release}
Requires: libtextstyle = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
%description devel
This package contains the files necessary to compile software that
uses the gettext libraries.
%package -n libtextstyle
Summary: GNU gettext library for producing styled text.
Group: System Environment/Libraries
License: GPLv3
%description -n libtextstyle
This library is part of GNU gettext. It can be used to run or develop
programs that produce styled text, to be displayed in a terminal emulator.
%package -n libtextstyle-devel
Summary: Developer files for libtextstyle
Group: Development/Libraries
License: GPLv3
Requires: libtextstyle = %{version}-%{release}
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
%description -n libtextstyle-devel
This package contains the developer files needed to compile software
that links against the libtextstyle library.
%prep
%setup -q
%build
%configure --disable-static \
--without-emacs
make %{?_smp_mflags}
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log
%else
echo "make check not run during packaging" > %{name}-make.check.log
%endif
%install
make install DESTDIR=%{buildroot}
%find_lang gettext-runtime
%find_lang gettext-tools
mkdir rpmdoc
rm -rf %{buildroot}%{_datadir}/doc/libtextstyle
rm -rf %{buildroot}%{_datadir}/doc/libasprintf
mkdir -p rpmdoc/tools/html
cp gettext-tools/man/*.html rpmdoc/tools/html/
cp gettext-tools/doc/*.html rpmdoc/tools/html/
cp -ar gettext-runtime/intl-csharp/doc rpmdoc/csharpdoc
rm -rf %{buildroot}%{_datadir}/doc/gettext
cp gettext-runtime/COPYING gettext-runtime/README-LICENSES
cp gettext-tools/COPYING gettext-tools/README-LICENSE
%post tools
%{insinfo} %{_infodir}/gettext.info %{_infodir}/dir ||:
%preun tools
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/gettext.info %{_infodir}/dir ||:
fi
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%post devel
%{insinfo} %{_infodir}/autosprintf.info %{_infodir}/dir ||:
%preun devel
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/autosprintf.info %{_infodir}/dir ||:
fi
%post -n libtextstyle -p /sbin/ldconfig
%postun -n libtextstyle -p /sbin/ldconfig
%post -n libtextstyle-devel
%{insinfo} %{_infodir}/libtextstyle.info %{_infodir}/dir ||:
%preun -n libtextstyle
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/libtextstyle.info %{_infodir}/dir ||:
fi
%files -f gettext-runtime.lang
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/envsubst
%attr(0755,root,root) %{_bindir}/gettext
%attr(0755,root,root) %{_bindir}/gettext.sh
%attr(0755,root,root) %{_bindir}/ngettext
%{_datadir}/gettext
%{_datadir}/gettext-%{version}
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_mandir}/man1/envsubst.1*
%attr(0644,root,root) %{_mandir}/man1/gettext.1*
%attr(0644,root,root) %{_mandir}/man1/ngettext.1*
%license COPYING
%license gettext-runtime/README-LICENSES
%license gettext-runtime/intl/COPYING.LIB
%doc COPYING gettext-runtime/README-LICENSES gettext-runtime/intl/COPYING.LIB
%doc AUTHORS
%doc gettext-runtime/man/*1.html
%doc %{name}-make.check.log
%files tools -f gettext-tools.lang
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/autopoint
%attr(0755,root,root) %{_bindir}/gettextize
%attr(0755,root,root) %{_bindir}/msgattrib
%attr(0755,root,root) %{_bindir}/msgcat
%attr(0755,root,root) %{_bindir}/msgcmp
%attr(0755,root,root) %{_bindir}/msgcomm
%attr(0755,root,root) %{_bindir}/msgconv
%attr(0755,root,root) %{_bindir}/msgen
%attr(0755,root,root) %{_bindir}/msgexec
%attr(0755,root,root) %{_bindir}/msgfilter
%attr(0755,root,root) %{_bindir}/msgfmt
%attr(0755,root,root) %{_bindir}/msggrep
%attr(0755,root,root) %{_bindir}/msginit
%attr(0755,root,root) %{_bindir}/msgmerge
%attr(0755,root,root) %{_bindir}/msgunfmt
%attr(0755,root,root) %{_bindir}/msguniq
%attr(0755,root,root) %{_bindir}/recode-sr-latin
%attr(0755,root,root) %{_bindir}/xgettext
%attr(0755,root,root) %dir %{_libdir}/gettext
%attr(0755,root,root) %{_libdir}/gettext/*
#%%{_datadir}/emacs
%attr(0644,root,root) %{_infodir}/gettext.info*
%attr(0644,root,root) %{_mandir}/man1/autopoint.1*
%attr(0644,root,root) %{_mandir}/man1/gettextize.1*
%attr(0644,root,root) %{_mandir}/man1/msgattrib.1*
%attr(0644,root,root) %{_mandir}/man1/msgcat.1*
%attr(0644,root,root) %{_mandir}/man1/msgcmp.1*
%attr(0644,root,root) %{_mandir}/man1/msgcomm.1*
%attr(0644,root,root) %{_mandir}/man1/msgconv.1*
%attr(0644,root,root) %{_mandir}/man1/msgen.1*
%attr(0644,root,root) %{_mandir}/man1/msgexec.1*
%attr(0644,root,root) %{_mandir}/man1/msgfilter.1*
%attr(0644,root,root) %{_mandir}/man1/msgfmt.1*
%attr(0644,root,root) %{_mandir}/man1/msggrep.1*
%attr(0644,root,root) %{_mandir}/man1/msginit.1*
%attr(0644,root,root) %{_mandir}/man1/msgmerge.1*
%attr(0644,root,root) %{_mandir}/man1/msgunfmt.1*
%attr(0644,root,root) %{_mandir}/man1/msguniq.1*
%attr(0644,root,root) %{_mandir}/man1/recode-sr-latin.1*
%attr(0644,root,root) %{_mandir}/man1/xgettext.1*
%license COPYING
%license gettext-tools/README-LICENSE
%doc AUTHORS COPYING gettext-tools/README-LICENSE
%doc rpmdoc/tools/html gettext-tools/examples
%files libs
%defattr(-,root,root,-)
%attr(0755,root,root) %{_libdir}/libasprintf.so.0.0.0
%{_libdir}/libasprintf.so.0
%attr(0755,root,root) %{_libdir}/libgettextlib-%{version}.so
%attr(0755,root,root) %{_libdir}/libgettextpo.so.0.5.10
%{_libdir}/libgettextpo.so.0
%attr(0755,root,root) %{_libdir}/libgettextsrc-%{version}.so
%license COPYING
%license gettext-runtime/README-LICENSES
%license gettext-runtime/intl/COPYING.LIB
%doc COPYING gettext-runtime/README-LICENSES gettext-runtime/intl/COPYING.LIB
%doc AUTHORS
%files devel
%defattr(-,root,root,-)
%attr(0644,root,root) %{_libdir}/preloadable_libintl.so
%{_libdir}/libasprintf.so
%{_libdir}/libgettextlib.so
%{_libdir}/libgettextpo.so
%{_libdir}/libgettextsrc.so
%attr(0644,root,root) %{_includedir}/*.h
%attr(0644,root,root) %{_datadir}/aclocal/*.m4
%attr(0644,root,root) %{_infodir}/autosprintf.info*
%attr(0644,root,root) %{_mandir}/man3/*.3*
%license COPYING
%license gettext-runtime/README-LICENSES
%license gettext-runtime/intl/COPYING.LIB
%doc COPYING gettext-runtime/README-LICENSES gettext-runtime/intl/COPYING.LIB
%doc AUTHORS
%doc gettext-runtime/libasprintf/autosprintf_all.html
%doc rpmdoc/csharpdoc gettext-runtime/intl-java/javadoc2
%doc gettext-runtime/man/*3.html
%files -n libtextstyle
%defattr(-,root,root,-)
%attr(0755,root,root) %{_libdir}/libtextstyle.so.0.2.1
%{_libdir}/libtextstyle.so.0
%license libtextstyle/COPYING
%doc libtextstyle/AUTHORS libtextstyle/COPYING
%files -n libtextstyle-devel
%defattr(-,root,root,-)
%{_libdir}/libtextstyle.so
%attr(0755,root,root) %dir %{_includedir}/textstyle
%attr(0644,root,root) %{_includedir}/textstyle/*.h
%attr(0644,root,root) %{_infodir}/libtextstyle.info*
%license libtextstyle/COPYING
%doc libtextstyle/AUTHORS libtextstyle/COPYING
%doc libtextstyle/doc/*.html libtextstyle/examples
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 0.22.5-0.rc1
- Build for YJL 6.6 (LFS 12.2)
* Tue Apr 18 2023 Michael A. Peters <anymouseprophet@gmail.com> - 0.21.1-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

317
SPECS/glibc.spec Normal file
View File

@ -0,0 +1,317 @@
%define kernelabi 6.6.56
# I need to investigate whether or not it is safe to strip
%global debug_package %{nil}
%global __strip /bin/true
%if %{!?insinfo:1}%{?insinfo:0}
%global insinfo /sbin/install-info
%endif
%if 0%{!?__sed:1} == 1
%global __sed %{_bindir}/sed
%endif
Name: glibc
Version: 2.40
Release: %{?repo}0.rc2%{?dist}
Summary: The GNU C Library
Group: System Environment/Libraries
License: GPLv2, LGPLv2.1
URL: https://www.gnu.org/software/libc/
Source0: https://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz
Patch0: https://www.linuxfromscratch.org/patches/lfs/12.2/%{name}-%{version}-fhs-1.patch
BuildRequires: kernel-abi-headers = %{kernelabi}
BuildRequires: %{__sed}
Requires: libidn2
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
%description
The GNU C Library project provides the core libraries for the GNU system and
GNU/Linux systems, as well as many other systems that use Linux as the kernel.
These libraries provide critical APIs including ISO C11, POSIX.1-2008, BSD,
OS-specific APIs and more. These APIs include such foundational facilities as
open, read, write, malloc, printf, getaddrinfo, dlopen, pthread_create, crypt,
login, exit and more.
The GNU C Library is designed to be a backwards compatible, portable, and high
performance ISO C library. It aims to follow all relevant standards including
ISO C11, POSIX.1-2008, and IEEE 754-2008.
%package utils
Group: System Environment/Libraries
License: GPLv3
Summary: GLibC Utilities
Requires: %{name} = %{version}-%{release}
Requires: tzdata
%description utils
This package contains several system utilities that are part of the GNU C
Library distribution.
%package devel
Group: Development/Libraries
License: GPLv3
Summary: Development files for the GNU C Library
Requires: kernel-abi-headers = %{kernelabi}
%description devel
This package contains the header files and related files that are necessary to
compile software that link against the GNU C Library.
%package static
Group: Development/Libraries
License: GPLv3
Summary: Static libraries for the GNU C Library
Requires: %{name}-devel = %{version}-%{release}
%description static
This package contains the GLibC static libraries. They are only needed to
compile software that staticly links against GLibC.
%prep
%setup -q
%patch 0 -p1
%build
mkdir build && cd build
echo "rootsbindir=%{_sbindir}" > configparms
../configure --prefix=%{_prefix} \
--disable-werror \
--enable-kernel=4.19 \
--enable-stack-protector=strong \
--disable-nscd \
libc_cv_slibdir=%{_libdir}
make %{?_smp_mflags}
%check
cd build
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1 ||:
%else
echo "make check not run during packaging" > %{name}-make.check.log
%endif
%install
cd build
mkdir -p %{buildroot}%{_sysconfdir}
touch %{buildroot}%{_sysconfdir}/ld.so.conf
%{__sed} '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile
make install DESTDIR=%{buildroot}
mkdir %{buildroot}/%{_lib}
mv %{buildroot}%{_libdir}/*.so.* %{buildroot}/%{_lib}/
# fix broken symlinks
rm -f %{buildroot}%{_libdir}/libBrokenLocale.so
ln -sf libBrokenLocale.so.1 %{buildroot}/%{_lib}/libBrokenLocale.so
rm -f %{buildroot}%{_libdir}/libanl.so
ln -sf libanl.so.1 %{buildroot}/%{_lib}/libanl.so
rm -f %{buildroot}%{_libdir}/libc_malloc_debug.so
ln -sf libc_malloc_debug.so.0 %{buildroot}/%{_lib}/libc_malloc_debug.so
rm -f %{buildroot}%{_libdir}/libmvec.so
ln -sf libmvec.so.1 %{buildroot}/%{_lib}/libmvec.so
rm -f %{buildroot}%{_libdir}/libnss_compat.so
ln -sf libnss_compat.so.2 %{buildroot}/%{_lib}/libnss_compat.so
rm -f %{buildroot}%{_libdir}/libnss_db.so
ln -sf libnss_db.so.2 %{buildroot}/%{_lib}/libnss_db.so
rm -f %{buildroot}%{_libdir}/libnss_hesiod.so
ln -sf libnss_hesiod.so.2 %{buildroot}/%{_lib}/libnss_hesiod.so
rm -f %{buildroot}%{_libdir}/libresolv.so
ln -sf libresolv.so.2 %{buildroot}/%{_lib}/libresolv.so
rm -f %{buildroot}%{_libdir}/libthread_db.so
ln -sf libthread_db.so.1 %{buildroot}/%{_lib}/libthread_db.so
mv %{buildroot}%{_libdir}/libmemusage.so %{buildroot}/%{_lib}/
mv %{buildroot}%{_libdir}/libpcprofile.so %{buildroot}/%{_lib}/
# fix ld.so link
rm -f %{_buildroot}%{_bindir}/ld.so
ln -sf ../../%{_lib}/ld-linux-x86-64.so.2 %{buildroot}%{_bindir}/ld.so
mkdir -p %{buildroot}/lib64
ln -sf ../lib/ld-linux-x86-64.so.2 %{buildroot}/lib64/
mkdir -p %{buildroot}/sbin
mv %{buildroot}%{_sbindir}/ldconfig %{buildroot}/sbin/
mv %{buildroot}%{_sbindir}/sln %{buildroot}/sbin/
%{__sed} '/RTLDLIST=/s@/usr@@g' -i %{buildroot}%{_bindir}/ldd
make localedata/install-locales DESTDIR=%{buildroot}
#localedef -i C -f UTF-8 C.UTF-8
#localedef -i ja_JP -f SHIFT_JIS ja_JP.SJIS 2> /dev/null || true
cat > %{buildroot}%{_sysconfdir}/nsswitch.conf << "EOF"
# Begin %{_sysconfdir}/nsswitch.conf
passwd: files systemd
group: files systemd
shadow: files systemd
hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
networks: files
protocols: files
services: files
ethers: files
rpc: files
# End %{_sysconfdir}/nsswitch.conf
EOF
cat >> %{buildroot}%{_sysconfdir}/ld.so.conf << "EOF"
# Add an include directory
include %{_sysconfdir}/ld.so.conf.d/*.conf
EOF
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
cd ..
%find_lang libc
%post
/sbin/ldconfig
%{insinfo} %{_infodir}/libc.info %{_infodir}/dir ||:
%postun -p /sbin/ldconfig
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/libc.info %{_infodir}/dir ||:
fi
%files -f libc.lang
%defattr(-,root,root,-)
%doc CONTRIBUTED-BY COPYING* LICENSES MAINTAINERS NEWS README
%doc Rules SECURITY.md
%license COPYING* LICENSES
%attr(0755,root,root) /%{_lib}/ld-linux-x86-64.so.2
%attr(0755,root,root) /%{_lib}/libBrokenLocale.so.1
%attr(0755,root,root) /%{_lib}/libanl.so.1
%attr(0755,root,root) /%{_lib}/libc.so.6
%attr(0755,root,root) /%{_lib}/libc_malloc_debug.so.0
%attr(0755,root,root) /%{_lib}/libdl.so.2
%attr(0755,root,root) /%{_lib}/libm.so.6
%attr(0755,root,root) /%{_lib}/libmemusage.so
%attr(0755,root,root) /%{_lib}/libmvec.so.1
%attr(0755,root,root) /%{_lib}/libnsl.so.1
%attr(0755,root,root) /%{_lib}/libnss_compat.so.2
%attr(0755,root,root) /%{_lib}/libnss_db.so.2
%attr(0755,root,root) /%{_lib}/libnss_dns.so.2
%attr(0755,root,root) /%{_lib}/libnss_files.so.2
%attr(0755,root,root) /%{_lib}/libnss_hesiod.so.2
%attr(0755,root,root) /%{_lib}/libpcprofile.so
%attr(0755,root,root) /%{_lib}/libpthread.so.0
%attr(0755,root,root) /%{_lib}/libresolv.so.2
%attr(0755,root,root) /%{_lib}/librt.so.1
%attr(0755,root,root) /%{_lib}/libthread_db.so.1
%attr(0755,root,root) /%{_lib}/libutil.so.1
/lib64/ld-linux-x86-64.so.2
%dir %{_libdir}/audit
%attr(0755,root,root) %{_libdir}/audit/sotruss-lib.so
%dir %{_libdir}/gconv
%attr(0755,root,root) %{_libdir}/gconv/*.so
%config(noreplace) %attr(0644,root,root) %{_libdir}/gconv/gconv-modules
%dir %{_libdir}/gconv/gconv-modules.d
%config(noreplace) %attr(0644,root,root) %{_libdir}/gconv/gconv-modules.d/gconv-modules-extra.conf
%{_datadir}/i18n/locales
%{_infodir}/libc.info*
%exclude %{_infodir}/dir
%doc build/%{name}-make.check.log
%files utils
%defattr(-,root,root,-)
%doc CONTRIBUTED-BY COPYING* LICENSES MAINTAINERS NEWS README
%doc Rules SECURITY.md
%license COPYING* LICENSES
%config(noreplace) %{_sysconfdir}/ld.so.conf
%dir %{_sysconfdir}/ld.so.conf.d
%config(noreplace) %{_sysconfdir}/nsswitch.conf
%config(noreplace) %{_sysconfdir}/rpc
%exclude %{_sysconfdir}/ld.so.cache
%attr(0755,root,root) /sbin/ldconfig
%attr(0755,root,root) /sbin/sln
%{_bindir}/*
%attr(0755,root,root) %{_sbindir}/*
%{_libdir}/locale/locale-archive
%{_libexecdir}/getconf
%{_datadir}/i18n/charmaps
%{_sharedstatedir}/nss_db
%{_datadir}/locale/locale.alias
%files devel
%defattr(-,root,root,-)
%doc CONTRIBUTED-BY COPYING* LICENSES MAINTAINERS NEWS README
%doc Rules SECURITY.md
%license COPYING* LICENSES
%{_includedir}/*.h
%{_includedir}/arpa
%{_includedir}/bits
%{_includedir}/finclude
%{_includedir}/gnu
%{_includedir}/net
%{_includedir}/netash
%{_includedir}/netatalk
%{_includedir}/netax25
%{_includedir}/neteconet
%{_includedir}/netinet
%{_includedir}/netipx
%{_includedir}/netiucv
%{_includedir}/netpacket
%{_includedir}/netrom
%{_includedir}/netrose
%{_includedir}/nfs
%{_includedir}/protocols
%{_includedir}/rpc
%{_includedir}/scsi
%{_includedir}/sys
%{_libdir}/Mcrt1.o
%{_libdir}/Scrt1.o
%{_libdir}/crt1.o
%{_libdir}/crti.o
%{_libdir}/crtn.o
%{_libdir}/gcrt1.o
%{_libdir}/grcrt1.o
/%{_lib}/libBrokenLocale.so
/%{_lib}/libanl.so
%{_libdir}/libc.so
/%{_lib}/libc_malloc_debug.so
#%%{_libdir}/libcrypt.so
%{_libdir}/libm.so
/%{_lib}/libmvec.so
/%{_lib}/libnss_compat.so
/%{_lib}/libnss_db.so
/%{_lib}/libnss_hesiod.so
/%{_lib}/libresolv.so
/%{_lib}/libthread_db.so
%{_libdir}/rcrt1.o
%files static
%defattr(-,root,root,-)
%doc CONTRIBUTED-BY COPYING* LICENSES MAINTAINERS NEWS README
%doc Rules SECURITY.md
%license COPYING* LICENSES
%attr(0644,root,root) %{_libdir}/libBrokenLocale.a
%attr(0644,root,root) %{_libdir}/libanl.a
%attr(0644,root,root) %{_libdir}/libc.a
%attr(0644,root,root) %{_libdir}/libc_nonshared.a
#%%attr(0644,root,root) %%{_libdir}/libcrypt.a
%attr(0644,root,root) %{_libdir}/libdl.a
%attr(0644,root,root) %{_libdir}/libg.a
%attr(0644,root,root) %{_libdir}/libm-%{version}.a
%attr(0644,root,root) %{_libdir}/libm.a
%attr(0644,root,root) %{_libdir}/libmcheck.a
%attr(0644,root,root) %{_libdir}/libmvec.a
%attr(0644,root,root) %{_libdir}/libpthread.a
%attr(0644,root,root) %{_libdir}/libresolv.a
%attr(0644,root,root) %{_libdir}/librt.a
%attr(0644,root,root) %{_libdir}/libutil.a
%changelog
* Fri Oct 18 2024 Michael A. Peters <anymouseprophet@gmail.com> - 2.40-0.rc2
- Initial spec file for YJL 6.6 (LFS 12.2). Quite likely needs a lot of work.
- Why isn't libcrypt being built?

68
SPECS/grep.spec Normal file
View File

@ -0,0 +1,68 @@
%if %{!?insinfo:1}%{?insinfo:0}
%global insinfo /sbin/install-info
%endif
Name: grep
Version: 3.11
Release: %{?repo}0.rc1%{?dist}
Summary: text pattern matching utility
Group: System Environment/Utilities
License: GPLv3
URL: https://www.gnu.org/software/grep/
Source0: https://ftp.gnu.org/gnu/grep/grep-%{version}.tar.xz
#BuildRequires:
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
%description
Grep searches one or more input files for lines containing a match to
a specified pattern. By default, Grep outputs the matching lines.
%prep
%setup -q
sed -i "s/echo/#echo/" src/egrep.sh
%build
%configure
make %{?_smp_mflags}
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1
%else
echo "make test not run during package build." > %{name}-make.check.log
%endif
%install
make install DESTDIR=%{buildroot}
%find_lang grep
%post
%{insinfo} %{_infodir}/%{name}.info %{_infodir}/dir ||:
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/%{name}.info %{_infodir}/dir ||:
fi
%files -f grep.lang
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/egrep
%attr(0755,root,root) %{_bindir}/fgrep
%attr(0755,root,root) %{_bindir}/grep
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_infodir}/grep.info*
%attr(0644,root,root) %{_mandir}/man1/grep.1*
%license COPYING
%doc %{name}-make.check.log
%doc AUTHORS ChangeLog* COPYING NEWS README THANKS TODO
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 3.11-0.rc1
- Build for YJL 6.6 (LFS 12.2)
* Tue Apr 18 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.8-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

64
SPECS/gzip.spec Normal file
View File

@ -0,0 +1,64 @@
%if %{!?insinfo:1}%{?insinfo:0}
%global insinfo /sbin/install-info
%endif
Name: gzip
Version: 1.13
Release: %{?repo}0.rc1%{?dist}
Summary: GNU compression utility
Group: System Environment/Utilities
License: GPLv3
URL: https://www.gnu.org/software/gzip
Source0: https://ftp.gnu.org/gnu/gzip/gzip-%{version}.tar.xz
#BuildRequires:
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
%description
gzip (GNU zip) is a compression utility designed to be a replacement
for 'compress'. Its main advantages over compress are much better
compression and freedom from patented algorithms. The GNU Project
uses it as the standard compression program for its system.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1
%else
echo "make test not run during package build." > %{name}-make.check.log
%endif
%install
make install DESTDIR=%{buildroot}
%post
%{insinfo} %{_infodir}/%{name}.info %{_infodir}/dir ||:
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/%{name}.info %{_infodir}/dir ||:
fi
%files
%defattr(-,root,root,-)
%license COPYING
%doc %{name}-make.check.log
%doc AUTHORS ChangeLog COPYING README THANKS
%attr(0755,root,root) %{_bindir}/*
%attr(0644,root,root) %{_infodir}/%{name}.info*
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_mandir}/man1/*.1*
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 1.13-0.rc1
- Initial spec file for YJL 6.6 (LFS 12.2)

View File

@ -0,0 +1,54 @@
Name: kernel-abi-headers
Version: 6.6.56
Release: 1%{?dist}
Summary: The Linux Kernel ABI Headers for GLibC
Group: Development/Libraries
License: GPLv2
URL: https://www.kernel.org
Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%{version}.tar.xz
BuildArch: noarch
Provides: kernel-headers = %{version}
%description
These are the Linux kernel headers that glibc builds against. The version
of the kernel these headers are from does not need to match the version
of the running kernel and should NOT be upgraded.
%prep
%setup -n linux-%{version}
%build
make mrproper
make headers
find usr/include -type f ! -name '*.h' -delete
%install
mkdir -p %{buildroot}%{_prefix}
cp -ar usr/include %{buildroot}%{_prefix}/
%files
%defattr(-,root,root,-)
%{_includedir}/asm
%{_includedir}/asm-generic
%{_includedir}/drm
%{_includedir}/linux
%{_includedir}/misc
%{_includedir}/mtd
%{_includedir}/rdma
%{_includedir}/scsi
%{_includedir}/sound
%{_includedir}/video
%{_includedir}/xen
%license COPYING
%doc COPYING CREDITS
%changelog
* Thu Oct 17 2024 Michael A. Peters <anymouseprophet@gmail.com> - 6.6.56-1
- Build for YJL 6.6 (LFS/BLFS 12.2 SystemD)
* Tue Mar 14 2023 Michael A. Peters <anymouseprophet@gmail.com> - 6.1.14-2
- Renamed from kernel-headers to kernel-abi-headers to avoid confusion.
* Sat Mar 11 2023 Michael A. Peters <anymouseprophet@gmail.com> - 6.1.14-1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

113
SPECS/kernel.spec Normal file
View File

@ -0,0 +1,113 @@
# no stripping
%global debug_package %{nil}
%global __strip /bin/true
# kernel tags
%global kseries 6.1
%global krel 32
%global localktag genesis.1
Name: kernel
Version: %{kseries}.%{krel}
Release: %{?repo}%{localktag}%{?dist}
Summary: The Linux kernel
Group: System Environment/Kernel
License: GPL-2.0 WITH Linux-syscall-note
URL: https://www.kernel.org
Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%{version}.tar.xz
Source1: config-%{version}-%{localktag}
Provides: linux-kernel = %{kseries}
#BuildRequires:
#Requires:
%description
This package contains the Linux kernel. You can not boot GNU/Linux
without a kernel.
%package modules
Summary: Linux Kernel Modules
Group: System Environment/Core
Requires: %{name} = %{version}-%{release}
%description modules
This package includes the Linux kernel modules. You *probably* can not
successfully boot your system without the proper kernel modules package
that matches the kernel.
%package doc
Summary: Linux Kernel Documentation
Group: Developer/Documentation
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description doc
This package contains the Linux kernel documentation.
%prep
%setup -n linux-%{version}
make mrproper
cp %{SOURCE1} ./.config
%build
make oldconfig
make %{?_smp_mflags}
%install
export INSTALL_MOD_PATH=%{buildroot}
make modules_install
rm -f %{buildroot}/lib/modules/%{version}-%{localktag}/build
rm -f %{buildroot}/lib/modules/%{version}-%{localktag}/source
install -D -m644 .config %{buildroot}/boot/config-%{version}-%{localktag}
install -m644 System.map %{buildroot}/boot/System.map-%{version}-%{localktag}
install -m644 arch/%{_arch}/boot/bzImage %{buildroot}/boot/vmlinuz-%{version}-%{localktag}
install -d %{buildroot}%{_datadir}/doc
cp -r Documentation %{buildroot}%{_datadir}/doc/linux-%{version}
%files
%defattr(-,root,root,-)
/boot/config-%{version}-%{localktag}
/boot/System.map-%{version}-%{localktag}
/boot/vmlinuz-%{version}-%{localktag}
%license COPYING LICENSES
%doc COPYING CREDITS LICENSES MAINTAINERS README
%files modules
%defattr(-,root,root,-)
/lib/modules/%{version}-%{localktag}
%license COPYING LICENSES
%doc COPYING CREDITS LICENSES MAINTAINERS README
%files doc
%defattr(-,root,root,-)
%{_datadir}/doc/linux-%{version}
%changelog
* Mon Jun 05 2023 Michael A. Peters <anymouseprohet@gmail.com> - 6.1.32-genesis.1
- Update to 6.1.32
* Tue May 30 2023 Michael A. Peters <anymouseprohet@gmail.com> - 6.1.31-genesis.1
- Update to 6.1.31
* Wed May 24 2023 Michael A. Peters <anymouseprohet@gmail.com> - 6.1.30-genesis.1
- Update to 6.1.30
* Thu May 18 2023 Michael A. Peters <anymouseprohet@gmail.com> - 6.1.29-genesis.1
- Update to 6.1.29
* Thu May 11 2023 Michael A. Peters <anymouseprohet@gmail.com> - 6.1.28-genesis.1
- Update to 6.1.28
- Prune changelog
* Mon May 01 2023 Michael A. Peters <anymouseprohet@gmail.com> - 6.1.27-genesis.1
- Update to 6.1.27
* Thu Apr 27 2023 Michael A. Peters <anymouseprohet@gmail.com> - 6.1.26-genesis.1
- Update to 6.1.26
* Sat Mar 11 2023 Michael A. Peters <anymouseprohet@gmail.com> - 6.1.18-genesis.1
- Initial kernel packaging

404
SPECS/libressl.spec Normal file
View File

@ -0,0 +1,404 @@
%if 0%{!?_ssldir:1} == 1
%global _ssldir %{_sysconfdir}/ssl
%endif
%if 0%{!?_pkitls:1} == 1
%global _pkitls %{_sysconfdir}/pki/tls
%endif
%if 0%{!?__sed:1} == 1
%global __sed %{_bindir}/sed
%endif
%if 0%{!?__chrpath:1} == 1
%global __chrpath %{_bindir}/chrpath
%endif
# Shared library versions
%global slibcryptov 53.0.0
%global slibsslv 56.0.0
%global slibtlsv 29.0.0
Name: libressl
Version: 3.9.2
Release: %{?repo}0.rc1%{?dist}
Summary: OpenBSD fork of the OpenSSL Cryptography Suite
Group: System Environment/Libraries
License: OpenSSL
URL: https://www.libressl.org/
Source0: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/%{name}-%{version}.tar.gz
Source1: libressl-yjl-additions.cnf
# some DH params
# 2048
Source20: https://bettercrypto.org/static/dhparams/group14.pem
# 3072
Source21: https://bettercrypto.org/static/dhparams/group15.pem
# 4096
Source22: https://bettercrypto.org/static/dhparams/group16.pem
# 6144
Source23: https://bettercrypto.org/static/dhparams/group17.pem
# 8192
Source24: https://bettercrypto.org/static/dhparams/group18.pem
# DHE README
Source25: README.DHE.md
###### YJL patches
Patch90: libressl-3.9.2-cnf-name.patch
#BuildRequires: %%{__chrpath}
BuildRequires: %{__sed}
Requires: %{name}-libs = %{version}-%{release}
%description
LibreSSL is a fork of OpenSSL 1.0.1g developed by the OpenBSD project.
Their goal is to modernize the codebase, improve security, and apply best
practice development processes from OpenBSD.
%package libs
Summary: Shared Libraries for LibreSSL
Group: System Environment/Libraries
Requires: make-ca
%description libs
This package provides the shared libraries for LibreSSL.
LibreSSL is API compatible with OpenSSL 1.0.1, but does not yet include
all new APIs from OpenSSL 1.0.2 and later. LibreSSL also includes APIs
not yet present in OpenSSL. The current common API subset is OpenSSL
1.0.1.
LibreSSL it is not ABI compatible with any release of OpenSSL, or
necessarily earlier releases of LibreSSL. You will need to relink your
programs to LibreSSL in order to use it, just as in moving between major
versions of OpenSSL.
LibreSSL's installed library version numbers are incremented to account
for ABI and API changes.
%package devel
Summary: Developer files for LibreSSL
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
Conflicts: openssl-devel
%description devel
This package provides the development header files for LibreSSL.
%package openssl-compat
Group: Compatability
Summary: OpenSSL command compatibility
Requires: libressl = %{version}-%{release}
BuildArch: noarch
Conflicts: openssl
Conflicts: openssl-devel
%description openssl-compat
This package is intended for the build system, to allow packages
that want an executable named "openssl" to still build against
LibreSSL
%package dhe-systemd
Summary: SystemD timer scripts to generate DHE groups
Group: System Administration/Miscellaneous
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description dhe-systemd
For servers that support TLS with the DHE key exchange, it is generally
a good idea to generate fresh DHE groups periodically. This package
installs SystemD service and timer scripts that do so.
For non-servers, all these scripts do is waste CPU cycles. Desktop
users should not install this package.
%prep
%setup -q
%patch 90 -p1
# These aren't renamed in the patches to reduce patch size.
mv openssl.cnf libressl.cnf
mv man/openssl.cnf.5 man/libressl.cnf.5
#mv apps/openssl/openssl.1 apps/openssl/libressl.1
# man page fix
pushd apps/openssl
%__sed -i 's?^.Dt OPENSSL?.Dt LIBRESSL?' openssl.1
%__sed -i 's?openssl.1?libressl.1?' openssl.1
%__sed -i 's?^.Nd OpenSSL?.Nd LibreSSL?g' openssl.1
%__sed -i 's?^.Nm openssl ?.Nm libressl ?g' openssl.1
%__sed -i 's?^.Nm openssl$?.Nm libressl?g' openssl.1
%__sed -i 's?^.It Nm openssl ?.It Nm libressl ?g' openssl.1
%__sed -i 's?^.Cm openssl ?.Cm libressl ?g' openssl.1
%__sed -i 's?^.Bl -hang -width "openssl?.Bl -hang -width "libressl?g' openssl.1
mv openssl.1 libressl.1
%__sed -i 's?openssl.1?libressl.1?' CMakeLists.txt
%__sed -i 's?openssl.1?libressl.1?' Makefile.am
%__sed -i 's?openssl.1?libressl.1?' Makefile.in
popd
cp %{SOURCE25} .
%build
%configure \
--with-openssldir=%{_ssldir} \
--libdir=/%{_lib}
# fails biotest w/ this option
# --enable-extratests
##%% from RHEL/CentOS OpenSSL spec file ##%%
# Add -Wa,--noexecstack here so that libcrypto's assembler modules will be
# marked as not requiring an executable stack.
# Also add -DPURIFY to make using valgrind with openssl easier as we do not
# want to depend on the uninitialized memory as a source of entropy anyway.
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wa,--noexecstack -DPURIFY"
make %{?_smp_mflags}
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1
%else
echo "make test not run during package build." > %{name}-make.check.log
%endif
%install
make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_ssldir}/cert.pem
install -d %{buildroot}%{_ssldir}/csr
#install -d %%{buildroot}%%{_sysconfdir}/ssl
#ln -s ../pki/tls/libressl.cnf %%{buildroot}%%{_sysconfdir}/ssl/libressl.cnf
install -d %{buildroot}%{_pkitls}
#rename openssl binary
mv %{buildroot}%{_bindir}/openssl %{buildroot}%{_bindir}/libressl
#customize the conf
cat %{SOURCE1} >> %{buildroot}%{_ssldir}/libressl.cnf
# adjust developer .so links
install -m755 -d %{buildroot}%{_libdir}
rm -f %{buildroot}/%{_lib}/libcrypto.{so,la}
ln -s ../../%{_lib}/libcrypto.so.%{slibcryptov} \
%{buildroot}%{_libdir}/libcrypto.so
mv %{buildroot}/%{_lib}/libcrypto.a %{buildroot}%{_libdir}/
rm -f %{buildroot}/%{_lib}/libssl.{so,la}
ln -s ../../%{_lib}/libssl.so.%{slibsslv} \
%{buildroot}%{_libdir}/libssl.so
mv %{buildroot}/%{_lib}/libssl.a %{buildroot}%{_libdir}/
rm -f %{buildroot}/%{_lib}/libtls.{so,la}
ln -s ../../%{_lib}/libtls.so.%{slibtlsv} \
%{buildroot}%{_libdir}/libtls.so
mv %{buildroot}/%{_lib}/libtls.a %{buildroot}%{_libdir}/
# adjust developer pkgconfig files
%{__sed} -i 's?libdir=.*?libdir=%{_libdir}?' \
%{buildroot}/%{_lib}/pkgconfig/libcrypto.pc
%{__sed} -i 's?libdir=.*?libdir=%{_libdir}?' \
%{buildroot}/%{_lib}/pkgconfig/libssl.pc
%{__sed} -i 's?libdir=.*?libdir=%{_libdir}?' \
%{buildroot}/%{_lib}/pkgconfig/libtls.pc
%{__sed} -i 's?libdir=.*?libdir=%{_libdir}?' \
%{buildroot}/%{_lib}/pkgconfig/openssl.pc
mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}/
# compatibility
ln -s libressl %{buildroot}%{_bindir}/openssl
ln -s libressl.cnf %{buildroot}%{_ssldir}/openssl.cnf
cat > %{buildroot}%{_mandir}/man1/openssl.1 << "EOF"
.so man1/libressl.1
EOF
cat > %{buildroot}%{_mandir}/man5/openssl.cnf.5 << "EOF"
.so man5/libressl.cnf.5
EOF
#MODP IKE
install -p -m644 %{SOURCE20} %{buildroot}%{_pkitls}/MODP-IKE-2048-group14.pem
install -p -m644 %{SOURCE21} %{buildroot}%{_pkitls}/MODP-IKE-3072-group15.pem
install -p -m644 %{SOURCE22} %{buildroot}%{_pkitls}/MODP-IKE-4096-group16.pem
install -p -m644 %{SOURCE23} %{buildroot}%{_pkitls}/MODP-IKE-6144-group17.pem
install -p -m644 %{SOURCE24} %{buildroot}%{_pkitls}/MODP-IKE-8192-group18.pem
# initial parameters
install -p -m644 %{SOURCE20} %{buildroot}%{_pkitls}/dh2048.pem
install -p -m644 %{SOURCE21} %{buildroot}%{_pkitls}/dh3072.pem
install -p -m644 %{SOURCE22} %{buildroot}%{_pkitls}/dh4096.pem
install -p -m644 %{SOURCE25} %{buildroot}%{_pkitls}/README.DHE.md
#DH parameter generation libexecdir scripts
mkdir -p %{buildroot}%{_libexecdir}
cat <<EOF > %{buildroot}%{_libexecdir}/daily_dh_params.sh
#!/bin/bash
TMPFILE="\`%{_bindir}/mktemp -p /tmp dhparams.XXXXXXXXXX\`"
trap "rm -f \${TMPFILE}" EXIT TERM
%{_bindir}/nice -n19 %{_bindir}/libressl dhparam -out \${TMPFILE} 2048 > /dev/null 2>&1
if [ \$? -eq 0 ]; then
install -m644 \${TMPFILE} %{_pkitls}/dh2048.pem
fi
EOF
cat <<EOF > %{buildroot}%{_libexecdir}/monthly_dh_params.sh
#!/bin/bash
TMPFILE="\`%{_bindir}/mktemp -p /tmp dhparams.XXXXXXXXXX\`"
trap "rm -f \${TMPFILE}" EXIT TERM
%{_bindir}/nice -n19 %{_bindir}/libressl dhparam -out \${TMPFILE} 3072 > /dev/null 2>&1
if [ \$? -eq 0 ]; then
install -m644 \${TMPFILE} %{_pkitls}/dh3072.pem
fi
%{_bindir}/nice -n19 %{_bindir}/libressl dhparam -out \${TMPFILE} 4096 > /dev/null 2>&1
if [ \$? -eq 0 ]; then
install -m644 \${TMPFILE} %{_pkitls}/dh4096.pem
fi
EOF
# probably should do path with a systemd specific macro?
mkdir -p %{buildroot}%{_libdir}/systemd/system
cat <<EOF > %{buildroot}%{_libdir}/systemd/system/update-dhe-daily.service
[Unit]
Description=Daily generate fresh DHE-2048 parameters
DefaultDependencies=no
After=local-fs.target
Before=shutdown.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=%{_libexecdir}/daily_dh_params.sh
EOF
cat <<EOF > %{buildroot}%{_libdir}/systemd/system/update-dhe-monthly.service
[Unit]
Description=Monthly generate fresh DHE-3072 and DHE-4096 parameters
DefaultDependencies=no
After=local-fs.target
Before=shutdown.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=%{_libexecdir}/monthly_dh_params.sh
EOF
cat <<EOF > %{buildroot}%{_libdir}/systemd/system/update-dhe-daily.timer
[Unit]
Description=Daily generate fresh DHE-2048 parameters
[Timer]
OnCalendar=daily
Persistent=true
[Install]
WantedBy=timers.target
EOF
cat <<EOF > %{buildroot}%{_libdir}/systemd/system/update-dhe-monthly.timer
[Unit]
Description=Monthly generate fresh DHE-3072 and DHE-4096 parameters
[Timer]
OnCalendar=daily
Persistent=true
[Install]
WantedBy=timers.target
EOF
#fix rpath
#%%{_bindir}/chrpath -d %%{buildroot}%{_bindir}/libressl
#%%{_bindir}/chrpath -d %%{buildroot}%{_bindir}/ocspcheck
#%%{_bindir}/chrpath -d %%{buildroot}/%%{_lib}/libcrypto.so.%%{slibcryptov}
#%%{_bindir}/chrpath -d %%{buildroot}/%%{_lib}/libssl.so.%%{slibsslv}
#%%{_bindir}/chrpath -d %%{buildroot}/%%{_lib}/libtls.so.%%{slibtlsv}
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/libressl
%attr(0755,root,root) %{_bindir}/ocspcheck
%attr(0644,root,root) %{_mandir}/man1/libressl.1*
%attr(0644,root,root) %{_mandir}/man5/libressl.cnf.5*
%attr(0644,root,root) %{_mandir}/man5/x509v3.cnf.5*
%attr(0644,root,root) %{_mandir}/man8/ocspcheck.8*
%license COPYING
%doc ChangeLog COPYING README.md VERSION %{name}-make.check.log
%files libs
%defattr(-,root,root,-)
%dir %{_ssldir}/csr
%dir %{_sysconfdir}/ssl
/%{_lib}/libcrypto.so.53
%attr(0755,root,root) /%{_lib}/libcrypto.so.%{slibcryptov}
/%{_lib}/libssl.so.56
%attr(0755,root,root) /%{_lib}/libssl.so.%{slibsslv}
/%{_lib}/libtls.so.29
%attr(0755,root,root) /%{_lib}/libtls.so.%{slibtlsv}
# configuration files
%attr(0644,root,root) %config(noreplace) %{_ssldir}/libressl.cnf
%attr(0644,root,root) %config(noreplace) %{_ssldir}/x509v3.cnf
%attr(0644,root,root) %config(noreplace) %{_pkitls}/dh2048.pem
%attr(0644,root,root) %config(noreplace) %{_pkitls}/dh3072.pem
%attr(0644,root,root) %config(noreplace) %{_pkitls}/dh4096.pem
# MODP IKE
%attr(0644,root,root) %{_pkitls}/MODP-IKE-2048-group14.pem
%attr(0644,root,root) %{_pkitls}/MODP-IKE-3072-group15.pem
%attr(0644,root,root) %{_pkitls}/MODP-IKE-4096-group16.pem
%attr(0644,root,root) %{_pkitls}/MODP-IKE-6144-group17.pem
%attr(0644,root,root) %{_pkitls}/MODP-IKE-8192-group18.pem
%license COPYING
%doc ChangeLog COPYING README.md VERSION %{name}-make.check.log
%files devel
%defattr(-,root,root,-)
%{_includedir}/openssl
%{_includedir}/tls.h
%exclude %{_libdir}/libcrypto.a
%{_libdir}/libcrypto.so
%exclude %{_libdir}/libssl.a
%{_libdir}/libssl.so
%exclude %{_libdir}/libtls.a
%{_libdir}/libtls.so
%{_mandir}/man3/*.3*
%attr(0644,root,root) %{_libdir}/pkgconfig/*.pc
%files openssl-compat
%defattr(-,root,root,-)
%{_bindir}/openssl
%{_ssldir}/openssl.cnf
%attr(0644,root,root) %{_mandir}/man1/openssl.1*
%attr(0644,root,root) %{_mandir}/man5/openssl.cnf.5*
%files dhe-systemd
%defattr(-,root,root,-)
%attr(0755,root,root) %{_libexecdir}/daily_dh_params.sh
%attr(0755,root,root) %{_libexecdir}/monthly_dh_params.sh
%attr(0644,root,root) %{_libdir}/systemd/system/update-dhe-daily.service
%attr(0644,root,root) %{_libdir}/systemd/system/update-dhe-daily.timer
%attr(0644,root,root) %{_libdir}/systemd/system/update-dhe-monthly.service
%attr(0644,root,root) %{_libdir}/systemd/system/update-dhe-monthly.timer
%attr(0644,root,root) %{_pkitls}/README.DHE.md
%doc README.DHE.md
%changelog
* Thu Oct 17 2024 Michael A. Peters <anymouseprophet@gmail.com> - 3.9.2-0.rc1
- First build for YJL 6.6 (LFS 12.2 SystemD)
- Nuke the dhe-cron package, use SystemD timer units instead
* Sun May 21 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.7.2-0.rc3
- openssl-compat package
* Fri May 19 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.7.2-0.rc2
- Rebuild in gcc 12.3.0
* Sun May 07 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.7.2-0.rc1
- Update to 3.7.2
* Thu Apr 27 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.6.2-0.rc3
- Fix openssldir
* Sat Mar 18 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.6.2-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)
- Based on the LibreSSL packages I created for CentOS 7 (AWEL)

80
SPECS/m4.spec Normal file
View File

@ -0,0 +1,80 @@
# Many (most?) distributions put install-info in /{,usr/}sbin
# YJL defines this macro to /usr/bin/install-info
# so define it to be in /sbin/ if not defined.
%if %{!?insinfo:1}%{?insinfo:0}
%global insinfo /sbin/install-info
%endif
Name: m4
Version: 1.4.19
Release: %{?repo}0.rc3%{?dist}
Summary: Unix macro processor
Group: Development/Utilities
License: GPLv3
URL: https://www.gnu.org/software/m4/
Source0: https://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
#BuildRequires:
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
%description
GNU M4 is an implementation of the traditional Unix macro processor.
It is mostly SVR4 compatible although it has some extensions (for
example, handling more than 9 positional parameters to macros). GNU M4
also has built-in functions for including files, running shell commands,
doing arithmetic, etc.
GNU M4 is a macro processor in the sense that it copies its input to
the output expanding macros as it goes. Macros are either builtin or
user-defined and can take any number of arguments. Besides just doing
macro expansion, m4 has builtin functions for including named files,
running UNIX commands, doing integer arithmetic, manipulating text in
various ways, recursion etc... m4 can be used either as a front-end to
a compiler or as a macro processor in its own right.
One of the biggest users of GNU M4 is the GNU Autoconf project.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%check
make check > %{name}-make.check.log 2>&1
%install
make install DESTDIR=%{buildroot}
%find_lang %{name}
%post
%{insinfo} %{_infodir}/m4.info %{_infodir}/dir ||:
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/m4.info %{_infodir}/dir || :
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/m4
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_infodir}/m4.info*
%attr(0644,root,root) %{_mandir}/man1/m4.1*
%license COPYING
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%doc %{name}-make.check.log
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 1.4.19-0.rc3
- Rebuild for YJL 6.6 (LFS 12.2)
* Wed Apr 12 2023 Michael A. Peters <anymouseprophet@gmail.com> - 1.4.19-0.rc2
- Rebuild with newly packaged gcc
* Thu Mar 23 2023 Michael A. Peters <anymouseprophet@gmail.com> - 1.4.19-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

69
SPECS/make.spec Normal file
View File

@ -0,0 +1,69 @@
# Some distributions put install-info in /{,usr/}sbin
%global insinfo %{_bindir}/install-info
Name: make
Version: 4.4.1
Release: %{?repo}0.rc1%{?dist}
Summary: Utility for building from a makefile
Group: Development/Utilities
License: GPLv3
URL: https://www.gnu.org/software/make/
Source0: https://ftp.gnu.org/gnu/make/make-%{version}.tar.gz
#BuildRequires:
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
%description
GNU Make is a tool which controls the generation of executables and
other non-source files of a program from the program's source files.
%prep
%setup -q
#sed -e '/ifdef SIGPIPE/,+2 d' \
# -e '/undef FATAL_SIG/i FATAL_SIG (SIGPIPE);' \
# -i src/main.c
%build
%configure
make %{?_smp_mflags}
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1
%else
echo "make test not run during package build." > %{name}-make.check.log
%endif
%install
make install DESTDIR=%{buildroot}
%find_lang %{name}
%post
%{insinfo} %{_infodir}/make.info %{_infodir}/dir ||:
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/make.info %{_infodir}/dir ||:
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/make
%attr(0644,root,root) %{_includedir}/gnumake.h
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_infodir}/make.info*
%attr(0644,root,root) %{_mandir}/man1/make.1*
%license COPYING
%doc AUTHORS ChangeLog COPYING %{name}-make.check.log
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 4.4.1-0.rc1
- Build for YJL 6.6 (LFS 12.2)
* Mon Apr 10 2023 Michael A. Peters <anymouseprophet@gmail.com> - 4.4-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

180
SPECS/ncurses.spec Normal file
View File

@ -0,0 +1,180 @@
Name: ncurses
Version: 6.5
Release: %{?repo}0.rc1%{?dist}
Summary: The ncurses library
Group: System Environment/Libraries
License: MIT
URL: https://invisible-island.net/ncurses/ncurses.html
Source0: https://invisible-mirror.net/archives/%{name}/%{name}-%{version}.tar.gz
BuildRequires: libstdc++-devel
%description
The ncurses library.
%package -n ada-ncurses
Summary: Ada support files for ncurses
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: gcc-gnat
# FIXME
%description -n ada-ncurses
This package contains some ada support files that I still need to
properly investigate and understand the purpose of.
%package devel
Summary: Development files for ncurses
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
This package contains the developer files needed to build software that links
against the ncurses library.
%prep
%setup -q
%build
%configure \
--libdir=/lib \
--with-shared \
--without-debug \
--without-normal \
--with-cxx-shared \
--enable-pc-files \
--enable-widec \
--with-pkg-config-libdir=%{_libdir}/pkgconfig
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
for PC in formw.pc menuw.pc ncurses++w.pc ncursesw.pc panelw.pc; do
sed -i 's?^libdir=.*?libdir=%{_libdir}?' %{buildroot}%{_libdir}/pkgconfig/${PC}
sed -i 's?-L/lib?-L%{_libdir}?' %{buildroot}%{_libdir}/pkgconfig/${PC}
done
rm -f %{buildroot}/%{_lib}/libformw.so
ln -sf ../../%{_lib}/libformw.so.6 %{buildroot}%{_libdir}/libformw.so
rm -f %{buildroot}/%{_lib}/libmenuw.so
ln -sf ../../%{_lib}/libmenuw.so.6 %{buildroot}%{_libdir}/libmenuw.so
rm -f %{buildroot}/%{_lib}/libncurses++w.so
ln -sf ../../%{_lib}/libncurses++w.so.6 %{buildroot}%{_libdir}/libncurses++w.so
rm -f %{buildroot}/%{_lib}/libncursesw.so
ln -sf ../../%{_lib}/libncursesw.so.6 %{buildroot}%{_libdir}/libncursesw.so
rm -f %{buildroot}/%{_lib}/libpanelw.so
ln -sf ../../%{_lib}/libpanelw.so.6 %{buildroot}%{_libdir}/libpanelw.so
### hackery...
# create non-wide variants
for lib in ncurses form panel menu ; do
echo "INPUT(-l${lib}w)" > %{buildroot}%{_libdir}/lib${lib}.so
ln -sfv ${lib}w.pc %{buildroot}%{_libdir}/pkgconfig/${lib}.pc
done
# for libcurses / libcuresesw compatibility
echo "INPUT(-lncursesw)" > %{buildroot}%{_libdir}/libcursesw.so
ln -sfv libncurses.so %{buildroot}%{_libdir}/libcurses.so
### /end hackery...
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/clear
%attr(0755,root,root) %{_bindir}/infocmp
%attr(0755,root,root) %{_bindir}/ncursesw6-config
%attr(0755,root,root) %{_bindir}/tabs
%attr(0755,root,root) %{_bindir}/tic
%attr(0755,root,root) %{_bindir}/toe
%attr(0755,root,root) %{_bindir}/tput
%attr(0755,root,root) %{_bindir}/tset
%{_bindir}/captoinfo
%{_bindir}/infotocap
%{_bindir}/reset
/lib/libformw.so.6
%attr(0755,root,root) /lib/libformw.so.6.5
/lib/libmenuw.so.6
%attr(0755,root,root) /lib/libmenuw.so.6.5
/lib/libncurses++w.so.6
%attr(0755,root,root) /lib/libncurses++w.so.6.5
/lib/libncursesw.so.6
%attr(0755,root,root) /lib/libncursesw.so.6.5
/lib/libpanelw.so.6
%attr(0755,root,root) /lib/libpanelw.so.6.5
%{_datadir}/tabset
%{_datadir}/terminfo
%attr(0644,root,root) %{_mandir}/man1/captoinfo.1m*
%attr(0644,root,root) %{_mandir}/man1/clear.1*
%attr(0644,root,root) %{_mandir}/man1/infocmp.1m*
%attr(0644,root,root) %{_mandir}/man1/infotocap.1m*
%attr(0644,root,root) %{_mandir}/man1/ncursesw6-config.1*
%attr(0644,root,root) %{_mandir}/man1/tabs.1*
%attr(0644,root,root) %{_mandir}/man1/tic.1m*
%attr(0644,root,root) %{_mandir}/man1/toe.1m*
%attr(0644,root,root) %{_mandir}/man1/tput.1*
%attr(0644,root,root) %{_mandir}/man1/tset.1*
%{_mandir}/man1/reset.1*
%attr(0644,root,root) %{_mandir}/man5/*
%attr(0644,root,root) %{_mandir}/man7/*
%doc ANNOUNCE AUTHORS COPYING NEWS README TO-DO
%license COPYING
%files -n ada-ncurses
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/adacursesw6-config
%attr(0755,root,root) %dir %{_libdir}/ada
%attr(0755,root,root) %dir %{_libdir}/ada/adalib
%attr(0644,root,root) %{_libdir}/ada/adalib/libAdaCurses.a
%attr(0755,root,root) %dir %{_datadir}/ada
%attr(0755,root,root) %dir %{_datadir}/ada/adainclude
%attr(0644,root,root) %{_datadir}/ada/adainclude/*.adb
%attr(0644,root,root) %{_datadir}/ada/adainclude/*.ads
%attr(0644,root,root) %{_mandir}/man1/adacursesw6-config.1*
#%%{_mandir}/man1/adacursesw6.1*
%files devel
%defattr(-,root,root,-)
%attr(0644,root,root) %{_libdir}/libcursesw.so
%attr(0644,root,root) %{_libdir}/libform.so
%attr(0644,root,root) %{_libdir}/libmenu.so
%attr(0644,root,root) %{_libdir}/libncurses.so
%attr(0644,root,root) %{_libdir}/libpanel.so
%{_libdir}/libcurses.so
%{_libdir}/libformw.so
%{_libdir}/libmenuw.so
%{_libdir}/libncurses++w.so
%{_libdir}/libncursesw.so
%{_libdir}/libpanelw.so
%attr(0644,root,root) %{_libdir}/pkgconfig/formw.pc
%attr(0644,root,root) %{_libdir}/pkgconfig/menuw.pc
%attr(0644,root,root) %{_libdir}/pkgconfig/ncurses++w.pc
%attr(0644,root,root) %{_libdir}/pkgconfig/ncursesw.pc
%attr(0644,root,root) %{_libdir}/pkgconfig/panelw.pc
%{_libdir}/pkgconfig/form.pc
%{_libdir}/pkgconfig/menu.pc
%{_libdir}/pkgconfig/ncurses.pc
%{_libdir}/pkgconfig/panel.pc
%{_includedir}/*.h
%{_mandir}/man3/*.3*
%doc doc/hackguide.doc
%doc doc/html
%doc doc/ncurses-intro.doc
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 6.5-0.rc1
- Build for YJL 6.6 (LFS 12.2)
* Tue Mar 14 2023 Michael A. Peters <anymouseprophet@gmail.com> - 6.4-0.rc2
- Some spec file cleanup, ada files
* Mon Mar 13 2023 Michael A. Peters <anymouseprophet@gmail.com> - 6.4-0.rc1
- Initial spec file

157
SPECS/openssl.spec Normal file
View File

@ -0,0 +1,157 @@
%if 0%{!?_ssldir:1} == 1
%global _ssldir %{_sysconfdir}/ssl
%endif
Name: openssl
Version: 3.3.2
Release: %{?repo}0.rc1%{?dist}
Summary: cryptography and secure communication toolkit
Group: System Environment/Libraries
License: Apache-2.0
URL: https://www.openssl.org/
Source0: https://www.openssl.org/source/openssl-%{version}.tar.gz
Source11: openssl-3.3.2-man1.filelist
Source13: openssl-3.3.2-man3.filelist
Source17: openssl-3.3.2-man7.filelist
BuildRequires: perl
BuildRequires: zlib-devel
Requires: %{name}-libs = %{version}-%{release}
%description
OpenSSL is a robust, commercial-grade, full-featured toolkit for general-
purpose cryptography and secure communication.
%package libs
Group: System Environment/Libraries
Summary: OpenSSL shared libraries
Requires: make-ca
%description libs
This packages contains the OpenSSL shared libraries.
%package devel
Group: Development/Libraries
Summary: OpenSSL developer files
Requires: %{name}-libs = %{version}-%{release}
Conflicts: libressl-devel
%description devel
This package contains the developer files needed to compile software
that links against the OpenSSL libraries.
%package man7
Group: Documentation
Summary: OpenSSL man 7 pages
Requires: %{name}-libs = %{version}-%{release}
BuildArch: noarch
%description man7
This package contains the OpenSSL man7 pages that *most* users of
YJL probably do not need.
%prep
%setup -q
cp %{SOURCE11} ./man1.filelist
cp %{SOURCE13} ./man3.filelist
cp %{SOURCE17} ./man7.filelist
%build
#%%configure
./config --prefix=%{_prefix} \
--openssldir=%{_ssldir} \
--libdir=%{_lib} \
shared \
no-ssl3 \
no-dtls \
no-weak-ssl-ciphers \
zlib-dynamic
make %{?_smp_mflags}
%check
%if 0%{?runtests:1} == 1
make test > %{name}-make.test.log 2>&1
%else
echo "make test not run during package build." > %{name}-make.test.log
%endif
%install
# make MANSUFFIX=ssl install
make install DESTDIR=%{buildroot}
rm -rf %{buildroot}%{_datadir}/doc/openssl
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files -f man1.filelist
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/c_rehash
%attr(0755,root,root) %{_bindir}/openssl
%attr(0644,root,root) %{_ssldir}/openssl.cnf.dist
%attr(0644,root,root) %config(noreplace) %{_ssldir}/openssl.cnf
%exclude %{_ssldir}/ct_log_list.cnf.dist
%exclude %{_ssldir}/ct_log_list.cnf
%dir %{_ssldir}/misc
%attr(0755,root,root) %{_ssldir}/misc/CA.pl
%attr(0755,root,root) %{_ssldir}/misc/tsget.pl
%{_ssldir}/misc/tsget
%attr(0644,root,root) %{_mandir}/man5/config.5ossl*
%attr(0644,root,root) %{_mandir}/man5/fips_config.5ossl*
%attr(0644,root,root) %{_mandir}/man5/x509v3_config.5ossl*
%license LICENSE.txt
%doc CHANGES.md NEWS.md NOTES-UNIX.md README* LICENSE.txt
%doc %{name}-make.test.log
%doc doc/html/man1
%doc doc/html/man5
%files libs
%defattr(-,root,root,-)
%attr(0755,root,root) %{_libdir}/libcrypto.so.3
%attr(0755,root,root) %{_libdir}/libssl.so.3
%dir %{_libdir}/engines-3
%attr(0755,root,root) %{_libdir}/engines-3/*.so
%dir %{_libdir}/ossl-modules
%attr(0755,root,root) %{_libdir}/ossl-modules/legacy.so
%license LICENSE.txt
%doc %{name}-make.test.log
%doc CHANGES.md NEWS.md NOTES-UNIX.md README* LICENSE.txt
%files devel -f man3.filelist
%defattr(-,root,root,-)
%dir %{_includedir}/openssl
%attr(0644,root,root) %{_includedir}/openssl/*.h
%dir %{_libdir}/cmake/OpenSSL
%attr(0644,root,root) %{_libdir}/cmake/OpenSSL/*.cmake
%{_libdir}/libcrypto.so
%{_libdir}/libssl.so
%exclude %{_libdir}/libcrypto.a
%exclude %{_libdir}/libssl.a
%attr(0644,root,root) %{_libdir}/pkgconfig/*.pc
%license LICENSE.txt
%doc CHANGES.md NEWS.md NOTES-UNIX.md README* LICENSE.txt
%doc doc/html/man3
%files man7 -f man7.filelist
%defattr(-,root,root,-)
%license LICENSE.txt
%doc CHANGES.md NEWS.md NOTES-UNIX.md README* LICENSE.txt
%doc doc/html/man7
%changelog
* Thu Oct 17 2024 Michael A. Peters <anymouseprophet@gmail.com> - 3.3.2-0.rc1
- Build for YJL 6.6 (LFS 12.2)
* Fri May 19 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.1.0-0.rc3
- Rebuild with gcc 12.3.0
* Tue May 09 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.1.0-0.rc2
- Disable SSLv2,SSLv3,DTLS,weak ciphers (I believe disabled by
- default but...)
* Mon May 08 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.1.0-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

56
SPECS/patch.spec Normal file
View File

@ -0,0 +1,56 @@
Name: patch
Version: 2.7.6
Release: %{?repo}0.rc1%{?dist}
Summary: Apply a diff to an original file
Group: System Environment/Utilities
License: GPLv3
URL: https://savannah.gnu.org/projects/patch
Source0: https://ftp.gnu.org/gnu/patch/patch-%{version}.tar.xz
%description
This is GNU patch, which applies diff files to original files.
This version of patch has many changes made by the Free Software Foundation.
They add support for:
* handling arbitrary binary data and large files
* the unified context diff format that GNU diff can produce
* merging into files instead of creating reject files
* making GNU Emacs-style backup files
* improved interaction with RCS and SCCS
* the GNU conventions for option parsing and configuring and compilation.
* better POSIX compliance
They also fix some bugs.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1
%else
echo "make test not run during package build." > %{name}-make.check.log
%endif
%install
make install DESTDIR=%{buildroot}
%files
%defattr(-,root,root,-)
%license COPYING
%doc %{name}-make.check.log
%doc AUTHORS ChangeLog COPYING README
%attr(0755,root,root) %{_bindir}/patch
%attr(0755,root,root) %{_mandir}/man1/patch.1*
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 1.13-0.rc1
- Initial spec file for YJL 6.6 (LFS 12.2)

1683
SPECS/perl.spec Normal file

File diff suppressed because it is too large Load Diff

199
SPECS/python3.spec Normal file
View File

@ -0,0 +1,199 @@
%global specrel 0.rc1
%if 0%{?!__sed:1} == 1
%global __sed %{_bindir}/sed
%endif
# Version definitions
%global python3_version 3.12
%global python3_nodots 312
# General macros
%global __python3 /usr/bin/python3
%global python3 %__python3
%global python3_sitelib /usr/lib/python%{python3_version}/site-packages
%global python3_sitearch /usr/lib/python%{python3_version}/site-packages
%global python3_platform linux-%{_arch}
# YJL specific macros
%global python3_os_platform %{_arch}-linux-gnu
%global python3_API Python-%{python3_version}
%global python3_ABI %{python3_API}-%{python3_os_platform}
#
Name: python3
Version: %{python3_version}.6
Release: %{?repo}%{specrel}%{?dist}
Summary: Python3 interpreter
Group: Programming/Languages
License: PSF-2.0
URL: https://www.python.org
Source0: https://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
Source1: https://www.python.org/ftp/python/doc/%{version}/python-%{version}-docs-html.tar.bz2
Source2: rpm-macros-python-%{python3_version}
Provides: %{name}-libs = %{version}-%{release}
Provides: %{python3_API}
Provides: %{python3_ABI}
BuildRequires: %{__sed}
# This is very incomplete
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(libffi)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: libgdbm-devel
# Use OpenSSL, not LibreSSL --- see PEP 644
# https://peps.python.org/pep-0644/
BuildRequires: openssl-devel
#Requires:
%description
Python is an interpreted, interactive, object-oriented programming
language. It incorporates modules, exceptions, dynamic typing, very
high level dynamic data types, and classes. It supports multiple
programming paradigms beyond object-oriented programming, such as
procedural and functional programming. Python combines remarkable power
with very clear syntax. It has interfaces to many system calls and
libraries, as well as to various window systems, and is extensible in
C or C++. It is also usable as an extension language for applications
that need a programmable interface. Finally, Python is portable: it
runs on many Unix variants including Linux and macOS, and on Windows.
%package devel
group: Development/Languages
Summary: Developer files for Python3
Requires: %{name} = %{version}
%description devel
This package includes the developer files needed to create extensions
to the python language.
%package documentation
group: documentation
Summary: Python 3 documentation in HTML
BuildArch: noarch
%description documentation
This package contains the HTML documentation for Python %{version}.
%prep
%setup -n Python-%{version}
%build
%configure \
--enable-shared \
--with-system-expat \
--enable-optimizations
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
install -m755 -d %{buildroot}/usr/lib/rpm/macros.d
install -m644 %{SOURCE2} %{buildroot}/usr/lib/rpm/macros.d/macros.python3
# fix reference to /usr/local/bin/python
%{__sed} -i 's?/usr/local/bin/python$?%{_bindir}/python%{python3_version}?' \
%{buildroot}/usr/lib/python%{python3_version}/cgi.py
ln -sf python%{python3_version} %{buildroot}%{_bindir}/python
install -v -m755 -d %{buildroot}%{_datadir}/doc/python-%{version}/html
tar --strip-components=1 \
--no-same-owner \
--no-same-permissions \
-C %{buildroot}%{_datadir}/doc/python-%{version}/html \
-xvf %{SOURCE1}
%files
%defattr(-,root,root,-)
%{_bindir}/idle3
%attr(0755,root,root) %{_bindir}/idle%{python3_version}
%{_bindir}/python
%{_bindir}/python3
%attr(0755,root,root) %{_bindir}/python%{python3_version}
%{_libdir}/libpython3.12.so
%attr(0755,root,root) %{_libdir}/libpython3.12.so.1.0
%dir /usr/lib/python%{python3_version}
%dir /usr/lib/python%{python3_version}/config-%{python3_version}-%{python3_os_platform}
/usr/lib/python%{python3_version}/LICENSE.txt
/usr/lib/python%{python3_version}/*.py
/usr/lib/python%{python3_version}/__phello__
/usr/lib/python%{python3_version}/__pycache__
/usr/lib/python%{python3_version}/asyncio
/usr/lib/python%{python3_version}/collections
/usr/lib/python%{python3_version}/concurrent
/usr/lib/python%{python3_version}/ctypes
/usr/lib/python%{python3_version}/curses
/usr/lib/python%{python3_version}/dbm
#/usr/lib/python%%{python3_version}/distutils
/usr/lib/python%{python3_version}/email
/usr/lib/python%{python3_version}/encodings
/usr/lib/python%{python3_version}/ensurepip
/usr/lib/python%{python3_version}/html
/usr/lib/python%{python3_version}/http
/usr/lib/python%{python3_version}/idlelib
/usr/lib/python%{python3_version}/importlib
/usr/lib/python%{python3_version}/json
/usr/lib/python%{python3_version}/lib-dynload
/usr/lib/python%{python3_version}/lib2to3
/usr/lib/python%{python3_version}/logging
/usr/lib/python%{python3_version}/multiprocessing
/usr/lib/python%{python3_version}/pydoc_data
/usr/lib/python%{python3_version}/re
/usr/lib/python%{python3_version}/site-packages
/usr/lib/python%{python3_version}/sqlite3
/usr/lib/python%{python3_version}/test
/usr/lib/python%{python3_version}/tkinter
/usr/lib/python%{python3_version}/tomllib
/usr/lib/python%{python3_version}/turtledemo
/usr/lib/python%{python3_version}/unittest
/usr/lib/python%{python3_version}/urllib
/usr/lib/python%{python3_version}/venv
/usr/lib/python%{python3_version}/wsgiref
/usr/lib/python%{python3_version}/xml
/usr/lib/python%{python3_version}/xmlrpc
/usr/lib/python%{python3_version}/zipfile
/usr/lib/python%{python3_version}/zoneinfo
%{_mandir}/man1/python3*
%license LICENSE
%doc LICENSE README.rst
%files devel
%defattr(-,root,root,-)
%{_bindir}/2to3
%attr(0755,root,root) %{_bindir}/2to3-%{python3_version}
%{_bindir}/python3-config
%attr(0755,root,root) %{_bindir}/python%{python3_version}-config
%{_includedir}/python%{python3_version}
%{_libdir}/libpython3.so
%{_libdir}/pkgconfig/*.pc
/usr/lib/rpm/macros.d/macros.python3
/usr/lib/python%{python3_version}/config-%{python3_version}-%{python3_os_platform}
%files documentation
%defattr(-,root,root,-)
%{_bindir}/pydoc3
%attr(0755,root,root) %{_bindir}/pydoc%{python3_version}
%{_datadir}/doc/python-%{version}/html
%changelog
* Thu Oct 17 2024 Michael A. Peters <anymouseprophet@gmail.com> - 3.12.6-0.rc1
- Build for YJL 6.6 (LFS 12.2)
- NEEDS from 2023-03-22 still apply
* Wed May 10 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.11.3-0.rc2
- Build against OpenSSL instead of LibreSSL
* Tue Apr 25 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.11.3-0.rc1
- Update to 3.11.3
* Mon Apr 03 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.11.2-0.rc2
- Make /usr/bin/python symbolic link
- NEEDS from 2023-03-22 still apply
* Wed Mar 22 2023 Michael A. Peters <anymouseprophet@gmail.com> - 3.11.2-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)
- Need to make multilib capable
- Need to split off libs into separate package
- Need more complete Summary/Descriptions
- Need build deps

76
SPECS/sed.spec Normal file
View File

@ -0,0 +1,76 @@
%if %{!?insinfo:1}%{?insinfo:0}
%global insinfo /sbin/install-info
%endif
Name: sed
Version: 4.9
Release: %{?repo}3%{?dist}
Summary: A non-interactive command-line text editor
Group: System Environment/Utilities
License: GPLv3
URL: https://www.gnu.org/software/sed/
Source0: https://ftp.gnu.org/gnu/sed/sed-%{version}.tar.xz
BuildRequires: libattr-devel
BuildRequires: libacl-devel
Requires(post): %{insinfo}
Requires(preun): %{insinfo}
%description
The `sed' command is commonly used to filter text, i.e., it takes text
input, performs some operation (or set of operations) on it, and outputs
the modified text.
The `sed' command is typocally used for extracting part of a file using
pattern matching or substituting multiple occurrences of a string within
a file.
%prep
%setup -q
%build
%configure --bindir=/bin
make %{?_smp_mflags}
make html
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1
%else
echo "make test not run during package build." > %{name}-make.check.log
%endif
%install
make install DESTDIR=%{buildroot}
%find_lang sed
%post
%{insinfo} %{_infodir}/sed.info %{_infodir}/dir ||:
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/sed.info %{_infodir}/dir ||:
fi
%files -f sed.lang
%defattr(-,root,root,-)
%attr(0755,root,root) /bin/sed
%attr(0644,root,root) %{_infodir}/sed.info*
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_mandir}/man1/sed.1*
%license COPYING
%doc AUTHORS BUGS COPYING ChangeLog README NEWS THANKS
%doc doc/sed.html %{name}-make.check.log
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 4.9-3
- Build for YJL 6.6 (LFS 12.2)
* Mon Apr 17 2023 Michael A. Peters <anymouseprophet@gmail.com> - 4.9-2
- Rebuild with newly packaged gcc, fix install-info scriptlets
* Wed Mar 22 2023 Michael A. Peters <anymouseprophet@gmail.com> - 4.9-1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

77
SPECS/tar.spec Normal file
View File

@ -0,0 +1,77 @@
%if %{!?insinfo:1}%{?insinfo:0}
%global insinfo /sbin/install-info
%endif
Name: tar
Version: 1.35
Release: %{?repo}0.rc1%{?dist}
Summary: Archive and restore files and directies
Requires(preun): %{insinfo}
Requires(post): %{insinfo}
BuildRequires: pkgconfig(libacl)
Group: System Environment/Utilities
License: GPLv3
URL: https://gnu.org/software/tar
Source0: https://ftp.gnu.org/gnu/tar/tar-%{version}.tar.xz
%description
GNU Tar is a program for creating archives of files and for restoring archives
of file structures. Historically such archives were written to a tape drive,
hence the name Tape ARchive. In modern times, a tape drives are almost never
used.
A tar achive is usually called a "tarball" and extracting the archived files is
usually called "unpacking the tarball". Tar itself does not provide any
compression to the archive but tar is usually used in conjunction with a
separate lossless compression utility such as gzip, bzip2, or xz-utils. With GNU
tar, this compression can be applied at the time the archive is created through
option switches to the tar command.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1
%else
echo "make test not run during package build." > %{name}-make.check.log
%endif
%install
make install DESTDIR=%{buildroot}
make -C doc install-html docdir=%{_datadir}/doc/tar-%{version} \
DESTDIR=%{buildroot}
%find_lang %{name}
%post
%{insinfo} %{_infodir}/%{name}.info %{_infodir}/dir ||:
%preun
if [ $1 = 0 ]; then
%{insinfo} --delete %{_infodir}/%{name}.info %{_infodir}/dir ||:
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/tar
%attr(0755,root,root) %{_libexecdir}/rmt
%attr(0644,root,root) %{_infodir}/%{name}.info*
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_mandir}/man1/tar.1*
%attr(0644,root,root) %{_mandir}/man8/rmt.8*
%{_datadir}/doc/tar-%{version}/tar.html
%license COPYING
%doc %{name}-make.check.log
%doc AUTHORS ChangeLog COPYING README NEWS THANKS
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 1.35-0.rc1
- Initial spec file for YJL 6.6 (LFS 12.2)

93
SPECS/texinfo.spec Normal file
View File

@ -0,0 +1,93 @@
Name: texinfo
Version: 7.1
Release: %{?repo}0.rc1%{?dist}
Summary: Text documentation system
BuildRequires: perl
BuildRequires: libunistring-devel
Group: System Environment/Documentation
License: GPLv3
URL: https://www.gnu.org/software/texinfo/
Source0: https://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.xz
%description
Texinfo is a documentation system that uses a single source to produce
many forms of output:
- a PDF or DVI document (via the TeX typesetting system) with the normal
features of a book, including sectioning, cross references, indices, etc.
- an Info file with analogous features
- a plain text (ASCII) file
- HTML output suitable for use with a web browser
- an EPUB 3 e-book
- a LaTeX file, which can then be used to create a PDF
- a Docbook file
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%find_lang texinfo
%find_lang texinfo_document
cat texinfo_document.lang >> texinfo.lang
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log
%else
echo "make check not run during packaging" > %{name}-make.check.log
%endif
%post
for doc in info-stnd texi2any_api texi2any_internals texinfo; do
%{_bindir}/install-info %{_infodir}/${doc}.info %{_infodir}/dir ||:
done
%preun
if [ $1 = 0 ]; then
for doc in info-stnd texi2any_api texi2any_internals texinfo; do
%{_bindir}/install-info --delete %{_infodir}/${doc}.info %{_infodir}/dir ||:
done
fi
%files -f texinfo.lang
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/info
%attr(0755,root,root) %{_bindir}/install-info
%attr(0755,root,root) %{_bindir}/pdftexi2dvi
%attr(0755,root,root) %{_bindir}/pod2texi
%attr(0755,root,root) %{_bindir}/texi2any
%attr(0755,root,root) %{_bindir}/texi2dvi
%attr(0755,root,root) %{_bindir}/texi2pdf
%attr(0755,root,root) %{_bindir}/texindex
%{_bindir}/makeinfo
%{_libdir}/texinfo
%dir %{_infodir}
%exclude %{_infodir}/dir
%attr(0644,root,root) %{_infodir}/info-stnd.info*
%attr(0644,root,root) %{_infodir}/texi2any_api.info*
%attr(0644,root,root) %{_infodir}/texi2any_internals.info*
%attr(0644,root,root) %{_infodir}/texinfo.info*
%attr(0644,root,root) %{_mandir}/man1/info.1*
%attr(0644,root,root) %{_mandir}/man1/install-info.1*
%attr(0644,root,root) %{_mandir}/man1/makeinfo.1*
%attr(0644,root,root) %{_mandir}/man1/pdftexi2dvi.1*
%attr(0644,root,root) %{_mandir}/man1/pod2texi.1*
%attr(0644,root,root) %{_mandir}/man1/texi2any.1*
%attr(0644,root,root) %{_mandir}/man1/texi2dvi.1*
%attr(0644,root,root) %{_mandir}/man1/texi2pdf.1*
%attr(0644,root,root) %{_mandir}/man1/texindex.1*
%attr(0644,root,root) %{_mandir}/man5/info.5*
%attr(0644,root,root) %{_mandir}/man5/texinfo.5*
%{_datadir}/texinfo
%doc AUTHORS COPYING ChangeLog* README*
%license COPYING
%doc %{name}-make.check.log
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 7.1-0.rc1
- Initial spec file for YJL 6.6 (LFS 12.2)

55
SPECS/tzdata.spec Normal file
View File

@ -0,0 +1,55 @@
%if 0%{!?__zic:1} == 1
%global __zic %{_sbindir}/zic
%endif
Name: tzdata
Version: 2024b
Release: %{?repo}0.rc2%{?dist}
Summary: Timezone data
BuildArch: noarch
Group: System Environment/Base
License: Public Domain
URL: https://www.iana.org/time-zones
Source0: https://data.iana.org/time-zones/releases/tzdata2024b.tar.gz
BuildRequires: %{__zic}
%description
This package contains rules for time zones throughout the world.
%prep
%setup -c
%build
%install
ZONEINFO=%{_datadir}/zoneinfo
%{__install} -d %{buildroot}/${ZONEINFO}
for tz in etcetera southamerica northamerica europe africa antarctica \
asia australasia backward; do
%{__zic} -L /dev/null -d %{buildroot}/${ZONEINFO} ${tz}
%{__zic} -L /dev/null -d %{buildroot}/$ZONEINFO/posix ${tz}
%{__zic} -L leapseconds -d %{buildroot}/$ZONEINFO/right ${tz}
done
%{__install} -m644 zone.tab %{buildroot}/${ZONEINFO}
%{__install} -m644 zone1970.tab %{buildroot}/${ZONEINFO}
%{__install} -m644 zone.tab %{buildroot}/${ZONEINFO}
%{__zic} -d %{buildroot}/${ZONEINFO} -p America/New_York
unset ZONEINFO
%files
%defattr(-,root,root,-)
%doc README LICENSE SECURITY theory.html
%{_datadir}/zoneinfo
%changelog
* Fri Oct 18 2024 Michael A. Peters <anymouseprophet@gmail.com> - 2024b-0.rc1
- Initial spec file for YJL 6.6 (LFS 12.2)

543
SPECS/vim.spec Normal file
View File

@ -0,0 +1,543 @@
%global debug_package %{nil}
%global specrel 0.dev1
%global vimtag 9.1.0791
# Needs work, especially for not 1.core
# Non-English strings *in this spec file* are from Google Translate
# and may not be as good as they could be.
%global vimwithx 1
%global vimgui gtk3
%global vimfeatures huge
# desktop file support
%global vimdesktopvim 1
%global vimdesktopgvim 1
# the following gets conditionally reset later
%global vimdesktopicons 0
# additional dependencies
%global vimdepgtk3 1
%if %{?repo:1}%{!?repo:0}
%if "%{repo}" == "1.core."
%global vimwithx 0
%global vimfeatures normal
%global vimdesktopvim 0
%global vimdepgtk3 0
%endif
%if "%{repo}" == "2.cli."
%global vimwithx 0
%global vimdepgtk3 0
%endif
%if "%{repo}" == "5.mate."
%global vimgui gnome2
%endif
%endif
# reset some defaults
%if 0%{vimwithx} == 0
%global vimgui no
%global vimdesktopgvim 0
%endif
%if 0%{vimdesktopvim} == 1
%global vimdesktopicons 1
%endif
Name: vim
Version: %{vimtag}
Release: %{?repo}%{specrel}%{?dist}
Summary: The vim text editor
Group: Applications/Text
License: VIM
URL: https://www.vim.org/
Source0: https://github.com/vim/vim/archive/refs/tags/v%{vimtag}.tar.gz
Source1: etc-vimrc
BuildRequires: ncurses-devel
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: gpm-devel
%if 0%{vimdepgtk3} == 1
BuildRequires: gtk3-devel >= 3.24.36
%endif
#Requires:
%description
Vim is a highly configurable text editor built to make creating and changing any
kind of text very efficient.
%if 0%{vimdesktopvim} == 1
%package desktop
Summary: VIM Desktop File
Group: Applications/Text
Requires: vim = %{version}-%{release}
BuildArch: noarch
%description desktop
This package includes the desktop metadata file needed to add the vim
launcher to the desktop menu.
You only need this package if you want to launch vim from a graphical
desktop menu.
%endif
%if 0%{vimdesktopgvim} == 1
%package -n gvim-desktop
Summary: Graphical VIM Desktop File
Group: Applications/Text
Requires: %{_bindir}/gvim
Requires: vim = %{version}-%{release}
BuildArch: noarch
%description -n gvim-desktop
This package includes the desktop metadata file needed to add the vim
launcher to the desktop menu.
You only need this package if you want to launch vim from a graphical
desktop menu.
%endif
%prep
%setup -q
echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h
%package man-da
Summary: vim manual pages in Danish
Summary(da): vim manual sider dansk
Group: Documentation
Requires: vim = %{version}-%{release}
BuildArch: noarch
%description man-da
This package contains the vim manual pages for the Danish language,
including ISO8859-1 and UTF-8 encodings.
%description(da) man-da
Denne pakke indeholder vim-manualsiderne for det danske sprog, inklusive
ISO8859-1 og UTF-8-kodninger.
%package man-de
Summary: vim manual pages in German
Summary(de): vim Handbuchseiten in Deutsch
Group: Documentation
Requires: vim = %{version}-%{release}
BuildArch: noarch
%description man-de
This package contains the vim manual pages for the German language,
including ISO8859-1 and UTF-8 encodings.
%description(de) man-de
Dieses Paket enthält die vim-Handbuchseiten für die deutsche Sprache,
einschließlich ISO8859-1- und UTF-8-Kodierungen.
%package man-fr
Summary: vim manual pages in French
Summary(fr): vim pages de manuel en français
Group: Documentation
Requires: vim = %{version}-%{release}
BuildArch: noarch
%description man-fr
This package contains the vim manual pages for the German language,
including ISO8859-1 and UTF-8 encodings.
%description(fr) man-fr
Ce paquet contient les pages de manuel vim pour la langue allemande,
y compris les encodages ISO8859-1 et UTF-8.
%package man-it
Summary: vim manual pages in Italian
Summary(it): vim pagine di manuale in italiano
Group: Documentation
Requires: vim = %{version}-%{release}
BuildArch: noarch
%description man-it
This package contains the vim manual pages for the Italian language,
including ISO8859-1 and UTF-8 encodings.
%description(de) man-it
Questo pacchetto contiene le pagine di manuale di vim per la lingua
italiana, comprese le codifiche ISO8859-1 e UTF-8.
%package man-ja
Summary: vim manual pages in Japanese
Summary(ja): 日本語のvimマニュアルページ
Group: Documentation
Requires: vim = %{version}-%{release}
BuildArch: noarch
%description man-ja
This package contains the vim manual pages for the Japanese language.
%description(ja) man-ja
このパッケージには、日本語の vim マニュアル ページが含まれています。
%package man-pl
Summary: vim manual pages in Polish
Summary(pl): strony podręcznika vima w języku polskim
Group: Documentation
Requires: vim = %{version}-%{release}
BuildArch: noarch
%description man-pl
This package contains the vim manual pages for the Polish language,
including ISO8859-2 and UTF-8 encodings.
%description(pl) man-pl
Ten pakiet zawiera strony podręcznika vima dla języka polskiego, w tym
kodowanie ISO8859-2 i UTF-8.
%package man-ru
Summary: vim manual pages in Russian
Summary(ru): справочные страницы vim на русском языке
Group: Documentation
Requires: vim = %{version}-%{release}
BuildArch: noarch
%description man-ru
This package contains the vim manual pages for the Russian language,
including KOI8-R and UTF-8 encodings.
%description(ru) man-ru
Этот пакет содержит справочные страницы vim для русского языка, включая
кодировки KOI8-R и UTF-8.
%package man-tr
Summary: vim manual pages in Turkish
Summary(tr): Türkçe vim kılavuz sayfaları
Group: Documentation
Requires: vim = %{version}-%{release}
BuildArch: noarch
%description man-tr
This package contains the vim manual pages for the Turkish language,
including ISO8859-9 and UTF-8 encodings.
%description(tr) man-tr
Bu paket, ISO8859-9 ve UTF-8 kodlamaları dahil olmak üzere Türkçe
için vim kılavuz sayfalarını içerir.
%build
%configure \
--with-features=%{vimfeatures} \
%if 0%{vimwithx} == 0
--without-x \
%else
--with-gui=%{vimgui} \
%endif
--enable-python3interp=dynamic \
--with-python3=python3 \
--with-tlib=ncursesw
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
ln -s vim %{buildroot}%{_bindir}/vi
#MAN PAGE SYMLINKS
ln -s vim.1 %{buildroot}%{_mandir}/man1/vi.1
for LANGDIR in da da.ISO8859-1 da.UTF-8 de de.ISO8859-1 de.UTF-8 fr fr.ISO8859-1 fr.UTF-8 it it.ISO8859-1 it.UTF-8 ja pl pl.ISO8859-2 pl.UTF-8 ru.KOI8-R ru.UTF-8 tr tr.ISO8859-9 tr.UTF-8; do
ln -s vim.1 %{buildroot}%{_mandir}/${LANGDIR}/man1/vi.1
done
install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/vimrc
%if 0%{vimwithx} == 1
sed -i 's?set mouse=$?set mouse=a?' %{buildroot}%{_sysconfdir}/vimrc
%endif
%files
%defattr(-,root,root,-)
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/vimrc
%attr(0755,root,root) %{_bindir}/vim
%attr(0755,root,root) %{_bindir}/vimtutor
%attr(0755,root,root) %{_bindir}/xxd
%{_bindir}/ex
%{_bindir}/rview
%{_bindir}/rvim
%{_bindir}/vi
%{_bindir}/view
%{_bindir}/vimdiff
# desktop file support
%if 0%{vimdesktopvim} == 0
%exclude %{_datadir}/applications/vim.desktop
%endif
%if 0%{vimdesktopgvim} == 0
%exclude %{_datadir}/applications/gvim.desktop
%endif
%if 0%{vimdesktopicons} == 0
%exclude %{_datadir}/icons/hicolor/48x48/apps/gvim.png
%exclude %{_datadir}/icons/locolor/16x16/apps/gvim.png
%exclude %{_datadir}/icons/locolor/32x32/apps/gvim.png
%endif
# end desktop file support
%{_datadir}/vim
# man pages
%attr(0644,root,root) %{_mandir}/man1/evim.1*
%attr(0644,root,root) %{_mandir}/man1/vim.1*
%attr(0644,root,root) %{_mandir}/man1/vimdiff.1*
%attr(0644,root,root) %{_mandir}/man1/vimtutor.1*
%attr(0644,root,root) %{_mandir}/man1/xxd.1*
%{_mandir}/man1/ex.1*
%{_mandir}/man1/rview.1*
%{_mandir}/man1/rvim.1*
%{_mandir}/man1/vi.1*
%{_mandir}/man1/view.1*
%license LICENSE
%doc LICENSE README*
%if 0%{vimdesktopvim} == 1
%files desktop
%defattr(-,root,root,-)
%attr(0644,root,root) %{_datadir}/applications/vim.desktop
%attr(0644,root,root) %{_datadir}/icons/hicolor/48x48/apps/gvim.png
%attr(0644,root,root) %{_datadir}/icons/locolor/16x16/apps/gvim.png
%attr(0644,root,root) %{_datadir}/icons/locolor/32x32/apps/gvim.png
%endif
%if 0%{vimdesktopgvim} == 1
%files -n gvim-desktop
%defattr(-,root,root,-)
%attr(0644,root,root) %{_datadir}/applications/vim.desktop
%attr(0644,root,root) %{_datadir}/icons/hicolor/48x48/apps/gvim.png
%attr(0644,root,root) %{_datadir}/icons/locolor/16x16/apps/gvim.png
%attr(0644,root,root) %{_datadir}/icons/locolor/32x32/apps/gvim.png
%endif
%files man-da
%defattr(-,root,root,-)
%lang(da) %attr(0644,root,root) %{_mandir}/da/man1/vim.1*
%lang(da) %attr(0644,root,root) %{_mandir}/da/man1/vimdiff.1*
%lang(da) %attr(0644,root,root) %{_mandir}/da/man1/vimtutor.1*
%lang(da) %{_mandir}/da/man1/ex.1*
%lang(da) %{_mandir}/da/man1/rview.1*
%lang(da) %{_mandir}/da/man1/rvim.1*
%lang(da) %{_mandir}/da/man1/vi.1*
%lang(da) %{_mandir}/da/man1/view.1*
%lang(da) %attr(0644,root,root) %{_mandir}/da.ISO8859-1/man1/vim.1*
%lang(da) %attr(0644,root,root) %{_mandir}/da.ISO8859-1/man1/vimdiff.1*
%lang(da) %attr(0644,root,root) %{_mandir}/da.ISO8859-1/man1/vimtutor.1*
%lang(da) %{_mandir}/da.ISO8859-1/man1/ex.1*
%lang(da) %{_mandir}/da.ISO8859-1/man1/rview.1*
%lang(da) %{_mandir}/da.ISO8859-1/man1/rvim.1*
%lang(da) %{_mandir}/da.ISO8859-1/man1/vi.1*
%lang(da) %{_mandir}/da.ISO8859-1/man1/view.1*
%lang(da) %attr(0644,root,root) %{_mandir}/da.UTF-8/man1/vim.1*
%lang(da) %attr(0644,root,root) %{_mandir}/da.UTF-8/man1/vimdiff.1*
%lang(da) %attr(0644,root,root) %{_mandir}/da.UTF-8/man1/vimtutor.1*
%lang(da) %{_mandir}/da.UTF-8/man1/ex.1*
%lang(da) %{_mandir}/da.UTF-8/man1/rview.1*
%lang(da) %{_mandir}/da.UTF-8/man1/rvim.1*
%lang(da) %{_mandir}/da.UTF-8/man1/vi.1*
%lang(da) %{_mandir}/da.UTF-8/man1/view.1*
%files man-de
%defattr(-,root,root,-)
%lang(de) %attr(0644,root,root) %{_mandir}/de/man1/vim.1*
%lang(de) %{_mandir}/de/man1/ex.1*
%lang(de) %{_mandir}/de/man1/rview.1*
%lang(de) %{_mandir}/de/man1/rvim.1*
%lang(de) %{_mandir}/de/man1/vi.1*
%lang(de) %{_mandir}/de/man1/view.1*
%lang(de) %attr(0644,root,root) %{_mandir}/de.ISO8859-1/man1/vim.1*
%lang(de) %{_mandir}/de.ISO8859-1/man1/ex.1*
%lang(de) %{_mandir}/de.ISO8859-1/man1/rview.1*
%lang(de) %{_mandir}/de.ISO8859-1/man1/rvim.1*
%lang(de) %{_mandir}/de.ISO8859-1/man1/vi.1*
%lang(de) %{_mandir}/de.ISO8859-1/man1/view.1*
%lang(de) %attr(0644,root,root) %{_mandir}/de.UTF-8/man1/vim.1*
%lang(de) %{_mandir}/de.UTF-8/man1/ex.1*
%lang(de) %{_mandir}/de.UTF-8/man1/rview.1*
%lang(de) %{_mandir}/de.UTF-8/man1/rvim.1*
%lang(de) %{_mandir}/de.UTF-8/man1/vi.1*
%lang(de) %{_mandir}/de.UTF-8/man1/view.1*
%files man-fr
%defattr(-,root,root,)
%lang(fr) %attr(0644,root,root) %{_mandir}/fr/man1/evim.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr/man1/vim.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr/man1/vimdiff.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr/man1/vimtutor.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr/man1/xxd.1*
%lang(fr) %{_mandir}/fr/man1/ex.1*
%lang(fr) %{_mandir}/fr/man1/rview.1*
%lang(fr) %{_mandir}/fr/man1/rvim.1*
%lang(fr) %{_mandir}/fr/man1/vi.1*
%lang(fr) %{_mandir}/fr/man1/view.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr.ISO8859-1/man1/evim.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr.ISO8859-1/man1/vim.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr.ISO8859-1/man1/vimdiff.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr.ISO8859-1/man1/vimtutor.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr.ISO8859-1/man1/xxd.1*
%lang(fr) %{_mandir}/fr.ISO8859-1/man1/ex.1*
%lang(fr) %{_mandir}/fr.ISO8859-1/man1/rview.1*
%lang(fr) %{_mandir}/fr.ISO8859-1/man1/rvim.1*
%lang(fr) %{_mandir}/fr.ISO8859-1/man1/vi.1*
%lang(fr) %{_mandir}/fr.ISO8859-1/man1/view.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr.UTF-8/man1/evim.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr.UTF-8/man1/vim.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr.UTF-8/man1/vimdiff.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr.UTF-8/man1/vimtutor.1*
%lang(fr) %attr(0644,root,root) %{_mandir}/fr.UTF-8/man1/xxd.1*
%lang(fr) %{_mandir}/fr.UTF-8/man1/ex.1*
%lang(fr) %{_mandir}/fr.UTF-8/man1/rview.1*
%lang(fr) %{_mandir}/fr.UTF-8/man1/rvim.1*
%lang(fr) %{_mandir}/fr.UTF-8/man1/vi.1*
%lang(fr) %{_mandir}/fr.UTF-8/man1/view.1*
%files man-it
%defattr(-,root,root,-)
%lang(it) %attr(0644,root,root) %{_mandir}/it/man1/evim.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it/man1/vim.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it/man1/vimdiff.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it/man1/vimtutor.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it/man1/xxd.1*
%lang(it) %{_mandir}/it/man1/ex.1*
%lang(it) %{_mandir}/it/man1/rview.1*
%lang(it) %{_mandir}/it/man1/rvim.1*
%lang(it) %{_mandir}/it/man1/vi.1*
%lang(it) %{_mandir}/it/man1/view.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it.ISO8859-1/man1/evim.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it.ISO8859-1/man1/vim.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it.ISO8859-1/man1/vimdiff.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it.ISO8859-1/man1/vimtutor.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it.ISO8859-1/man1/xxd.1*
%lang(it) %{_mandir}/it.ISO8859-1/man1/ex.1*
%lang(it) %{_mandir}/it.ISO8859-1/man1/rview.1*
%lang(it) %{_mandir}/it.ISO8859-1/man1/rvim.1*
%lang(it) %{_mandir}/it.ISO8859-1/man1/vi.1*
%lang(it) %{_mandir}/it.ISO8859-1/man1/view.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it.UTF-8/man1/evim.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it.UTF-8/man1/vim.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it.UTF-8/man1/vimdiff.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it.UTF-8/man1/vimtutor.1*
%lang(it) %attr(0644,root,root) %{_mandir}/it.UTF-8/man1/xxd.1*
%lang(it) %{_mandir}/it.UTF-8/man1/ex.1*
%lang(it) %{_mandir}/it.UTF-8/man1/rview.1*
%lang(it) %{_mandir}/it.UTF-8/man1/rvim.1*
%lang(it) %{_mandir}/it.UTF-8/man1/vi.1*
%lang(it) %{_mandir}/it.UTF-8/man1/view.1*
%files man-ja
%defattr(-,root,root,-)
%lang(ja) %attr(0644,root,root) %{_mandir}/ja/man1/evim.1*
%lang(ja) %attr(0644,root,root) %{_mandir}/ja/man1/vim.1*
%lang(ja) %attr(0644,root,root) %{_mandir}/ja/man1/vimdiff.1*
%lang(ja) %attr(0644,root,root) %{_mandir}/ja/man1/vimtutor.1*
%lang(ja) %attr(0644,root,root) %{_mandir}/ja/man1/xxd.1*
%lang(ja) %{_mandir}/ja/man1/ex.1*
%lang(ja) %{_mandir}/ja/man1/rview.1*
%lang(ja) %{_mandir}/ja/man1/rvim.1*
%lang(ja) %{_mandir}/ja/man1/vi.1*
%lang(ja) %{_mandir}/ja/man1/view.1*
%files man-pl
%defattr(-,root,root,-)
%lang(pl) %attr(0644,root,root) %{_mandir}/pl/man1/evim.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl/man1/vim.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl/man1/vimdiff.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl/man1/vimtutor.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl/man1/xxd.1*
%lang(pl) %{_mandir}/pl/man1/ex.1*
%lang(pl) %{_mandir}/pl/man1/rview.1*
%lang(pl) %{_mandir}/pl/man1/rvim.1*
%lang(pl) %{_mandir}/pl/man1/vi.1*
%lang(pl) %{_mandir}/pl/man1/view.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl.ISO8859-2/man1/evim.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl.ISO8859-2/man1/vim.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl.ISO8859-2/man1/vimdiff.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl.ISO8859-2/man1/vimtutor.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl.ISO8859-2/man1/xxd.1*
%lang(pl) %{_mandir}/pl.ISO8859-2/man1/ex.1*
%lang(pl) %{_mandir}/pl.ISO8859-2/man1/rview.1*
%lang(pl) %{_mandir}/pl.ISO8859-2/man1/rvim.1*
%lang(pl) %{_mandir}/pl.ISO8859-2/man1/vi.1*
%lang(pl) %{_mandir}/pl.ISO8859-2/man1/view.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl.UTF-8/man1/evim.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl.UTF-8/man1/vim.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl.UTF-8/man1/vimdiff.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl.UTF-8/man1/vimtutor.1*
%lang(pl) %attr(0644,root,root) %{_mandir}/pl.UTF-8/man1/xxd.1*
%lang(pl) %{_mandir}/pl.UTF-8/man1/ex.1*
%lang(pl) %{_mandir}/pl.UTF-8/man1/rview.1*
%lang(pl) %{_mandir}/pl.UTF-8/man1/rvim.1*
%lang(pl) %{_mandir}/pl.UTF-8/man1/vi.1*
%lang(pl) %{_mandir}/pl.UTF-8/man1/view.1*
%files man-ru
%defattr(-,root,root,-)
%lang(ru) %attr(0644,root,root) %{_mandir}/ru.KOI8-R/man1/evim.1*
%lang(ru) %attr(0644,root,root) %{_mandir}/ru.KOI8-R/man1/vim.1*
%lang(ru) %attr(0644,root,root) %{_mandir}/ru.KOI8-R/man1/vimdiff.1*
%lang(ru) %attr(0644,root,root) %{_mandir}/ru.KOI8-R/man1/vimtutor.1*
%lang(ru) %attr(0644,root,root) %{_mandir}/ru.KOI8-R/man1/xxd.1*
%lang(ru) %{_mandir}/ru.KOI8-R/man1/ex.1*
%lang(ru) %{_mandir}/ru.KOI8-R/man1/rview.1*
%lang(ru) %{_mandir}/ru.KOI8-R/man1/rvim.1*
%lang(ru) %{_mandir}/ru.KOI8-R/man1/vi.1*
%lang(ru) %{_mandir}/ru.KOI8-R/man1/view.1*
%lang(ru) %attr(0644,root,root) %{_mandir}/ru.UTF-8/man1/evim.1*
%lang(ru) %attr(0644,root,root) %{_mandir}/ru.UTF-8/man1/vim.1*
%lang(ru) %attr(0644,root,root) %{_mandir}/ru.UTF-8/man1/vimdiff.1*
%lang(ru) %attr(0644,root,root) %{_mandir}/ru.UTF-8/man1/vimtutor.1*
%lang(ru) %attr(0644,root,root) %{_mandir}/ru.UTF-8/man1/xxd.1*
%lang(ru) %{_mandir}/ru.UTF-8/man1/ex.1*
%lang(ru) %{_mandir}/ru.UTF-8/man1/rview.1*
%lang(ru) %{_mandir}/ru.UTF-8/man1/rvim.1*
%lang(ru) %{_mandir}/ru.UTF-8/man1/vi.1*
%lang(ru) %{_mandir}/ru.UTF-8/man1/view.1*
%files man-tr
%defattr(-,root,root,-)
%lang(tr) %attr(0644,root,root) %{_mandir}/tr/man1/evim.1*
%lang(tr) %attr(0644,root,root) %{_mandir}/tr/man1/vim.1*
%lang(tr) %attr(0644,root,root) %{_mandir}/tr/man1/vimdiff.1*
%lang(tr) %attr(0644,root,root) %{_mandir}/tr/man1/vimtutor.1*
%lang(tr) %{_mandir}/tr/man1/ex.1*
%lang(tr) %{_mandir}/tr/man1/rview.1*
%lang(tr) %{_mandir}/tr/man1/rvim.1*
%lang(tr) %{_mandir}/tr/man1/vi.1*
%lang(tr) %{_mandir}/tr/man1/view.1*
%lang(tr) %attr(0644,root,root) %{_mandir}/tr.ISO8859-9/man1/evim.1*
%lang(tr) %attr(0644,root,root) %{_mandir}/tr.ISO8859-9/man1/vim.1*
%lang(tr) %attr(0644,root,root) %{_mandir}/tr.ISO8859-9/man1/vimdiff.1*
%lang(tr) %attr(0644,root,root) %{_mandir}/tr.ISO8859-9/man1/vimtutor.1*
%lang(tr) %{_mandir}/tr.ISO8859-9/man1/ex.1*
%lang(tr) %{_mandir}/tr.ISO8859-9/man1/rview.1*
%lang(tr) %{_mandir}/tr.ISO8859-9/man1/rvim.1*
%lang(tr) %{_mandir}/tr.ISO8859-9/man1/vi.1*
%lang(tr) %{_mandir}/tr.ISO8859-9/man1/view.1*
%lang(tr) %attr(0644,root,root) %{_mandir}/tr.UTF-8/man1/evim.1*
%lang(tr) %attr(0644,root,root) %{_mandir}/tr.UTF-8/man1/vim.1*
%lang(tr) %attr(0644,root,root) %{_mandir}/tr.UTF-8/man1/vimdiff.1*
%lang(tr) %attr(0644,root,root) %{_mandir}/tr.UTF-8/man1/vimtutor.1*
%lang(tr) %{_mandir}/tr.UTF-8/man1/ex.1*
%lang(tr) %{_mandir}/tr.UTF-8/man1/rview.1*
%lang(tr) %{_mandir}/tr.UTF-8/man1/rvim.1*
%lang(tr) %{_mandir}/tr.UTF-8/man1/vi.1*
%lang(tr) %{_mandir}/tr.UTF-8/man1/view.1*
# end man pages
%changelog
* Thu Oct 17 2024 Michael A. Peters <anymouseprophet@gmail.com> - 9.1.0791-0.dev1
- Build for YJL 6.6 (LFS 12.2) RPM bootstrap
- Until debug packahe issue resolved, set %%global debug_package %%{nil}
* Mon Apr 17 2023 Michael A. Peters <anymouseprophet@gmail.com> - 9.0.1459-0.dev2
- Split non-English man pages into separate packages, clean up build options.
* Sun Apr 16 2023 Michael A. Peters <anymouseprophet@gmail.com> - 9.0.1459-0.dev1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

137
SPECS/xz-utils.spec Normal file
View File

@ -0,0 +1,137 @@
%global tarname xz
Name: %{tarname}-utils
Version: 5.6.3
Release: %{?repo}0.rc1%{?dist}
Summary: Command line tools for XZ and LZMA compressed files
Group: System Environment/Utilities
License: GPLv2 plus others
URL: https://tukaani.org/xz
Source0: https://tukaani.org/xz/%{tarname}-%{version}.tar.xz
Provides: %{tarname} = %{version}-%{release}
Provides: %{tarname}-lzma = %{version}-%{release}
Requires: liblzma = %{version}-%{release}
%description
XZ Utils provide a general purpose data compression library
and command line tools. The native file format is the .xz
format, but also the legacy .lzma format is supported. The .xz
format supports multiple compression algorithms, of which LZMA2
is currently the primary algorithm. With typical files, XZ Utils
create about 30 % smaller files than gzip.
%package -n liblzma
Group: System Environment/Libraries
Summary: Library for XZ and LZMA compressed files
%description -n liblzma
liblzma is a general purpose data compression library with
an API similar to that of zlib. liblzma supports multiple
algorithms, of which LZMA2 is currently the primary algorithm.
The native file format is .xz, but also the legacy .lzma
format and raw streams (no headers at all) are supported.
This package includes the shared library.
%package -n liblzma-devel
Group: Development/Libraries
Summary: Library for XZ and LZMA compressed files
Requires: liblzma = %{version}-%{release}
%description -n liblzma-devel
This package includes the API headers, static library, and
other development files related to liblzma.
%prep
%setup -n %{tarname}-%{version}
%build
%configure \
--libdir=/%{_lib} \
--disable-static \
--disable-rpath
make %{?_smp_mflags}
%check
%if 0%{?runtests:1} == 1
make check > %{name}-make.check.log 2>&1
%else
echo "make test not run during package build." > %{name}-make.check.log
%endif
%install
make install DESTDIR=%{buildroot}
rm -rf %{buildroot}%{_datadir}/doc/%{tarname}
sed -i 's?^libdir=.*?libdir=%{_libdir}?' %{buildroot}/%{_lib}/pkgconfig/liblzma.pc
install -m755 -d %{buildroot}%{_libdir}
mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
rm -f %{buildroot}/%{_lib}/liblzma.so
ln -s ../../%{_lib}/liblzma.so.5.4.1 %{buildroot}%{_libdir}/liblzma.so
%find_lang %{tarname}
%post -n liblzma -p /sbin/ldconfig
%postun -n liblzma -p /sbin/ldconfig
%files -f %{tarname}.lang
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/lzmadec
%attr(0755,root,root) %{_bindir}/lzmainfo
%attr(0755,root,root) %{_bindir}/xz
%attr(0755,root,root) %{_bindir}/xzdec
%attr(0755,root,root) %{_bindir}/xzdiff
%attr(0755,root,root) %{_bindir}/xzgrep
%attr(0755,root,root) %{_bindir}/xzless
%attr(0755,root,root) %{_bindir}/xzmore
# /usr/bin/symlinks
%{_bindir}/lzcat
%{_bindir}/lzcmp
%{_bindir}/lzdiff
%{_bindir}/lzegrep
%{_bindir}/lzfgrep
%{_bindir}/lzgrep
%{_bindir}/lzless
%{_bindir}/lzma
%{_bindir}/lzmore
%{_bindir}/unlzma
%{_bindir}/unxz
%{_bindir}/xzcat
%{_bindir}/xzcmp
%{_bindir}/xzegrep
%{_bindir}/xzfgrep
%{_mandir}/man1/*.1*
%lang(de) %{_mandir}/de/man1/*.1*
%lang(fr) %{_mandir}/fr/man1/*.1*
%lang(ko) %{_mandir}/ko/man1/*.1*
%lang(ro) %{_mandir}/ro/man1/*.1*
%lang(uk) %{_mandir}/uk/man1/*.1*
%lang(pt_BR) %{_mandir}/pt_BR/man1/*.1*
%license COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1
%doc AUTHORS COPYING ChangeLog README THANKS TODO
%doc doc/*.txt doc/examples
%doc %{name}-make.check.log
%files -n liblzma
%defattr(-,root,root,-)
%attr(0755,root,root) /%{_lib}/liblzma.so.5.6.3
/%{_lib}/liblzma.so.5
%license COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1
%files -n liblzma-devel
%defattr(-,root,root,-)
%{_libdir}/liblzma.so
%attr(0644,root,root) %{_libdir}/pkgconfig/liblzma.pc
%attr(0644,root,root) %{_includedir}/lzma.h
%dir %{_includedir}/lzma
%attr(0644,root,root) %{_includedir}/lzma/*.h
%license COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1
%changelog
* Sat Oct 19 2024 Michael A. Peters <anymouseprophet@gmail.com> - 5.6.3-0.rc1
- Build for YJL 6.6 (LFS 12.2)
* Tue Apr 11 2023 Michael A. Peters <anymouseprophet@gmail.com> - 5.4.1-0.rc2
- Rebuild with newly packaged gcc
* Fri Mar 17 2023 Michael A. Peters <anymouseprophet@gmail.com> - 5.4.1-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

109
THE-PLAN.md Normal file
View File

@ -0,0 +1,109 @@
The Plan
========
This is an attempt to create a new GNU/Linux distribution. The why is in the
file `THE_WHY.md` but TLDR, because I can. Well, because I think I can. Maybe,
and even if not, I will still learn a lot...
The new distribution will be called Yellow-Jacket GNU/Linux (abbreviated as
YJL) and will be heavily based upon Linux From Scratch (LFS) but will have
many influences from my years with Red Hat Linux, including use of RPM as the
package manager.
Phase One: LFS Bootstrap
------------------------
Create the needed shell scripts to build the current SystemD LFS (12.2 as I
type) on a USB thumb drive that can then boot an `x86_64` system and rebuild
itself to the hard drive of that system. Long term goal is a generic image that
can be copied onto any thumb drive via `dd`, boot a generic `x86_64` system, and
build LFS on it. Short term goal is specific to my system.
For the git related to Phase One, see
https://github.com/YellowJacketLinux/lfs-buildscripts/tree/main
Phase Two: GCC Bootstrap
------------------------
The GCC built by LFS does not support building the Ada or D compilers. Both of
those compilers are useful on a GNU/Linux system.
Once I have a hard-disk install booting, the very first order of business is to
rebuild GCC for full compiler support.
To compile GCC with Ada and D support, a working Ada and D compiler is needed.
My LFS 11.3 system has those. What I did back then, on CentOS 7.9 (my build host
for LFS 11.3) I built GCC 7.5.0 with Ada (`gnat`) support, with an install
prefix of `/opt/gcc750`. GCC 7.5.0 was the newest GCC I could get to build in
CentOS 7.9 with Ada.
I had to copy a few shared libraries from the CentOS 7 system into
`/opt/gcc750/lib` but once I did that, I was able to use that GCC in LFS 11.3 to
then build an Ada and D capable GCC 10.4.0 within `/opt/gcc1040`, GCC 7.5.0
would not succesfully build an Ada and D capable GCC 12.2.0.
However I was then able to use GCC 10.4.0 to build the Ada and D capable GCC
12.2.0 which is the GCC version in LFS 11.3.
For the LFS 12.2 GCC bootstrap, I *suspect* I can use the Ada and D capable GCC
GCC 12.2.0 in LFS 11.3 to build an Ada and D capable GCC 14.2.0 installed in
`/opt/gcc1420` that I can then use in LFS 12.2 to bootstrap the system GCC, of
course running the full test suite before installing.
I tried adding Ada and D support to the GCC building of LFS 12.2 Chapter 5 and
it caused a build failure, so it is *possible* I will need another intemediary.
Anyway, boostrapping an Ada and D capable GCC within LFS 12.2 will be my first
priority once it is booting.
Phase Three: Building RPM
--------------------------
The needed libraries to build RPM will need to be built and installed, and then
RPM will be built and installed.
Phase Four: RPM Bootstrap
-------------------------
This phase is what this git is about.
Once RPM is built and installed comes the long and tedious task of writing the
needed RPM spec files to rebuild every package on the system in RPM. Much of
that work has already been done from my LFS 11.3 system but the spec files need
to be updated and some still needed to be written when the water pipe broke.
Phase Five: Mock Build Environment
----------------------------------
After the system is RPM bootstrapped, I have to build and configure a Mock build
environment for packages, see https://rpm-software-management.github.io/mock/
A Mock build build environment is essential for clean, untainted packages. I
have used Mock build environments in the past but creating one from scratch for
a new distribution is something I have not done.
Phase Six: XFCE
---------------
Once the system is RPM bootstrapped, I can start building the software needed
for the XFCE desktop environment.
My *personal* preferred desktop environment is actually MATE but XFCE is what I
am building as the default desktop environment for YJL.
Phase Seven: Installer
----------------------
With XFCE running, a bootable USB thumb drive that can install the system from
RPM packages will have the be created. That will be when YJL becomes a reality
and not just a concept I am working towards.

25
remove_duplicates.sh Normal file
View File

@ -0,0 +1,25 @@
#!/bin/bash
if [ "`whoami`" != "root" ]; then
echo "You must run this as r00t. Sorry."
exit 1
fi
pushd /usr/share/man
for file in `find . -type f -print`; do
if [ -f "${file}.gz" ]; then
echo "removing ${file} as duplicate"
rm -f ${file}
sleep 0.3
fi
done
popd
pushd /usr/share/info
for file in `find . -type f -print`; do
if [ -f "${file}.gz" ]; then
echo "removing ${file} as duplicate"
rm -f ${file}
sleep 0.3
fi
done
popd