mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
sysutils/etc_os-release: Remove expired port
2023-12-31 sysutils/etc_os-release: No longer required after the EOL of 12
This commit is contained in:
parent
d77ff86c73
commit
141df258e7
1
MOVED
1
MOVED
@ -8272,3 +8272,4 @@ www/py-dj41-django-tables2|www/py-dj42-django-tables2|2023-12-31|Has expired: Ex
|
||||
www/py-httpx013||2023-12-31|Has expired: Old repo-copy needed for deprecated textproc/py-googletrans
|
||||
graphics/drm-fbsd12.0-kmod||2023-12-31|Has expired: Requires soon to reach EOL FreeBSD 12
|
||||
www/py-dj41-django-taggit|www/py-dj42-django-taggit|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
|
||||
sysutils/etc_os-release||2023-12-31|Has expired: No longer required after the EOL of 12
|
||||
|
@ -38,19 +38,6 @@ QT_CONFIG= glib icu
|
||||
|
||||
MORE_WRKSRCS= src/tools/bootstrap src/corelib src/tools/qlalr
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# FreeBSD base gained an os-release in r354922, but that does not exist
|
||||
# always (see Synth bug 191, or PR 255354). Be a little more forgiving:
|
||||
# assume sufficiently recent base "will have it", and check otherwise
|
||||
# because 12.2 does, others like 12.1 do not have it.
|
||||
.if !exists(/etc/rc.d/os-release) && (${OSVERSION} < 1300060)
|
||||
RUN_DEPENDS+= etc_os-release>0:sysutils/etc_os-release
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e '/readEtcFile/s|/etc/os-release|${LOCALBASE}/etc/os-release|g' \
|
||||
${WRKSRC}/src/corelib/global/qglobal.cpp
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
.for d in ${MORE_WRKSRCS}
|
||||
${MKDIR} ${WRKSRC}/${d}
|
||||
@ -77,4 +64,4 @@ post-install:
|
||||
${REINPLACE_CMD} "/#define QT_NO_/d" ${WRKDIR}/qconfig.h
|
||||
${MV} ${WRKDIR}/qconfig.h ${STAGEDIR}${PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig.h
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -369,7 +369,6 @@
|
||||
SUBDIR += epazote
|
||||
SUBDIR += equinix-metal-cli
|
||||
SUBDIR += erdtree
|
||||
SUBDIR += etc_os-release
|
||||
SUBDIR += etcmerge
|
||||
SUBDIR += ethname
|
||||
SUBDIR += evhz
|
||||
|
@ -1,49 +0,0 @@
|
||||
PORTNAME= etc_os-release
|
||||
PORTVERSION= 0.1
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= sysutils kde gnome
|
||||
MASTER_SITES= #
|
||||
DISTFILES= #
|
||||
EXTRACT_ONLY= #
|
||||
|
||||
MAINTAINER= tcberner@FreeBSD.org
|
||||
COMMENT= Operating system identification file
|
||||
WWW= https://www.freedesktop.org/software/systemd/man/os-release.html
|
||||
|
||||
DEPRECATED= No longer required after the EOL of 12
|
||||
EXPIRATION_DATE= 2023-12-31
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_FILES= etc/os-release
|
||||
|
||||
.if exists(/bin/freebsd-version)
|
||||
VERSION!= freebsd-version -u
|
||||
.else
|
||||
VERSION!= uname -r
|
||||
.endif
|
||||
VERSION_ID= ${VERSION:C/^([0-9\.]+).*/\1/}
|
||||
|
||||
CONTENTS= 'NAME=FreeBSD\0'$\
|
||||
'VERSION=${VERSION}\0'$\
|
||||
'VERSION_ID=${VERSION_ID}\0'$\
|
||||
'ID=freebsd\0'$\
|
||||
'ANSI_COLOR="0;31"\0'$\
|
||||
'PRETTY_NAME="FreeBSD ${VERSION}"\0'$\
|
||||
'CPE_NAME=cpe:/o:freebsd:freebsd:${VERSION_ID}\0'$\
|
||||
'HOME_URL=https://freebsd.org/\0'$\
|
||||
'BUG_REPORT_URL=https://bugs.freebsd.org'
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
# FreeBSD base gained /etc/os-release in r354922, which
|
||||
# corresponds to __FreeBSD_version 1300060
|
||||
.if ${OSVERSION} >= 1300060
|
||||
IGNORE= /etc/os-release is present in base
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc
|
||||
${ECHO} -e ${CONTENTS} | ${XARGS} -0 -n 1 >> ${STAGEDIR}${PREFIX}/${PLIST_FILES}
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,2 +0,0 @@
|
||||
This package installs /usr/local/etc/os-release file which contains version and
|
||||
other information about installed operating system.
|
@ -59,17 +59,4 @@ OPTIONS_DEFAULT= WAYLAND
|
||||
WAYLAND_MESON_TRUE= wayland
|
||||
WAYLAND_LIB_DEPENDS= libgudev-1.0.so:devel/libgudev
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# FreeBSD base gained an os-release in r354922, but that does not exist
|
||||
# always (see Synth bug 191, or PR 255354). Be a little more forgiving:
|
||||
# assume sufficiently recent base "will have it", and check otherwise
|
||||
# because 12.2 does, others like 12.1 do not have it.
|
||||
.if !exists(/etc/rc.d/os-release) && (${OSVERSION} < 1300060)
|
||||
RUN_DEPENDS+= etc_os-release>0:sysutils/etc_os-release
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/etc/os-release|${LOCALBASE}/etc/os-release|g' \
|
||||
${WRKSRC}/panels/common/cc-os-release.c
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user