diff options
author | Rene Ladan <rene@FreeBSD.org> | 2014-04-11 13:20:44 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2014-04-11 13:20:44 +0000 |
commit | 7e5f1066a3f0e92bb3cfede4149d0ab19082f166 (patch) | |
tree | 2ada87dee73b3f9d975e2a80387974ade3423260 /net/pcnfsd/files/patch-aa | |
parent | Avoid code duplication between pkg-install and plist (diff) |
Remove expired ports:
2014-03-10 www/p5-CGI-modules: No more public distfiles
2014-04-10 www/p5-WWW-Link: Depends on expired www/p5-CGI-modules
2014-03-10 www/sbox-dtc: No more public distfiles
2014-04-10 sysutils/dtc: Depends on expired www/sbox-dtc
2014-03-10 textproc/glimpse: No more public distfiles
2014-04-10 ftp/ftplocate: Depends on expired textproc/glimpse
2014-04-10 misc/tkman: Depends on expired textproc/glimpse
2014-04-09 devel/asl: Unmaintained since 1997
2014-04-09 net/pcnfsd: Unmaintained since 1997
2014-04-10 cad/chipmunk: Unmaintained since 1999
2014-04-10 graphics/comix: Insists on installing in /usr/local, and uses nautilus2 which is deprecated.
2014-04-10 www/mambo: Broken for more than 6 months
2014-04-10 devel/lua-rds-parser: Broken for more than 6 months
2014-04-10 editors/the: Unmaintained since 1999
2014-04-10 japanese/exmh2: Unmaintained since 1999
2014-04-10 net/freewais-sf: Unmaintained since 1999
2014-04-10 editors/elvis: Unmaintained since 1999
2014-04-10 japanese/sed: Unmaintained since 1999
2014-04-10 x11-fm/xfm: Unmaintained since 1999
2014-04-10 print/rtf2latex: Unmaintained since 1999
2014-04-10 graphics/fbm: Unmaintained since 1999
2014-04-11 devel/p5-Penguin-Easy: Unmaintained since 2000
2014-04-11 emulators/prodosemu: Unmaintained since 2000
2014-04-11 security/gtkportscan: Unmaintained since 2000
2014-04-11 graphics/xmfract: Unmaintained since 2000
2014-04-11 databases/xmbase-grok: Unmaintained since 2000
2014-04-11 emulators/svr4_base: Unmaintained since 2000
2014-04-11 math/freefem: Unmaintained since 2000
2014-04-11 graphics/tiff2png: Unmaintained since 2000
2014-04-11 math/wingz: Unmaintained since 2000
2014-04-11 lang/STk: Unmaintained since 2000
2014-04-11 graphics/kdc2tiff: Unmaintained since 2000
2014-04-11 math/xlispstat: Unmaintained since 2000
2014-04-11 databases/typhoon: Unmaintained since 2000
2014-04-11 graphics/dc20ctrl: Unmaintained since 2000
2014-04-11 www/fhttpd: Unmaintained since 2000
2014-04-11 graphics/xmorph: Unmaintained since 2000
2014-04-11 editors/axe: Unmaintained since 2000
2014-04-11 www/cgic: Unmaintained since 2000
Notes
Notes:
svn path=/head/; revision=350942
Diffstat (limited to 'net/pcnfsd/files/patch-aa')
-rw-r--r-- | net/pcnfsd/files/patch-aa | 229 |
1 files changed, 0 insertions, 229 deletions
diff --git a/net/pcnfsd/files/patch-aa b/net/pcnfsd/files/patch-aa deleted file mode 100644 index 8a5f2e82e7de..000000000000 --- a/net/pcnfsd/files/patch-aa +++ /dev/null @@ -1,229 +0,0 @@ -*** common.h Sat Feb 27 08:48:17 1993 ---- common.h Thu Oct 6 14:35:00 1994 -*************** -*** 60,65 **** ---- 60,69 ---- - **===================================================================== - */ - -+ #ifdef HAVE_PARAM_H -+ #include <sys/param.h> -+ #endif -+ - /* - **--------------------------------------------------------------------- - ** Define the following symbol to enable the use of a -*************** -*** 268,281 **** - #define SUNOS_403C - #endif - -! #ifdef OSVER_BSD386 - #define BSD_STYLE_PRINT - #define BSD_STYLE_PR_LIST - #define BSD_STYLE_QUEUE - #define BSD_STYLE_CANCEL - #define BSD_STYLE_STATUS - #define BSD_STYLE_MONITOR -! #define BSD386 - #endif - - #ifdef OSVER_ULTRIX ---- 272,285 ---- - #define SUNOS_403C - #endif - -! #if (defined(BSD) && (BSD >= 199103)) - #define BSD_STYLE_PRINT - #define BSD_STYLE_PR_LIST - #define BSD_STYLE_QUEUE - #define BSD_STYLE_CANCEL - #define BSD_STYLE_STATUS - #define BSD_STYLE_MONITOR -! #define USE_GETUSERSHELL - #endif - - #ifdef OSVER_ULTRIX -*** pcnfsd_misc.c Sat Feb 27 08:48:14 1993 ---- pcnfsd_misc.c Thu Oct 6 14:32:17 1994 -*************** -*** 480,486 **** - #else SVR4 - - #include <utmp.h> -! #define WTMP_PATH "/usr/adm/wtmp" - - void - wlogin(name) ---- 480,488 ---- - #else SVR4 - - #include <utmp.h> -! #ifndef _PATH_WTMP -! #define _PATH_WTMP "/usr/adm/wtmp" -! #endif - - void - wlogin(name) -*************** -*** 499,505 **** - (void) strncpy(ut.ut_name,name,sizeof ut.ut_name); - ut.ut_time = time( (time_t *) 0); - (void) strncpy(ut.ut_host, getcallername(), sizeof ut.ut_host); -! if ((fd = open(WTMP_PATH, O_WRONLY|O_APPEND, 0)) >= 0) { - (void)write(fd, (char *)&ut, sizeof(ut)); - (void)close(fd); - } ---- 501,507 ---- - (void) strncpy(ut.ut_name,name,sizeof ut.ut_name); - ut.ut_time = time( (time_t *) 0); - (void) strncpy(ut.ut_host, getcallername(), sizeof ut.ut_host); -! if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) >= 0) { - (void)write(fd, (char *)&ut, sizeof(ut)); - (void)close(fd); - } -*** pcnfsd_print.c Fri Jan 29 23:52:04 1993 ---- pcnfsd_print.c Thu Apr 27 12:43:01 1995 -*************** -*** 395,407 **** - */ - if(!xcmd) { - #ifdef BSD_STYLE_PRINT -! #ifdef BSD386 - sprintf(cmdbuf, "/usr/bin/lpr -P%s -C%s -J%s %s", - pr, system, user, new_pathname); - #else - sprintf(cmdbuf, "/usr/ucb/lpr -P%s -C%s -J%s %s", - pr, system, user, new_pathname); -! #endif BSD386 - #endif BSD_STYLE_PRINT - #ifdef SVR4_STYLE_PRINT - sprintf(cmdbuf, "/usr/bin/lp -c -d%s %s", ---- 395,407 ---- - */ - if(!xcmd) { - #ifdef BSD_STYLE_PRINT -! #if (defined(BSD) && (BSD >= 199103)) - sprintf(cmdbuf, "/usr/bin/lpr -P%s -C%s -J%s %s", - pr, system, user, new_pathname); - #else - sprintf(cmdbuf, "/usr/ucb/lpr -P%s -C%s -J%s %s", - pr, system, user, new_pathname); -! #endif - #endif BSD_STYLE_PRINT - #ifdef SVR4_STYLE_PRINT - sprintf(cmdbuf, "/usr/bin/lp -c -d%s %s", -*************** -*** 686,696 **** - char *cp; - int saw_system; - -! #ifdef BSD386 - p = popen("/usr/sbin/lpc status", "r"); - #else - p = popen("/usr/etc/lpc status", "r"); -! #endif BSD386 - if(p == NULL) { - printers = list_virtual_printers(); - return(1); ---- 686,696 ---- - char *cp; - int saw_system; - -! #if (defined(BSD) && (BSD >= 199103)) - p = popen("/usr/sbin/lpc status", "r"); - #else - p = popen("/usr/etc/lpc status", "r"); -! #endif - if(p == NULL) { - printers = list_virtual_printers(); - return(1); -*************** -*** 975,981 **** ---- 975,985 ---- - if(pn == NULL || suspicious(pn) || !valid_pr(pn)) - return(PI_RES_NO_SUCH_PRINTER); - -+ #if (defined(BSD) && (BSD >= 199103)) -+ sprintf(buff, "/usr/bin/lpq -P%s", pn); -+ #else - sprintf(buff, "/usr/ucb/lpq -P%s", pn); -+ #endif - - p = su_popen(user, buff, MAXTIME_FOR_QUEUE); - if(p == NULL) { -*************** -*** 1234,1244 **** - sprintf(pname, "%s:", pn); - n = strlen(pname); - -! #ifdef BSD386 - sprintf(cmd, "/usr/sbin/lpc status %s", pn); - #else - sprintf(cmd, "/usr/etc/lpc status %s", pn); -! #endif BSD386 - p = popen(cmd, "r"); - if(p == NULL) { - msg_out("rpc.pcnfsd: unable to popen() lpc status"); ---- 1238,1248 ---- - sprintf(pname, "%s:", pn); - n = strlen(pname); - -! #if (defined(BSD) && (BSD >= 199103)) - sprintf(cmd, "/usr/sbin/lpc status %s", pn); - #else - sprintf(cmd, "/usr/etc/lpc status %s", pn); -! #endif - p = popen(cmd, "r"); - if(p == NULL) { - msg_out("rpc.pcnfsd: unable to popen() lpc status"); -*************** -*** 1404,1414 **** - if(suspicious(id)) - return(PC_RES_NO_SUCH_JOB); - -! #ifdef BSD386 - sprintf(cmdbuf, "/usr/bin/lprm -P%s %s", pr, id); - #else - sprintf(cmdbuf, "/usr/ucb/lprm -P%s %s", pr, id); -! #endif BSD386 - if ((fd = su_popen(user, cmdbuf, MAXTIME_FOR_CANCEL)) == NULL) { - msg_out("rpc.pcnfsd: su_popen failed"); - return(PC_RES_FAIL); ---- 1408,1418 ---- - if(suspicious(id)) - return(PC_RES_NO_SUCH_JOB); - -! #if (defined(BSD) && (BSD >= 199103)) - sprintf(cmdbuf, "/usr/bin/lprm -P%s %s", pr, id); - #else - sprintf(cmdbuf, "/usr/ucb/lprm -P%s %s", pr, id); -! #endif - if ((fd = su_popen(user, cmdbuf, MAXTIME_FOR_CANCEL)) == NULL) { - msg_out("rpc.pcnfsd: su_popen failed"); - return(PC_RES_FAIL); -*************** -*** 1487,1497 **** - char default_cmd[] = "lp $FILE"; - #endif SVR4_STYLE_PRINT - #ifdef BSD_STYLE_PRINT -! #ifdef BSD386 - char default_cmd[] = "/usr/bin/lpr $FILE"; - #else - char default_cmd[] = "/usr/ucb/lpr $FILE"; -! #endif BSD386 - #endif BSD_STYLE_PRINT - - void ---- 1491,1501 ---- - char default_cmd[] = "lp $FILE"; - #endif SVR4_STYLE_PRINT - #ifdef BSD_STYLE_PRINT -! #if (defined(BSD) && (BSD >= 199103)) - char default_cmd[] = "/usr/bin/lpr $FILE"; - #else - char default_cmd[] = "/usr/ucb/lpr $FILE"; -! #endif - #endif BSD_STYLE_PRINT - - void |