aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2016-04-23 23:15:44 +0800
committerrene <rene@FreeBSD.org>2016-04-23 23:15:44 +0800
commitc57765898dbdac49f0bc85db2bbc14fe584c54e8 (patch)
tree9271065265636e2ba9b37dab584f5f29be74ef4a /sysutils
parent53e4d97dc8df12fbce7e5bbbfe4c8ce9c494a1ee (diff)
downloadfreebsd-ports-gnome-c57765898dbdac49f0bc85db2bbc14fe584c54e8.tar.gz
freebsd-ports-gnome-c57765898dbdac49f0bc85db2bbc14fe584c54e8.tar.zst
freebsd-ports-gnome-c57765898dbdac49f0bc85db2bbc14fe584c54e8.zip
Remove expired ports:
2016-04-11 deskutils/qlabels: Does not fetch, unmaintained 2016-04-14 french/tvdownloader: Many channels have modified their protocols and cannot be DL anymore 2016-04-14 comms/cdr_read: unfetchable 2016-04-14 russian/rubygem-rutils: Deprecated by upstream 2016-04-14 devel/rubygem-dotenv-deployment: Deprecated by upstream in latest version (0.3.0) 2016-04-15 www/p5-LWP-ConsoleLogger: Depends on expiring www/p5-HTTP-CookieMonster 2016-04-15 www/p5-WWW-Mechanize-Cached: Depends on expiring www/p5-HTTP-CookieMonster 2016-04-15 www/p5-HTTP-CookieMonster: Broken for more than 6 months 2016-04-15 misc/diary-hercules: Broken for more than 6 months 2016-04-15 graphics/ffff: Broken for more than 6 months 2016-04-15 net-im/sigram: Broken for more than 6 months 2016-04-15 games/annelid: Broken for more than 6 months 2016-04-15 science/py-pydap: Broken for more than 6 months 2016-04-15 sysutils/su2: Broken for more than 6 months 2016-04-15 www/download-gemist: Broken for more than 6 months 2016-04-15 databases/p5-qdbm: Broken for more than 6 months 2016-04-15 comms/libfec: Broken for more than 6 months 2016-04-15 deskutils/ladon: Broken for more than 6 months Sponsored by: Essen Linuxhotel Hackathon 2016
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/su2/Makefile28
-rw-r--r--sysutils/su2/distinfo2
-rw-r--r--sysutils/su2/files/patch-Makefile41
-rw-r--r--sysutils/su2/files/patch-su2.c_145
-rw-r--r--sysutils/su2/files/patch-su2.c_274
-rw-r--r--sysutils/su2/files/patch-su2.man53
-rw-r--r--sysutils/su2/pkg-descr20
8 files changed, 0 insertions, 264 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 7e469cdc95c4..2937ef4337da 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1017,7 +1017,6 @@
SUBDIR += stow
SUBDIR += stowES
SUBDIR += stress
- SUBDIR += su2
SUBDIR += superiotool
SUBDIR += swapd
SUBDIR += swapexd
diff --git a/sysutils/su2/Makefile b/sysutils/su2/Makefile
deleted file mode 100644
index 06f701ec9b29..000000000000
--- a/sysutils/su2/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# Created by: gurney_j@efn.org
-# $FreeBSD$
-
-PORTNAME= su2
-PORTVERSION= 1.3
-PORTREVISION= 1
-CATEGORIES= sysutils security
-MASTER_SITES= ftp://ftp.ccs.neu.edu/pub/sysadmin/
-
-MAINTAINER= gd.workbox@gmail.com
-COMMENT= Enhanced su, allows users to su with own password + more
-
-PATCH_DEPENDS= rcsdiff:devel/rcs
-
-NO_CDROM= Do not sell for profit
-BROKEN= fails to fetch; mastersite disappeared
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2016-04-15
-
-PLIST_FILES= bin/su2 \
- man/man1/su2.1.gz
-
-post-patch:
- ${REINPLACE_CMD} -e '/^CC=gcc/d' ${WRKSRC}/Makefile
- ${REINPLACE_CMD} -e 's,/etc/super,${PREFIX}/etc/super,g' \
- ${WRKSRC}/su2.man
-
-.include <bsd.port.mk>
diff --git a/sysutils/su2/distinfo b/sysutils/su2/distinfo
deleted file mode 100644
index 1bac3222fc78..000000000000
--- a/sysutils/su2/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (su2-1.3.tar.gz) = b57258f1c4ce92f87e0742b612cb99a8622f029d4ea2a0f4cdeb79c2b99b86ea
-SIZE (su2-1.3.tar.gz) = 31067
diff --git a/sysutils/su2/files/patch-Makefile b/sysutils/su2/files/patch-Makefile
deleted file mode 100644
index 8181b496d4a2..000000000000
--- a/sysutils/su2/files/patch-Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
---- Makefile.orig Sun Mar 2 20:17:14 1997
-+++ Makefile Sun Mar 2 20:24:15 1997
-@@ -8,16 +8,17 @@
- # /etc/super-users and /usr/adm/sulog that are defined
- # separately.
- #
--DEST=/usr/local
-+PREFIX?=/usr/local
-+DEST=${DESTDIR}${PREFIX}
- BINDIR=$(DEST)/bin
--MANDIR=$(DEST)/man
-+MANDIR=$(DEST)/man/man1
-
- # OPTIONS:
- # There are a number of DEFINES that can be used to configure su2. Please
- # see the source to su2.c for a full listing of all of the available options.
-
- # Standard
--OPTIONS=-DFULLPATH
-+OPTIONS=-DSU2LOGFILE="\"/var/log/su2.log\"" -DSUPERUSERS="\"$(PREFIX)/etc/super-users\"" -DBROKENCUSERID
-
- # m88k
- # OPTIONS=-DFULLPATH -DNOVFORK
-@@ -31,12 +32,15 @@
- # Shadow Passwords (Solaris)
- # OPTIONS=-DFULLPATH -DUSE_SHADOW
-
--CFLAGS=-O $(OPTIONS)
-+CFLAGS+= $(OPTIONS)
-+LDLIBS=-lcrypt -lcompat
-
- su2: su2.c
-
-+all: su2
-+
- install: su2
-- install -c -m 4711 -o root su2 $(BINDIR)/su2
-+ install -c -s -m 4711 su2 $(BINDIR)/su2
- install -c su2.man $(MANDIR)/su2.1
-
- clean:
diff --git a/sysutils/su2/files/patch-su2.c_1 b/sysutils/su2/files/patch-su2.c_1
deleted file mode 100644
index a2c835efc1f2..000000000000
--- a/sysutils/su2/files/patch-su2.c_1
+++ /dev/null
@@ -1,45 +0,0 @@
---- su2.c.orig Sun Aug 15 17:59:03 2004
-+++ su2.c Sun Aug 15 18:00:37 2004
-@@ -113,9 +113,9 @@
- #ifndef NOSU2RC
- char *UsersNameFile = ".su2rc";
- #endif NOSU2RC
--char *SULog = "/usr/adm/sulog";
-+char *SULog = SU2LOGFILE;
-
--char *UtmpFile = "/etc/utmp";
-+char *UtmpFile = "/var/run/utmp";
-
- #ifndef PATH
- # ifdef BSD
-@@ -182,17 +182,18 @@
-
- char *malloc ();
-
-+#if !(defined(BSD) && (BSD >= 199306))
- #ifdef OSF
- int setpwent ();
--#else
-+#elseif !(defined(BSD) && (BSD >= 199306))
- void setpwent ();
- #endif
-+#endif
-
--#ifndef sgi
-+#if !defined(sgi) && !(defined(BSD) && (BSD >= 199306))
- struct passwd *getpwuid ();
- struct passwd *getpwnam ();
- void endpwent ();
--int chmod ();
- #endif
-
- struct passwd *pw;
-@@ -570,7 +571,7 @@
- }
- }
-
--#ifndef sgi
-+#if !(defined(sgi) && (defined(BSD) && (BSD >= 199306)))
- setpwent ();
- #endif
-
diff --git a/sysutils/su2/files/patch-su2.c_2 b/sysutils/su2/files/patch-su2.c_2
deleted file mode 100644
index 8dae9239b519..000000000000
--- a/sysutils/su2/files/patch-su2.c_2
+++ /dev/null
@@ -1,74 +0,0 @@
---- su2.c.orig 2012-02-08 01:48:13.000000000 +0400
-+++ su2.c 2012-02-08 02:22:42.000000000 +0400
-@@ -151,7 +151,12 @@
- #include <fcntl.h>
- #include <stdio.h>
- #include <time.h>
-+#include <osreldate.h>
-+#if defined(__FreeBSD_version) && __FreeBSD_version >= 900007
-+#include <utmpx.h>
-+#else
- #include <utmp.h>
-+#endif
- #include <signal.h>
- #ifdef IOCTL
- #include <sys/ioctl.h>
-@@ -383,7 +388,12 @@
- if (FullTTY == (char *) 0)
- FullTTY = "/dev/TTY??";
-
-- TTY = strrchr (FullTTY, '/') + 1;
-+ TTY = FullTTY + strlen(FullTTY);
-+ while (TTY > FullTTY) {
-+ if (TTY[-1] == '/' && (TTY[0] > 57 || TTY[0] < 48))
-+ break;
-+ TTY--;
-+ }
-
- Debug (1, "-> FullTTY=\"%s\"\n", FullTTY);
- Debug (1, "-> TTY=\"%s\"\n", TTY);
-@@ -1315,7 +1325,11 @@
- * Copies name into an internal static buffer.
- */
-
-+#if __FreeBSD_version >= 900007
-+#define MAXNAME sizeof(((struct utmpx *)nptr)->ut_user)
-+#else
- #define MAXNAME sizeof(((struct utmp *)nptr)->ut_name)
-+#endif
-
- #ifdef BROKENCUSERID
- char *mycuserid ()
-@@ -1432,6 +1446,24 @@
- ModifyUtmp (NewUserName)
- register char *NewUserName;
- {
-+#if __FreeBSD_version >= 900007
-+ struct utmpx ut, *utr;
-+
-+ strncpy(ut.ut_line, TTY, sizeof(ut.ut_line));
-+ setutxent();
-+ if ((utr = getutxline(&ut)) == NULL) {
-+ endutxent();
-+ (void) fprintf (stderr, "Terminal %s not found\n", ut.ut_line);
-+ return (1);
-+ }
-+ strncpy(utr->ut_user, NewUserName, sizeof(utr->ut_user));
-+ if (pututxline(utr) == NULL) {
-+ endutxent();
-+ (void) fprintf (stderr, "pututxline failed\n");
-+ return (1);
-+ }
-+ endutxent();
-+#else
- register int fd; /* /etc/utmp file */
- register int i; /* index */
- #ifdef hpux
-@@ -1482,6 +1514,7 @@
-
- (void) write (fd, (char *) & Utmp, sizeof (Utmp));
- (void) close (fd);
-+#endif
- return (0);
- }
-
diff --git a/sysutils/su2/files/patch-su2.man b/sysutils/su2/files/patch-su2.man
deleted file mode 100644
index 0a952b95df73..000000000000
--- a/sysutils/su2/files/patch-su2.man
+++ /dev/null
@@ -1,53 +0,0 @@
---- su2.man.orig Thu Sep 7 13:17:12 1995
-+++ su2.man Sun Mar 2 20:21:01 1997
-@@ -84,7 +84,7 @@
- .I Su2\^
- logs all attempts to
- .I su2\^
--in /usr/adm/sulog, including failures. Successful attempts are flagged
-+in /var/log/su2.log, including failures. Successful attempts are flagged
- with "+", failures with "-".
- .LP
- The file
-@@ -110,7 +110,7 @@
- .B \-u
- is used to specify a user against whom to check authorization and password.
- The default value is obtained from
--.I /etc/utmp.
-+.I /var/run/utmp.
- .TP
- .B \-x
- when specified will cause
-@@ -118,7 +118,7 @@
- to exec the shell without first forking a new process. This option should
- only be used when the system is out of process slots. When it is used
- su2 will neither clean up the
--.I /etc/utmp
-+.I /var/run/utmp
- entry nor reset the ownership and mode of the current
- .IR /dev/tty?? .
- Both may be reset with the
-@@ -127,12 +127,12 @@
- .TP
- .B \-s
- will change the current
--.I /etc/utmp
-+.I /var/run/utmp
- entry to reflect the new user name.
- .TP
- .B \-r
- is used to replace the username in
--.I /etc/utmp
-+.I /var/run/utmp
- and the mode and ownership of
- .I /dev/tty??
- with that associated with the current process userid.
-@@ -178,7 +178,7 @@
- $HOME/.su2rc
- list of users authorized to change to a specific user.
- .TP
--/usr/adm/sulog
-+/var/log/su2.log
- log of
- .I su2
- and
diff --git a/sysutils/su2/pkg-descr b/sysutils/su2/pkg-descr
deleted file mode 100644
index 93289e88acb1..000000000000
--- a/sysutils/su2/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-From the README:
-
- su2 is a great program for anyone that has anything to do with
-system administration. su2 gives you the ability to masquerade with
-the UID of other users. You use own password to switch. Probably the
-biggest benefit of su2 is that you retain your own customized shell
-environment.
-
- For the most part, this program is used by system administrators to
-become root, but su2 has been written to enable much more flexibility
-than this. Regular users can put a .su2rc file in their home
-directory to enable other users to become them. While this may sound
-odd, it is sometimes useful to allow a number of users to masquerade
-around with the uid of restricted accounts. One such example of this
-is a 'www' account which is a common occurrence with the proliferation
-of the web. While the www user's password may be starred out to
-disable direct logins, root could put a set of usernames into
-~www/.su2rc to enable these users to 'become' www and do Web
-administration. [This feature can be disabled if you are worried
-about 'account sharing.']