pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Remove opendoas: imported to pkgsrc
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Fri Jan 1 15:36:19 2021 +0100
Changeset: e4d8b25d5b2f9fc1bf3f49e4c3594ab719d03b46
Modified Files:
Makefile
Removed Files:
opendoas/DESCR
opendoas/Makefile
opendoas/PLIST
opendoas/distinfo
opendoas/patches/patch-GNUmakefile
Log Message:
Remove opendoas: imported to pkgsrc
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e4d8b25d5b2f9fc1bf3f49e4c3594ab719d03b46
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 -
opendoas/DESCR | 5 ---
opendoas/Makefile | 63 --------------------------------------
opendoas/PLIST | 6 ----
opendoas/distinfo | 7 -----
opendoas/patches/patch-GNUmakefile | 25 ---------------
6 files changed, 107 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index 92070c4393..2680841fb2 100644
--- a/Makefile
+++ b/Makefile
@@ -2473,7 +2473,6 @@ SUBDIR+= opencl-headers
SUBDIR+= openclonk
SUBDIR+= openconnect
SUBDIR+= opendchub
-SUBDIR+= opendoas
SUBDIR+= opendune
SUBDIR+= openerp-server
SUBDIR+= openfodder
diff --git a/opendoas/DESCR b/opendoas/DESCR
deleted file mode 100644
index f0ff6ad7ba..0000000000
--- a/opendoas/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-An unofficial, portable fork of the OpenBSD doas command.
-
-doas is a minimal replacement for the venerable sudo. It was
-initially written by Ted Unangst of the OpenBSD project to provide
-95% of the features of sudo with a fraction of the codebase.
diff --git a/opendoas/Makefile b/opendoas/Makefile
deleted file mode 100644
index 17be566235..0000000000
--- a/opendoas/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-# $NetBSD$
-
-DISTNAME= opendoas-6.8
-CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GITHUB:=duncaen/}
-GITHUB_TAG= v${PKGVERSION_NOREV}
-
-MAINTAINER= sunil%nimmagadda.net@localhost
-HOMEPAGE= https://github.com/duncaen/opendoas
-COMMENT= Execute commands as another user
-LICENSE= isc
-
-CONFLICTS= doas-[0-9]*
-
-WRKSRC= ${WRKDIR}/OpenDoas-${PKGVERSION_NOREV}
-
-SUBST_CLASSES+= paths
-SUBST_MESSAGE.paths= Fixing hardcoded paths.
-SUBST_STAGE.paths= pre-configure
-SUBST_FILES.paths= doas.1 doas.conf.5
-SUBST_SED.paths= -e "s,/etc,${PKG_SYSCONFDIR},"
-
-EGDIR= share/examples/${PKGBASE}
-
-.include "../../mk/bsd.prefs.mk"
-
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS+= --prefix=${PREFIX}
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
-CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
-CONFIGURE_ARGS+= --datadir=${PREFIX}/${EGDIR}
-.if ${OPSYS} == "Linux" && !exists(/usr/include/security/pam_appl.h)
-CONFIGURE_ARGS+= --without-pam
-.endif
-
-USE_TOOLS= gmake yacc
-MAKE_FILE= GNUmakefile
-
-BUILDLINK_TRANSFORM+= rm:-Werror
-
-SPECIAL_PERMS+= bin/doas ${SETUID_ROOT_PERMS}
-NOT_FOR_UNPRIVILEGED= yes
-
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ${EGDIR}
-
-PLIST_VARS+= pam-conf
-
-.if ${OPSYS} == "Linux" && exists(/usr/include/security/pam_appl.h)
-PLIST.pam-conf= yes
-REQD_FILES= ${EGDIR}/doas /etc/pam.d/doas
-.include "../../mk/pam.buildlink3.mk"
-.endif
-
-.if ${OPSYS} == "Darwin"
-PLIST.pam-conf= yes
-REQD_FILES= ${EGDIR}/doas /etc/pam.d/doas
-.endif
-
-.if ${OPSYS} != "Linux"
-.include "../../mk/pam.buildlink3.mk"
-.endif
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/opendoas/PLIST b/opendoas/PLIST
deleted file mode 100644
index 8a70f530b7..0000000000
--- a/opendoas/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD$
-bin/doas
-man/man1/doas.1
-man/man5/doas.conf.5
-${PLIST.pam-conf}@pkgdir share/examples/opendoas
-${PLIST.pam-conf}share/examples/opendoas/doas
diff --git a/opendoas/distinfo b/opendoas/distinfo
deleted file mode 100644
index b206f0b328..0000000000
--- a/opendoas/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD$
-
-SHA1 (opendoas-6.8.tar.gz) = 11963ee647b7166972512740bc7f648c8aa1272f
-RMD160 (opendoas-6.8.tar.gz) = 56f9c02d81f6ad9925323f1b44d7f7087f1108f0
-SHA512 (opendoas-6.8.tar.gz) = 4a57079bba353247e645bc07a5d4e78fd01471d193e83751fd87b72cffa4e152c0f7ea172563f767a7193b14489f57bc066b4fee50842d30b5b7f7ce918434bb
-Size (opendoas-6.8.tar.gz) = 32307 bytes
-SHA1 (patch-GNUmakefile) = d301c0334ce6ac7992d61681e1852a301557d300
diff --git a/opendoas/patches/patch-GNUmakefile b/opendoas/patches/patch-GNUmakefile
deleted file mode 100644
index f83fc21854..0000000000
--- a/opendoas/patches/patch-GNUmakefile
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD$
-
-- Allow build as an unpriviliged user.
-- Install configuration files in EGDIR.
-
---- GNUmakefile.orig 2020-11-14 15:44:04.000000000 +0000
-+++ GNUmakefile
-@@ -16,15 +16,9 @@ ${PROG}: ${OBJS}
- ${CC} ${CFLAGS} $^ -o $@ ${LDFLAGS} ${LDLIBS}
-
- install: ${PROG} ${PAM_DOAS} ${MAN}
-- mkdir -p -m 0755 ${DESTDIR}${BINDIR}
-- [ -n "${PAM_DOAS}" ] && mkdir -p -m 0755 ${DESTDIR}${PAMDIR} || true
-- mkdir -p -m 0755 ${DESTDIR}${MANDIR}/man1
-- mkdir -p -m 0755 ${DESTDIR}${MANDIR}/man5
- cp -f ${PROG} ${DESTDIR}${BINDIR}
-- chown ${BINOWN}:${BINGRP} ${DESTDIR}${BINDIR}/${PROG}
-- chmod ${BINMODE} ${DESTDIR}${BINDIR}/${PROG}
-- [ -n "${PAM_DOAS}" ] && cp ${PAM_DOAS} ${DESTDIR}${PAMDIR}/doas || true
-- [ -n "${PAM_DOAS}" ] && chmod 0644 ${DESTDIR}${PAMDIR}/doas || true
-+ [ -n "${PAM_DOAS}" ] && cp ${PAM_DOAS} ${DESTDIR}${SHAREDIR}/doas || true
-+ [ -n "${PAM_DOAS}" ] && chmod 0644 ${DESTDIR}${SHAREDIR}/doas || true
- cp -f doas.1 ${DESTDIR}${MANDIR}/man1
- cp -f doas.conf.5 ${DESTDIR}${MANDIR}/man5
-
Home |
Main Index |
Thread Index |
Old Index