Commit graph

82 commits

Author SHA1 Message Date
Tijl Coosemans
aad09bc5e2 When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).

PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries.  Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field.  In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.

PR:		ports/188759
Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-04-23 13:25:16 +00:00
Hiroki Sato
30f208c29a Fix build breakage. "wnn" user is added after the stage target. 2014-03-14 12:42:44 +00:00
Hiroki Sato
e2537f3be2 - STAGEDIR support
- Eliminate duplicate files installed by each */FreeWnn-lib.
- Bump PORTREVISION because of dependency and pkg-plist changes.
2014-03-11 06:49:56 +00:00
Tijl Coosemans
ec308f87c7 For both japanese/FreeWnn-lib and japanese/FreeWnn-server:
- Delete files/patch-configure: This patch is non-functional because
  configure is regenerated by USE_AUTOTOOLS=autoconf.
- Replace files/patch-aclocal.m4 with USE_AUTOTOOLS=aclocal.
- Replace files/patch-config.h.in with USE_AUTOTOOLS=autoheader.
- Replace files/patch-ltmain.sh with USE_AUTOTOOLS=libtoolize.
- Replace USE_AUTOTOOLS=libtool with USES=libtool.
- Remove indefinite article from COMMENT.

Approved by:	hrs (maintainer)
2014-03-02 18:01:04 +00:00
Baptiste Daroussin
e04b632220 Fix properties on pkg-plist 2014-01-21 23:40:21 +00:00
Baptiste Daroussin
8ee9a3584f Add NO_STAGE all over the place in preparation for the staging support (cat: japanese) 2013-09-20 18:47:54 +00:00
Martin Wilke
7e637c6711 - Do not remove directories not created by this port 2013-06-14 01:58:45 +00:00
Hiroki Sato
a42c0444ff Trim old-style header. 2013-05-02 22:27:58 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Hiroki Sato
fa9f1ef648 Use $USERS instead of pkg-install for adding wnn user.
Submitted by:	Chris Rees (utisoft@gmail.com)
PR:		ports/157579
2011-06-11 06:07:08 +00:00
Martin Wilke
65e190c0f0 - Get Rid MD5 support
With hat:	portmgr (myself)
2011-03-18 17:59:50 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Ade Lovett
8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +00:00
Doug Barton
204523bd3c Cleanse more RC_SUBR and RC_SUBR_SUFFIX variables 2010-03-28 05:52:12 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Hiroki Sato
4b38031b7f - Improve buffer management. This change should fix issues on amd64.
- Fix daemonizing part.  It now returns the exit status correctly.
- Fix *_{pre,post}cmd handling in the rc.d scripts.  Plus,
  wnntouch is now invoked just before running the server process.
- Use ${*_WNNMANDIR} in Makefile to use the common patchset
  in both FreeWnn-server and -lib.
- Integrate libtool22 change and regenerate patch files.
2010-01-02 14:47:20 +00:00
Pav Lucistnik
2d68f126de - Mark MAKE_JOBS_UNSAFE
Reported by:	pointyhat
2009-11-19 23:41:55 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Hiroki Sato
36ede78e2d - Use RFC 2553 API for AF_INET[46] socket handling.
- Fix several potential buffer overflows.
- Add missing "listenaddr ::1" to cserverc.
- Add WITHOUT_INET6 handling.
2009-01-02 23:08:15 +00:00
Hiroki Sato
e85df6113a - Enable IPv6 support.
- Add multiple "listenaddr" support.  The jserverrc now
  understands the following statements:

   listenaddr 127.0.0.1
   listenaddr ::1

  The option "-a <listenaddr>" can also be specified more than
  once.  Currently the maximum number of listen addresses is 256.

- SIGINT is no longer hooked when the -D (not daemonize,
  primarily for debugging) flag is specified.

- Add --unix, long opt counterpart of -u.
2009-01-02 11:49:48 +00:00
Hiroki Sato
dac2da7f40 - Add "listenaddr 127.0.0.1" to {c|t|k}serverc.
- Update startup scripts.
- Simplify the pkg-install script.
2008-11-01 14:45:16 +00:00
Hiroki Sato
b638279af6 - Add "-a ADDR" option to jserver and "listenaddr" directive to
jserverrc.  This specifies listen address of the INET socket.
  Note that the default value is set as 127.0.0.1.  If you need
  the old behavior (listen INADDR_ANY), use "-a 0.0.0.0" in
  $wnn_flags or modify jserverrc.
- Fix a buffer overflow when very long file name is specified in
  the -f option.
- Fix a typo in CONFIGURE_ARGS and COMMENT.
- Rename a patch file (patch-Wnn-jd-serverdef).
2008-10-30 07:43:17 +00:00
Hiroki Sato
ed4de7cae6 - Style clean-ups.
- Separate */FreeWnn-server and */FreeWnn-lib.
- Take maintainership.
2008-10-26 19:17:56 +00:00
Edwin Groothuis
0416031c9b Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 02:20:05 +00:00
Hiroki Sato
fcd17611d6 - Update to 1.1.1-a021.
- Use rc.subr(8) for startup scripts.
- Remove unnecessary patch files.
2005-12-07 10:46:20 +00:00
Satoshi Taoka
37641fe484 * Support CFLAGS
* USE_AUTOCONF - > USE_AUTOCONF_VER
Submitted by: KATO Tsuguru <tkato@prontomail.com>

* Use config.sub and config.guess in Templates instead of devel/autoconf213
Pointed out by: kuriyama

* Update version to 1.1.1-a020
* Support "{start|stop}" for startup scripts in ${PREFIX}/etc/rc.d
2003-09-02 10:04:54 +00:00
Ade Lovett
d3fc97c432 Remove pkg-comment from remaining master/slave port sets.
Approved by:	portmgr (implicitly)
2003-03-07 00:16:25 +00:00
Satoshi Taoka
aba1efa4c3 A minor correction to the English
Submitted by: imp
2001-12-20 02:19:00 +00:00
Satoshi Taoka
84b31563bd FreeBSD-current no longer supports the owner.group syntax for chown 2001-10-30 00:12:44 +00:00
Maxim Sobolev
e3632314ca WWW cleanup: add a protocol (i.e. `http://') into URLs where necessary.
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2001-10-15 12:55:02 +00:00
Satoshi Asami
7acef1cd7a Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
2000-10-08 10:23:48 +00:00
Satoshi Taoka
709d4b5f38 (1) {chinese,korean,japanese}/Wnn (Wnn 4.2) was updated as follows:
(a) Its name was changed from Wnn to FreeWnn because Wnn6 which is a
      commercial software exits
  (b) Its license was changed to GPL.
  (c) The method to configure was changed from imake to GNU configure.
  (d) Relatively to the original Wnn, the Wnn in the ports tree were
      modified by me a lot. Most of the modifications were adopted
      into FreeWnn.
  (c) Header and library files are installed into
      ${LOCALBASE}/{lib,include} instead of ${X11BASE}/{lib,include}.

(2) FreeWnn is divided into two ports FreeWnn-lib and FreeWnn-server
in chinese, korean and japanese categories. The former is for libwnn
and header files to compile client commands, and the files used in
client commands.  The latter is for a server to convert KANA to KANJI
(Chinese character), and dictionaries and files used by the server.

Notice: I forgot to commit FreeWnn-{lib,server} (^_^;;
2000-09-12 17:08:29 +00:00
Satoshi Asami
622ce73602 Add BUILD_DEPENDS to imake-4, since this is one of the weird ports
that has USE_XLIB but not USE_IMAKE (it uses its own imake config
files).
2000-08-11 02:56:25 +00:00
Thomas Gellekum
546041ba31 As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
2000-07-05 12:37:06 +00:00
Satoshi Asami
ffb21b5654 Rename INSTALLS_SHLIBS to INSTALLS_SHLIB. (There was a typo in the
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)

Line up the rhs of variable assignments nicely.  Remove a couple of extra
whitespaces while I'm here.

Suggested by:	 sobomax
2000-06-16 21:52:40 +00:00
Maxim Sobolev
5178b48938 Final round of the INSTALLS_SHLIBS=yes conversion. Few remaining ports with
ldconfig in PLIST need personal consideration.
2000-06-16 10:38:50 +00:00
Akinori MUSHA
edcf8b3594 Update with the new PORT{NAME,VERSION}/PKGNAME{PRE,SUF}FIX variables.
Now try to use those variables everywhere around DIST* and PATCH*
definitions as far as possible, for ease of the future updates and the
neatness.

Okay, 60% of `japanese' ports have been done. :)
2000-04-11 14:15:53 +00:00
Satoshi Asami
b578202a58 Fix another remote buffer overflow.
Obtained from:	Bugtraq-JP (SPS Advisory #34)
Submitted by:	kuriyama
2000-03-12 07:21:27 +00:00
Jun Kuriyama
15c668c8e0 Fix buffer overflows.
Reported by:	UNYUN@ShadowPenguinSecurity
Obtained from:	wnn-users ML
Suggested by:	kjm@rins.ryukoku.ac.jp
Approved by:	maintainer
2000-03-09 12:37:55 +00:00
Satoshi Asami
f1dd1a40cf This port actually requires X libraries.
Submitted by:	bento
2000-03-09 03:14:34 +00:00
Masafumi Max NAKANE
65856a9de3 Use devel/imake instead of x11/XFree86.
Note: I'm not too sure if these ports really work without x11 libs
and headers as I don't have X'less environment.
2000-03-08 10:56:40 +00:00
David E. O'Brien
c751fc667a Change Id->FreeBSD. 1999-08-25 05:28:01 +00:00
Michael Haro
5281212be3 chmod -> ${CHMOD}
chown -> ${CHOWN}
1999-08-22 19:01:07 +00:00
Satoshi Taoka
fd40f62398 I forgot to wnntouch ${PKG_PREFIX}/lib/wnn/ja_JP/dic/gerodic in
Wnn/pkg/INSTALL.

Noticed by:		Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
1999-08-19 00:40:21 +00:00
Satoshi Taoka
0347e6e13e Changed MAINTAINER's e-mail address
from taoka@infonets.hiroshima-u.ac.jp to taoka@FreeBSD.org
1999-05-01 04:03:48 +00:00
Satoshi Taoka
c29c8ab31f To use ${BATCH}
Noticed by:	KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
1999-04-22 15:58:54 +00:00
Satoshi Taoka
08984a68ae To compile on FreeBSD/alpha
Noticed by:	simokawa@FreeBSD.org
1999-04-13 13:17:12 +00:00
Satoshi Taoka
40b3ee8a7f Fix a critical bug;
we must "chown wnn /usr/local/bin/Wnn4/jserver" in pkg/INSTALL
because jserver is a setuid program.

PR:           ports/10254
Submitted by: watanabe@komadori.planet.sci.kobe-u.ac.jp
1999-03-05 08:06:26 +00:00