Add ports to the Sortix repository.
This change imports the ports collection from the former porttix and srctix repositories and converts them to port(5) files with metadata pointing to the upstream release tarballs with patches checked into this repository. Ports are now developed and versioned along with the operating system and are automatically built per the PACKAGES environment variable. The patches are licensed under the same license as the relevant ports. Tix has gained support for the new port(5) format. tix-port(8) is the new high level ports build even point that handles downloading pstream releases into the new mirror cache directory, applying the patches, building the port with the lower-level tix-build(8), and finally installing the binary package. The new tix-vars(8) program parses port(5) files and the new tix-rmdiff(8) program produces input for tix-rmpatch(8). The old doc/ directory is discontinued in favor of manual pages documenting the new ports system. The obsolete porttix-create(8) and srctix-create(8) programs are removed.
This commit is contained in:
parent
81978ae938
commit
9588b0d3db
220 changed files with 23392 additions and 2422 deletions
ports/libexpat
45
ports/libexpat/libexpat.patch
Normal file
45
ports/libexpat/libexpat.patch
Normal file
|
@ -0,0 +1,45 @@
|
|||
diff -Paur --no-dereference -- libexpat.upstream/conftools/config.sub libexpat/conftools/config.sub
|
||||
--- libexpat.upstream/conftools/config.sub
|
||||
+++ libexpat/conftools/config.sub
|
||||
@@ -1326,7 +1326,7 @@
|
||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
||||
| -sym* | -kopensolaris* \
|
||||
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||
- | -aos* | -aros* \
|
||||
+ | -aos* | -aros* | -sortix* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||
diff -Paur --no-dereference -- libexpat.upstream/Makefile.in libexpat/Makefile.in
|
||||
--- libexpat.upstream/Makefile.in
|
||||
+++ libexpat/Makefile.in
|
||||
@@ -45,7 +45,7 @@
|
||||
APIHEADER = $(srcdir)/lib/expat.h $(srcdir)/lib/expat_external.h
|
||||
LIBRARY = libexpat.la
|
||||
|
||||
-DESTDIR = $(INSTALL_ROOT)
|
||||
+DESTDIR ?= $(INSTALL_ROOT)
|
||||
|
||||
default: buildlib xmlwf/xmlwf@EXEEXT@
|
||||
|
||||
diff -Paur --no-dereference -- libexpat.upstream/xmlwf/readfilemap.c libexpat/xmlwf/readfilemap.c
|
||||
--- libexpat.upstream/xmlwf/readfilemap.c
|
||||
+++ libexpat/xmlwf/readfilemap.c
|
||||
@@ -8,17 +8,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
-#ifdef __WATCOMC__
|
||||
-#ifndef __LINUX__
|
||||
-#include <io.h>
|
||||
-#else
|
||||
#include <unistd.h>
|
||||
-#endif
|
||||
-#endif
|
||||
-
|
||||
-#ifdef __BEOS__
|
||||
-#include <unistd.h>
|
||||
-#endif
|
||||
|
||||
#ifndef S_ISREG
|
||||
#ifndef S_IFREG
|
14
ports/libexpat/libexpat.port
Normal file
14
ports/libexpat/libexpat.port
Normal file
|
@ -0,0 +1,14 @@
|
|||
NAME=libexpat
|
||||
BUILD_LIBRARIES=
|
||||
VERSION_MAJOR=2
|
||||
VERSION_MINOR=1
|
||||
VERSION_PATCH=0
|
||||
VERSION=$VERSION_MAJOR.$VERSION_MINOR.$VERSION_PATCH
|
||||
DISTNAME=expat-$VERSION
|
||||
COMPRESSION=tar.gz
|
||||
ARCHIVE=$DISTNAME.$COMPRESSION
|
||||
SHA256SUM=823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
|
||||
UPSTREAM_SITE=https://github.com/libexpat/libexpat/releases/download/R_${VERSION_MAJOR}_${VERSION_MINOR}_${VERSION_PATCH}
|
||||
UPSTREAM_ARCHIVE=$ARCHIVE
|
||||
BUILD_SYSTEM=configure
|
||||
POST_INSTALL=tix-eradicate-libtool-la
|
Loading…
Add table
Add a link
Reference in a new issue