mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 04:16:27 -04:00
Remove libutempter
The feature is present in base for all supported version of FreeBSD It was kept in ports mostly for the use of dragonfly via dports. They will not have any use of it anymore, time to deorbit that port. Reported by: zrj from dragonfly (via irc)
This commit is contained in:
parent
0bd91c4127
commit
c537443ece
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511810
8 changed files with 1 additions and 117 deletions
1
MOVED
1
MOVED
|
@ -12952,3 +12952,4 @@ x11-wm/pawm||2019-09-05|Has expired: Broken for more than 6 months
|
|||
x11-toolkits/p5-Wx||2019-09-07|Has expired: Broken for more than 6 months
|
||||
graphics/luxrender14||2019-09-07|Has expired: Depends on expiring graphics/embree, broken with boost 1.70
|
||||
graphics/luxrender||2019-09-07|Has expired: Depends on expiring graphics/embree, broken with boost 1.70
|
||||
sysutils/libutempter||2019-09-11|Belong to base in all supported version of FreeBSD
|
||||
|
|
|
@ -582,7 +582,6 @@
|
|||
SUBDIR += libsunacl
|
||||
SUBDIR += libsysstat
|
||||
SUBDIR += liburcu
|
||||
SUBDIR += libutempter
|
||||
SUBDIR += life-preserver
|
||||
SUBDIR += lineak-defaultplugin
|
||||
SUBDIR += lineak-xosdplugin
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
# Created by: Michael Nottebrock <lofi@FreeBSD.org>,
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libutempter
|
||||
PORTVERSION= 1.1.5
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ftp://ftp.altlinux.org/pub/people/ldv/utempter/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Interface to record user sessions to utmp and wtmp files
|
||||
|
||||
USES= gmake tar:bzip2
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD
|
||||
IGNORE= is now contained in the base system
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (libutempter-1.1.5.tar.bz2) = 73d0576b16caeb22874dc80d0ce7a6aeebb3181b117e95c147cd8d29df99e70e
|
||||
SIZE (libutempter-1.1.5.tar.bz2) = 14588
|
|
@ -1,54 +0,0 @@
|
|||
--- Makefile.orig 2007-02-19 12:14:08 UTC
|
||||
+++ Makefile
|
||||
@@ -30,9 +30,9 @@ MAP = lib$(PROJECT).map
|
||||
TARGETS = $(PROJECT) $(SHAREDLIB) $(STATICLIB)
|
||||
|
||||
INSTALL = install
|
||||
-libdir = /usr/lib
|
||||
-libexecdir = /usr/lib
|
||||
-includedir = /usr/include
|
||||
+libdir = $(PREFIX)/lib
|
||||
+libexecdir = $(PREFIX)/libexec
|
||||
+includedir = $(PREFIX)/include
|
||||
DESTDIR =
|
||||
|
||||
WARNINGS = -W -Wall -Waggregate-return -Wcast-align -Wconversion \
|
||||
@@ -40,8 +40,8 @@ WARNINGS = -W -Wall -Waggregate-return -
|
||||
-Wmissing-format-attribute -Wmissing-noreturn \
|
||||
-Wmissing-prototypes -Wpointer-arith -Wredundant-decls \
|
||||
-Wshadow -Wstrict-prototypes -Wwrite-strings
|
||||
-CPPFLAGS = -std=gnu99 $(WARNINGS) -DLIBEXECDIR=\"$(libexecdir)\"
|
||||
-CFLAGS = $(RPM_OPT_FLAGS)
|
||||
+CPPFLAGS = -std=gnu99 $(WARNINGS)
|
||||
+CFLAGS+= -DLIBEXECDIR=\"$(libexecdir)\"
|
||||
LDLIBS =
|
||||
|
||||
all: $(TARGETS)
|
||||
@@ -63,15 +63,20 @@ $(STATICLIB): iface.o
|
||||
|
||||
iface.o: iface.c utempter.h
|
||||
|
||||
+$(PROJECT).o: $(PROJECT).c
|
||||
+
|
||||
+$(PROJECT): $(PROJECT).o
|
||||
+ $(LINK.o) $(PROJECT).o -o $(PROJECT) -lutil
|
||||
+
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(libexecdir)/$(PROJECT) $(DESTDIR)$(includedir) \
|
||||
$(DESTDIR)$(libdir)
|
||||
- $(INSTALL) -p -m2711 $(PROJECT) $(DESTDIR)$(libexecdir)/$(PROJECT)/
|
||||
- $(INSTALL) -p -m644 $(PROJECT).h $(DESTDIR)$(includedir)/
|
||||
- $(INSTALL) -p -m755 $(SHAREDLIB) $(DESTDIR)$(libdir)/$(SHAREDLIB).$(VERSION)
|
||||
- $(INSTALL) -p -m644 $(STATICLIB) $(DESTDIR)$(libdir)/
|
||||
- ln -s $(SHAREDLIB).$(VERSION) $(DESTDIR)$(libdir)/$(SONAME)
|
||||
- ln -s $(SONAME) $(DESTDIR)$(libdir)/$(SHAREDLIB)
|
||||
+ $(INSTALL) -m4711 $(PROJECT) $(DESTDIR)$(libexecdir)/$(PROJECT)/$(PROJECT)
|
||||
+ $(INSTALL) -m644 $(PROJECT).h $(DESTDIR)$(includedir)/$(PROJECT).h
|
||||
+ $(INSTALL) -m755 $(SHAREDLIB) $(DESTDIR)$(libdir)/$(SHAREDLIB).$(VERSION)
|
||||
+ $(INSTALL) -m644 $(STATICLIB) $(DESTDIR)$(libdir)/$(STATICLIB)
|
||||
+ ln -sf $(SHAREDLIB).$(VERSION) $(DESTDIR)$(libdir)/$(SONAME)
|
||||
+ ln -sf $(SONAME) $(DESTDIR)$(libdir)/$(SHAREDLIB)
|
||||
|
||||
clean:
|
||||
- $(RM) $(TARGETS) iface.o iface.os core *~
|
||||
+ $(RM) $(TARGETS) $(PROJECT).o iface.o iface.os core *~
|
|
@ -1,20 +0,0 @@
|
|||
--- utempter.c.orig 2007-02-19 12:14:08.000000000 +0000
|
||||
+++ utempter.c
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
#ifdef __GLIBC__
|
||||
# include <pty.h>
|
||||
-#elif defined(__FreeBSD__)
|
||||
+#elif defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
# include <libutil.h>
|
||||
#else
|
||||
# error Unsupported platform
|
||||
@@ -157,7 +157,7 @@ write_uwtmp_record(const char *user, con
|
||||
|
||||
(void) updwtmp(_PATH_WTMP, &ut);
|
||||
|
||||
-#elif defined(__FreeBSD__)
|
||||
+#elif defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
|
||||
ut.ut_time = tv.tv_sec;
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
The libutempter library provides interface for terminal emulators such as
|
||||
screen and xterm to record user sessions to utmp and wtmp files.
|
||||
|
||||
The utempter is a privileged helper used by libutempter library to manipulate
|
||||
utmp and wtmp files.
|
||||
|
||||
This implementation is based on ideas of RedHat's utempter by Erik Troan
|
||||
(version 0.5.2 at the moment of writing).
|
||||
|
||||
There are two interfaces supported: old and new.
|
||||
New API is recommended for new applications, old - for compatibility with
|
||||
old software.
|
|
@ -1,6 +0,0 @@
|
|||
include/utempter.h
|
||||
lib/libutempter.a
|
||||
lib/libutempter.so
|
||||
lib/libutempter.so.0
|
||||
lib/libutempter.so.1.1.5
|
||||
libexec/utempter/utempter
|
Loading…
Add table
Reference in a new issue