aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2023-05-31 21:01:06 +0000
committerRene Ladan <rene@FreeBSD.org>2023-05-31 21:01:06 +0000
commit448bdaf5e154f9aebc4e0a0abf6f36c44c7e7c31 (patch)
tree51dfaaa0be9d0a3bae38a941acdd1d4d52b4a603
parentad75dcf54905e2cea48dd61227198ee0da61237f (diff)
downloadports-448bdaf5e154f9aebc4e0a0abf6f36c44c7e7c31.tar.gz
ports-448bdaf5e154f9aebc4e0a0abf6f36c44c7e7c31.zip
sysutils/pam_mount: Remove expired port:
2023-05-31 sysutils/pam_mount: Requires upstream EOL OpenSSL 1.0.X and linux only libmount which is not available for FreeBSD
-rw-r--r--MOVED1
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/pam_mount/Makefile50
-rw-r--r--sysutils/pam_mount/distinfo2
-rw-r--r--sysutils/pam_mount/files/patch-commit335500145
-rw-r--r--sysutils/pam_mount/files/patch-src_pam_mount.c11
-rw-r--r--sysutils/pam_mount/pkg-descr7
-rw-r--r--sysutils/pam_mount/pkg-plist20
8 files changed, 1 insertions, 236 deletions
diff --git a/MOVED b/MOVED
index 2e4850e06d72..2e4025e6c009 100644
--- a/MOVED
+++ b/MOVED
@@ -7588,3 +7588,4 @@ devel/arm-none-eabi-gcc492|devel/arm-none-eabi-gcc|2023-05-31|Has expired: Long
multimedia/nordlicht||2023-05-31|Has expired: Unmaintained for years upstream and fails to build with FFmpeg 6
finance/vanitygen||2023-05-31|Has expired: Broken for more than a year and upstream last release was 11 years ago
net-p2p/qtum||2023-05-31|Has expired: Broken for nearly a year
+sysutils/pam_mount||2023-05-31|Has expired: Requires upstream EOL OpenSSL 1.0.X and linux only libmount which is not available for FreeBSD
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 99f8edfdf717..1050d9ceaffd 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -965,7 +965,6 @@
SUBDIR += pacman
SUBDIR += paicc
SUBDIR += paladin
- SUBDIR += pam_mount
SUBDIR += pam_xdg
SUBDIR += panicmail
SUBDIR += parafly
diff --git a/sysutils/pam_mount/Makefile b/sysutils/pam_mount/Makefile
deleted file mode 100644
index d6f463ee54f3..000000000000
--- a/sysutils/pam_mount/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-PORTNAME= pam_mount
-PORTVERSION= 2.12
-PORTREVISION= 7
-CATEGORIES= sysutils
-MASTER_SITES= SF/${PORTNAME:S/_/-/}/${PORTNAME}/${PORTVERSION}/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= PAM module that can mount volumes for a user session
-WWW= http://pam-mount.sourceforge.net/
-
-LICENSE= LGPL21 GPLv2
-LICENSE_COMB= multi
-
-DEPRECATED= Requires upstream EOL OpenSSL 1.0.X and linux only libmount which is not available for FreeBSD
-EXPIRATION_DATE= 2023-05-31
-
-LIB_DEPENDS= libHX.so:lang/libhx
-
-USES= gnome libtool perl5 pkgconfig ssl tar:xz
-USE_GNOME= libxml2
-
-INSTALL_TARGET= install-strip
-
-GNU_CONFIGURE= yes
-CONFIGURE_ENV+= libcrypto_LIBS="-L/usr/lib -lcrypto" \
- libcrypto_CFLAGS="-I/usr/include"
-CONFIGURE_ARGS+=--localstatedir=/var \
- --without-cryptsetup \
- --with-ssbindir=${PREFIX}/sbin
-
-.include <bsd.port.pre.mk>
-
-.if ${SSL_DEFAULT} == base
-BROKEN_FreeBSD_12= variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st')
-BROKEN_FreeBSD_13= variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st')
-BROKEN_FreeBSD_14= variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st')
-.endif
-
-post-patch:
- ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/pam_mount.c
- ${REINPLACE_CMD} -e '/dist_security_DATA/s|\.xml$$|.xml.sample|' \
- ${WRKSRC}/config/Makefile.am ${WRKSRC}/config/Makefile.in
- ${MV} ${WRKSRC}/config/pam_mount.conf.xml ${WRKSRC}/config/pam_mount.conf.xml.sample
- ${FIND} ${WRKSRC} -name "*.c" -exec ${REINPLACE_CMD} -e 's|HXformat2_aprintf|HXformat_aprintf|g' {} \;
-
-post-install:
- @${RMDIR} ${STAGEDIR}${PREFIX}/share/xml/pam_mount/dtd
- @${RMDIR} ${STAGEDIR}${PREFIX}/share/xml/pam_mount/
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/pam_mount/distinfo b/sysutils/pam_mount/distinfo
deleted file mode 100644
index 6991a2cf0a44..000000000000
--- a/sysutils/pam_mount/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (pam_mount-2.12.tar.xz) = 5454ade466fbfed5dc19330647f1f1f70a819d32d8d2355f5ff024cedfa00525
-SIZE (pam_mount-2.12.tar.xz) = 284140
diff --git a/sysutils/pam_mount/files/patch-commit335500 b/sysutils/pam_mount/files/patch-commit335500
deleted file mode 100644
index 4dff7bf116b7..000000000000
--- a/sysutils/pam_mount/files/patch-commit335500
+++ /dev/null
@@ -1,145 +0,0 @@
-# Patch for commit 33550036cb0c9311c9dc4da9b3b359435319420e (pam-mount)
-# http://sourceforge.net/p/pam-mount/pam-mount/ci/33550036cb0c9311c9dc4da9b3b359435319420e/
-# Log: src: update for libHX 3.12
-# Authored by: Jan Engelhardt 2011-12-02
-
---- ./configure.ac.orig 2011-10-06 22:48:08.000000000 +1100
-+++ ./configure.ac 2013-06-08 14:52:22.855624000 +1000
-@@ -63,7 +63,7 @@
- AM_CONDITIONAL([HAVE_MDIO], [test "x$ac_cv_header_sys_mdioctl_h" = "xyes"])
- AM_CONDITIONAL([HAVE_VND], [test "x$ac_cv_header_dev_vndvar_h" = "xyes"])
-
--PKG_CHECK_MODULES([libHX], [libHX >= 3.10.1])
-+PKG_CHECK_MODULES([libHX], [libHX >= 3.12])
- PKG_CHECK_MODULES([libxml], [libxml-2.0 >= 2.6])
-
- AC_ARG_WITH(
---- ./src/autoloop.c.orig 2011-10-06 22:48:08.000000000 +1100
-+++ ./src/autoloop.c 2013-06-08 14:45:47.846247000 +1000
-@@ -54,7 +54,8 @@
- HXOPT_AUTOHELP,
- HXOPT_TABLEEND,
- };
-- if (HX_getopt(options_table, argc, argv, HXOPT_USAGEONERR) <= 0)
-+ if (HX_getopt(options_table, argc, argv, HXOPT_USAGEONERR) !=
-+ HXOPT_ERR_SUCCESS)
- return false;
- if (*argc != 2) {
- fprintf(stderr, "Usage: %s file\n", HX_basename(**argv));
---- ./src/ehd.c.orig 2011-10-06 22:48:08.000000000 +1100
-+++ ./src/ehd.c 2013-06-08 14:46:27.566540000 +1000
-@@ -526,7 +526,8 @@
- HXOPT_TABLEEND,
- };
-
-- if (HX_getopt(options_table, argc, argv, HXOPT_USAGEONERR) <= 0)
-+ if (HX_getopt(options_table, argc, argv, HXOPT_USAGEONERR) !=
-+ HXOPT_ERR_SUCCESS)
- return false;
-
- pg->interactive = isatty(fileno(stdin));
---- ./src/misc.c.orig 2011-10-06 22:48:08.000000000 +1100
-+++ ./src/misc.c 2013-06-08 14:47:27.515576000 +1000
-@@ -159,7 +159,7 @@
- {
- char *filled;
-
-- if (HXformat2_aprintf(vinfo, &filled, arg) == 0)
-+ if (HXformat_aprintf(vinfo, &filled, arg) == 0)
- /*
- * This case may happen with e.g. %(before="-o" OPTIONS) where
- * OPTIONS is empty. And options expanding to nothing are
---- ./src/mount.c.orig 2011-10-06 22:48:08.000000000 +1100
-+++ ./src/mount.c 2013-06-08 14:47:54.655610000 +1000
-@@ -487,7 +487,7 @@
- string = HXmc_meminit(NULL, 0);
-
- for (i = config->command[CMD_FSCK]->first; i != NULL; i = i->next) {
-- if (HXformat2_aprintf(vinfo, &current, i->ptr) > 0) {
-+ if (HXformat_aprintf(vinfo, &current, i->ptr) > 0) {
- HXmc_strcat(&string, current);
- HXmc_strcat(&string, " ");
- }
---- ./src/mtab.c.orig 2011-10-06 22:48:08.000000000 +1100
-+++ ./src/mtab.c 2013-06-08 14:48:18.965526000 +1000
-@@ -138,7 +138,7 @@
- l0g("HX_dirname: %s\n", strerror(errno));
- return -errno;
- }
-- ret = HX_mkdir(dirname);
-+ ret = HX_mkdir(dirname, S_IRUGO | S_IXUGO | S_IWUSR);
- free(dirname);
- if (ret < 0) {
- l0g("HX_mkdir: %s\n", strerror(-ret));
---- ./src/mtcrypt.c.orig 2011-10-06 22:48:08.000000000 +1100
-+++ ./src/mtcrypt.c 2013-06-08 14:49:23.036264000 +1000
-@@ -185,7 +185,8 @@
- bool kfpt;
- int ret;
-
-- if (HX_getopt(options_table, argc, argv, HXOPT_USAGEONERR) <= 0)
-+ if (HX_getopt(options_table, argc, argv, HXOPT_USAGEONERR) !=
-+ HXOPT_ERR_SUCCESS)
- return false;
-
- pmtlog_path[PMTLOG_DBG][PMTLOG_STDERR] = Debug;
-@@ -508,7 +509,8 @@
- };
- int ret;
-
-- if (HX_getopt(options_table, argc, argv, HXOPT_USAGEONERR) <= 0)
-+ if (HX_getopt(options_table, argc, argv, HXOPT_USAGEONERR) !=
-+ HXOPT_ERR_SUCCESS)
- return false;
-
- pmtlog_path[PMTLOG_DBG][PMTLOG_STDERR] = Debug;
---- ./src/pam_mount.h 2011-10-06 22:48:08.000000000 +1100
-+++ ./src/pam_mount.h 2013-06-08 14:50:03.445549000 +1000
-@@ -15,12 +15,6 @@
- # define EXPORT_SYMBOL
- #endif
-
--#ifndef S_IRXG
--# define S_IRXG (S_IRGRP | S_IXGRP)
--#endif
--#ifndef S_IRXO
--# define S_IRXO (S_IROTH | S_IXOTH)
--#endif
- #define sizeof_z(x) (sizeof(x) - 1)
-
- /*
---- ./src/pmvarrun.c.orig 2011-10-06 22:48:08.000000000 +1100
-+++ ./src/pmvarrun.c 2013-06-08 14:51:23.506567000 +1000
-@@ -296,10 +296,11 @@
- */
- static int create_var_run(void)
- {
-+ static const unsigned int mode = S_IRUGO | S_IXUGO | S_IWUSR;
- int ret;
-
- w4rn("creating " VAR_RUN_PMT);
-- if (HX_mkdir(VAR_RUN_PMT) < 0) {
-+ if (HX_mkdir(VAR_RUN_PMT, mode) < 0) {
- ret = -errno;
- l0g("unable to create " VAR_RUN_PMT ": %s\n", strerror(errno));
- return ret;
-@@ -314,7 +315,7 @@
- * 0755: `su` creates file group owned by user and then releases root
- * permissions. User needs to be able to access file on logout.
- */
-- if (chmod(VAR_RUN_PMT, S_IRWXU | S_IRXG | S_IRXO) < 0) {
-+ if (chmod(VAR_RUN_PMT, mode) < 0) {
- ret = -errno;
- l0g("unable to chmod " VAR_RUN_PMT ": %s\n", strerror(errno));
- return ret;
---- ./src/rdconf1.c.orig 2011-10-06 22:48:08.000000000 +1100
-+++ ./src/rdconf1.c 2013-06-08 14:51:47.165542000 +1000
-@@ -126,7 +126,7 @@
-
- if (*dest_pptr == NULL)
- return true;
-- HXformat2_aprintf(vinfo, &tmp, *dest_pptr);
-+ HXformat_aprintf(vinfo, &tmp, *dest_pptr);
- *dest_pptr = xstrdup(tmp);
- HXmc_free(tmp);
- return true;
diff --git a/sysutils/pam_mount/files/patch-src_pam_mount.c b/sysutils/pam_mount/files/patch-src_pam_mount.c
deleted file mode 100644
index 3db87a06953c..000000000000
--- a/sysutils/pam_mount/files/patch-src_pam_mount.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/pam_mount.c.orig 2010-08-10 01:07:35.000000000 +0200
-+++ src/pam_mount.c 2010-10-14 18:04:54.000000000 +0200
-@@ -39,6 +39,8 @@
-
- #if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
- # define CONFIGFILE "/etc/pam_mount.conf.xml"
-+#elif defined(__FreeBSD__)
-+# define CONFIGFILE "%%PREFIX%%/etc/security/pam_mount.conf.xml"
- #else
- # define CONFIGFILE "/etc/security/pam_mount.conf.xml"
- #endif
diff --git a/sysutils/pam_mount/pkg-descr b/sysutils/pam_mount/pkg-descr
deleted file mode 100644
index 9d7da5d1e34e..000000000000
--- a/sysutils/pam_mount/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-pam_mount is a Pluggable Authentication Module that can mount volumes for a
-user session.
-This module is aimed at environments with central file servers that a user
-wishes to mount on login and unmount on logout, such as (semi-)diskless
-stations where many users can logon and where statically mounting the entire
-/home from a server is a security risk, or listing all possible volumes in
-/etc/fstab is not feasible.
diff --git a/sysutils/pam_mount/pkg-plist b/sysutils/pam_mount/pkg-plist
deleted file mode 100644
index 79e7b674f9d5..000000000000
--- a/sysutils/pam_mount/pkg-plist
+++ /dev/null
@@ -1,20 +0,0 @@
-sbin/mount.crypt
-sbin/mount.crypt_LUKS
-sbin/mount.crypto_LUKS
-sbin/umount.crypt
-sbin/umount.crypt_LUKS
-sbin/umount.crypto_LUKS
-sbin/pmvarrun
-etc/security/pam_mount.conf.xml.sample
-lib/pam_mount.so
-man/man5/pam_mount.conf.5.gz
-man/man8/mount.crypt.8.gz
-man/man8/mount.crypt_LUKS.8.gz
-man/man8/mount.crypto_LUKS.8.gz
-man/man8/pam_mount.8.gz
-man/man8/pmt-ehd.8.gz
-man/man8/pmvarrun.8.gz
-man/man8/umount.crypt.8.gz
-man/man8/umount.crypt_LUKS.8.gz
-man/man8/umount.crypto_LUKS.8.gz
-@dir /var/run/pam_mount