Commit graph

47 commits

Author SHA1 Message Date
nia
77ed3648d1 standalone-tcsh: revert my changes for now 2022-03-17 08:27:31 +00:00
nia
57c1983656 standalone-tcsh: actually this check doesn't need to be limited to netbsd
either
2022-03-03 07:39:00 +00:00
nia
b38ddeaa3b standalone-tcsh: Don't hardcode our own list of archs on which to disable
static PIE.
2022-03-03 07:30:47 +00:00
mrg
19b8b95340 mipsn64eb also requires no pie (probably el too) currently. 2022-03-03 03:33:47 +00:00
mrg
661448822a disable PIE on arm64 - ./configure fails without this.
there is some PIE vs static issue, but i did not learn anything
useful about what is causing it.
2022-02-05 05:39:55 +00:00
kim
a38959a5fd {,standalone-,static-}tcsh: Update to 6.23.01
Changes since 6.23.00:

  8. V6.23.01 - 20211209
  7. add \cc and \Uhhh, and document escape sequences
  6. add $'string with escapes' ("dollar-single-quotes") (Kimmo Suominen)
  5. don't glob the filetest builtin arguments twice
  4. remove the duplicate echo escape parsing code and use parseescape
  3. add \x{hh} \xhh \uhhh (H.Merijn Brand)
  2. fix and document ln=target
  1. Merge in patches from pkgsrc:
     - Modernize the installation targets so that they use INSTALL_DATA,
       INSTALL_PROGRAM, and MKDIR_P.
     - Enable SYSMALLOC and SHORT_STRINGS on NetBSD.
     - Enable NO_FIX_MALLOC and SHORT_STRINGS on OpenBSD.

For pkgsrc, items 1, 2, and 5 had already been applied via patches.
2021-12-09 19:55:39 +00:00
kim
3c7c02a5f7 {,standalone-,static-}tcsh: Pull in some additional patches
- Fix off-by-one, found by Coverity
- Don't glob the filetest builtin arguments twice
- Add more detail to "jobs -Z" usage
2021-11-18 10:20:47 +00:00
kim
6b885e0a23 standalone-tcsh: pkglint: Relative package directories must be canonical 2021-11-15 19:54:11 +00:00
kim
37c2e36561 {,standalone-,static-}tcsh: Add build options for nls and static. Cleanup.
For tcsh and defaults for other variants, unless otherwise noted:
- Option nls enables building of NLS catalogs. Enabled by default.
- Option static enables static linking. Disabled by default.

For standalone-tcsh:
- Option static is enabled by default, except on SunOS.
- Fix building of NLS catalogs, which possibly worked at some point
  in time given the existence of the NLSDIR variable in Makefile.
- Use PLIST from tcsh, with some awk to transform the entries.
- Use DESCR from tcsh as base, with an additional local DESCR. Adjust the
  local DESCR to not say that the package is static, as that is controlled
  by an option now (and never was true for all platforms).
- Remove unnecessary DISTINFO_FILE, INSTALLATION_DIRS, and WRKSRC.

For static-tcsh:
- Option static is not available: the package is always built like tcsh
  with the static option enabled.
- Remove unnecessary DISTINFO_FILE.
2021-11-15 17:11:57 +00:00
kim
b0c48b7e09 standalone-tcsh: Use ../../shells/tcsh/Makefile.common
Additionally, since the binary package will not include the locale
catalogues, disable building them (and unnecessarily stuffing them
in DESTDIR/share/locale).

Finally, fix installation of example files, so that the completion
rules (and csh-mode.el) are included with the package.
2021-11-14 22:36:12 +00:00
kim
92af7ce017 {,standalone-,static-}tcsh: fix and document ln=target 2021-11-14 22:15:13 +00:00
mrg
c365c03efb revert back to rev 1.29. the 'make package' step fails with 1.31.
add a note that this should use tcsh/Makefile.common, not just
the main Makefile directly.

ok: kim@
2021-11-14 21:53:15 +00:00
kim
1dc7b53fe8 standalone-tcsh: Add "bin" to INSTALLATION_DIRS
This package installs DESTDIR/bin/tcsh so add "bin" to INSTALLATION_DIRS.

XXX: Creating the binary package still fails.
2021-11-13 06:53:10 +00:00
kim
b08cf64e63 {,standalone-,static-}tcsh: Use shells/tcsh/Makefile.common 2021-11-11 22:47:55 +00:00
leot
d18ecc5b7c {standalone-,static-,}tcsh: Update to 6.21.00
pkgsrc changes:
 - Add patch-nls_Makefile.in to avoid +x bit in *.cat files
 - Remove no longer needed patches (all applied upstream):
   patch-ed.chared.c, patch-ed.inputl.c, patch-nls-catgen, patch-sh.func.c,
   patch-tw.init.c

Changes:
V6.21.00 - 20190508
-------------------
 - Abort history loading on words and lines too long
     https://bugzilla.redhat.com/show_bug.cgi?id=1598502
 - PR/37: Introduce GetCmdChar() to avoid open coding array access.
   make closem() not close sockets so as not to affect nss_ldap.
     tcsh never creates sockets so that's ok (Miloslav Trmac)
 - PR/597: Make rmstar work with aliased rm
 - convert match() from recursive to backtracking.
 - Handle 8 bit characters in bindkey (Werner Fink)
 - Look for tgetent in libtinfo as well (Werner Fink)
 - Don't play pointer tricks that are undefined in modern c (Brooks Davis)
 - Fix out of bounds read (Brooks Davis)
 - Fix type of read in prompt confirmation (eg. rmstar) (David Kaspar)
 - PR/471: Delay arginp parsing

ok <kim>, thanks!
2019-05-09 11:32:36 +00:00
jlam
8b8c567141 shells/{,static-,standalone}tcsh: Fix PKGREVISION & MAINTAINER.
The tcsh package Makefile is included directly by the static-tcsh
and standalone-tcsh Makefiles.  Modify some of the variables that
really need to be package-specific to be set with ?= in
tcsh/Makefile and document the package Makefiles that directly
include it.

Set PKGREVISION directly in static-tcsh and standalone-tcsh now
that they can have independent PKGREVISION values.

Bump the PKGREVISION of static-tcsh due to the MAINTAINER now
correctly being listed as agc@ due to this change.
2017-08-23 17:52:47 +00:00
joerg
990157a52e Since this violates the general prefix rules and won't build e.g. with
the recommendated setup of read-only root, mark it as not for bulk
builds.
2016-09-07 21:03:21 +00:00
sevan
bddeeb16db Exclude this package on OmniOS which ships with a copy of tcsh.
OmniOS is an Illumos distro which falls under the SunOS variant for us.
Include mk/bsd.prefs.mk before the shells/tcsh/Makefile so the
OS_VARIANT variable is available for testing.

Reviewed by agc@ wiz@
2015-09-03 15:58:22 +00:00
tnn
27c4292ba1 cannot be installed in UNPRIVILEGED mode 2015-03-15 18:32:12 +00:00
dholland
136280050c Mark this ONLY_FOR_PLATFORM and list the platforms where tcsh is *not*
already in /bin. Otherwise, building and installing it naively clobbers
the native tcsh, which isn't what anyone wants.

I believe these platforms to be: NetBSD, OpenBSD, Solaris -- if anyone
can confirm that others (especially old ones I can't readily check)
don't have a native tcsh, please add.
2015-01-11 02:15:51 +00:00
marino
c35392241d shells/standalone-tcsh: Mark NOT-FOR-DRAGONFLY
This package will install tcsh in the /bin directory (not ${LOCALBASE}/bin).
DragonFly already has tcsh in the base system, so this package will replace
it with no ability to restore the system version.  This is not desired.

shells/tcsh still works should there be any need for a pkgsrc version installed
at ${LOCALBASE}/bin.
2012-05-22 08:46:53 +00:00
joerg
d0076c3403 Remove the remaining NO_MTREE definitions, it has been a nop for a
while.
2009-04-08 22:43:23 +00:00
joerg
88fae4f619 More changes to give it a chance to work. 2008-08-12 14:51:45 +00:00
rillig
380d1a0655 Prevent this package from scanning the whole filesystem during the
install phase.
2006-10-05 01:11:41 +00:00
abs
b5311f7827 Remove the following which breaks under the current pkgsrc infrastructure:
PKG_INFO:=              ${PKG_INFO}
PKG_CREATE:=            ${PKG_CREATE}
2005-12-19 14:12:31 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jlam
9813468816 * Separate out the shell registration into a separately unpacked script
+SHELL.

* Turn PKG_REGISTER_SHELLS into a variable that can be set in the shell
  environment so that admins can make a choice when installing from
  binary packages.

* PKG_SHELL is now a list of paths, and if the path is relative, then it
  is taken to be relative to ${PREFIX}.  Convert packages that set
  PKG_SHELL to take advantage of this new feature by changing the full
  paths to the shells into relative paths.
2005-07-29 18:32:17 +00:00
wiz
55a28199d8 agc agreed to maintain this package. 2005-02-24 12:19:13 +00:00
grant
b0a99bbfbf define PATCHDIR before the inclusion of bsd.prefs.mk. fixes implicit
gpatch build dependency.
2004-01-29 10:03:08 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
grant
0d5985e4b3 move the various static shell packages back to their previous names. 2004-01-11 23:06:54 +00:00
grant
826e119b6d rename standalone-tcsh to tcsh-standalone. the convention in pkgsrc is
for mutations of packages to be named <pkg>-<mutation>.

add a CONFLICT on standalone-tcsh for obvious reasons.
2004-01-10 06:56:15 +00:00
grant
9448e87060 override PREFIX, not LOCALBASE.
noted by abs on tech-pkg@.
2003-09-18 22:59:38 +00:00
agc
cd52523c8a Nail down the definitions of ${PKG_INFO} and ${PKG_CREATE} before resetting
${LOCALBASE} - makes this package install successfully on systems where the
package tools may reside under ${LOCALBASE}.

On Solaris, don't set "-static" into LDFLAGS, so that the package builds
properly.
2003-05-05 10:54:13 +00:00
agc
329df47559 Nail down the value of ${PATCH} before changing ${LOCALBASE}, so that
systems which can define ${PATCH} in terms of ${LOCALBASE} (like
Solaris) can build this package.
2003-05-01 21:45:46 +00:00
abs
09a901a902 Shorten COMMENT 2003-04-04 17:32:51 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
salo
80f17bf2ba Convert packages to PKG_REGISTER_SHELLS framework. 2002-11-17 09:01:59 +00:00
wiz
2db8452b72 Sync with tcsh package. Fixes PR 18861. 2002-10-31 11:55:30 +00:00
kim
d38c68785d PKGNAME is not defined, use DISTNAME. 2002-07-25 11:15:58 +00:00
zuntum
9ce7d9169a Move pkg/ files into package's toplevel directory 2001-10-31 22:18:56 +00:00
tron
aeb8065bba Fix oversights in last commit. 2001-09-23 21:08:56 +00:00
tron
45df76b111 Make modifications of "/etc/shells" robust so that they don't fail if the
last entry is removed.
2001-09-23 21:06:07 +00:00
agc
a795ccc8e2 Make sure we don't ignore ${LOCALBASE}/bin/tcsh when creating the new
/etc/shells entry with grep -v /bin/tcsh - be sure to match the whole
line.
2001-08-06 20:46:58 +00:00
agc
38bade2955 Fix a typo in the comment field. I wish I could type properly. 2001-07-27 20:32:01 +00:00
agc
7cef91d773 Add a standalone version of tcsh, which installs a statically-linked
version of tcsh into /bin, but still using most of the standard tcsh
package framework, for ease of maintenance.
2001-07-27 19:52:45 +00:00