summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-02-01 23:15:29 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-02-01 23:15:29 +0000
commit4fc2a28eb0a17ad3e90b16caf526e0ffc46779dc (patch)
treecd2d8d757476998124aa3083fe302055bd6db5d0 /net
parentAdd MASTER_SITES because pdflib.com doesn't keep older versions around (diff)
- PR #34368 <vince@oahu.WURLDLINK.NET>
Build under 4.3-RELEASE - PR #34515 <vince@oahu.WURLDLINK.NET> Build under 4.3-RELEASE - PR #21128 <ilia@jane.cgu.chel.su> Extended dail.sample to handle modems with "black list". Modem returns an error, if a number is dialed too often in a short period of time. - PR #30304 <vs@foldr.org><stolz@hyperion.informatik.rwth-aachen.de> uucpd only uses getpwnam() for authentication. This patch adds PAM auth via facility "uucpd" in /etc/pam.conf, e.g. uucp auth sufficient pam_skey.so uucp auth sufficient pam_ssh.so try_first_pass uucp auth requisite pam_cleartext_pass_ok.so uucp auth required pam_unix.so try_first_pass uucp account required pam_unix.so uucp password required pam_permit.so uucp session required pam_permit.so - <dinoex@FreeBSD.org> Addd missing includes files Remove conflicting prototypes PR: 34368,34515,21128,30304 Submitted by: ilia@jane.cgu.chel.su,vs@foldr.org
Notes
Notes: svn path=/head/; revision=54115
Diffstat (limited to 'net')
-rw-r--r--net/freebsd-uucp/Makefile6
-rw-r--r--net/freebsd-uucp/distinfo2
-rw-r--r--net/freebsd-uucp/files/uucp-pam.conf8
3 files changed, 14 insertions, 2 deletions
diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile
index 3b6907f56d38..4d53e5031c23 100644
--- a/net/freebsd-uucp/Makefile
+++ b/net/freebsd-uucp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= freebsd-uucp
-PORTVERSION= 1.06.1.3
+PORTVERSION= 1.06.1.4
CATEGORIES= net comms
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=dinoex
@@ -29,6 +29,10 @@ post-install:
@${ECHO} "files from /etc/uucp to the new location in ${PREFIX}/etc/uucp"
@${ECHO}
@${CAT} ${PKGMESSAGE}
+.if defined(WITH_PAM)
+ @${ECHO} "Add this lines to your pam.conf:"
+ @${CAT} ${FILESDIR}/uucp-pam.conf
+.endif
upgrade:
@${ECHO} "Copying old configuration files from /etc/uucp to ${PREFIX}/etc/uucp"
diff --git a/net/freebsd-uucp/distinfo b/net/freebsd-uucp/distinfo
index e036730be9aa..f471431cf51a 100644
--- a/net/freebsd-uucp/distinfo
+++ b/net/freebsd-uucp/distinfo
@@ -1 +1 @@
-MD5 (freebsd-uucp-1.06.1.3.tar.bz2) = 11b3629a84429aa49979e253279125ed
+MD5 (freebsd-uucp-1.06.1.4.tar.bz2) = 321976ec7a6c6fc5ec8a5cf0edcbbb29
diff --git a/net/freebsd-uucp/files/uucp-pam.conf b/net/freebsd-uucp/files/uucp-pam.conf
new file mode 100644
index 000000000000..29e7c722038b
--- /dev/null
+++ b/net/freebsd-uucp/files/uucp-pam.conf
@@ -0,0 +1,8 @@
+# Uucp services
+uucp auth sufficient pam_skey.so
+uucp auth sufficient pam_ssh.so try_first_pass
+uucp auth requisite pam_cleartext_pass_ok.so
+uucp auth required pam_unix.so try_first_pass
+uucp account required pam_unix.so
+uucp password required pam_permit.so
+uucp session required pam_permit.so