English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Log of /branches/common-nfo/package/ez-ipupdate/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 3427 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 8 11:08:41 2007 UTC (6 years, 6 months ago) by tg
File length: 1096 byte(s)
Diff to previous 3265
merge in trunk rev. 3426

Revision 3265 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 18 12:45:43 2007 UTC (6 years, 7 months ago) by tg
File length: 1090 byte(s)
Diff to previous 3239
copy trunk/freewrt r3264 into a new branch for making the nfo system
because upgrading the old adk branch would be a hell more work


Revision 3239 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 16 16:39:51 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/ez-ipupdate/Makefile
File length: 1090 byte(s)
Diff to previous 2678
make postinstall scripts require mksh as functions.sh does
(how good it's in lbin/ anyway)


Revision 2678 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 29 14:04:00 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/ez-ipupdate/Makefile
File length: 1090 byte(s)
Diff to previous 2653
the treebreaker ☺

overhaul the fetch'n'checksum system to be more bsd-like
• make fetch, make checksum supported
• future expansion possibilities already prepared:
  – more distfiles than just one
  – check sizes of downloaded files (size matters!!!!!111)
  – more hashes than just MD5
  – recursive fetch/checksum targets
  – PERMIT_{SOURCES,DISTFILES}=Yes/«reason» – licence issues
• download.pl dies

quirks:
• GNU make only has a poor excuse for a .for loop
• some things (esp. toolchain and target/linux) now have
  a ${WRKDIR} where they didn't have it before
• ${WRKDIR}/.checksum_done – no comment… it was necessary
  because otherwise everything will get rebuilt every time
  (did I mention that GNU make sucks?)
• I had troubles tracking the dependency problems down
  because GNU make, unlike BSD make, doesn't have good debugging
• DISTFILES -> FULLDISTFILES
• DL_DIR -> DISTDIR
• PKG_SOURCE -> DISTFILES
• PKG_SOURCE_URL -> MASTER_SITES
• no @SF and @GNU any more, use BSD network.template syntax
  (feel free to add more master sites)
• GNU make doesn't really strip whitespaces from variables…
  (did I mention how much better BSD make is?)
• echo 'LOCAL_DISTFILES=/path/to/distfiles' >>${TOPDIR}/prefs.mk
  will save the need to download 'em, Closes: #102
• MASTER_SITES now *must* have the trailing slashes (there may be
  a few that don't and a few with double ones, please fix them)

I've tested that a normal build (unchanged .config from the default) works
on GNU/Linux. There's definitively room for improvement, but most of that
will come with the NFO system only. Fixes appreciated.

This work sponsored by AurISP, part of the NFO conversion project ☻


Revision 2653 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 24 10:23:28 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/ez-ipupdate/Makefile
File length: 1090 byte(s)
Diff to previous 2642
• base-files/files/etc/init.d/rcK, base-files/files/etc/init.d/rcS:
  do correct shebang processing, like the BSD kernel and mksh: get
  first line of script to run if it begins with "#!", strip that and
  any leading space/tab off, then get shell name (terminates with
  space/tab/end of string) and shell argument quoting according to
  unix common proceedings; use /bin/sh as interpreter if none could
  be found
• mk/package.mk: ensure all init scripts are 0755 by default
• busybox: flesh out inetd init script, so that all init scripts in
  FreeWRT either can be found with -path \*/init.d/\* or -name \*.init
• other packages: add #!/bin/sh shebang line to init scripts¹, bump dashver

¹) change this to /bin/ash if you use ash-specific features that mksh
   can also do; never use ash-specific features that mksh cannot do (are
   there any?), change to /bin/mksh if you use mksh-specific features
   and add a run-time dependency on mksh in that case


Revision 2642 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 23 15:40:50 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/ez-ipupdate/Makefile
File length: 1090 byte(s)
Diff to previous 2509
some install scripts didn't work properly because they
didn't specify sh explicitly


Revision 2509 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 14 18:19:25 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/ez-ipupdate/Makefile
File length: 1090 byte(s)
Diff to previous 2485
by request of wbx@, add a clause
| autostop) ;;
to all cases inside all init scripts so that we won't have any
errors on shutdown. the alternative would be
| autostop) exec $0 stop "$@" ;;
of course, for packages that want it.

also bump all patchlevels again *sigh*

attention: mechanical commit. please read diff and fix breakage
if you are package maintainer.


Revision 2485 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 12 22:36:00 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/ez-ipupdate/Makefile
File length: 1090 byte(s)
Diff to previous 1686
by request of wbx@:

make it possible for users to do
| /etc/init.d/<foo> restart
instead of having to do
| /etc/init.d/S*<foo> restart
by moving the order into a magickal™ comment.

Untested.

Also remove the svn:executable properties, because rcS and rcK will
always call them with /bin/sh, and bump dashvers accordingly.


Revision 1686 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 20 21:21:59 2007 UTC (7 years, 1 month ago) by n0-1
Original Path: trunk/freewrt/package/ez-ipupdate/Makefile
File length: 1117 byte(s)
Diff to previous 1273
merged from branches/common-adk 1310:1685

the following packages are not converted yet:
* alsa
* asterisk
* pmacct
* zaptel
* elinks
* libgd
* lua
* mypackage
* openser
* php*
* snort*
* tmsnc

additionally, freeradius doesn't compile.

happy fixing :P


Revision 1273 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 6 17:52:45 2006 UTC (7 years, 2 months ago) by markus
Original Path: trunk/freewrt/package/ez-ipupdate/Makefile
File length: 1754 byte(s)
Diff to previous 600
synced with changeset:1272 to run in deamon mode and script cleanup


Revision 600 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 16 16:21:37 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/ez-ipupdate/Makefile
File length: 1756 byte(s)
Diff to previous 303
major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

Revision 303 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 20 23:56:32 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/ez-ipupdate/Makefile
File length: 1595 byte(s)
Diff to previous 152
* whitespace cleanup, while here
* move WRKDIR and DISTFILES definition into PKG_template
* define WRKDIR via parent BUILD_DIR instead of going up from WRKSRC
* use a sub-directory as WRKDIR, like BSD
* rename PKG_BUILD_DIR into WRKBUILD
* define WRKBUILD relative via WRKDIR
* rename PKG_INSTALL_DIR into WRKINST
* fix a few dependencies
* make use of common cases in the definition of WRKBUILD and
  WRKINST, removing many redundant lines
* use WRKDIR instead of BUILD_DIR in places where the latter
  was used previously
* while here, remove PKG_CAT stuff

this only affects packages, for now



Revision 152 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 19 13:13:39 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/ez-ipupdate/Makefile
File length: 1689 byte(s)
Diff to previous 1
nuke DISABLE_NLS, DISABLE_LARGEFILE, replace globally
with --disable-nls and --enable-largefile, because it
doesn't make sense otherwise and/or breaks.

Requested by wbx@ in Message-ID: <20060618220406.GL6291@openbsd-geek.de>
Done using find and ed(1)



Revision 1 - (view) (download) (annotate) - [select for diffs]
Added Sat May 27 15:00:14 2006 UTC (7 years, 9 months ago) by wbx
Original Path: trunk/freewrt/package/ez-ipupdate/Makefile
File length: 1690 byte(s)
add OpenWrt trunk revision 3830. 



This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20