Changes In Branch packages Through [3f2cfe4d81] Excluding Merge-Ins
This is equivalent to a diff from 17bbfdc417 to 3f2cfe4d81
2018-11-16
| ||
21:38 | Many build script updates Leaf check-in: 4a0ff085ab user: rkeene tags: packages | |
21:38 | Upgraded to latest Tcl check-in: 3f2cfe4d81 user: rkeene tags: packages | |
2015-03-20
| ||
15:19 | Added support for packages linking to the native system check-in: d8aa72a9f7 user: rkeene tags: packages | |
2014-09-18
| ||
05:14 | Added support for a "platform" symlink pointing to the current platform check-in: 7ef423f980 user: rkeene tags: trunk | |
04:43 | Added package building branch check-in: 07e806db4e user: rkeene tags: packages | |
2014-09-16
| ||
18:21 | Removed blank line check-in: 17bbfdc417 user: rkeene tags: trunk | |
2014-09-14
| ||
04:36 | Updated to normalize CPU/OS check-in: ee1a499a2e user: rkeene tags: trunk | |
Modified .fossil-settings/ignore-glob from [5155de6731] to [171004757d].
|
| | < < > | 1 2 | workdir-* ARCHIVE |
Deleted Makefile version [be705a2fe3].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted README.md version [209ceb6ce4].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted appfs-mkfs version [994caae026].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted appfsd.c version [f1b76341ae].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted appfsd.tcl version [fc1c954390].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Added build version [28a52cfdd8].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 | #! /usr/bin/env bash # Set timezone to default TZ=UTC export TZ targetmode='install' if [ "$1" == '--cpio' ]; then targetmode='archive' shift fi pkg="$(echo "$1" | sed 's@/*$@@;s@^\.*/*@@')" if [ -z "${pkg}" ]; then echo "Usage: build [--cpio] <package>" 2>&1 exit 1 fi function download() { if [ ! -e "${pkgarchive}" ]; then # Download ## Cleanup rm -f src.new ## Fetch file wget -O src.new "${url}" || exit 1 ## Verify signature src_sha256="$(openssl sha256 'src.new' | sed 's@^.*= @@')" if [ "${src_sha256}" != "${sha256}" ]; then echo "SHA256 mismatch: Downloaded: ${src_sha256} != Expected: ${sha256}" >&2 exit 1 fi ## Move file into place mv src.new "${pkgarchive}" fi } function extract() { local decompress # Decompress archive ## Determine type of archive case "${url}" in *.tar.xz|*.tar.xz'?'*|*.txz) decompress='xz' ;; *.tar.gz|*.tar.gz'?'*|*.tgz) decompress='gzip' ;; *.tar.bz2|*.tar.bz2'?'*|*.tbz2) decompress='bzip2' ;; *.zip|*.zip'?'*) decompress='unzip' ;; *) echo "Unknown compression method: ${url}" >&2 exit 1 ;; esac ## Do decompression case "${decompress}" in unzip) unzip "${pkgarchive}" || die 'Unable to uncompress archive' ;; *) "${decompress}" -dc "${pkgarchive}" | tar -xf - || die 'Unable to uncompress archive' ;; esac } function apply_patches() { local patch for patch in "${pkgdir}/patches"/*; do if [ ! -e "${patch}" ]; then continue fi case "${patch}" in *.diff|*.patch) ;; *) continue ;; esac if [ -e "${patch}.sh" ]; then if ! sh "${patch}.sh"; then continue fi fi patch -p1 < "${patch}" done } function verifyRequiredPackages() { local pkg pkgdomain pkgversion local pkgdir pkgconfigdir pkgfound for pkg in "${require[@]}"; do pkgdomain='' pkgversion='' pkgchanges=(CFLAGS LDFLAGS PATH PKG_CONFIG_PATH) case "${pkg}" in *:*) pkgchanges=($(echo "${pkg}" | cut -f 2 -d ':')) pkg="$(echo "${pkg}" | cut -f 1 -d ':')" ;; esac case "${pkg}" in @*) # Fake package continue ;; */*@*) pkgdomain="$(echo "${pkg}" | cut -f 2 -d '@')" pkgversion="$(echo "${pkg}" | cut -f 2 -d '/' | cut -f 1 -d '@')" pkg="$(echo "${pkg}" | cut -f 1 -d '/')" ;; */*) pkgversion="$(echo "${pkg}" | cut -f 2 -d '/')" pkg="$(echo "${pkg}" | cut -f 1 -d '/')" ;; *@*) pkgdomain="$(echo "${pkg}" | cut -f 2 -d '@')" pkg="$(echo "${pkg}" | cut -f 1 -d '@')" ;; esac if [ -z "${pkgdomain}" ]; then pkgdomain="${domain}" fi pkgfound='0' for pkgdir in "/opt/appfs/${pkgdomain}/${pkg}/platform"/${pkgversion:-latest} "/opt/appfs/${pkgdomain}/${pkg}/platform"/${pkgversion:-*}; do pkgconfigdir="${pkgdir}/lib/pkgconfig" if [ ! -d "${pkgdir}" ]; then continue fi # If the package version was unspecified, fully resolve # the directory that we found if [ -z "${pkgversion}" ]; then pkgdir="$(readlink -f "${pkgdir}")" fi pkgfound='1' for pkgchange in "${pkgchanges[@]}"; do case "${pkgchange}" in CFLAGS) CFLAGS="${CFLAGS} -isystem ${pkgdir}/include" CPPFLAGS="${CPPFLAGS} -isystem ${pkgdir}/include" export CFLAGS CPPFLAGS ;; LDFLAGS) LDFLAGS="${LDFLAGS} -L${pkgdir}/lib -Wl,-rpath,${pkgdir}/lib" export LDFLAGS ;; PATH) PATH="${PATH}:${pkgdir}/bin" export PATH ;; PKG_CONFIG_PATH) if [ -d "${pkgconfigdir}" ]; then PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${pkgconfigdir}" export PKG_CONFIG_PATH fi ;; esac done break done if [ "${pkgfound}" = '0' ]; then die "Package ${pkg}/${pkgversion:-*}@${pkgdomain} not found." fi done } function verifyPrerequisites() { : } function determineOsArch() { os="$(uname -s | dd conv=lcase 2>/dev/null)" arch="$(uname -m | dd conv=lcase 2>/dev/null)" case "${arch}" in i?86) arch='ix86' ;; esac } function determinePrefix() { determineOsArch prefixsuffix="${pkg}/${os}-${arch}/${version}" prefix="/opt/appfs/${domain}/${prefixsuffix}" destdir="$(pwd)/INST" mkdir "${destdir}" || die } function preconfigure() { : } function postconfigure() { : } function configure_gcc() { local glibcdir linuxheadersdir local dynlinker local gcc_default_headers local pkg use_native_platform glibcdir="/opt/appfs/core.appfs.rkeene.org/glibc/platform/latest" glibcdir="$(readlink -f "${glibcdir}")" linuxheadersdir="/opt/appfs/core.appfs.rkeene.org/linux-headers/platform/latest" linuxheadersdir="$(readlink -f "${linuxheadersdir}")" dynlinker="$(ls "${glibcdir}"/lib/ld-linux*.so.* | tail -n 1)" if [ ! -f "${dynlinker}" ]; then die 'glibc directory is not available (appfs running/working?)' fi use_native_platform='0' for pkg in "${require[@]}"; do case "${pkg}" in @native-os) use_native_platform='1' ;; esac done if [ "${use_native_platform}" = '0' ]; then gcc_default_headers="$(echo '' | ${CPP:-cpp} -v 2>&1 | sed '/^End of search list/,$ d;0,/search starts here:$/ d' | grep '/gcc/' | sed 's@^ *@-isystem @' | tr $'\n' ' ')" CC="${CC:-gcc} -nostdinc ${gcc_default_headers} -isystem ${glibcdir}/include" CXX="${CXX:-g++} -nostdinc ${gcc_default_headers} -isystem ${glibcdir}/include" if ! echo " ${require[*]} " | grep ' linux-headers[/@: ]' >/dev/null; then CC="${CC} -isystem ${linuxheadersdir}/include" CXX="${CXX} -isystem ${linuxheadersdir}/include" fi else CC="${CC:-gcc} -isystem ${glibcdir}/include" CXX="${CXX:-g++} -isystem ${glibcdir}/include" fi BUILD_CC="${CC}" HOST_CC="${CC}" LDFLAGS="${LDFLAGS} -L${glibcdir}/lib -Wl,-rpath,${glibcdir}/lib -Wl,--dynamic-linker,${dynlinker}" if [ -z "${appfs_build_no_default_symver}" ]; then LDFLAGS="${LDFLAGS} -Wl,--default-symver" fi PKG_CONFIG_LIBDIR="${glibcdir}/lib/pkgconfig" export CC BUILD_CC HOST_CC LDFLAGS PKG_CONFIG_LIBDIR } function configure() { configure_gcc ./configure --prefix="${prefix}" --sysconfdir="${prefix}/etc" --libdir="${prefix}/lib" --localstatedir=/var "${configure_extra[@]}" } function prebuild() { : } function postbuild() { : } function build() { grep "DESTDIR" Makefile >/dev/null || die "Don't know how to build this software" make "${make_extra[@]}" } function preinstall() { : } function postinstall() { : } function install() { make install DESTDIR="${destdir}" } function cleanup() { cd "${workdir}" || exit 1 cd .. || exit 1 rm -rf "${workdir}" } function die() { local message message="$1" if [ -n "${message}" ]; then echo "error: ${message}" >&2 fi exit 1 } scriptdir="$(cd "$(dirname "$(which "$0")")" && pwd)" if [ -z "${scriptdir}" ]; then echo "Unable to locate script directory" >&2 exit 1 fi cd "${scriptdir}" || exit 1 if [ -f 'build.conf' ]; then . 'build.conf' fi if [ -d "pkgs/${pkg}" ]; then pkgdir="$(pwd)/pkgs/${pkg}" pkgfile="${pkgdir}/info" else pkgfile="$(pwd)/pkgs/${pkg}" pkgdir="${pkgfile}" fi if [ ! -e "${pkgfile}" ]; then echo "Invalid package." >&2 exit 1 fi pkgdate="$(for artifact in $(find "${pkgdir}" -type f -print0 | xargs -n 1 -0 fossil finfo --limit 1 --width 0 2>/dev/null | grep '^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] ' | sed 's@^[^ ]* \[@@;s@\].*@@' | sort -u); do fossil info "${artifact}" | awk '/^uuid:/{ print $3 $4 }' | sed 's@[-:]@@g;s@..$@\.&@'; done | sort -n | tail -n 1)" if [ -z "${pkgdate}" ]; then pkgdate="$(find "${pkgdir}" -type f -printf '%TY%Tm%Td%TH%TM.%TS\n' 2>/dev/null | cut -f 1-2 -d '.' | sort -n | tail -n 1)" fi . "${pkgfile}" archivedir="$(pwd)/ARCHIVE" workdir="workdir-$$${RANDOM}${RANDOM}${RANDOM}" pkgarchive="${archivedir}/${pkg}-${version}.archive" mkdir "${archivedir}" >/dev/null 2>/dev/null mkdir "${workdir}" || exit 1 cd "${workdir}" || exit 1 workdir="$(pwd)" # Download download # Extract extract # If we just have one directory, use that directory dir="$(echo *)" if [ -e "${dir}" ]; then mv "${dir}"/* . fi # Verify pre-requisites are met verifyRequiredPackages || die 'Required packages missing' verifyPrerequisites || die 'Prerequisities failed' # Start logging set -x # Determine properties determinePrefix # Apply patches apply_patches # Start the build preconfigure || die 'preconfigure failed' configure || die 'configure failed' postconfigure || die 'postconfigure failed' prebuild || die 'prebuild failed' build || die 'build failed' postbuild || die 'postbuild failed' preinstall || die 'preinstall failed' install || die 'install failed' postinstall || die 'postinstall failed' ( case "${targetmode}" in install) appdir="$(appfsinstalldir)/${prefixsuffix}" mkdir -p "${appdir}" cd "${destdir}/${prefix}" || exit 1 cp -rp * "${appdir}" find "${appdir}" -print0 | xargs -0 touch -t "${pkgdate}" find "${appdir}" -print0 | xargs -0 touch -m -t "${pkgdate}" find "${appdir}" -print0 | xargs -0 touch -a -t "${pkgdate}" ;; archive) archivefile="${scriptdir}/${pkg}-${version}-$(echo "${pkgdate}" | sed 's@\.@@g')-${os}-${arch}-${domain}.cpio" cd "${destdir}/${prefix}/../../.." || exit 1 find "${prefixsuffix}" -print0 | xargs -0 touch -t "${pkgdate}" find "${prefixsuffix}" -print0 | xargs -0 touch -m -t "${pkgdate}" find "${prefixsuffix}" -print0 | xargs -0 touch -a -t "${pkgdate}" find "${prefixsuffix}" | sort | cpio --owner 0:0 -H newc -o > "${archivefile}" ;; esac ) || die 'final installation failed' cleanup exit 0 |
Added build.conf version [501534cf12].
> > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | domain=rkeene.org function appfsinstalldir() { case "${domain}" in rkeene.org) echo "/web/rkeene/appfs/applications" ;; appfs.rkeene.org) echo "/web/customers/appfs.rkeene.org/appfs/applications" ;; core.appfs.rkeene.org) echo "/web/static/core.appfs.rkeene.org/appfs/applications" ;; esac } |
Added pkgs/acl version [b995987669].
> > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #! /usr/bin/env bash version='2.2.52' url="http://download.savannah.gnu.org/releases/acl/acl-${version}.src.tar.gz" domain=core.appfs.rkeene.org sha256='179074bb0580c06c4b4137be4c5a92a701583277967acdb5546043c7874e0d23' require=(attr) function prebuild() { echo "# Ignore: DESTDIR" >> Makefile } function install() { make install install-dev install-lib DESTDIR="${destdir}" } function postinstall() { rm -f "${destdir}/${prefix}/libexec/libacl.so" mv "${destdir}/${prefix}"/libexec/* "${destdir}/${prefix}/lib/" rm -rf "${destdir}/${prefix}/libexec" } |
Added pkgs/attr/info version [59cddfa940].
> > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #! /usr/bin/env bash version='2.4.47' url="http://download.savannah.gnu.org/releases/attr/attr-${version}.src.tar.gz" domain=core.appfs.rkeene.org sha256='25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859' function prebuild() { echo "# Ignore: DESTDIR" >> Makefile } function install() { make install install-dev install-lib DESTDIR="${destdir}" } |
Added pkgs/attr/patches/attr.destdir.diff version [a05356e164].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | --- ./include/builddefs.in.orig 2011-04-08 11:56:59.000000000 -0500 +++ ./include/builddefs.in 2011-04-18 13:27:35.000000000 -0500 @@ -40,14 +40,14 @@ PKG_VERSION = @pkg_version@ PKG_PLATFORM = @pkg_platform@ PKG_DISTRIBUTION= @pkg_distribution@ -PKG_BIN_DIR = @bindir@ -PKG_SBIN_DIR = @sbindir@ -PKG_LIB_DIR = @libdir@@libdirsuffix@ -PKG_DEVLIB_DIR = @libexecdir@@libdirsuffix@ -PKG_INC_DIR = @includedir@/attr -PKG_MAN_DIR = @mandir@ -PKG_DOC_DIR = @datadir@/doc/@pkg_name@ -PKG_LOCALE_DIR = @datadir@/locale +PKG_BIN_DIR = $(DESTDIR)@bindir@ +PKG_SBIN_DIR = $(DESTDIR)@sbindir@ +PKG_LIB_DIR = $(DESTDIR)@libdir@@libdirsuffix@ +PKG_DEVLIB_DIR = $(DESTDIR)@libexecdir@@libdirsuffix@ +PKG_INC_DIR = $(DESTDIR)@includedir@/attr +PKG_MAN_DIR = $(DESTDIR)@mandir@ +PKG_DOC_DIR = $(DESTDIR)@datadir@/doc/@pkg_name@ +PKG_LOCALE_DIR = $(DESTDIR)@datadir@/locale CC = @cc@ AWK = @awk@ --- ./include/buildmacros.orig 2011-04-08 11:56:59.000000000 -0500 +++ ./include/buildmacros 2011-04-18 13:28:23.000000000 -0500 @@ -40,7 +40,7 @@ $(LFILES:.l=.o) \ $(YFILES:%.y=%.tab.o) -INSTALL = $(TOPDIR)/include/install-sh -o $(PKG_USER) -g $(PKG_GROUP) +INSTALL = $(TOPDIR)/include/install-sh SHELL = /bin/sh IMAGES_DIR = $(TOPDIR)/all-images |
Added pkgs/bash version [22239c774b].
> > > > > > > | 1 2 3 4 5 6 7 | #! /usr/bin/env bash version='4.3.30' url="http://ftp.gnu.org/gnu/bash/bash-${version}.tar.gz" domain=core.appfs.rkeene.org sha256='317881019bbf2262fb814b7dd8e40632d13c3608d2f237800a8828fbb8a640dd' require=(zlib readline ncurses) |
Added pkgs/binutils version [c2b1e3701b].
> > > > > > > | 1 2 3 4 5 6 7 | #! /usr/bin/env bash version=2.24 url="http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz" domain=core.appfs.rkeene.org sha256='4930b2886309112c00a279483eaef2f0f8e1b1b62010e0239c16b22af7c346d4' require=(zlib) |
Added pkgs/bzip2 version [99cab0ae8a].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #! /usr/bin/env bash version=1.0.6 url="http://www.bzip.org/${version}/bzip2-${version}.tar.gz" sha256="a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd" domain='core.appfs.rkeene.org' require=() function configure() { configure_gcc cat Makefile-libbz2_so | sed "s|CC=gcc|CC=${CC} ${CFLAGS} ${LDFLAGS}|g" > Makefile-libbz2_so.new cat Makefile | sed "s|LDFLAGS=|LDFLAGS=${LDFLAGS}|g" | sed "s|CFLAGS=|CFLAGS=${CFLAGS} |g" > Makefile.new mv -f Makefile-libbz2_so.new Makefile-libbz2_so mv -f Makefile.new Makefile } function build() { make -f Makefile-libbz2_so PREFIX="${prefix}" } function install() { make install PREFIX="${destdir}/${prefix}" mv libbz2*.so* ${destdir}/${prefix}/lib ( cd "${destdir}/${prefix}/bin" || exit 1 rm -f bzcmp bzegrep bzfgrep bzless ln -s bzdiff bzcmp ln -s bzgrep bzegrep ln -s bzgrep bzfgrep ln -s bzmore bzless ) || return 1 ( cd "${destdir}/${prefix}/lib" || exit 1 rm -f bzcmp bzegrep bzfgrep bzless ln -s libbz2.so.1.0 libbz2.so.1 ln -s libbz2.so.1 libbz2.so ) || return 1 } |
Added pkgs/coreutils version [a1c739d508].
> > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 | #! /usr/bin/env bash version='8.23' url="http://ftp.gnu.org/gnu/coreutils/coreutils-${version}.tar.xz" domain=core.appfs.rkeene.org sha256='ec43ca5bcfc62242accb46b7f121f6b684ee21ecd7d075059bf650ff9e37b82d' require=(attr acl libcap) configure_extra=(--without-gmp) function preconfigure() { DEFAULT_POSIX2_VERSION=199209 export DEFAULT_POSIX2_VERSION } |
Added pkgs/dact version [3cfe3783a4].
> > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #! /usr/bin/env bash version='0.8.42' url="http://www.rkeene.org/devel/dact-${version}.tar.gz" sha256='08c91d36b2de30c4f2e9e13a7b044c137c096db2ba8d868d1962e209dd6b2ed8' domain='rkeene.org' require=(zlib@core.appfs.rkeene.org bzip2@core.appfs.rkeene.org) function preconfigure() { sed -i -r 's/^(prefix|libdir|sysconfdir) *= */&$(DESTDIR)/g' Makefile.in sed -i '/^ALGO *=/ a \ MODS = $(ALGO:.c=.so)' Makefile.in } function postinstall() { # Delete incomplete "libdact" rm -f "${destdir}/${prefix}"/lib/libdact* rmdir "${destdir}/${prefix}/lib" >/dev/null 2>/dev/null return 0 } |
Added pkgs/ffmpeg version [dc320025c3].
> > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #! /usr/bin/env bash version='2.4.3' url="https://www.ffmpeg.org/releases/ffmpeg-${version}.tar.bz2" domain=rkeene.org sha256='ca5c3e3c0e4f9e43b9dceafceb866acb1ea575cb9f2d94e0d959303e4fc4e602' require=(zlib@core.appfs.rkeene.org readline@core.appfs.rkeene.org) make_extra=(-j10) function configure() { configure_gcc CC="$(echo "${CC}" | sed 's@ -nostdinc @ @g')" ./configure --prefix="${prefix}" --cc="${CC} ${CPPFLAGS}" --extra-cflags="${CFLAGS}" --host-cppflags="${CPPFLAGS}" --extra-ldflags="${LDFLAGS}" --enable-shared --enable-pic --enable-rpath --enable-x11grab --enable-gpl || return 1 echo '# Ignore: DESTDIR' >> Makefile } |
Added pkgs/filed version [4dd4fb9eb5].
> > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #! /usr/bin/env bash version='1.12' url="http://filed.rkeene.org/fossil/tarball/filed-${version}.tar.gz?uuid=${version}" sha256='807931f6c8ab4c90e26f5221e89558a84b31d4b4ce60c8c2cccb09350e25de85' domain='rkeene.org' function configure() { configure_gcc } function build() { make prefix="${prefix}" CC="${CC} ${CFLAGS}" LDFLAGS="-pthread ${LDFLAGS}" } function install() { make install prefix="${prefix}" DESTDIR="${destdir}" } |
Added pkgs/fossil version [c83508e264].
> > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #! /usr/bin/env bash version='1.32' url="https://www.fossil-scm.org/download/fossil-src-${version}.tar.gz" sha256='cd79c333eb9e86fbb8c17bf5cdf31c387e4ab768eede623aed21adfdbcad686e' require=(zlib@core.appfs.rkeene.org) function configure() { configure_gcc CCACHE=none export CCACHE ./configure "${configure_extra[@]}" } function build() { make } function install() { mkdir -p "${destdir}/${prefix}/bin" cp fossil "${destdir}/${prefix}/bin/" chmod 755 "${destdir}/${prefix}/bin/fossil" } |
Added pkgs/gcc version [ef2bd3b72e].
> > > > > > > > | 1 2 3 4 5 6 7 8 | #! /usr/bin/env bash version=4.9.2 url="http://ftp.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.gz" domain=core.appfs.rkeene.org sha256='3e573826ec8b0d62d47821408fbc58721cd020df3e594cd492508de487a43b5e' require=(zlib binutils:PATH linux-headers/2.6.32.63) configure_extra=(--disable-multilib) |
Added pkgs/glibc version [a1708aed89].
> > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #! /usr/bin/env bash version=2.20 url="http://ftp.gnu.org/gnu/glibc/glibc-${version}.tar.xz" domain=core.appfs.rkeene.org sha256='f84b6d42aecc288d593c397b0a3d02260a33ee686bce0c634eb9b32798f36ba5' function configure() { mkdir BUILD cd BUILD ../configure --prefix="${prefix}" --sysconfdir=/etc --localstatedir=/var || return 1 echo '# Ignore: DESTDIR' >> Makefile } |
Added pkgs/gmp version [17a262a8c5].
> > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 | #! /usr/bin/env bash version='6.0.0a' url="http://ftp.gnu.org/gnu/gmp/gmp-6.0.0a.tar.xz" domain=core.appfs.rkeene.org sha256='9156d32edac6955bc53b0218f5f3763facb890b73a835d5e1b901dcf8eb8b764' function postinstall() { rm -f "${destdir}/${prefix}/share/info/dir" } |
Added pkgs/libcap version [832b31b155].
> > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #! /usr/bin/env bash version='2.24' url="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${version}.tar.xz" domain=core.appfs.rkeene.org sha256='cee4568f78dc851d726fc93f25f4ed91cc223b1fe8259daa4a77158d174e6c65' require=(attr) function configure() { : } function build() { make prefix="${prefix}" lib='lib' } function install() { make prefix="${prefix}" lib='lib' DESTDIR="${destdir}" RAISE_SETFCAP='no' install } |
Added pkgs/linux-headers version [9fe679842b].
> > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #! /usr/bin/env bash version='3.17.2' url="https://www.kernel.org/pub/linux/kernel/v3.x/linux-${version}.tar.xz" domain=core.appfs.rkeene.org sha256='f9221dc0878955318ab57b8bb5ea1f26cbbaa39359c91d0f6c8de74d68aea796' function configure() { : } function build() { make defconfig || die } function install() { make INSTALL_HDR_PATH="${destdir}/${prefix}" headers_install || die } |
Added pkgs/mpc version [9b2be002ec].
> > > > > > > | 1 2 3 4 5 6 7 | #! /usr/bin/env bash version='1.0.2' url="http://ftp.gnu.org/gnu/mpc/mpc-${version}.tar.gz" domain=core.appfs.rkeene.org sha256='b561f54d8a479cee3bc891ee52735f18ff86712ba30f036f8b8537bae380c488' require=(gmp mpfr) |
Added pkgs/mpfr version [8921e1fbd3].
> > > > > > > | 1 2 3 4 5 6 7 | #! /usr/bin/env bash version='3.1.2' url="http://ftp.gnu.org/gnu/mpfr/mpfr-${version}.tar.xz" domain=core.appfs.rkeene.org sha256='399d0f47ef6608cc01d29ed1b99c7faff36d9994c45f36f41ba250147100453b' require=(gmp) |
Added pkgs/ncurses version [7553fdbe53].
> > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #! /usr/bin/env bash version='5.9' url="http://ftp.gnu.org/gnu/ncurses/ncurses-${version}.tar.gz" domain=core.appfs.rkeene.org sha256='9046298fb440324c9d4135ecea7879ffed8546dd1b58e59430ea07a4633f563b' configure_extra=(--with-termlib --with-ticlib --with-shared) function postinstall() { # Create libtermcap compatability ## Create libtermcap.so shared object cat << \_EOF_ > "${destdir}/${prefix}/lib/libtermcap.so" GROUP( libtinfo.so ) _EOF_ ## Create termcap.h header cat << \_EOF_ > "${destdir}/${prefix}/include/termcap.h" #include <ncurses/termcap.h> _EOF_ } |
Added pkgs/readline version [4f5b78a41f].
> > > > > > | 1 2 3 4 5 6 | #! /usr/bin/env bash version=6.3 url="https://ftp.gnu.org/gnu/readline/readline-${version}.tar.gz" domain=core.appfs.rkeene.org sha256='56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43' |
Added pkgs/tcl version [4e6f6630aa].
> > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #! /usr/bin/env bash version='8.6.9' url="http://sourceforge.net/projects/tcl/files/Tcl/${version}/tcl${version}-src.tar.gz" domain=core.appfs.rkeene.org sha256='ad0cd2de2c87b9ba8086b43957a0de3eb2eb565c7159d5f53ccbba3feb915f4e' require=(zlib) function preconfigure() { cd unix } function postinstall() { cd .. } |
Added pkgs/zlib version [e788328143].
> > > > > > | 1 2 3 4 5 6 | #! /usr/bin/env bash version=1.2.8 url="http://zlib.net/zlib-${version}.tar.gz" domain=core.appfs.rkeene.org sha256='36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d' |