mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
updated
This commit is contained in:
35
system/pkg/Makefile
Normal file
35
system/pkg/Makefile
Normal file
@@ -0,0 +1,35 @@
|
||||
# $FreeBSD: head/ports-mgmt/pkg/Makefile 562140 2021-01-20 14:35:40Z manu $
|
||||
|
||||
PORTNAME= pkg
|
||||
DISTVERSION= 2.2.2
|
||||
_PKG_VERSION= ${DISTVERSION}
|
||||
CATEGORIES= ports-mgmt
|
||||
|
||||
MAINTAINER= pkg@FreeBSD.org
|
||||
COMMENT= Package manager
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= freebsd
|
||||
|
||||
USE_LDCONFIG= ${PREFIX}/lib/compat/pkg
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --mandir=${PREFIX}/man --prefix="${PREFIX}"
|
||||
CONFIGURE_ENV= CC_FOR_BUILD="${CC}"
|
||||
|
||||
# Use a submake as 'deinstall install' needs to reevaluate PKG_REGISTER
|
||||
# so that pkg-static is used from the wrkdir
|
||||
USE_SUBMAKE= yes
|
||||
CFLAGS+= -Wno-error
|
||||
PKG_DEPENDS= #
|
||||
#LIBLZMA_LIBS= -llzma
|
||||
|
||||
post-patch:
|
||||
# ${REINPLACE_CMD} -e "s|-llzma|${LIBLZMA_LIBS}|g" ${WRKSRC}/auto.def \
|
||||
# ${WRKSRC}/src/Makefile.autosetup ${WRKSRC}/tests/Makefile.autosetup
|
||||
## ${REINPLACE_CMD} -e 's,libdata/pkgconfig,lib/pkgconfig,' ${WRKSRC}/auto.def
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/compat/pkg
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
system/pkg/distinfo
Normal file
3
system/pkg/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1755579112
|
||||
SHA256 (freebsd-pkg-2.2.2_GH0.tar.gz) = 0b4adfc795f5052b1592dee409d39cbaad7f6dc8b6c4d7af4263e1cff6b1bee9
|
||||
SIZE (freebsd-pkg-2.2.2_GH0.tar.gz) = 16516809
|
||||
34
system/pkg/files/extra-patch-docs_pkg.8
Normal file
34
system/pkg/files/extra-patch-docs_pkg.8
Normal file
@@ -0,0 +1,34 @@
|
||||
--- docs/pkg.8.orig 2015-04-14 18:00:21 UTC
|
||||
+++ docs/pkg.8
|
||||
@@ -29,7 +29,7 @@
|
||||
.Op Fl d
|
||||
.Op Fl l
|
||||
.Op Fl N
|
||||
-.Op Fl j Ao jail name or id Ac | Fl c Ao chroot path Ac | Fl r Ao root directory Ac
|
||||
+.Op Fl j Ao chroot path Ac | Fl r Ao root directory Ac
|
||||
.Op Fl C Ao configuration file Ac
|
||||
.Op Fl R Ao repository configuration directory Ac
|
||||
.Op Fl 4 | Fl 6
|
||||
@@ -144,22 +144,6 @@ is installed and activated:
|
||||
# pkg_install-specifics
|
||||
fi
|
||||
.Ed
|
||||
-.It Fl j Ao jail name or id Ac , Cm --jail Ao jail name or id Ac
|
||||
-.Nm
|
||||
-will execute in the given
|
||||
-.Ao jail name or id Ac ,
|
||||
-where
|
||||
-.Em name
|
||||
-matches
|
||||
-.Dq Cm jls Ar name
|
||||
-and
|
||||
-.Em id
|
||||
-matches
|
||||
-.Dq Cm jls Ar jid .
|
||||
-See
|
||||
-.Xr jail 8
|
||||
-and
|
||||
-.Xr jls 8 .
|
||||
.It Fl c Ao chroot path Ac , Cm --chroot Ao chroot path Ac
|
||||
.Nm
|
||||
will chroot in the
|
||||
11
system/pkg/files/patch-src_Makefile.autosetup
Normal file
11
system/pkg/files/patch-src_Makefile.autosetup
Normal file
@@ -0,0 +1,11 @@
|
||||
--- src/Makefile.autosetup.orig 2022-12-11 18:22:41 UTC
|
||||
+++ src/Makefile.autosetup
|
||||
@@ -93,7 +93,7 @@ pkg-static: $(OBJS) $(top_builddir)/libpkg/libpkg_flat
|
||||
install: install-static
|
||||
|
||||
pkg-static: $(OBJS) $(top_builddir)/libpkg/libpkg_flat.a
|
||||
- $(CC) -o $@ $(OBJS) $(STATIC_ARG) $(LDFLAGS) $(STATIC_LDFLAGS)
|
||||
+ $(CC) -o $@ $(OBJS) $(STATIC_ARG) $(STATIC_LDFLAGS)
|
||||
|
||||
install-static: pkg-static
|
||||
install -d -m 755 $(DESTDIR)$(sbindir)
|
||||
3
system/pkg/pkg-descr
Normal file
3
system/pkg/pkg-descr
Normal file
@@ -0,0 +1,3 @@
|
||||
Package management tool
|
||||
|
||||
WWW: https://github.com/freebsd/pkg
|
||||
62
system/pkg/pkg-plist
Normal file
62
system/pkg/pkg-plist
Normal file
@@ -0,0 +1,62 @@
|
||||
etc/periodic/daily/411.pkg-backup
|
||||
etc/periodic/daily/490.status-pkg-changes
|
||||
etc/periodic/security/405.pkg-base-audit
|
||||
etc/periodic/security/410.pkg-audit
|
||||
etc/periodic/security/460.pkg-checksum
|
||||
etc/periodic/weekly/400.status-pkg
|
||||
include/pkg.h
|
||||
include/pkg/audit.h
|
||||
include/pkg/vec.h
|
||||
lib/libpkg.a
|
||||
lib/libpkg.so
|
||||
lib/libpkg.so.4
|
||||
libdata/pkgconfig/pkg.pc
|
||||
man/man3/pkg_create.3.gz
|
||||
man/man3/pkg_printf.3.gz
|
||||
man/man3/pkg_repo_create.3.gz
|
||||
man/man3/pkg_repos.3.gz
|
||||
man/man5/pkg-keywords.5.gz
|
||||
man/man5/pkg-lua-script.5.gz
|
||||
man/man5/pkg-repository.5.gz
|
||||
man/man5/pkg-script.5.gz
|
||||
man/man5/pkg-triggers.5.gz
|
||||
man/man5/pkg.conf.5.gz
|
||||
man/man8/pkg-add.8.gz
|
||||
man/man8/pkg-alias.8.gz
|
||||
man/man8/pkg-annotate.8.gz
|
||||
man/man8/pkg-audit.8.gz
|
||||
man/man8/pkg-autoremove.8.gz
|
||||
man/man8/pkg-check.8.gz
|
||||
man/man8/pkg-clean.8.gz
|
||||
man/man8/pkg-config.8.gz
|
||||
man/man8/pkg-create.8.gz
|
||||
man/man8/pkg-delete.8.gz
|
||||
man/man8/pkg-fetch.8.gz
|
||||
man/man8/pkg-info.8.gz
|
||||
man/man8/pkg-install.8.gz
|
||||
man/man8/pkg-key.8.gz
|
||||
man/man8/pkg-lock.8.gz
|
||||
man/man8/pkg-query.8.gz
|
||||
man/man8/pkg-register.8.gz
|
||||
man/man8/pkg-remove.8.gz
|
||||
man/man8/pkg-repo.8.gz
|
||||
man/man8/pkg-repositories.8.gz
|
||||
man/man8/pkg-rquery.8.gz
|
||||
man/man8/pkg-search.8.gz
|
||||
man/man8/pkg-set.8.gz
|
||||
man/man8/pkg-shell.8.gz
|
||||
man/man8/pkg-shlib.8.gz
|
||||
man/man8/pkg-ssh.8.gz
|
||||
man/man8/pkg-static.8.gz
|
||||
man/man8/pkg-stats.8.gz
|
||||
man/man8/pkg-triggers.8.gz
|
||||
man/man8/pkg-unlock.8.gz
|
||||
man/man8/pkg-update.8.gz
|
||||
man/man8/pkg-updating.8.gz
|
||||
man/man8/pkg-upgrade.8.gz
|
||||
man/man8/pkg-version.8.gz
|
||||
man/man8/pkg-which.8.gz
|
||||
man/man8/pkg.8.gz
|
||||
sbin/pkg
|
||||
sbin/pkg-static
|
||||
@dir include/pkg
|
||||
Reference in New Issue
Block a user