First pass through library packaging.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2016-02-04 21:16:35 +00:00
parent bb4355f72d
commit a70cba9582
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-pkg/; revision=295278
98 changed files with 98 additions and 0 deletions

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= 80211
SHLIBDIR?= /lib
SHLIB_MAJOR= 1

View file

@ -1,6 +1,7 @@
# $FreeBSD$
.include <src.opts.mk>
PACKAGE=lib${LIB}
_LIBARCHIVEDIR= ${.CURDIR}/../../contrib/libarchive
LIB= archive

View file

@ -2,6 +2,7 @@
# $FreeBSD$
#
PACKAGE=lib${LIB}
OPENBSMDIR= ${.CURDIR}/../../contrib/openbsm
_LIBAUDITDDIR= ${OPENBSMDIR}/libauditd
_LIBBSMDIR= ${OPENBSMDIR}/libbsm

View file

@ -2,6 +2,7 @@
LIBBEGEMOT_DIR=${.CURDIR}/../../contrib/libbegemot
PACKAGE=lib${LIB}
.PATH: ${LIBBEGEMOT_DIR}
LIB= begemot

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB:tl}
LIB= BlocksRuntime
SHLIB_MAJOR=0
CFLAGS+=-I${.CURDIR}

View file

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.5 2003/07/22 18:38:04 max Exp $
# $FreeBSD$
PACKAGE= lib${LIB}
LIB= bluetooth
MAN= bluetooth.3

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE= lib${LIB}
LIB= bsdstat
SHLIB_MAJOR= 1
PRIVATELIB=

View file

@ -2,6 +2,7 @@
# $FreeBSD$
#
PACKAGE= lib${LIB}
OPENBSMDIR= ${.CURDIR}/../../contrib/openbsm
_LIBBSMDIR= ${OPENBSMDIR}/libbsm

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE= lib${LIB}
BZ2DIR= ${.CURDIR}/../../contrib/bzip2
.PATH: ${BZ2DIR}

View file

@ -2,6 +2,7 @@
.include <src.opts.mk>
PACKAGE= lib${LIB}
_LIBCXXRTDIR= ${.CURDIR}/../../contrib/libcxxrt
HDRDIR= ${.CURDIR}/../../contrib/libc++/include
SRCDIR= ${.CURDIR}/../../contrib/libc++/src

View file

@ -1,6 +1,7 @@
# @(#)Makefile 8.2 (Berkeley) 2/3/94
# $FreeBSD$
PACKAGE= lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE= lib${LIB}
LIB= calendar
SRCS= calendar.c easter.c

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE= lib${LIB}
LIB= cam
SHLIBDIR?= /lib
SRCS= camlib.c scsi_cmdparse.c scsi_all.c scsi_da.c scsi_sa.c cam.c \

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE= lib${LIB}
LIB= capsicum
SHLIB_MAJOR= 0

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE= lib${LIB}
LIB= casper
SHLIB_MAJOR= 0

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= com_err
SRCS= com_err.c error.c
INCS= ${COM_ERRDIR}/com_err.h ${COM_ERRDIR}/com_right.h

View file

@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= compat
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale
NO_PIC=

View file

@ -2,6 +2,7 @@
.include <src.opts.mk>
PACKAGE=lib${LIB}
LIB= compiler_rt
NO_PIC=
WARNS?= 2

View file

@ -2,6 +2,7 @@
# $FreeBSD$
#
PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>

View file

@ -24,6 +24,7 @@
# SUCH DAMAGE.
#
PACKAGE=lib${LIB}
LIB= cuse
SHLIB_MAJOR= 1
SHLIB_MINOR= 0

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
SRCDIR= ${.CURDIR}/../../contrib/libcxxrt
SHLIB_MAJOR= 1

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= devctl
SRCS= devctl.c
INCS= devctl.h

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= devinfo
SRCS= devinfo.c
INCS= devinfo.h

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= devstat
SHLIBDIR?= /lib
# Bump DEVSTAT_USER_API_VER in devstat.h every time this is incremented.

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= dpv
SHLIB_MAJOR= 1
INCS= dpv.h

View file

@ -1,6 +1,7 @@
# $FreeBSD$
.include <bsd.own.mk>
PACKAGE=lib${LIB}
TOP= ${.CURDIR}/../../contrib/elftoolchain
SRCDIR= ${TOP}/libdwarf

View file

@ -2,6 +2,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= edit
SHLIB_MAJOR= 7
SHLIBDIR?= /lib

View file

@ -2,6 +2,7 @@
.include <bsd.own.mk>
PACKAGE=lib${LIB}
LIB= efi
SHLIB_MAJOR= 1

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <bsd.own.mk>

View file

@ -1,6 +1,7 @@
# $FreeBSD$
.include <bsd.own.mk>
PACKAGE=lib${LIB}
INTERNALLIB=
ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
.PATH: ${.CURDIR}/../../contrib/pf/libevent
.include <src.opts.mk>

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIBEXECINFO= ${.CURDIR}/../../contrib/libexecinfo
LIB= execinfo

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
EXPAT= ${.CURDIR}/../../contrib/expat
LIB= bsdxml

View file

@ -2,6 +2,7 @@
.include <src.opts.mk>
PACKAGE=lib${LIB}
LIB= fetch
CFLAGS+= -I.
SRCS= fetch.c common.c ftp.c http.c file.c \

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= figpar
SHLIB_MAJOR= 0
INCS= figpar.h string_m.h

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= geom
SHLIBDIR?= /lib
SRCS+= geom_getxml.c

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= gpio
SHLIB_MAJOR= 0

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= gssapi
SHLIB_MAJOR= 10
VERSION_DEF= ${.CURDIR}/../libc/Versions.def

View file

@ -27,6 +27,7 @@
#
# $FreeBSD$
PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= jail
SHLIBDIR?= /lib
SHLIB_MAJOR= 1

View file

@ -4,6 +4,7 @@ SHLIBDIR?= /lib
.include <src.opts.mk>
PACKAGE=lib${LIB}
LIB= kiconv
SRCS= kiconv_sysctl.c xlat16_iconv.c xlat16_sysctl.c
SRCS+= quirks.c

View file

@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= kvm
SHLIBDIR?= /lib

View file

@ -3,6 +3,7 @@
# Vendor sources and generated files
LDNSDIR = ${.CURDIR}/../../contrib/ldns
PACKAGE=lib${LIB}
.PATH: ${LDNSDIR} ${LDNSDIR}/compat
LIB= ldns

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= lzma
LZMADIR= ${.CURDIR}/../../contrib/xz/src/liblzma

View file

@ -1,6 +1,7 @@
# $FreeBSD$
# Copyright (c) David E. O'Brien, 2000-2004, 2006, 2009
PACKAGE=lib${LIB}
CONTRDIR= ${.CURDIR}/../../contrib/file
.PATH: ${CONTRDIR}/src
.PATH: ${CONTRDIR}/doc

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= md
SHLIB_MAJOR= 6
SHLIBDIR?= /lib

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
WARNS?= 3
LIB= memstat
SHLIB_MAJOR= 3

View file

@ -2,6 +2,7 @@
.include <src.opts.mk>
PACKAGE=lib${LIB}
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm

View file

@ -2,6 +2,7 @@
.include <src.opts.mk>
PACKAGE=lib${LIB}
LIB= mp
SHLIB_MAJOR= 7
LIBADD= crypto

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= mt
SHLIBDIR?= /lib
SRCS= mtlib.c

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= nandfs
SRCS+= nandfs.c
INCS= libnandfs.h

View file

@ -2,6 +2,7 @@
.include <bsd.own.mk>
PACKAGE=lib${LIB}
LIB= netbsd
CFLAGS+= -I${.CURDIR}

View file

@ -1,6 +1,7 @@
# $FreeBSD$
# $Whistle: Makefile,v 1.4 1999/01/17 03:41:02 julian Exp $
PACKAGE=lib${LIB}
LIB= netgraph
WARNS?= 3
MAN= netgraph.3

View file

@ -2,6 +2,7 @@
#
# Author: Harti Brandt <harti@freebsd.org>
#
PACKAGE=lib${LIB}
LIB= ngatm
SHLIB_MAJOR= 4
MAN= libngatm.3 uniaddr.3 unifunc.3 unimsg.3 unisap.3 unistruct.3

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= openbsd
SRCS= getdtablecount.c \
imsg-buffer.c \

View file

@ -2,6 +2,7 @@
#
# $FreeBSD$
#
PACKAGE=lib${LIB}
OPIE_DIST?= ${.CURDIR}/../../contrib/opie
DIST_DIR= ${OPIE_DIST}/${.CURDIR:T}
SHLIB_MAJOR= 8

View file

@ -5,6 +5,7 @@ SHLIBDIR?= /lib
.include <src.opts.mk>
PACKAGE=lib${LIB}
LIB= pcap
SRCS= grammar.y tokdefs.h version.h pcap-bpf.c \
pcap-netmap.c \

View file

@ -2,6 +2,7 @@
# $FreeBSD$
#
PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <bsd.own.mk>

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= pmc
SRCS= libpmc.c pmclog.c

View file

@ -2,6 +2,7 @@
.include <src.opts.mk>
PACKAGE=lib${LIB}
LIB= proc
SRCS= proc_bkpt.c \

View file

@ -2,6 +2,7 @@
.include <src.opts.mk>
PACKAGE=lib${LIB}
LIB= procstat
SRCS= cd9660.c \

View file

@ -26,6 +26,7 @@
.include <src.opts.mk>
PACKAGE=lib${LIB}
LIB= radius
SRCS= radlib.c
INCS= radlib.h radlib_vs.h

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= rpcsec_gss
SHLIB_MAJOR= 1
SRCS+= rpcsec_gss.c rpcsec_gss_prot.c rpcsec_gss_conf.c rpcsec_gss_misc.c \

View file

@ -5,6 +5,7 @@
.PATH: ${.CURDIR}/../../include/rpcsvc
PACKAGE=lib${LIB}
LIB= rpcsvc
RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \

View file

@ -2,6 +2,7 @@
.include <src.opts.mk>
PACKAGE=lib${LIB}
LIB=rt
SHLIB_MAJOR= 1
CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}

View file

@ -2,6 +2,7 @@
.include <bsd.own.mk>
PACKAGE=lib${LIB}
LIB= rtld_db
SHLIB_MAJOR= 2
MAN= librtld_db.3

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= sbuf
SHLIBDIR?= /lib
SRCS= subr_prf.c subr_sbuf.c

View file

@ -1,6 +1,7 @@
# $Id: Makefile,v 1.2 2003/09/07 20:34:19 max Exp $
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= sdp
MAN= sdp.3

View file

@ -2,6 +2,7 @@
.include <src.opts.mk>
PACKAGE=lib${LIB}
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsm

View file

@ -2,6 +2,7 @@
.include <src.opts.mk>
PACKAGE=lib${LIB}
CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs
.PATH: ${CONTRIBDIR}/lib/smb

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsmdb

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsmutil

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
PRIVATELIB= yes
LIB= sqlite3
SHLIB_MAJOR?= 0

View file

@ -6,6 +6,7 @@
# quite large.
#
PACKAGE=lib${LIB}
MK_PROFILE= no
MK_SSP= no

View file

@ -2,6 +2,7 @@
.include <bsd.own.mk>
PACKAGE=lib${LIB}
LIB= stdbuf
SRCS= stdbuf.c
SHLIB_MAJOR= 1

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= stdthreads
SHLIB_MAJOR= 0

View file

@ -2,6 +2,7 @@
.include <src.opts.mk>
PACKAGE=lib${LIB}
LIB= sysdecode
SRCS= ioctl.c syscallnames.c utrace.c

View file

@ -24,6 +24,7 @@
#
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= tacplus
SRCS= taclib.c
INCS= taclib.h

View file

@ -3,6 +3,7 @@
.include <src.opts.mk>
PACKAGE=lib${LIB}
TELNETDIR= ${.CURDIR}/../../contrib/telnet
.PATH: ${TELNETDIR}/libtelnet

View file

@ -8,6 +8,7 @@
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
# system call stubs.
PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>

View file

@ -2,6 +2,7 @@
.PATH: ${.CURDIR}/arch/${MACHINE_CPUARCH}
PACKAGE=lib${LIB}
LIB= thread_db
SHLIB_MAJOR= 3
SRCS= thread_db.c

View file

@ -2,6 +2,7 @@
LIBUCL= ${.CURDIR}/../../contrib/libucl
PACKAGE=lib${LIB}
LIB= ucl
PRIVATELIB= true
SHLIB_MAJOR= 1

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= ufs
SHLIBDIR?= /lib
SHLIB_MAJOR= 6

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= ugidfw
SHLIB_MAJOR= 5
SRCS= ugidfw.c

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
SHLIBDIR?=/lib
.include <src.opts.mk>

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
# Vendor sources and generated files
LDNSDIR= ${.CURDIR}/../../contrib/ldns
UNBOUNDDIR= ${.CURDIR}/../../contrib/unbound

View file

@ -4,6 +4,7 @@
# Makefile for the FreeBSD specific LibUSB 2.0
#
PACKAGE=lib${LIB}
LIB= usb
SHLIB_MAJOR= 3
SHLIB_MINOR= 0

View file

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.5 1999/07/23 09:44:38 mrg Exp $
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= usbhid
MAN= usbhid.3

View file

@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>

View file

@ -1,4 +1,5 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= vgl
SHLIB_MAJOR= 6
CFLAGS+=-Wall -I${.CURDIR}

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= vmmapi
SRCS= vmmapi.c vmmapi_freebsd.c
INCS= vmmapi.h

View file

@ -4,6 +4,7 @@
.include <src.opts.mk>
PACKAGE=lib${LIB}
LIB= wrap
SHLIB_MAJOR= 6
INCS= tcpd.h

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= y
SRCS= main.c yyerror.c
NO_PIC=

View file

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE=lib${LIB}
LIB= ypclnt
SHLIB_MAJOR= 4
SRCS= ypclnt_connect.c \

View file

@ -2,6 +2,7 @@
# $FreeBSD$
#
PACKAGE=lib${LIB}
LIB= z
SHLIBDIR?= /lib
SHLIB_MAJOR= 6

View file

@ -12,6 +12,7 @@
#
#
PACKAGE=lib${LIB}
.if ${MACHINE_CPUARCH} == "i386"
ARCH_SUBDIR= i387
.else