Commit graph

57 commits

Author SHA1 Message Date
Baptiste Daroussin
9103331822 Simplify plist
Modernize a bit
2014-09-23 09:29:00 +00:00
Tijl Coosemans
37f54e0f66 net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
2014-07-24 18:34:16 +00:00
Dmitry Marakasov
85555962cb - Drop .la files, no dependees require them
Approved by:	portmgr blanket
2014-06-05 19:55:52 +00:00
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
Mark Linimon
c33fb18ed9 Restore vanhu as maintainer: bounce was due to mail configuration error. 2014-04-22 15:17:41 +00:00
Mark Linimon
769f43b13e Reset vanhu@netasq.com: email bounces. 2014-04-22 02:55:43 +00:00
Baptiste Daroussin
3b0bf9466f Fix build with clang 3.4 2014-02-17 14:50:47 +00:00
Baptiste Daroussin
85fd614298 Remove CFLAGS unsupported by ancient gcc and just remove -Werror to have the code build with clang
Reported by:	olgeni
2014-02-11 11:20:52 +00:00
Baptiste Daroussin
d79928d34f Fix build with clang,
Convert to USES=libtool
Strip binaries
2014-02-10 16:42:40 +00:00
William Grzybowski
430a6c120a security/ipsec-tools: update to 0.8.1
- Update to 0.8.1 [1]
- Allow staging [1]
- Remove FreeBSD < 8.x message

PR:		ports/182758 [1]
Submitted by:	Kurt Jaeger <fbsd-ports opsec.eu>
2013-10-29 20:03:39 +00:00
Baptiste Daroussin
a65ed2e51b Add NO_STAGE all over the place in preparation for the staging support (cat: security) 2013-09-20 22:55:24 +00:00
Antoine Brodin
7fc1718493 - Fix a typo in PORT_OPTIONS conversion
- Create configuration directory we try to remove on uninstall
2013-06-13 20:39:52 +00:00
Marcus von Appen
95e7081976 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig and
  USE_GETTEXT=yes to USES=gettext while here
2013-04-27 18:25:24 +00:00
Baptiste Daroussin
7c736f500c Convert vanhu@ ports to new options framework
Removed optionnal dependency on the deprecated py-visual for net/scapy

Approved by:	maintainer (vanhu)
2013-01-09 11:06:32 +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
Jason Helfman
01f239ee0f Apply utmp patch from ${FILESDIR} (not files) if OSVERSION < 900007
Spotted by: Jason Hellenthal <jhell at DataIX.net>
Approved by:	crees,rene (mentors,implicit)
2012-01-25 06:13:53 +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
Doug Barton
8d5d707de8 Fix the rc.d script to avoid unconditional code execution,
and various other cleanups.
2011-07-21 05:14:57 +00:00
Stephen Montgomery-Smith
537fa88c5f - Fix startup script rc.d/racoon.
- Bump portrevision.

PR:		ports/148605
Submitted by:	John Hein <jhein@symmetricom.com>
Approved by:	maho (mentor) and vanhu@netasq.com (maintainer)
2011-07-19 03:33:26 +00:00
Florian Smeets
8a131b63e8 - update to 0.8.0
PR:		ports/155883
Submitted by:	vanhu (maintainer)
2011-03-23 19:48:10 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +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
Martin Wilke
5a23bb49bd - Mark BROKEN on HEAD: fails to build with new utmpx
Reported by:	pointyhat
2010-03-20 15:45:21 +00:00
Martin Wilke
d7bc82e497 - Update to 0.7.3
PR:		137966
Submitted by:	VANHULLEBUS Yvan <vanhu@netasq.com> (maintainer)
2009-08-26 16:37:22 +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
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Wesley Shields
60e37f26a0 - Update to 0.7.2. This release fixes a remote DoS bug with IKE
fragmentation reassembly.

PR:		ports/133922
Submitted by:	VANHULLEBUS Yvan <vanhu@netasq.com> (maintainer)
2009-04-23 16:02:44 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Tilman Keskinoz
d31eb81ef0 Add an WITH_LDAP option
enable hybrid, xauth and mode-cfg per default

PR:		125748
Submitted by:	Matthew Grooms
Approved by:	vanhu (maintainer)
2008-08-01 12:57:25 +00:00
Beech Rintoul
b190a8cde5 - Update to 0.7.1
PR:		ports/125957
Submitted by:	VANHULLEBUS Yvan <vanhu@netasq.com> (maintainer)
2008-07-25 21:39:29 +00:00
Tom McLaughlin
b7917da8c5 Fix build on 7.x when RC5 support is enabled.
PR:		103084, 122187
Submitted by:	Dmitry A Grigorovich
Approved by:	maintainer
2008-07-07 23:59:33 +00:00
Beech Rintoul
fffceacc53 - Fix: Have the racoon startup script [optionally] create its required dirs.
PR:		ports/117128
Submitted by:	John Hein <jhein@timing.com>
Approved by:	VANHULLEBUS Yvan <vanhu@netasq.com> (maintainer)
2008-07-02 04:19:30 +00:00
Edwin Groothuis
13441eac4b Remove always-false/true conditions based on OSVERSION 500000 2007-10-04 06:02:06 +00:00
Tilman Keskinoz
3b616a5ff7 Update to 0.7
PR:		115978
Submitted by:	VANHULLEBUS Yvan <vanhu@netasq.com>
2007-09-02 16:48:50 +00:00
Gabor Kovesdan
42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00
Rong-En Fan
f71d92ccef - Revert changes to patch-configure. It was slipped in when committing
fix for gcc 4.x

Noticed by:   sat
Approved by:  maintainer (implicit)
2007-07-03 05:40:12 +00:00
Rong-En Fan
b159d8aee9 - Fix build with gcc 4.x
- While I'm here, remove extra empty line in distinfo

PR:	       ports/113383
Submitted by:  rafan
Approved by:   VANHULLEBUS Yvan <yvan.vanhullebus at netasq.com> (maintainer)
2007-07-02 17:00:00 +00:00
Cheng-Lung Sung
7980df1cc6 - Version 0.6.7 of ipsec-tools is out, which fixes an easy to exploit
Denial of Service (CVE-2007-1841).

PR:		ports/111319
Submitted by:	maintainer (VANHULLEBUS Yvan)
Security:	CVE-2007-1841
2007-04-07 04:23:27 +00:00
Kris Kennaway
ae994c8ea8 Use libtool port instead of included version to avoid objformat a.out botch 2007-02-01 02:42:05 +00:00
Andrew Pantyukhin
c6f1382e04 - An option to force NATT functionality
- Sneak in master sites beautification and use_ldconfig
  while I'm here

PR:		ports/105488
Submitted by:	bz
Approved by:	VANHULLEBUS Yvan <yvan.vanhullebus@netasq.com> (maintainer)
2006-12-04 10:24:33 +00:00
Andrew Pantyukhin
c452887cf1 - There should be only one site in the WWW line and kame is obsolete anyway 2006-08-16 14:00:59 +00:00
Pav Lucistnik
69a56c54c8 - Add patch for people having trouble compiling OpenSSL bits
PR:		ports/97442
Submitted by:	Dmitry Andrianov <dimas@dataart.com>
Approved by:	VANHULLEBUS Yvan <yvan.vanhullebus@netasq.com> (maintainer)
2006-06-20 09:53:50 +00:00
Pav Lucistnik
0e54122ba5 - Update to 0.6.6
PR:		ports/98902
Submitted by:	VANHULLEBUS Yvan <vanhu@netasq.com> (maintainer)
2006-06-16 16:02:54 +00:00
Renato Botelho
485163afc0 Makefile:
- introduce OPTIONS to enable/disable features
- add more features to the OPTION dialog
- choose reasonable defaults for OPTIONS (disabled patented stuff)
- remove usesless WRKSRC line
- move LDFLAGS to the place where it is necessary
- extend CONFIGURE_ARGS to set the directory for the adminport socket
  * Note: racoonctl is useless without adminport enabled
  * create the socket dir in post-install
- bump PORTREVISION that users notice the changes
- finally: remove one item from the TODO list on top of the Makefile ;)

pkg-descr:
- shortened by one line to please portlint

pkg-plist:
- slight reorganization
- add create instructions for the adminport socket dir for the
  "installing from package" case
- add removal instructions for the adminport socket dir

files/patch-configure:
- add some stuff to detect libiconv when the GSSAPI OPTION is enabled
- iconv is required for GSSAPI but the library is not added to LIBS
  in the original configure script
- Why not use USE_AUTOTOOLS and patch configure.ac?
  * because the leads to configure running twice which is useless
    overhead. I found no way to avoid this so we patch configure.

files/racoon.sh.in:
- add the adminsocket directory to required_dirs

PR:		ports/96368
Submitted by:	Joerg Pulz <Joerg.Pulz@frm2.tum.de>
Approved by:	maintainer
2006-05-03 16:01:58 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Simon Barner
49a2a95b33 - Update to 0.6.5
Submitted by:	VANHULLEBUS Yvan <vanhu@netasq.com> (maintainer)
PR:		ports/92838
2006-02-06 00:17:05 +00:00
Vasil Dimov
8a8114f0c1 Change facility from daemon to security, because daemon.info goes to
devnull by default

PR:		ports/91047
Submitted by:	PR: Brian Candler <B.Candler@pobox.com>, patch: VANHULLEBUS Yvan <vanhu@netasq.com> (maintainer)
Approved by:	garga (mentor)
2006-01-24 09:18:44 +00:00
Edwin Groothuis
508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00
Edwin Groothuis
2490b762f7 ports/security/ipsec-tools enables itself at startup
ports/security/ipsec-tools rc.d script defaults to 'enabled'

	It also installs its own versions of setkey and libipsec.so
	which seems redundant as they are part of the base system
	and should be used in preference.

Submitted by:	Vivek Khera <vivek@khera.org>
PR:		ports/91317
2006-01-04 20:48:49 +00:00