Commit Graph

43 Commits

Author SHA1 Message Date
gpalmer
7ff6b86884 Use setreuid instead of seteuid for permissions management 1996-06-02 19:59:26 +00:00
joerg
68ce2696d4 Several changes to the gethostname module:
. rename the function to main'gethostname, so it can be called unqualified,
. strip the trailing \0 character, closes PR # bin/1084,
. a better way to express an insane long string.

Submitted by:	Giles Lean <giles@topaz.nemeton.com.au> (except the 1st)
1996-03-18 21:42:31 +00:00
joerg
ed7c1e1183 Add a small `gethostname' package. It uses __sysctl(2), and thus
avoids the kludgy backquotes that are required by now (`hostname`).

Usage:

require "gethostname.pl";
$thishost = &gethostname'gethostname;
1996-02-13 13:17:49 +00:00
peter
c3f352d4ad This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
peter
ab124e78b0 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
bde
f5284ed86d Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
rgrimes
2ad6f3dee6 Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ache
3c248cf0af Add link to sperl4.036, needed for suid scripts and pgms
which use sperl$]
1995-05-28 19:40:18 +00:00
ache
211a7d9f9a Make link to tperl4.036, needed for suid scripts and other stuff
which use tperl$]
1995-05-28 19:38:59 +00:00
ache
e4c9343d9d Fix $] variable value (version number), close PR 449
Submitted by: Bill Fenner <fenner@parc.xerox.com>
1995-05-28 19:21:54 +00:00
ache
a7372e7b99 Remove setr* hacks 1995-04-27 19:56:37 +00:00
bde
41cee792f9 Fix compiler warnings: don't declare enum types as static. 1995-04-02 13:11:14 +00:00
ache
41b7559ce7 Comment out all perverted curses optimization 1995-03-26 03:01:04 +00:00
ache
0b43f4595a Change wrong -ltermcap -ltermlib picked up to -lmytinfo 1995-03-26 02:41:45 +00:00
jkh
d4954bb252 Get PERL found in any of its obvious locations. 1995-03-25 17:14:11 +00:00
bde
f7718cd6f5 Don't attempt to fix the mode of mus - mus might be read-only. Just
interpret it.  I've preserved the bugs that perl must be installed
to build part of perl and that it must be installed in the wrong place
(no ${DESTDIR}).
1995-03-25 15:43:57 +00:00
jkh
bbb766d1b9 If mus script not executable, fix. 1995-03-24 19:22:33 +00:00
jkh
955b0fa556 Adjust include paths. 1995-03-24 05:56:41 +00:00
jkh
7b2df764f5 Bring back perl/usub as usub/, this time containing an updated curseperl
which is also installed by default (the reason for which should also be
plain shortly).
1995-03-24 04:33:54 +00:00
rgrimes
dfc17a13de Export ${DESTDIR} to h2ph so that the *.ph files end up in the DESTDIR
directories instead of /usr/share/perl.
1995-02-14 21:47:04 +00:00
ugen
216e2af04b Fix to h2ph "undefined function" bug
i reported today earlier..tested and works OK..
( To those who want to experience bug try running aub
with old version of socket.ph and with new one or just any
perl script  "requiring " <sys/socket.ph> or <sys/cdefs.ph> )
1995-02-03 15:16:03 +00:00
jkh
b55651ef61 Install suidperl suid root.
Submitted by:	Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
1995-01-14 03:31:27 +00:00
joerg
4573dfe5e5 I think someone has already talk about it but I just got bitten again :
perl setuid scripts don't work in 2.1-current for the same reason they were
not working in 1.1.5.1.

Perl 5 has the same "problem" of course.

We have almost POSIX saved uids but  we must undefine the following symbols
in order to get setuid perl scripts :

Submitted by:	roberto@blaise.ibp.fr (Ollivier Robert)
1995-01-09 17:52:25 +00:00
rgrimes
01cf760ecd Add usr/share/perl/sys to mtree file, remove private mkdir from Makefile. 1995-01-03 02:57:53 +00:00
rgrimes
e8a04de225 Add missing ${DESTDIR} so that the library ends up in a release.
Remove mkdir -p, this is handled by make hierarchy.
Add NOOBJ= to override obj: target, and remove local obj: target.
1995-01-01 20:30:56 +00:00
bde
9fb68975b3 Fix previous commit. Installing links to manpages without installing
manpages is not completely trivial.

Please don't commit untested changes.
1995-01-01 17:21:09 +00:00
bde
a2d98f5b6a Fix previous commit. 1995-01-01 17:14:45 +00:00
gclarkii
a877ff6db6 Add mlinks for man page
Reviewed by:
Submitted by:
Obtained from:
1994-12-31 21:10:46 +00:00
ats
b81141f2b0 Add the files y.tab.h and a2p.c that get automatically generated to
the CLEANFILES target. Remove the file a2p.c from the source tree, this get
generated anew from a2p.y.
1994-11-28 18:30:44 +00:00
jkh
cbf05342b5 From: "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>
in getting mirror-2.3 to work with FreeBSD, i found that timelocal.pl has
a bug.  a patch is included below.  this needs to be applied to both
src/gnu/usr.bin/perl/lib/timelocal.pl and
src/usr.sbin/xntpd/scripts/monitoring/timelocal.pl

Submitted by:	jmb
1994-11-18 02:24:06 +00:00
gclarkii
7234eaeb65 Correct my hosing...:( 1994-11-03 23:50:43 +00:00
gclarkii
4c3c905164 Change libs to install in /usr/lib/perl 1994-11-03 20:07:46 +00:00
gclarkii
54e788b218 Change libs to /usr/lib/perl
Reviewed by:
Submitted by:
Obtained from:
1994-11-03 20:03:53 +00:00
gclarkii
bb75e8ba08 Install libs into /usr/lib/perl. The discussion we had did not come to
a point so...  If any thing besides here I would vote for /usr/include.
1994-11-03 20:02:15 +00:00
pst
ceda6f2de6 Test test test! sigh!
Perl's scripts are still trying to execute perl out of /usr/gnu/bin/perl.

The hack Larry was using for h2ph.1 doesn't work with the new macros, so
make it a real man page.

Also, we weren't building the .ph files, add them as an afterinstall rule
in the x2p subdirectory.
1994-10-29 07:14:55 +00:00
wollman
2a45a34f5d Convince Perl to that is is part of the system, as /usr/bin/perl (binary)
and /usr/share/perl (library).  The latter was chosen as analogous to other
directories already present in /usr/share, like /usr/share/groff_font and
(particularly) /usr/share/mk.
1994-10-27 23:16:54 +00:00
rgrimes
d2516625b3 Include of bsd.prog.mk should almost always be the last line of the file.
Fix missing ${DESTDIR} in 2 places (rgrimes)
Submitted by:	bde
1994-09-12 05:10:07 +00:00
rgrimes
8e5d951531 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:41:41 +00:00
gclarkii
c1cd92a87b Deleted checks for libcrypt as not nessecery for 2.0. 1994-09-11 19:55:57 +00:00
gclarkii
c2fc3688fc Added CURDIR directives for some installs.
Reviewed by: Gary Clark II
Submitted by: Rod Grimes
1994-09-11 19:53:02 +00:00
gclarkii
0c6bf1f73b Added includes for Makefile.inc (/usr/src/gnu/usr.bin/Makefile.inc)
Reviewed by: Gary Clark II
Submitted by: Rod Grimes
1994-09-11 19:52:29 +00:00
gclarkii
227a0d1584 Changed AF_LOCAL to AF_LOCAL_XX so as not to conflict with 4.4 socket.h
Added casts to shutup warnings in doio.c
1994-09-11 03:17:33 +00:00
gclarkii
bd9f085842 Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00