Commit graph

128 commits

Author SHA1 Message Date
asau
9912a3809d Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 09:57:15 +00:00
apb
e006bded2d Move the NetBSD-specific part of screen's pty.c to the right place.
This commit changes patch-aa so that the patched version
of pty.c contains:

    ... other OS-specific code
    ... NetBSD-specific openpty() code (from patch-aa)
    ... generic openpty() code
    ... last resort code

instead of the previous:

    ... other OS-specific code
    ... generic openpty() code
    ... NetBSD-specific openpty() code (from patch-aa)
    ... last resort code

History behind this problem:

The NetBSD-specific openpty() code was added in revision 1.1
of misc/screen/patches/patch-aa.  (See PR pkg/16901.)  At that
time, pkgsrc used screen-3.9.11, and the upstream version of
screen did not use openpty() at all.  The patch added an "#if
defined(__NetBSD__)" block as the last OS-specific section in
pty.c, which then had:

    ... other OS-specific code
    ... NetBSD-specific openpty() code (from patch-aa)
    ... last resort code

In screen-3.9.15, upstream added code in pty.c to use openpty().
This was imported to pkgsrc on 2003-03-15.  At that time, pkgsrc's
patch-aa accidentally inserted the NetBSD-specific code below
instead of above the new code, so the patched version of pty.c
had:

    ... other OS-specific code
    ... generic openpty() code         (from upstream)
    ... NetBSD-specific openpty() code (from patch-aa)
    ... last resort code

The above is obviously wrong because the generic openpty() code
would be used instead of the NetBSD-specific code, assuming
HAVE_OPENPTY was defined by the configure script.

This problem was reported in PR pkg/25317, but the patch in the PR
was not understood so it was not applied.

This commit changes patch-aa so that the patched version of pty.c
contains:

    ... other OS-specific code
    ... NetBSD-specific openpty() code (from patch-aa)
    ... generic openpty() code         (from upstream)
    ... last resort code

However, it still doesn't work on NetBSD with ptyfs mounted.
2012-09-15 09:14:53 +00:00
shattered
73b9ef031c PR/39663: enable 256 color support (only with ncurses and PDCurses). 2011-06-11 18:49:31 +00:00
rumko
d6fe8228f2 misc/screen: DragonFly BSD 2.9+ support
Make screen use utmpx on DragonFly BSD 2.9+ so that it compiles
again.

Patch submitted by Matthias Rampke ( https://gist.github.com/823307 ).

ok@ wiz
2011-03-14 06:15:23 +00:00
jmmv
9a786011ff Bump PKGREVISION to reflect the recent change in pkginstall/shells to use
etcutils to update /etc/shells.
2010-05-07 12:02:43 +00:00
zafer
e93211dccf remove dead mirror 2010-03-07 15:13:37 +00:00
spz
9b43a1c0f6 Fix build failure:
NetBSD-current added dwarf.h and that made the code assume that sys/stropts.h
was present without greater need, since configure also checks for
HAVE_SYS_STROPTS_H.
2010-01-01 19:38:44 +00:00
tron
dbd78a3f8a Set license to "gnu-gpl-v2". 2009-10-30 12:02:46 +00:00
joerg
674dbd1712 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 20:47:52 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
jmmv
476e25c10b Fix destdir support by defining PKG_DESTDIR_SUPPORT early enough and by
not setting setuid permissions too early.
2009-03-05 09:59:12 +00:00
adrianp
9098002713 Allow override of CURSES_DEFAULT using options.mk 2009-03-02 21:11:49 +00:00
dillo
b361788948 Fix DESTDIR install on SunOS. 2008-06-06 17:14:01 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
tonnerre
317771a665 Include curses header for screen configure script when testing tgetent
in order to prevent crash on 64-bit architectures. Otherwise the result
of termcap/terminfo detection is wrong, causing the infamous "bad format 'p'"
messages, or "OOPSOOPSOOPS" when SSHing from MacOS.
Fixes PR 33808
Approved-by: joerg
2008-04-04 21:09:16 +00:00
jlam
e4ba95eba5 + Include termcap.buildlink3.mk for proper termcap library handling.
+ Note bin/screen as a setuid-root program using SPECIAL_PERMS.

Bump the PKGREVISION to 1.
2008-03-17 19:03:35 +00:00
wiz
fe4473a595 Squelch a pkglint warning. 2007-05-23 23:49:24 +00:00
wiz
b51dfd7038 The distfile is not GNU mirrors (only older versions are).
Remove MASTER_SITE_GNU from MASTER_SITES and two other places.
From Zafer Aydogan.
2007-05-23 23:46:08 +00:00
rillig
49edb8df4b It does not make sense to install bin/screen setuid in unprivileged mode. 2007-02-15 14:47:09 +00:00
joerg
7f279c69f3 DESTDIR support. 2006-11-02 17:59:37 +00:00
tron
6da092472f Update "screen" package to version 4.0.3. A list of changes since
version 4.0.2 isn't available but this release contains a fix for
the security vulnerability report in CVE-2006-4573.
2006-10-29 15:08:27 +00:00
rillig
a8ae7bde5f Added a missing directory for Solaris. 2006-09-21 20:23:38 +00:00
jlam
36c3fdbed9 Unify PLISTs between Solaris and everyone else. Also drop the removal
of screen.old... that just shouldn't happen.  Bump the PKGREVISION.
2006-04-05 23:06:33 +00:00
jlam
a4cbc72f58 List the info files directly in the PLIST and honor PKG{INFO,MAN}DIR. 2006-04-05 23:01:15 +00:00
joerg
ac8f70a5a0 Use SUBST. 2006-01-19 02:01:18 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
reed
cc7cd45463 This will install two screenrc examples (and changes name of one) and
fixes man page to point to them.

Update patch-ap for doc/screen.1 so the location of examples files
is corrected.

Now install both examples. Update PLISTs. Note that the
screenrc example is now called screenrc and etcscreenrc is
etcscreenrc (makes sense).

Mention both examples in MESSAGE.

Bump PKGREVISION.

This will solve problem for PR #32391.

Okayed by maintainer.
2005-12-28 17:53:24 +00:00
rillig
7f6a676139 Added patch-aq, which makes screen use the setenv() function with three
parameters instead of the one with two parameters. The setenv() function
has been added to Solaris recently, so this wasn't necessary before.
Should fix PR 32273.
2005-12-10 23:28:13 +00:00
joerg
8d751efc7b Always use the errno from errno.h. 2005-11-08 12:58:47 +00:00
rillig
302e549bd0 Use "+=" instead of "=" with PLIST_SUBST. Added proper quoting for
DISTNAME.
2005-10-23 23:09:59 +00:00
rillig
7356d65d87 Fixed pkglint warnings. 2005-09-28 19:35:36 +00:00
jlam
5b62763c63 Teach the +SHELLS helper script to not create an /etc/shells file if
one doesn't exist.  From now on, we only add the listed PKG_SHELL to
the /etc/shells file if it already exists.  This fixes PR pkg/27162.
2005-09-20 04:23:48 +00:00
cube
3c67ace0ab Add "shells" to CATEGORIES, ride on previous revision bump. 2005-08-01 11:36:29 +00:00
cube
34d6d30cb3 GNU screen can be used as a login shell, so register it as such.
PR 30838 by Geert Hendrickx.
2005-08-01 10:27:59 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
kim
2923a41f18 Avoid repeated compiler warnings about redefining USEVARARGS. 2005-03-29 07:02:25 +00:00
agc
07b46baa43 Add RMD160 digests 2005-02-24 11:02:49 +00:00
kim
bed5ee4806 I can try to care for this one. 2005-02-21 22:37:03 +00:00
hubertf
9a981bcfbe Sign over maintainership to tech-pkg@ 2005-02-21 20:26:08 +00:00
tv
5b8aae2ffc Mark as not for Interix due to major work being needed to accomodate
Interix username sizes and user authentication.
2004-10-11 23:46:15 +00:00
atatat
6ac8f64732 Put the config.h.in patch into its own patch file and add more to it
that forces varargs to be used on NetBSD.  Some gcc 3.3 instances
(specifically 3.3.3nb1 on NetBSD/alpha) fail one of the configure
tests making it think we don't have sprintf() (and therefore no
varargs) causing unmentionably evil things to be done instead.  This
usually leads to core dumps.

Fix a pointer-to-integer cast warning by casting to long in between.
The actual use case is harmless, but the compiler can't tell that.

Bump PKGREVISION to 1 for the gcc workaround (affects at least
NetBSD/alpha which can now build a better screen).

Addresses PR pkg/25937.
2004-07-15 04:05:40 +00:00
christos
48c9113196 Fix a compile issue under /current. Screen wrongly detects that we have
svr4 ptys because of /dev/ptmx, but erroneously wants <sys/stropts.h>
because of that define. Fix properly, by detecting the presense of
<sys/stropts.h> before including it.

I am not bumping the nb number because nothing realy changes; you'll
get the same binary if you recompile.

XXX: The utmp stuff is still completely broken, that is why this is still
setuid.
2004-06-16 21:35:00 +00:00
wiz
84970eaa04 Not necessary any longer after update to 4.0.2. 2004-01-06 18:10:46 +00:00
wiz
4b0261de50 Update to 4.0.2, provided by Soren Jacobsen in PR 24000.
In his own words:
4.0.2 fixes a local privelege escalation problem.  See
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0972 for
more information.

There's no ChangeLog available, but other than the fix for this
and regeneration of the configure script, changes are extremely
small.

Also, I've removed the info files from PLIST and PLIST.SunOS.  They
are handled automatically as of bsd.pkg.mk 1.1332.
2004-01-06 16:30:39 +00:00
jlam
6ff48e076b bl3ify 2004-01-05 11:53:39 +00:00
grant
bb36ff1b94 call ln with separate -s and -f args to appease Solaris.
from Dima Veselov on tech-pkg.
2003-12-11 22:35:09 +00:00
grant
31aae3287c fix formatting 2003-12-01 22:47:02 +00:00
ben
8af6a397e4 On sparc64 when I used the "w" command, the screen logins had absurdly
large login and idle times.  This was due to a bug in utmp.c:

in os.h
-------
#  define utmp          utmpx
#  define ut_time       ut_xtime

in utmp.c::makeuser()
---------------------
struct utmp *u;
  (void)time((time_t *)&u->ut_time);

The above works fine on i386 where ut_xtime and time_t are the same size,
but on sparc64 ut_xtime is 8 bytes rather than 4.

This fix was tested on i386 and sparc64.
2003-12-01 15:18:27 +00:00
wiz
511619f71b Fix
http://www.securityfocus.com/archive/1/345844
with the patches supplied there.
Bump PKGREVISION to 1.
2003-11-27 20:29:48 +00:00
hubertf
3094e835c4 Updated screen to 4.0.1. No log of changes available, but as the
distfile has vanished from the master site, this may be security\
related.
2003-09-22 21:00:40 +00:00